summaryrefslogtreecommitdiffstats
path: root/meta/packages/gtk+/gtk+_2.6.4-1.osso7.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gtk+/gtk+_2.6.4-1.osso7.bb')
-rw-r--r--meta/packages/gtk+/gtk+_2.6.4-1.osso7.bb167
1 files changed, 167 insertions, 0 deletions
diff --git a/meta/packages/gtk+/gtk+_2.6.4-1.osso7.bb b/meta/packages/gtk+/gtk+_2.6.4-1.osso7.bb
new file mode 100644
index 0000000000..e2065b3faa
--- /dev/null
+++ b/meta/packages/gtk+/gtk+_2.6.4-1.osso7.bb
@@ -0,0 +1,167 @@
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"
7MAINTAINER = "Koen Kooi <koen@handhelds.org>"
8DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc libgcrypt"
9PR = "r1"
10
11S = "${WORKDIR}/gtk+2.0-2.6.4/upstream/tarballs/gtk+-2.6.4/"
12
13SRC_URI = "http://stage.maemo.org:80/pool/maemo/ossw/source/g/gtk+2.0/gtk+2.0_${PV}.tar.gz \
14 file://no-demos.patch;patch=1 \
15 file://no-xwc.patch;patch=1 \
16 file://automake-lossage.patch;patch=1 \
17 file://spinbutton.patch;patch=1 \
18 file://hardcoded_libtool.patch;patch=1 \
19 file://disable-tooltips.patch;patch=1 \
20 file://gtklabel-resize-patch;patch=1 \
21 file://xsettings.patch;patch=1 \
22 file://scroll-timings.patch;patch=1 \
23 file://small-gtkfilesel.patch;patch=1 \
24 file://migration.patch;patch=1;pnum=0 \
25 file://000_gtk+-2.0.6-exportsymbols.patch;patch=1 \
26 file://000_gtk+-2.2.0-buildfix-immodule.patch;patch=1 \
27 file://002_xpmico.patch;patch=1 \
28 file://003_iconcache.patch;patch=1 \
29 file://configure.diff;patch=1 \
30 file://configure.in.diff;patch=1 \
31 file://gdkwindow-x11.c.diff;patch=1 \
32 file://gtk.h.diff;patch=1 \
33 file://gtk_Makefile.am.diff;patch=1 \
34 file://gtk_Makefile.in.diff;patch=1 \
35 file://gtkalias.h.diff;patch=1 \
36 file://gtkbutton.c.diff;patch=1 \
37 file://gtkbutton.h.diff;patch=1 \
38 file://gtkcalendar.c.diff;patch=1 \
39 file://gtkcalendar.h.diff;patch=1 \
40 file://gtkcellrenderertext.c.diff;patch=1 \
41 file://gtkcellrenderertoggle.c.diff;patch=1 \
42 file://gtkcellview.c.diff;patch=1 \
43 file://gtkcellview.h.diff;patch=1 \
44 file://gtkcheckbutton.c.diff;patch=1 \
45 file://gtkcombobox.c.diff;patch=1 \
46 file://gtkcomboboxentry.c.diff;patch=1 \
47 file://gtkcontainer.c.diff;patch=1 \
48 file://gtkdialog.c.diff;patch=1 \
49 file://gtkdnd.c.diff;patch=1 \
50 file://gtkentry.c.diff;patch=1 \
51 file://gtkenums.h.diff;patch=1 \
52 file://gtkfilesystem.c.diff;patch=1 \
53 file://gtkfilesystem.h.diff;patch=1 \
54 file://gtkframe.c.diff;patch=1 \
55 file://gtkhashtable.c.diff;patch=1 \
56 file://gtkhashtable.h.diff;patch=1 \
57 file://gtkhbbox.c.diff;patch=1 \
58 file://gtkhseparator.c.diff;patch=1 \
59 file://gtkiconfactory.c.diff;patch=1 \
60 file://gtkicontheme.c.diff;patch=1 \
61 file://gtkimcontext.c.diff;patch=1 \
62 file://gtkimcontext.h.diff;patch=1 \
63 file://gtkimmulticontext.c.diff;patch=1 \
64 file://gtklabel.c.diff;patch=1 \
65 file://gtklabel.h.diff;patch=1 \
66 file://gtkmain.c.diff;patch=1 \
67 file://gtkmarshal.c.diff;patch=1 \
68 file://gtkmarshal.h.diff;patch=1 \
69 file://gtkmarshalers.c.diff;patch=1 \
70 file://gtkmarshalers.h.diff;patch=1 \
71 file://gtkmenu.c.diff;patch=1 \
72 file://gtkmenu.h.diff;patch=1 \
73 file://gtkmenuitem.c.diff;patch=1 \
74 file://gtkmenuitem.h.diff;patch=1 \
75 file://gtkmenushell.c.diff;patch=1 \
76 file://gtkmenushell.h.diff;patch=1 \
77 file://gtknotebook.c.diff;patch=1 \
78 file://gtkprogress.c.diff;patch=1 \
79 file://gtkprogressbar.c.diff;patch=1 \
80 file://gtkradiobutton.c.diff;patch=1 \
81 file://gtkrange.c.diff;patch=1 \
82 file://gtkrange.h.diff;patch=1 \
83 file://gtkrbtree.c.diff;patch=1 \
84 file://gtkrc.c.diff;patch=1 \
85 file://gtkrc.h.diff;patch=1 \
86 file://gtkscrolledwindow.c.diff;patch=1 \
87 file://gtkseparator.c.diff;patch=1 \
88 file://gtkseparatortoolitem.c.diff;patch=1 \
89 file://gtksettings.c.diff;patch=1 \
90 file://gtkspinbutton.c.diff;patch=1 \
91 file://gtkstyle.c.diff;patch=1 \
92 file://gtkstyle.h.diff;patch=1 \
93 file://gtktable.c.diff;patch=1 \
94 file://gtktextbuffer.c.diff;patch=1 \
95 file://gtktextbuffer.h.diff;patch=1 \
96 file://gtktextbufferserialize.c.diff;patch=1 \
97 file://gtktextbufferserialize.h.diff;patch=1 \
98 file://gtktextview.c.diff;patch=1 \
99 file://gtktoolbar.c.diff;patch=1 \
100 file://gtktoolbutton.c.diff;patch=1 \
101 file://gtktoolbutton.h.diff;patch=1 \
102 file://gtktreemodelfilter.c.diff;patch=1 \
103 file://gtktreemodelsort.c.diff;patch=1 \
104 file://gtktreeprivate.h.diff;patch=1 \
105 file://gtktreeselection.c.diff;patch=1 \
106 file://gtktreeview.c.diff;patch=1 \
107 file://gtktreeview.h.diff;patch=1 \
108 file://gtktreeviewcolumn.c.diff;patch=1 \
109 file://gtktypebuiltins.c.diff;patch=1 \
110 file://gtktypebuiltins.h.diff;patch=1 \
111 file://gtkvseparator.c.diff;patch=1 \
112 file://gtkwidget.c.diff;patch=1 \
113 file://gtkwidget.h.diff;patch=1 \
114 file://gtkwindow.c.diff;patch=1 \
115 file://gtkwindow.h.diff;patch=1 \
116 file://io-gif-animation.c.diff;patch=1 \
117 file://io-gif.c.diff;patch=1"
118
119inherit autotools pkgconfig
120
121FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \
122 ${bindir}/gtk-query-immodules-2.0 \
123 ${libdir}/lib*.so.* \
124 ${datadir}/themes ${sysconfdir} \
125 ${libdir}/gtk-2.0/${LIBV}/engines/libpixmap.so"
126FILES_${PN}-dev += "${datadir}/gtk-2.0/include ${libdir}/gtk-2.0/include ${bindir}/gdk-pixbuf-csource"
127
128RRECOMMENDS_${PN} = "glibc-gconv-iso8859-1"
129
130EXTRA_OECONF = "--without-libtiff --disable-xkb --disable-glibtest --enable-display-migration"
131# --disable-cruft
132
133LIBV = "2.4.0"
134
135do_stage () {
136 oe_libinstall -so -C gtk libgtk-x11-2.0 ${STAGING_LIBDIR}
137 oe_libinstall -so -C gdk libgdk-x11-2.0 ${STAGING_LIBDIR}
138 oe_libinstall -so -C contrib/gdk-pixbuf-xlib libgdk_pixbuf_xlib-2.0 ${STAGING_LIBDIR}
139 oe_libinstall -so -C gdk-pixbuf libgdk_pixbuf-2.0 ${STAGING_LIBDIR}
140
141 autotools_stage_includes
142
143 mkdir -p ${STAGING_LIBDIR}/gtk-2.0/include
144 install -m 0644 gdk/gdkconfig.h ${STAGING_LIBDIR}/gtk-2.0/include/gdkconfig.h
145
146 install -m 0644 m4macros/gtk-2.0.m4 ${STAGING_DATADIR}/aclocal/
147}
148
149do_install_append () {
150 install -d ${D}${sysconfdir}/gtk-2.0
151}
152
153PACKAGES_DYNAMIC = "gdk-pixbuf-loader-* gtk-immodule-*"
154
155python populate_packages_prepend () {
156 import os.path
157
158 gtk_libdir = bb.data.expand('${libdir}/gtk-2.0/${LIBV}', d)
159 loaders_root = os.path.join(gtk_libdir, 'loaders')
160 immodules_root = os.path.join(gtk_libdir, 'immodules')
161
162 do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s', 'gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders')
163 do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s', 'gtk-query-immodules > /etc/gtk-2.0/gtk.immodules')
164
165 if (bb.data.getVar('DEBIAN_NAMES', d, 1)):
166 bb.data.setVar('PKG_${PN}', 'libgtk-2.0', d)
167}