diff options
Diffstat (limited to 'meta/packages/gtk+/gtk+_2.10.0.bb')
-rw-r--r-- | meta/packages/gtk+/gtk+_2.10.0.bb | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/meta/packages/gtk+/gtk+_2.10.0.bb b/meta/packages/gtk+/gtk+_2.10.0.bb deleted file mode 100644 index 4e8fcce21b..0000000000 --- a/meta/packages/gtk+/gtk+_2.10.0.bb +++ /dev/null | |||
@@ -1,96 +0,0 @@ | |||
1 | LICENSE = "LGPL" | ||
2 | DESCRIPTION = "GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \ | ||
3 | set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites." | ||
4 | HOMEPAGE = "http://www.gtk.org" | ||
5 | SECTION = "libs" | ||
6 | PRIORITY = "optional" | ||
7 | DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc libgcrypt cairo" | ||
8 | PR = "r1" | ||
9 | |||
10 | SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+-${PV}.tar.bz2 \ | ||
11 | file://gtkbuiltincache.h \ | ||
12 | file://cellrenderer-cairo.patch;patch=1 \ | ||
13 | file://entry-cairo.patch;patch=1 \ | ||
14 | file://style-cairo.patch;patch=1 \ | ||
15 | file://no-generate-builtincache.patch;patch=1 \ | ||
16 | file://no-xwc.patch;patch=1 \ | ||
17 | file://automake-lossage.patch;patch=1 \ | ||
18 | # file://spinbutton.patch;patch=1 \ | ||
19 | file://hardcoded_libtool.patch;patch=1 \ | ||
20 | file://disable-tooltips.patch;patch=1 \ | ||
21 | file://gtklabel-resize-patch;patch=1 \ | ||
22 | file://gtktreeview-316689.patch;patch=1 \ | ||
23 | # file://menu-deactivate.patch;patch=1 \ | ||
24 | # file://xsettings.patch;patch=1 \ | ||
25 | # file://scroll-timings.patch;patch=1 \ | ||
26 | # file://small-gtkfilesel.patch;patch=1 \ | ||
27 | # file://migration.patch;patch=1;pnum=0 \ | ||
28 | file://no-demos.patch;patch=1" | ||
29 | # file://gtk+-handhelds.patch;patch=1 \ | ||
30 | # file://single-click.patch;patch=1" | ||
31 | |||
32 | inherit autotools pkgconfig | ||
33 | |||
34 | FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \ | ||
35 | ${bindir}/gtk-query-immodules-2.0 \ | ||
36 | ${bindir}/gtk-update-icon-cache \ | ||
37 | ${libdir}/lib*.so.* \ | ||
38 | ${datadir}/themes ${sysconfdir} \ | ||
39 | ${libdir}/gtk-2.0/${LIBV}/engines/libpixmap.so" | ||
40 | FILES_${PN}-dev += "${datadir}/gtk-2.0/include ${libdir}/gtk-2.0/include ${bindir}/gdk-pixbuf-csource" | ||
41 | |||
42 | RRECOMMENDS_${PN} = "glibc-gconv-iso8859-1" | ||
43 | |||
44 | EXTRA_OECONF = "--without-libtiff --disable-xkb --disable-glibtest --enable-display-migration" | ||
45 | # --disable-cruft | ||
46 | |||
47 | LIBV = "2.10.0" | ||
48 | |||
49 | do_rig () { | ||
50 | cp ${S}/gtkbuiltincache.h ${WORKDIR}/gtk | ||
51 | } | ||
52 | |||
53 | addtask rig before patch | ||
54 | |||
55 | do_stage () { | ||
56 | oe_libinstall -so -C gtk libgtk-x11-2.0 ${STAGING_LIBDIR} | ||
57 | oe_libinstall -so -C gdk libgdk-x11-2.0 ${STAGING_LIBDIR} | ||
58 | oe_libinstall -so -C contrib/gdk-pixbuf-xlib libgdk_pixbuf_xlib-2.0 ${STAGING_LIBDIR} | ||
59 | oe_libinstall -so -C gdk-pixbuf libgdk_pixbuf-2.0 ${STAGING_LIBDIR} | ||
60 | |||
61 | autotools_stage_includes | ||
62 | |||
63 | mkdir -p ${STAGING_LIBDIR}/gtk-2.0/include | ||
64 | install -m 0644 gdk/gdkconfig.h ${STAGING_LIBDIR}/gtk-2.0/include/gdkconfig.h | ||
65 | |||
66 | install -m 0644 m4macros/gtk-2.0.m4 ${STAGING_DATADIR}/aclocal/ | ||
67 | } | ||
68 | |||
69 | do_install_append () { | ||
70 | install -d ${D}${sysconfdir}/gtk-2.0 | ||
71 | } | ||
72 | |||
73 | postinst_prologue() { | ||
74 | if [ "x$D" != "x" ]; then | ||
75 | exit 1 | ||
76 | fi | ||
77 | |||
78 | } | ||
79 | |||
80 | PACKAGES_DYNAMIC = "gdk-pixbuf-loader-* gtk-immodule-*" | ||
81 | |||
82 | python populate_packages_prepend () { | ||
83 | import os.path | ||
84 | |||
85 | prologue = bb.data.getVar("postinst_prologue", d, 1) | ||
86 | |||
87 | gtk_libdir = bb.data.expand('${libdir}/gtk-2.0/${LIBV}', d) | ||
88 | loaders_root = os.path.join(gtk_libdir, 'loaders') | ||
89 | immodules_root = os.path.join(gtk_libdir, 'immodules') | ||
90 | |||
91 | 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') | ||
92 | do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules > /etc/gtk-2.0/gtk.immodules') | ||
93 | |||
94 | if (bb.data.getVar('DEBIAN_NAMES', d, 1)): | ||
95 | bb.data.setVar('PKG_${PN}', 'libgtk-2.0', d) | ||
96 | } | ||