summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-08-13 06:38:33 +0200
committersibel <lesibel at free dot fr>2010-08-13 06:38:33 +0200
commit32fb2c6c715dd22c975650c482921677badfdd58 (patch)
tree17b3f54a5c62f0b06b320855f2949a03c4d553c3
parent92d8f9b857572e960e20eb3c077c60854bf9fab4 (diff)
downloadnutyx-pakxe-32fb2c6c715dd22c975650c482921677badfdd58.tar.gz
nutyx-pakxe-32fb2c6c715dd22c975650c482921677badfdd58.tar.bz2
nutyx-pakxe-32fb2c6c715dd22c975650c482921677badfdd58.tar.xz
nutyx-pakxe-32fb2c6c715dd22c975650c482921677badfdd58.zip
Ajout de enblend-enfuse#4.0-1
-rw-r--r--extra/enblend-enfuse/.footprint12
-rw-r--r--extra/enblend-enfuse/.md5sum2
-rwxr-xr-xextra/enblend-enfuse/Pkgfile23
-rw-r--r--extra/enblend-enfuse/enblend-enfuse.install20
-rw-r--r--extra/enblend-enfuse/libpng-1.4.patch14
5 files changed, 71 insertions, 0 deletions
diff --git a/extra/enblend-enfuse/.footprint b/extra/enblend-enfuse/.footprint
new file mode 100644
index 000000000..482e437f2
--- /dev/null
+++ b/extra/enblend-enfuse/.footprint
@@ -0,0 +1,12 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/enblend
+-rwxr-xr-x root/root usr/bin/enfuse
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/enblend.info.gz
+-rw-r--r-- root/root usr/share/info/enfuse.info.gz
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/enblend.1.gz
+-rw-r--r-- root/root usr/share/man/man1/enfuse.1.gz
diff --git a/extra/enblend-enfuse/.md5sum b/extra/enblend-enfuse/.md5sum
new file mode 100644
index 000000000..23546c90f
--- /dev/null
+++ b/extra/enblend-enfuse/.md5sum
@@ -0,0 +1,2 @@
+2e7c950061e0085fd75d94576130250f enblend-enfuse-4.0.tar.gz
+a39df8dd32ccfa020dea2ea388642575 libpng-1.4.patch
diff --git a/extra/enblend-enfuse/Pkgfile b/extra/enblend-enfuse/Pkgfile
new file mode 100755
index 000000000..0a224039b
--- /dev/null
+++ b/extra/enblend-enfuse/Pkgfile
@@ -0,0 +1,23 @@
+# Description: intelligent blend tool for overlapping picture
+# URL: http://enblend.sourceforge.net
+# Maintainer: NuTyX packager team
+# Packager: lesibel at free dot fr
+# Depends on: boost, openexr, glew, libxmi, freeglut, lcms, texinfo, libpng
+
+name=enblend-enfuse
+version=4.0
+release=1
+source=( http://downloads.sourceforge.net/sourceforge/enblend/$name-$version.tar.gz
+ libpng-1.4.patch)
+
+build() {
+ cd $name-$version*
+ patch -p1 < ../libpng-1.4.patch
+ ./configure --prefix=/usr
+ make -j3
+ make DESTDIR=$PKG install
+ install -D -m644 doc/enblend.info $PKG/usr/share/info/enblend.info
+ install -D -m644 doc/enfuse.info $PKG/usr/share/info/enfuse.info
+
+}
+
diff --git a/extra/enblend-enfuse/enblend-enfuse.install b/extra/enblend-enfuse/enblend-enfuse.install
new file mode 100644
index 000000000..0ba358878
--- /dev/null
+++ b/extra/enblend-enfuse/enblend-enfuse.install
@@ -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:
diff --git a/extra/enblend-enfuse/libpng-1.4.patch b/extra/enblend-enfuse/libpng-1.4.patch
new file mode 100644
index 000000000..3bf852b58
--- /dev/null
+++ b/extra/enblend-enfuse/libpng-1.4.patch
@@ -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;
+ }
+