summaryrefslogtreecommitdiffstats
path: root/extra/ufraw
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-15 12:50:30 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-15 12:50:30 +0200
commit2208dd1f116c3a6e8a67a28f6c5d0b15afff76ac (patch)
tree46cbbba2c44f5edb616cf97b95e21fe4b3b82d7c /extra/ufraw
parentd07c0c3818822e2b5e36491d7b6ba24d695f1925 (diff)
downloadnutyx-extra-2208dd1f116c3a6e8a67a28f6c5d0b15afff76ac.tar.gz
nutyx-extra-2208dd1f116c3a6e8a67a28f6c5d0b15afff76ac.tar.bz2
nutyx-extra-2208dd1f116c3a6e8a67a28f6c5d0b15afff76ac.tar.xz
nutyx-extra-2208dd1f116c3a6e8a67a28f6c5d0b15afff76ac.zip
Ajout de ufraw#0.15-2
Diffstat (limited to 'extra/ufraw')
-rwxr-xr-xextra/ufraw/.footprint26
-rwxr-xr-xextra/ufraw/.md5sum2
-rwxr-xr-xextra/ufraw/Pkgfile25
-rw-r--r--extra/ufraw/gcc44.patch11
-rw-r--r--extra/ufraw/ufraw-0.15-glibc-2.10.patch12
5 files changed, 76 insertions, 0 deletions
diff --git a/extra/ufraw/.footprint b/extra/ufraw/.footprint
new file mode 100755
index 000000000..ec0c1f41a
--- /dev/null
+++ b/extra/ufraw/.footprint
@@ -0,0 +1,26 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/dcraw
+-rwxr-xr-x root/root usr/bin/nikon-curve
+-rwxr-xr-x root/root usr/bin/ufraw
+-rwxr-xr-x root/root usr/bin/ufraw-batch
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/gimp/
+drwxr-xr-x root/root usr/lib/gimp/2.0/
+drwxr-xr-x root/root usr/lib/gimp/2.0/plug-ins/
+-rwxr-xr-x root/root usr/lib/gimp/2.0/plug-ins/ufraw-gimp
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/applications/
+-rw-r--r-- root/root usr/share/applications/ufraw.desktop
+drwxr-xr-x root/root usr/share/gconf/
+drwxr-xr-x root/root usr/share/gconf/schemas/
+-rw-r--r-- root/root usr/share/gconf/schemas/ufraw.schemas
+drwxr-xr-x root/root usr/share/locale/
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/ufraw.mo
+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/ufraw.1.gz
+drwxr-xr-x root/root usr/share/pixmaps/
+-rw-r--r-- root/root usr/share/pixmaps/ufraw.png
diff --git a/extra/ufraw/.md5sum b/extra/ufraw/.md5sum
new file mode 100755
index 000000000..54fb5a4bf
--- /dev/null
+++ b/extra/ufraw/.md5sum
@@ -0,0 +1,2 @@
+18774fd178266f18c398b22f99783860 ufraw-0.15-glibc-2.10.patch
+6d8f6c98a388c438784cd909dd82d540 ufraw-0.15.tar.gz
diff --git a/extra/ufraw/Pkgfile b/extra/ufraw/Pkgfile
new file mode 100755
index 000000000..b122df9a4
--- /dev/null
+++ b/extra/ufraw/Pkgfile
@@ -0,0 +1,25 @@
+# Description: outil seul ou plugin pour Gimp de conversion de fichier raw (inclu dcraw)
+# URL: http://ufraw.sourceforge.net/
+# Maintainer: NuTyX core team
+# Packager: fred.galusik at gmail dot com
+# Depends on: gimp, exiv2, lcms, libexif, libjpeg, libpng, libtiff, zlib
+
+name=ufraw
+version=0.15
+release=2
+source=(http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.gz\
+ ufraw-0.15-glibc-2.10.patch)
+build() {
+cd ufraw-$version
+patch -Np1 -i ../ufraw-0.15-glibc-2.10.patch
+ ./configure --prefix=/usr \
+ --enable-extras \
+ --enable-mime \
+ --enable-openmp \
+ --with-libexif \
+ --with-exiv2
+ sed -i 's@-ffast-math -fomit-frame-pointer -W -Wall -O3@$CFLAGS@g' Makefile
+ make
+ make DESTDIR=$PKG install
+}
+
diff --git a/extra/ufraw/gcc44.patch b/extra/ufraw/gcc44.patch
new file mode 100644
index 000000000..51444674b
--- /dev/null
+++ b/extra/ufraw/gcc44.patch
@@ -0,0 +1,11 @@
+--- ufraw-0.15/dcraw.cc 2008-12-23 08:19:41.000000000 +0100
++++ ufraw-0.15/dcraw.cc.new 2009-07-30 21:19:53.000000000 +0200
+@@ -8401,7 +8401,7 @@
+ argv[argc] = "";
+ for (arg=1; (((opm = argv[arg][0]) - 2) | 2) == '+'; ) {
+ opt = argv[arg++][1];
+- if ((cp = strchr (sp="nbrkStqmHAC", opt)))
++ if ((cp = strchr (const sp="nbrkStqmHAC", opt)))
+ for (i=0; i < "11411111142"[cp-sp]-'0'; i++)
+ if (!isdigit(argv[arg+i][0])) {
+ dcraw_message (DCRAW_ERROR,_("Non-numeric argument to \"-%c\"\n"), opt);
diff --git a/extra/ufraw/ufraw-0.15-glibc-2.10.patch b/extra/ufraw/ufraw-0.15-glibc-2.10.patch
new file mode 100644
index 000000000..5c29b3159
--- /dev/null
+++ b/extra/ufraw/ufraw-0.15-glibc-2.10.patch
@@ -0,0 +1,12 @@
+--- ufraw-0.15.old/dcraw.cc 2008-12-23 07:19:41.000000000 +0000
++++ ufraw-0.15/dcraw.cc 2009-05-28 15:25:51.000000000 +0100
+@@ -8401,7 +8401,7 @@
+ argv[argc] = "";
+ for (arg=1; (((opm = argv[arg][0]) - 2) | 2) == '+'; ) {
+ opt = argv[arg++][1];
+- if ((cp = strchr (sp="nbrkStqmHAC", opt)))
++ if ((cp = (char*) strchr (sp="nbrkStqmHAC", opt)))
+ for (i=0; i < "11411111142"[cp-sp]-'0'; i++)
+ if (!isdigit(argv[arg+i][0])) {
+ dcraw_message (DCRAW_ERROR,_("Non-numeric argument to \"-%c\"\n"), opt);
+