]> git.pld-linux.org Git - packages/ufraw.git/commitdiff
- upgraded to 0.16, added missing BRs, enabled optional functions and binaries auto/th/ufraw-0_16-1
authorTomasz Pala <gotar@pld-linux.org>
Thu, 15 Oct 2009 13:37:32 +0000 (13:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ufraw-0.15-configure.patch -> 1.2
    ufraw-0.15-glibc-2.10.patch -> 1.2
    ufraw.spec -> 1.37

ufraw-0.15-configure.patch [deleted file]
ufraw-0.15-glibc-2.10.patch [deleted file]
ufraw.spec

diff --git a/ufraw-0.15-configure.patch b/ufraw-0.15-configure.patch
deleted file mode 100644 (file)
index 5c5d6f9..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
---- configure.ac.orig  2009-02-11 21:33:33.000000000 +0100
-+++ configure.ac       2009-02-14 22:52:35.000000000 +0100
-@@ -83,13 +83,27 @@
- PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.6)
- PKG_CHECK_MODULES(GLIB, glib-2.0)
- PKG_CHECK_MODULES(LCMS, lcms)
--PKG_CHECK_MODULES(GTKIMAGEVIEW, gtkimageview >= 1.3,
--  [ have_gtkimageview=yes
--    GTK_LIBS=$GTKIMAGEVIEW_LIBS
--    GTK_CFLAGS=$GTKIMAGEVIEW_CFLAGS
--    AC_DEFINE(HAVE_GTKIMAGEVIEW, 1, have gtk image view) ],
--  [ have_gtkimageview=no
--    AC_MSG_RESULT($GTKIMAGEVIEW_PKG_ERRORS) ] )
-+
-+AC_ARG_WITH([gtkimageview],
-+  [AS_HELP_STRING([--with-gtkimageview],
-+  [use gtkimageview for previews @<:@default=check@:>@])],
-+  [],
-+  [with_gtkimageview=check])
-+
-+have_gtkimageview=no
-+AS_IF([test "x$with_gtkimageview" != xno],
-+  [PKG_CHECK_MODULES(GTKIMAGEVIEW, gtkimageview >= 1.3,
-+    [ have_gtkimageview=yes
-+      GTK_LIBS=$GTKIMAGEVIEW_LIBS
-+      GTK_CFLAGS=$GTKIMAGEVIEW_CFLAGS
-+      AC_DEFINE(HAVE_GTKIMAGEVIEW, 1, have gtk image view) ],
-+    [ have_gtkimageview=no
-+      if test "x$with_gtkimageview" != xcheck; then
-+        AC_MSG_FAILURE(
-+          [--with-gtkimageview was given, but test for gtkimageview failed])
-+      fi
-+    ] ) ] )
-+
- AC_SUBST(GTK_LIBS)
- if test "$have_gtkimageview" = "yes"; then
-   PKG_CHECK_MODULES(gtk_image_view_damage_pixels, gtkimageview > 1.5.0,
-@@ -106,12 +120,25 @@
- test $prefix = NONE || pkg_prefix="$pkg_prefix --define-variable=prefix=$prefix"
- test $exec_prefix = NONE || pkg_prefix="$pkg_prefix --define-variable=exec_prefix=$exec_prefix"
--PKG_CHECK_MODULES(GIMP, gimpui-2.0,
--  [ have_gimp=yes
--    GIMP_LIBDIR=`$pkg_prefix --variable=gimplibdir gimp-2.0` ],
--  [ have_gimp=no
--    GIMP_LIBDIR=
--    AC_MSG_RESULT($GIMP_PKG_ERRORS) ] )
-+AC_ARG_WITH([gimp],
-+  [AS_HELP_STRING([--with-gimp],
-+  [build gimp plugin @<:@default=check@:>@])],
-+  [],
-+  [with_gimp=check])
-+
-+have_gimp=no
-+AS_IF([test "x$with_gimp" != xno],
-+  [PKG_CHECK_MODULES(GIMP, gimpui-2.0,
-+    [ have_gimp=yes
-+      GIMP_LIBDIR=`$pkg_prefix --variable=gimplibdir gimp-2.0` ],
-+    [ have_gimp=no
-+      GIMP_LIBDIR=
-+      if test "x$with_gimp" != xcheck; then
-+        AC_MSG_FAILURE(
-+          [--with-gimp was given, but test for gimp failed])
-+      fi
-+    ] ) ] )
-+
- AM_CONDITIONAL(MAKE_GIMP, test $have_gimp = yes)
- AC_SUBST(GIMP_CFLAGS)
- AC_SUBST(GIMP_LIBS)
-@@ -122,14 +149,27 @@
-     [ AC_DEFINE_UNQUOTED(HAVE_GIMP_2_6, 0, have Gimp 2.6 or later) ])
- fi
--PKG_CHECK_MODULES(CINEPAINT, cinepaint-gtk >= 0.22,
--  [ have_cinepaint=yes
--    CINEPAINT_LIBDIR=`$pkg_prefix --variable=libdir cinepaint-gtk`
--    CINEPAINT_PROGRAMPLUGINDIR=`$pkg_prefix --variable=programplugindir cinepaint-gtk` ],
--  [ have_cinepaint=no
--    CINEPAINT_LIBDIR=
--    CINEPAINT_PROGRAMPLUGINDIR=
--    AC_MSG_RESULT($CINEPAINT_PKG_ERRORS) ] )
-+AC_ARG_WITH([cinepaint],
-+  [AS_HELP_STRING([--with-cinepaint],
-+  [build cinepaint plugin @<:@default=check@:>@])],
-+  [],
-+  [with_cinepaint=check])
-+
-+have_cinepaint=no
-+AS_IF([test "x$with_cinepaint" != xno],
-+  [PKG_CHECK_MODULES(CINEPAINT, cinepaint-gtk >= 0.22,
-+    [ have_cinepaint=yes
-+      CINEPAINT_LIBDIR=`$pkg_prefix --variable=libdir cinepaint-gtk`
-+      CINEPAINT_PROGRAMPLUGINDIR=`$pkg_prefix --variable=programplugindir cinepaint-gtk` ],
-+    [ have_cinepaint=no
-+      CINEPAINT_LIBDIR=
-+      CINEPAINT_PROGRAMPLUGINDIR=
-+      if test "x$with_cinepaint" != xcheck; then
-+        AC_MSG_FAILURE(
-+          [--with-cinepaint was given, but test for cinepaint failed])
-+      fi
-+    ] ) ] )
-+
- AM_CONDITIONAL(MAKE_CINEPAINT, test $have_cinepaint = yes)
- AC_SUBST(CINEPAINT_CFLAGS)
- AC_SUBST(CINEPAINT_LIBS)
-@@ -189,23 +229,43 @@
-   AC_CHECK_LIB(cfitsio, ffcmsg))
- have_fits=${ac_cv_lib_cfitsio_ffcmsg:-no}
--PKG_CHECK_MODULES(EXIV2, exiv2 >= 0.11,
--  [ have_exiv2=yes
--    AC_DEFINE(HAVE_EXIV2, 1, have exiv2) ],
--  [ have_exiv2=no
--    AC_MSG_RESULT($EXIV2_PKG_ERRORS) ] )
-+# check for exiv2 library
-+AC_ARG_WITH([exiv2],
-+  [AS_HELP_STRING([--with-exiv2],
-+  [use exiv2 library for exif information extraction @<:@default=check@:>@])],
-+  [],
-+  [with_exiv2=check])
-+
-+have_exiv2=no
-+AS_IF([test "x$with_exiv2" != xno],
-+  [PKG_CHECK_MODULES(EXIV2, exiv2 >= 0.11,
-+    [ have_exiv2=yes
-+      AC_DEFINE(HAVE_EXIV2, 1, have exiv2) ],
-+    [ have_exiv2=no
-+      if test "x$with_exiv2" != xcheck; then
-+        AC_MSG_FAILURE(
-+          [--with-exiv2 was given, but test for exiv2 failed])
-+      fi
-+    ] ) ] )
- # Check for the lensfun library
--AC_MSG_CHECKING(whether to use lensfun)
--AC_ARG_WITH(lensfun,
--  [  --with-lensfun          use the lensfun library - experimental feature,
--              read http://ufraw.sourceforge.net/lensfun.html before using it. ],
--  [ AC_MSG_RESULT(yes)
--    PKG_CHECK_MODULES(LENSFUN, lensfun >= 0.2.3,
--      [ have_lensfun=yes
--        AC_DEFINE(HAVE_LENSFUN, 1, have lensfun library) ] ) ],
--  [ have_lensfun=no
--    AC_MSG_RESULT($have_lensfun) ] )
-+AC_ARG_WITH([lensfun],
-+  [AS_HELP_STRING([--with-lensfun],
-+  [use the lensfun library - experimental feature, read http://ufraw.sourceforge.net/lensfun.html before using it. @<:@default=check@:>@])],
-+  [],
-+  [with_lensfun=check])
-+
-+have_lensfun=no
-+AS_IF([test "x$with_lensfun" != xno],
-+  [PKG_CHECK_MODULES(LENSFUN, lensfun >= 0.2.3,
-+    [ have_lensfun=yes
-+      AC_DEFINE(HAVE_LENSFUN, 1, have lensfun library) ],
-+    [ have_lensfun=no
-+      if test "x$with_lensfun" != xcheck; then
-+        AC_MSG_FAILURE(
-+          [--with-lensfun was given, but test for lensfun failed])
-+      fi
-+    ] ) ] )
- # UFRAW_CPPFLAGS is added to the preprocessor flags AM_CPPFLAGS,
- # affecting also the C and C++ compilers.
diff --git a/ufraw-0.15-glibc-2.10.patch b/ufraw-0.15-glibc-2.10.patch
deleted file mode 100644 (file)
index 5c29b31..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
---- 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);
-
index 79163d9bfa0d6ed812d3fa0e8474b49868661af4..5e081b7f7d65f46f557992e00573d499fb509a81 100644 (file)
@@ -7,28 +7,34 @@
 Summary:       RAW photo loader
 Summary(pl.UTF-8):     Narzędzie do wczytywania zdjęć w formacie RAW
 Name:          ufraw
-Version:       0.15
-Release:       4
+Version:       0.16
+Release:       1
 License:       GPL v2
 Group:         Applications/Graphics
 Source0:       http://dl.sourceforge.net/ufraw/%{name}-%{version}.tar.gz
-# Source0-md5: 6d8f6c98a388c438784cd909dd82d540
-Patch0:                %{name}-0.15-configure.patch
-Patch1:                %{name}-0.15-glibc-2.10.patch
+# Source0-md5: 008acc06f13efad58e0edf2dca8c6afd
 URL:           http://ufraw.sourceforge.net/
+BuildRequires: automake
+BuildRequires: bzip2-devel
+BuildRequires: cfitsio-devel
+#BuildRequires:        cinepaint-devel
 BuildRequires: exiv2-devel >= 0.11-1
-BuildRequires: gimp-devel >= 2.0
+BuildRequires: gimp-devel >= 2.6
+BuildRequires: gtkimageview-devel >= 1.3
 BuildRequires: lcms-devel
 BuildRequires: libexif-devel >= 1:0.6.13
 BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
 BuildRequires: libtiff-devel
 %{?with_lensfun:BuildRequires: lensfun-devel}
+BuildRequires: pkgconfig >= 0.9.0
+BuildRequires: zlib-devel
 Requires(post,preun):  GConf2 >= 2.16.0
 Requires(post,postun): desktop-file-utils
 Requires(post,postun): shared-mime-info >= 0.21
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define         _plugindir      %(gimptool --gimpplugindir)/plug-ins
+%define                _plugindir      %(gimptool --gimpplugindir)/plug-ins
 
 %description
 UFRaw is a utility to read and manipulate raw images from digital
@@ -79,14 +85,18 @@ Program do wsadowego przetwarzania zdjęć w formacie RAW.
 
 %prep
 %setup -q
-%patch0 -p0
-%patch1 -p1
 
 %build
+cp -f /usr/share/automake/mkinstalldirs .
 %configure \
+       --enable-contrast \
+       --enable-dst-correction \
+       --enable-extras \
+       --enable-hotpixels \
        --enable-mime \
+       --with-gtk \
+       --with-gimp \
        --with-exiv2 \
-       --with-libexif \
        %{?with_lensfun:--with-lensfun}
 
 %{__make}
@@ -100,6 +110,7 @@ install -d $RPM_BUILD_ROOT%{_desktopdir}
        schemasdir=%{_sysconfdir}/gconf/schemas
 
 install ufraw.desktop $RPM_BUILD_ROOT%{_desktopdir}
+rm -f $RPM_BUILD_ROOT%{_bindir}/dcraw
 
 %find_lang %{name}
 
@@ -119,6 +130,7 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README TODO
+%attr(755,root,root) %{_bindir}/nikon-curve
 %attr(755,root,root) %{_bindir}/ufraw
 %{_desktopdir}/*.desktop
 # XXX add extension here not to match dirs accidentally
This page took 0.102625 seconds and 4 git commands to generate.