summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-xfce/recipes-xfce/tumbler/tumbler/0001-configure-use-pkg-config-for-freetype2.patch45
-rw-r--r--meta-xfce/recipes-xfce/tumbler/tumbler_0.1.30.bb (renamed from meta-xfce/recipes-xfce/tumbler/tumbler_0.1.29.bb)9
2 files changed, 49 insertions, 5 deletions
diff --git a/meta-xfce/recipes-xfce/tumbler/tumbler/0001-configure-use-pkg-config-for-freetype2.patch b/meta-xfce/recipes-xfce/tumbler/tumbler/0001-configure-use-pkg-config-for-freetype2.patch
new file mode 100644
index 0000000000..5ecc35e37a
--- /dev/null
+++ b/meta-xfce/recipes-xfce/tumbler/tumbler/0001-configure-use-pkg-config-for-freetype2.patch
@@ -0,0 +1,45 @@
1From f5c283b1251ad005da7342e654cd2ec5ae9e5fb2 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Fri, 26 Sep 2014 13:44:36 +0200
4Subject: [PATCH] configure: use pkg-config for freetype2
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-status: Pending
10
11Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
12---
13 acinclude.m4 | 16 +---------------
14 1 file changed, 1 insertion(+), 15 deletions(-)
15
16diff --git a/acinclude.m4 b/acinclude.m4
17index 66e79d1..4c70b00 100644
18--- a/acinclude.m4
19+++ b/acinclude.m4
20@@ -52,21 +52,7 @@ if test x"$ac_tumbler_font_thumbnailer" = x"yes"; then
21 PKG_CHECK_MODULES([GDK_PIXBUF], [gdk-pixbuf-2.0 >= 2.14],
22 [
23 dnl Check for FreeType 2.x
24- FREETYPE_LIBS=""
25- FREETYPE_CFLAGS=""
26- AC_PATH_PROG([FREETYPE_CONFIG], [freetype-config], [no])
27- if test x"$FREETYPE_CONFIG" != x"no"; then
28- AC_MSG_CHECKING([FREETYPE_CFLAGS])
29- FREETYPE_CFLAGS="`$FREETYPE_CONFIG --cflags`"
30- AC_MSG_RESULT([$FREETYPE_CFLAGS])
31-
32- AC_MSG_CHECKING([FREETYPE_LIBS])
33- FREETYPE_LIBS="`$FREETYPE_CONFIG --libs`"
34- AC_MSG_RESULT([$FREETYPE_LIBS])
35- else
36- dnl We can only build the font thumbnailer if FreeType 2.x is available
37- ac_tumbler_font_thumbnailer=no
38- fi
39+ PKG_CHECK_MODULES(FREETYPE, freetype2, , [ac_tumbler_font_thumbnailer=no])
40 AC_SUBST([FREETYPE_CFLAGS])
41 AC_SUBST([FREETYPE_LIBS])
42 ], [ac_tumbler_font_thumbnailer=no])
43--
441.8.3.1
45
diff --git a/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.29.bb b/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.30.bb
index ed986c2e89..8651d0003c 100644
--- a/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.29.bb
+++ b/meta-xfce/recipes-xfce/tumbler/tumbler_0.1.30.bb
@@ -4,12 +4,11 @@ LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5DEPENDS = "dbus-glib freetype gdk-pixbuf poppler curl xfce4-dev-tools-native" 5DEPENDS = "dbus-glib freetype gdk-pixbuf poppler curl xfce4-dev-tools-native"
6 6
7inherit xfce 7inherit xfce gtk-doc
8 8
9PNBLACKLIST[tumbler] = "BROKEN: needs to be updated to use freetype2 pkg-config instead of freetype2-config" 9SRC_URI[md5sum] = "2524e39439c13238565160da0b6fed2d"
10 10SRC_URI[sha256sum] = "e7c20d79c830465f8b3b792893f05e8b8d5ba90aec4973e7517e07ef31537304"
11SRC_URI[md5sum] = "f844215c5e3918eae58abdd85f146780" 11SRC_URI += "file://0001-configure-use-pkg-config-for-freetype2.patch"
12SRC_URI[sha256sum] = "c3bac4ee609e22be6c7f01a4fdf6086bc6b57940d82f99570a2d9d547a32fc93"
13 12
14INSANE_SKIP_${PN} = "dev-so" 13INSANE_SKIP_${PN} = "dev-so"
15 14