Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/poppler/files: poppler-0.12.3-gdk.patch
Date: Tue, 26 Jan 2010 23:13:51
Message-Id: E1NZubT-0006Zs-E8@stork.gentoo.org
1 yngwin 10/01/26 23:13:47
2
3 Added: poppler-0.12.3-gdk.patch
4 Log:
5 Add patch to fix gdk feature detection. Fixes bug 302332.
6 (Portage version: 2.2_rc61/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 app-text/poppler/files/poppler-0.12.3-gdk.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler/files/poppler-0.12.3-gdk.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/poppler/files/poppler-0.12.3-gdk.patch?rev=1.1&content-type=text/plain
13
14 Index: poppler-0.12.3-gdk.patch
15 ===================================================================
16 --- glib/poppler-features.h.cmake.orig 2009-09-09 23:22:31.000000000 +0200
17 +++ glib/poppler-features.h.cmake 2010-01-26 23:36:17.518737903 +0100
18 @@ -20,6 +20,7 @@
19 #define __POPPLER_FEATURES_H__
20
21 @CAIRO_FEATURE@
22 +@GDK_FEATURE@
23
24 #define POPPLER_MAJOR_VERSION (@POPPLER_MAJOR_VERSION@)
25 #define POPPLER_MINOR_VERSION (@POPPLER_MINOR_VERSION@)
26 --- glib/CMakeLists.txt.orig 2010-01-26 23:40:40.719242931 +0100
27 +++ glib/CMakeLists.txt 2010-01-26 23:48:30.107752041 +0100
28 @@ -13,6 +13,7 @@
29 endif (CAIRO_FOUND)
30
31 if (GDK_FOUND)
32 + set (GDK_FEATURE "#define POPPLER_WITH_GDK 1")
33 add_definitions(${GDK2_CFLAGS})
34 endif (GDK_FOUND)