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