diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
commit | 7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch) | |
tree | 1684924656132935256e034f35f92abee6623265 /app-text/evince-light/files/evince-3.4.0-glib-gold.patch |
Added ebuilds for kogaion desktop
Diffstat (limited to 'app-text/evince-light/files/evince-3.4.0-glib-gold.patch')
-rw-r--r-- | app-text/evince-light/files/evince-3.4.0-glib-gold.patch | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app-text/evince-light/files/evince-3.4.0-glib-gold.patch b/app-text/evince-light/files/evince-3.4.0-glib-gold.patch new file mode 100644 index 00000000..34733f75 --- /dev/null +++ b/app-text/evince-light/files/evince-3.4.0-glib-gold.patch @@ -0,0 +1,54 @@ +From f2f9097ea87e2f0d15241ac0ee95099a219b7539 Mon Sep 17 00:00:00 2001 +From: Justin Lecher <jlec@gentoo.org> +Date: Mon, 30 Apr 2012 11:51:18 +0200 +Subject: [PATCH] Fix underlinking with >=glib-2.32 detected by gold linker + +As descripted in bug 675129, recent changes in pkg-config files +drop necessary libs from linking, more accurate gio-2.0 droppes +gmodule-no-export-2.0. + +Readd gmodule-no-export-2.0 at all necessary places. + +Signed-off-by: Justin Lecher <jlec@gentoo.org> +--- + configure.ac | 8 ++++---- + 1 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 66958fa..2ef6e50 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -154,10 +154,10 @@ fi + ZLIB_LIBS=-lz + AC_SUBST(ZLIB_LIBS) + +-PKG_CHECK_MODULES(LIBDOCUMENT, gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gmodule-2.0) ++PKG_CHECK_MODULES(LIBDOCUMENT, gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gmodule-no-export-2.0 >= $GLIB_REQUIRED gmodule-2.0) + PKG_CHECK_MODULES(LIBVIEW, gtk+-3.0 >= $GTK_REQUIRED gail-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED) + PKG_CHECK_MODULES(BACKEND, cairo >= $CAIRO_REQUIRED gtk+-3.0 >= $GTK_REQUIRED) +-PKG_CHECK_MODULES(FRONTEND_CORE, gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED) ++PKG_CHECK_MODULES(FRONTEND_CORE, gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED gmodule-no-export-2.0 >= $GLIB_REQUIRED) + + SHELL_PLATFORM_PKGS= + case "$with_platform" in +@@ -180,7 +180,7 @@ case "$with_platform" in + ;; + esac + +-PKG_CHECK_MODULES([SHELL_CORE],[libxml-2.0 >= $LIBXML_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS]) ++PKG_CHECK_MODULES([SHELL_CORE],[libxml-2.0 >= $LIBXML_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gmodule-no-export-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS]) + + # ********* + # SM client +@@ -407,7 +407,7 @@ AC_ARG_ENABLE([previewer], + [enable_previewer=yes]) + + if test x$enable_previewer = "xyes" ; then +- PKG_CHECK_MODULES([PREVIEWER],[gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED]) ++ PKG_CHECK_MODULES([PREVIEWER],[gtk+-3.0 >= $GTK_REQUIRED gthread-2.0 gio-2.0 >= $GLIB_REQUIRED gmodule-no-export-2.0 >= $GLIB_REQUIRED]) + fi + + AM_CONDITIONAL([ENABLE_PREVIEWER],[test "$enable_previewer" = "yes"]) +-- +1.7.8.6 + |