diff options
Diffstat (limited to 'meta/packages/gtk+/gtk+_2.12.3.bb')
-rw-r--r-- | meta/packages/gtk+/gtk+_2.12.3.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/packages/gtk+/gtk+_2.12.3.bb b/meta/packages/gtk+/gtk+_2.12.3.bb new file mode 100644 index 0000000000..a9facbb61a --- /dev/null +++ b/meta/packages/gtk+/gtk+_2.12.3.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | require gtk+.inc | ||
2 | |||
3 | DEPENDS += "cairo" | ||
4 | PR = "r1" | ||
5 | |||
6 | # disable per default - untested and not all patches included. | ||
7 | DEFAULT_PREFERENCE = "-1" | ||
8 | |||
9 | SRC_URI = "http://download.gnome.org/sources/gtk+/2.12/gtk+-${PV}.tar.bz2 \ | ||
10 | file://xsettings.patch;patch=1 \ | ||
11 | file://run-iconcache.patch;patch=1 \ | ||
12 | file://disable-print.patch;patch=1 \ | ||
13 | file://hardcoded_libtool.patch;patch=1 \ | ||
14 | file://no-demos.patch;patch=1 \ | ||
15 | file://cellrenderer-cairo.patch;patch=1;pnum=0 \ | ||
16 | file://entry-cairo.patch;patch=1;pnum=0 \ | ||
17 | file://toggle-font.diff;patch=1;pnum=0 \ | ||
18 | file://scrolled-placement.patch;patch=1;pnum=0" | ||
19 | # temporary | ||
20 | # file://gtklabel-resize-patch;patch=1 \ | ||
21 | # file://menu-deactivate.patch;patch=1 \ | ||
22 | # file://combo-arrow-size.patch;patch=1;pnum=0 \ | ||
23 | # die die die | ||
24 | # file://pangoxft2.10.6.diff;patch=1" | ||
25 | |||
26 | EXTRA_OECONF = "--without-libtiff --disable-xkb --disable-glibtest --enable-display-migration" | ||
27 | |||
28 | LIBV = "2.10.0" | ||
29 | |||
30 | PACKAGES_DYNAMIC = "gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*" | ||
31 | |||
32 | python populate_packages_prepend () { | ||
33 | import os.path | ||
34 | |||
35 | prologue = bb.data.getVar("postinst_prologue", d, 1) | ||
36 | postinst_pixbufloader = bb.data.getVar("postinst_pixbufloader", d, 1) | ||
37 | |||
38 | gtk_libdir = bb.data.expand('${libdir}/gtk-2.0/${LIBV}', d) | ||
39 | loaders_root = os.path.join(gtk_libdir, 'loaders') | ||
40 | immodules_root = os.path.join(gtk_libdir, 'immodules') | ||
41 | printmodules_root = os.path.join(gtk_libdir, 'printbackends'); | ||
42 | |||
43 | do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s', postinst_pixbufloader) | ||
44 | do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules') | ||
45 | do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk-printbackend-%s', 'GTK printbackend module for %s') | ||
46 | |||
47 | if (bb.data.getVar('DEBIAN_NAMES', d, 1)): | ||
48 | bb.data.setVar('PKG_${PN}', 'libgtk-2.0', d) | ||
49 | } | ||