From: Jakub Bogusz Date: Thu, 11 Jul 2013 18:24:35 +0000 (+0200) Subject: - updated to 0.0.9 X-Git-Tag: auto/th/libopenraw-0.0.9-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=cceb564d30f90e13c1f6d37689307392122f8346;p=packages%2Flibopenraw.git - updated to 0.0.9 - removed obsolete loaders-location patch --- diff --git a/libopenraw-loaders-location.patch b/libopenraw-loaders-location.patch deleted file mode 100644 index 268d591..0000000 --- a/libopenraw-loaders-location.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 252cd9b20d7857091c0529955998b86d7a90e6c5 Mon Sep 17 00:00:00 2001 -From: Hubert Figuiere -Date: Thu, 22 Jul 2010 07:04:54 +0000 -Subject: Install the GdkPixbuf in the right place. (Closes #29208) (Vincent Untz) - ---- -diff --git a/configure.in b/configure.in -index 1d44b9c..c16a20c 100644 ---- a/configure.in -+++ b/configure.in -@@ -137,8 +137,7 @@ if test x$enable_gnome = xyes ; then - if test x$HAVE_LIBGLIB = xyes ; then - PKG_CHECK_MODULES(LIBGDKPIXBUF, gdk-pixbuf-2.0 >= $LIBGDKPIXBUF_REQUIRED, - [AC_DEFINE(HAVE_LIBGDKPIXBUF, 1, [Define to 1 to enable libgdkpixbuf support]) -- GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0` -- GDK_PIXBUF_DIR="gtk-2.0/$GTK_VERSION/loaders" -+ GDK_PIXBUF_DIR=`$PKG_CONFIG --variable=gdk_pixbuf_moduledir gdk-pixbuf-2.0` - AC_SUBST(GDK_PIXBUF_DIR) - HAVE_LIBGDKPIXBUF=yes], - [HAVE_LIBGDKPIXBUF=no]) -diff --git a/gnome/Makefile.am b/gnome/Makefile.am -index ecfe27d..2c0bca5 100644 ---- a/gnome/Makefile.am -+++ b/gnome/Makefile.am -@@ -16,7 +16,7 @@ pkgconfig_DATA = $(PKG_CONFIG_FILES) - - lib_LTLIBRARIES = $(GNOME_TARGETS) - --loaderdir = $(libdir)/$(GDK_PIXBUF_DIR) -+loaderdir = $(GDK_PIXBUF_DIR) - loader_LTLIBRARIES = $(GDK_PIXBUF_PLUGIN) - - libopenrawgnome_la_LDFLAGS = \ --- -cgit v0.8.3-6-g21f6 -From d4061df829ede099e9e5093e9d33f30c4a9f7783 Mon Sep 17 00:00:00 2001 -From: Hubert Figuiere -Date: Sun, 05 Sep 2010 02:25:39 +0000 -Subject: Fix detection of the module dir for GdkPixbuf. (Closes: #30013) - -This is a regression caused by a previous commit. ---- -diff --git a/configure.in b/configure.in -index c16a20c..a9a1a80 100644 ---- a/configure.in -+++ b/configure.in -@@ -138,6 +138,12 @@ if test x$enable_gnome = xyes ; then - PKG_CHECK_MODULES(LIBGDKPIXBUF, gdk-pixbuf-2.0 >= $LIBGDKPIXBUF_REQUIRED, - [AC_DEFINE(HAVE_LIBGDKPIXBUF, 1, [Define to 1 to enable libgdkpixbuf support]) - GDK_PIXBUF_DIR=`$PKG_CONFIG --variable=gdk_pixbuf_moduledir gdk-pixbuf-2.0` -+ dnl This is because the variable is only defined on recent gdk-pixbuf. -+ dnl Revert to the old method otherwise. (https://bugs.freedesktop.org/show_bug.cgi?id=30013) -+ if test -z "$GDK_PIXBUF_DIR" ; then -+ GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0` -+ GDK_PIXBUF_DIR="$libdir/gtk-2.0/$GTK_VERSION/loaders" -+ fi - AC_SUBST(GDK_PIXBUF_DIR) - HAVE_LIBGDKPIXBUF=yes], - [HAVE_LIBGDKPIXBUF=no]) --- -cgit v0.8.3-6-g21f6 diff --git a/libopenraw.spec b/libopenraw.spec index 2f37836..323b003 100644 --- a/libopenraw.spec +++ b/libopenraw.spec @@ -1,18 +1,18 @@ Summary: A library for decoding RAW images Summary(pl.UTF-8): Biblioteka dekodująca obrazy w formacie RAW Name: libopenraw -Version: 0.0.8 -Release: 6 +Version: 0.0.9 +Release: 1 License: LGPL v2.1+ Group: Libraries -Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.gz -# Source0-md5: fc26f146586a4b601326130bce6ffd88 -Patch0: %{name}-loaders-location.patch +Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2 +# Source0-md5: 3611d8aea870d25314665ef53093288e URL: http://libopenraw.freedesktop.org/ BuildRequires: autoconf >= 2.50 BuildRequires: automake BuildRequires: boost-devel >= 1.35.0 BuildRequires: gdk-pixbuf2-devel >= 2.0.0 +BuildRequires: glib2-devel >= 2.0.0 BuildRequires: libjpeg-devel BuildRequires: libxml2-devel >= 1:2.5.0 BuildRequires: pkgconfig @@ -75,6 +75,7 @@ Requires(post,postun): /sbin/ldconfig Requires(post,postun): gdk-pixbuf2 >= 2.0.0 Requires: %{name} = %{version}-%{release} Requires: gdk-pixbuf2 >= 2.0.0 +Requires: glib2 >= 2.0.0 %description gnome Library for decoding RAW images - GTK+/GNOME support. @@ -89,6 +90,7 @@ Group: X11/Development/Libraries Requires: %{name}-devel = %{version}-%{release} Requires: %{name}-gnome = %{version}-%{release} Requires: gdk-pixbuf2-devel >= 2.0.0 +Requires: glib2-devel >= 2.0.0 %description gnome-devel Header file for libopenrawgnome library. @@ -110,7 +112,6 @@ Statyczna biblioteka libopenrawgnome. %prep %setup -q -%patch0 -p1 %build %{__aclocal} -I m4