diff options
author | Robert Bradford <rob@openedhand.com> | 2008-09-23 16:57:57 +0000 |
---|---|---|
committer | Robert Bradford <rob@openedhand.com> | 2008-09-23 16:57:57 +0000 |
commit | 887b8dea03d76d1abb1f65df9173627d729c09f3 (patch) | |
tree | 6a4f5c2ea55178e24b3b4f6a3d020dea9324f37f /meta/packages/gtk+/gtk+_2.14.2.bb | |
parent | 57fbca3b65d4352b6dd16b12e36e94279b81327e (diff) | |
download | poky-887b8dea03d76d1abb1f65df9173627d729c09f3.tar.gz |
gtk+: Add gtk+ 2.14.2
(with rebased hardcoded_libtool.patch and new disable-gio-png-sniff-test.diff)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5250 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gtk+/gtk+_2.14.2.bb')
-rw-r--r-- | meta/packages/gtk+/gtk+_2.14.2.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/packages/gtk+/gtk+_2.14.2.bb b/meta/packages/gtk+/gtk+_2.14.2.bb new file mode 100644 index 0000000000..adcd1c2bd9 --- /dev/null +++ b/meta/packages/gtk+/gtk+_2.14.2.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | require gtk+.inc | ||
2 | |||
3 | PR = "r1" | ||
4 | |||
5 | SRC_URI = "http://download.gnome.org/sources/gtk+/2.14/gtk+-${PV}.tar.bz2 \ | ||
6 | file://xsettings.patch;patch=1 \ | ||
7 | file://run-iconcache.patch;patch=1 \ | ||
8 | file://hardcoded_libtool.patch;patch=1 \ | ||
9 | file://no-demos.patch;patch=1 \ | ||
10 | file://cellrenderer-cairo.patch;patch=1;pnum=0 \ | ||
11 | file://entry-cairo.patch;patch=1;pnum=0 \ | ||
12 | file://toggle-font.diff;patch=1;pnum=0 \ | ||
13 | # TO MERGE | ||
14 | # file://filesystem-volumes.patch;patch=1 \ | ||
15 | # file://filechooser-props.patch;patch=1 \ | ||
16 | # file://filechooser-default.patch;patch=1 \ | ||
17 | # file://filechooser-sizefix.patch;patch=1 \ | ||
18 | # temporary | ||
19 | # file://gtklabel-resize-patch;patch=1 \ | ||
20 | # file://menu-deactivate.patch;patch=1 \ | ||
21 | # file://combo-arrow-size.patch;patch=1;pnum=0 \ | ||
22 | file://disable-gio-png-sniff-test.diff;patch=1 \ | ||
23 | " | ||
24 | |||
25 | EXTRA_OECONF = "--without-libtiff --without-libjasper --disable-xkb --disable-glibtest --disable-cups" | ||
26 | |||
27 | LIBV = "2.10.0" | ||
28 | |||
29 | PACKAGES_DYNAMIC = "gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*" | ||
30 | |||
31 | python populate_packages_prepend () { | ||
32 | import os.path | ||
33 | |||
34 | prologue = bb.data.getVar("postinst_prologue", d, 1) | ||
35 | postinst_pixbufloader = bb.data.getVar("postinst_pixbufloader", d, 1) | ||
36 | |||
37 | gtk_libdir = bb.data.expand('${libdir}/gtk-2.0/${LIBV}', d) | ||
38 | loaders_root = os.path.join(gtk_libdir, 'loaders') | ||
39 | immodules_root = os.path.join(gtk_libdir, 'immodules') | ||
40 | printmodules_root = os.path.join(gtk_libdir, 'printbackends'); | ||
41 | |||
42 | do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s', postinst_pixbufloader) | ||
43 | 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') | ||
44 | do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk-printbackend-%s', 'GTK printbackend module for %s') | ||
45 | |||
46 | if (bb.data.getVar('DEBIAN_NAMES', d, 1)): | ||
47 | bb.data.setVar('PKG_${PN}', 'libgtk-2.0', d) | ||
48 | } | ||