summaryrefslogtreecommitdiffstats
path: root/meta/packages/gtk+/gtk+_2.6.8.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-06-28 14:46:06 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-06-28 14:46:06 +0000
commit8c891cb963846bc5b19e836cf6eab5cb293defef (patch)
treeef97b618e3ff3ae883894efde5e099702814da7d /meta/packages/gtk+/gtk+_2.6.8.bb
parentcc950fee8869dc811a57ae7502c2f63104fed5eb (diff)
downloadpoky-8c891cb963846bc5b19e836cf6eab5cb293defef.tar.gz
gtk: dropped 2.6.8
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2048 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gtk+/gtk+_2.6.8.bb')
-rw-r--r--meta/packages/gtk+/gtk+_2.6.8.bb95
1 files changed, 0 insertions, 95 deletions
diff --git a/meta/packages/gtk+/gtk+_2.6.8.bb b/meta/packages/gtk+/gtk+_2.6.8.bb
deleted file mode 100644
index 76d35e3782..0000000000
--- a/meta/packages/gtk+/gtk+_2.6.8.bb
+++ /dev/null
@@ -1,95 +0,0 @@
1LICENSE = "LGPL"
2DESCRIPTION = "GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \
3set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites."
4HOMEPAGE = "http://www.gtk.org"
5SECTION = "libs"
6PRIORITY = "optional"
7DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc libgcrypt"
8PR = "r5"
9
10SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+-${PV}.tar.bz2 \
11 file://no-demos.patch;patch=1 \
12 file://no-xwc.patch;patch=1 \
13 file://automake-lossage.patch;patch=1 \
14 file://gtk+-handhelds.patch;patch=1 \
15 file://hardcoded_libtool.patch;patch=1 \
16 file://disable-tooltips.patch;patch=1 \
17 file://gtklabel-resize-patch;patch=1 \
18 file://menu-deactivate.patch;patch=1 \
19 file://scroll-timings.patch;patch=1 \
20 file://no-deprecation.patch;patch=1 \
21 file://filesystem-volumes.patch;patch=1 \
22 file://filechooser-respect-style.patch;patch=1 \
23 file://filechooser-default.patch;patch=1 \
24 "
25
26inherit autotools pkgconfig
27
28FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \
29 ${bindir}/gtk-query-immodules-2.0 \
30 ${bindir}/gtk-update-icon-cache \
31 ${libdir}/lib*.so.* \
32 ${datadir}/themes ${sysconfdir} \
33 ${libdir}/gtk-2.0/${LIBV}/engines/libpixmap.so"
34FILES_${PN}-dev += " \
35 ${datadir}/gtk-2.0/include \
36 ${libdir}/gtk-2.0/include \
37 ${libdir}/gtk-2.0/${LIBV}/loaders/*.la \
38 ${libdir}/gtk-2.0/${LIBV}/immodules/*.la \
39 ${libdir}/gtk-2.0/${LIBV}/engines/*.la \
40 ${bindir}/gdk-pixbuf-csource"
41FILES_${PN}-dbg += " \
42 ${libdir}/gtk-2.0/${LIBV}/loaders/.debug/* \
43 ${libdir}/gtk-2.0/${LIBV}/immodules/.debug/* \
44 ${libdir}/gtk-2.0/${LIBV}/engines/.debug/*"
45
46RRECOMMENDS_linux_${PN} = "glibc-gconv-iso8859-1"
47
48EXTRA_OECONF = "--without-libtiff --disable-xkb --disable-glibtest --enable-display-migration"
49# --disable-cruft
50
51LIBV = "2.4.0"
52LEAD_SONAME = "libgtk-x11*"
53
54do_stage () {
55 oe_libinstall -so -C gtk libgtk-x11-2.0 ${STAGING_LIBDIR}
56 oe_libinstall -so -C gdk libgdk-x11-2.0 ${STAGING_LIBDIR}
57 oe_libinstall -so -C contrib/gdk-pixbuf-xlib libgdk_pixbuf_xlib-2.0 ${STAGING_LIBDIR}
58 oe_libinstall -so -C gdk-pixbuf libgdk_pixbuf-2.0 ${STAGING_LIBDIR}
59
60 autotools_stage_includes
61
62 mkdir -p ${STAGING_LIBDIR}/gtk-2.0/include
63 install -m 0644 gdk/gdkconfig.h ${STAGING_LIBDIR}/gtk-2.0/include/gdkconfig.h
64
65 install -m 0644 m4macros/gtk-2.0.m4 ${STAGING_DATADIR}/aclocal/
66}
67
68do_install_append () {
69 install -d ${D}${sysconfdir}/gtk-2.0
70}
71
72postinst_prologue() {
73if [ "x$D" != "x" ]; then
74 exit 1
75fi
76
77}
78
79PACKAGES_DYNAMIC = "gdk-pixbuf-loader-* gtk-immodule-*"
80
81python populate_packages_prepend () {
82 import os.path
83
84 prologue = bb.data.getVar("postinst_prologue", d, 1)
85
86 gtk_libdir = bb.data.expand('${libdir}/gtk-2.0/${LIBV}', d)
87 loaders_root = os.path.join(gtk_libdir, 'loaders')
88 immodules_root = os.path.join(gtk_libdir, 'immodules')
89
90 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')
91 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')
92
93 if (bb.data.getVar('DEBIAN_NAMES', d, 1)):
94 bb.data.setVar('PKG_${PN}', 'libgtk-2.0', d)
95}