[arch-commits] Commit in enblend-enfuse/repos (5 files)
Stéphane Gaudreault
stephane at archlinux.org
Sat Sep 17 21:02:45 UTC 2011
Date: Saturday, September 17, 2011 @ 17:02:44
Author: stephane
Revision: 138156
db-move: moved enblend-enfuse from [staging] to [testing] (x86_64)
Added:
enblend-enfuse/repos/testing-x86_64/
enblend-enfuse/repos/testing-x86_64/PKGBUILD
(from rev 138150, enblend-enfuse/repos/staging-x86_64/PKGBUILD)
enblend-enfuse/repos/testing-x86_64/enblend-enfuse.install
(from rev 138150, enblend-enfuse/repos/staging-x86_64/enblend-enfuse.install)
enblend-enfuse/repos/testing-x86_64/libpng-1.4.patch
(from rev 138150, enblend-enfuse/repos/staging-x86_64/libpng-1.4.patch)
Deleted:
enblend-enfuse/repos/staging-x86_64/
------------------------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
enblend-enfuse.install | 20 ++++++++++++++++++++
libpng-1.4.patch | 14 ++++++++++++++
3 files changed, 68 insertions(+)
Copied: enblend-enfuse/repos/testing-x86_64/PKGBUILD (from rev 138150, enblend-enfuse/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-17 21:02:44 UTC (rev 138156)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: tobias <tobias at archlinux.org>
+# Contributor: Dominik Ryba <domryba at post.pl>
+
+pkgname=enblend-enfuse
+pkgver=4.0
+pkgrel=3
+pkgdesc="intelligent blend tool for overlapping picture"
+arch=("i686" "x86_64")
+license=('GPL')
+url="http://enblend.sourceforge.net"
+depends=('openexr' 'glew>=1.5' 'libxmi' 'freeglut' 'libgl' 'lcms' 'texinfo' 'libpng')
+makedepends=('boost' 'pkgconfig')
+replaces=('enblend')
+conflicts=('enblend')
+provides=('enblend')
+install=${pkgname}.install
+source=(http://downloads.sourceforge.net/sourceforge/enblend/${pkgname}-${pkgver}.tar.gz libpng-1.4.patch)
+md5sums=('2e7c950061e0085fd75d94576130250f' 'a39df8dd32ccfa020dea2ea388642575')
+sha1sums=('34c3a5ce11c6ef0ef520d8a15a3cb6a94a567033' 'eae6cf48ea082865130302d0b4d1ca0b884a563b')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}-753b534c819d"
+ patch -Np1 -i ../libpng-1.4.patch
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}-753b534c819d"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 doc/enblend.info "${pkgdir}/usr/share/info/enblend.info"
+ install -D -m644 doc/enfuse.info "${pkgdir}/usr/share/info/enfuse.info"
+}
Copied: enblend-enfuse/repos/testing-x86_64/enblend-enfuse.install (from rev 138150, enblend-enfuse/repos/staging-x86_64/enblend-enfuse.install)
===================================================================
--- testing-x86_64/enblend-enfuse.install (rev 0)
+++ testing-x86_64/enblend-enfuse.install 2011-09-17 21:02:44 UTC (rev 138156)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(enblend.info enfuse-focus-stacking.info enfuse.info)
+
+post_install() {
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+# vim:set ts=2 sw=2 et:
Copied: enblend-enfuse/repos/testing-x86_64/libpng-1.4.patch (from rev 138150, enblend-enfuse/repos/staging-x86_64/libpng-1.4.patch)
===================================================================
--- testing-x86_64/libpng-1.4.patch (rev 0)
+++ testing-x86_64/libpng-1.4.patch 2011-09-17 21:02:44 UTC (rev 138156)
@@ -0,0 +1,14 @@
+diff -Naur enblend-enfuse-3.2-orig/src/vigra_impex/png.cxx enblend-enfuse-3.2/src/vigra_impex/png.cxx
+--- enblend-enfuse-3.2-orig/src/vigra_impex/png.cxx 2010-01-19 22:09:36.000000000 -0500
++++ enblend-enfuse-3.2/src/vigra_impex/png.cxx 2010-01-19 22:13:43.000000000 -0500
+@@ -275,8 +275,8 @@
+ // expand gray values to at least one byte size
+ if ( color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8 ) {
+ if (setjmp(png->jmpbuf))
+- vigra_postcondition( false,png_error_message.insert(0, "error in png_set_gray_1_2_4_to_8(): ").c_str());
+- png_set_gray_1_2_4_to_8(png);
++ vigra_postcondition( false,png_error_message.insert(0, "error in png_set_expand_gray_1_2_4_to_8(): ").c_str());
++ png_set_expand_gray_1_2_4_to_8(png);
+ bit_depth = 8;
+ }
+
More information about the arch-commits
mailing list