libopenraw/libopenraw-gdk-pixbuf-loaders-path.patch
OBS User autobuild c11a26e4db Accepting request 44939 from multimedia:libs
Copy from multimedia:libs/libopenraw based on submit request 44939 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/44939
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libopenraw?expand=0&rev=12
2010-08-09 00:13:20 +00:00

55 lines
2.2 KiB
Diff

Index: libopenraw-0.0.8/configure
===================================================================
--- libopenraw-0.0.8.orig/configure
+++ libopenraw-0.0.8/configure
@@ -17567,8 +17567,7 @@ cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBGDKPIXBUF 1
_ACEOF
- 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`
HAVE_LIBGDKPIXBUF=yes
fi
Index: libopenraw-0.0.8/configure.in
===================================================================
--- libopenraw-0.0.8.orig/configure.in
+++ libopenraw-0.0.8/configure.in
@@ -135,8 +135,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])
Index: libopenraw-0.0.8/gnome/Makefile.am
===================================================================
--- libopenraw-0.0.8.orig/gnome/Makefile.am
+++ libopenraw-0.0.8/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 = \
Index: libopenraw-0.0.8/gnome/Makefile.in
===================================================================
--- libopenraw-0.0.8.orig/gnome/Makefile.in
+++ libopenraw-0.0.8/gnome/Makefile.in
@@ -265,7 +265,7 @@ INCLUDES = -I$(top_srcdir)/include \
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 = \
-version-info @LIBOPENRAW_VERSION_INFO@