2009-12-10 18:16:40 +00:00
|
|
|
require gtk+.inc
|
|
|
|
|
2010-07-08 02:11:14 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
|
|
|
|
file://gtk/gtk.h;endline=27;md5=c59e0b4490dd135a5726ebf851f9b17f \
|
|
|
|
file://gdk/gdk.h;endline=27;md5=07db285ec208fb3e0bf7d861b0614202 \
|
|
|
|
file://tests/testgtk.c;endline=27;md5=262db5db5f776f9863e56df31423e24c"
|
2011-09-30 15:33:41 +00:00
|
|
|
SRC_URI = "http://download.gnome.org/sources/gtk+/2.24/gtk+-${PV}.tar.bz2 \
|
2011-08-18 00:17:52 +00:00
|
|
|
file://xsettings.patch \
|
|
|
|
file://run-iconcache.patch \
|
2011-11-17 10:36:50 +00:00
|
|
|
file://configure-nm.patch \
|
2011-08-18 00:17:52 +00:00
|
|
|
file://hardcoded_libtool.patch \
|
|
|
|
file://cellrenderer-cairo.patch;striplevel=0 \
|
|
|
|
file://toggle-font.diff;striplevel=0 \
|
|
|
|
file://0001-bgo-584832-Duplicate-the-exec-string-returned-by-gtk.patch \
|
2011-02-17 21:35:05 +00:00
|
|
|
file://doc-fixes.patch \
|
2011-02-22 21:38:09 +00:00
|
|
|
"
|
2011-12-12 11:28:42 +00:00
|
|
|
|
2009-12-10 18:16:40 +00:00
|
|
|
# TO MERGE
|
2011-08-18 00:17:52 +00:00
|
|
|
# file://entry-cairo.patch;striplevel=0
|
|
|
|
# file://filesystem-volumes.patch
|
|
|
|
# file://filechooser-props.patch
|
|
|
|
# file://filechooser-default.patch
|
|
|
|
# file://filechooser-sizefix.patch
|
2009-12-10 18:16:40 +00:00
|
|
|
# temporary
|
2011-08-18 00:17:52 +00:00
|
|
|
# file://gtklabel-resize-patch
|
|
|
|
# file://menu-deactivate.patch
|
|
|
|
# file://combo-arrow-size.patch;striplevel=0
|
|
|
|
# file://configurefix.patch
|
2009-12-10 18:16:40 +00:00
|
|
|
|
2012-02-13 15:40:49 +00:00
|
|
|
PR = "r3"
|
2011-10-31 12:51:51 +00:00
|
|
|
|
2011-11-29 23:24:12 +00:00
|
|
|
SRC_URI[md5sum] = "0413187f7e596aef00ccd1b54776ff03"
|
|
|
|
SRC_URI[sha256sum] = "ac2325a65312922a6722a7c02a389f3f4072d79e13131485cc7b7226e2537043"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2011-09-25 14:40:41 +00:00
|
|
|
EXTRA_OECONF = "--without-libtiff --without-libjasper --enable-xkb --disable-glibtest --disable-cups --disable-xinerama"
|
2009-12-10 18:16:40 +00:00
|
|
|
|
|
|
|
LIBV = "2.10.0"
|
|
|
|
|
2010-11-22 06:26:56 +00:00
|
|
|
PACKAGES_DYNAMIC += "gtk-immodule-* gtk-printbackend-*"
|
2009-12-10 18:16:40 +00:00
|
|
|
|
|
|
|
python populate_packages_prepend () {
|
|
|
|
import os.path
|
|
|
|
|
2012-03-03 10:59:25 +00:00
|
|
|
prologue = d.getVar("postinst_prologue", True)
|
2009-12-10 18:16:40 +00:00
|
|
|
|
|
|
|
gtk_libdir = bb.data.expand('${libdir}/gtk-2.0/${LIBV}', d)
|
|
|
|
immodules_root = os.path.join(gtk_libdir, 'immodules')
|
|
|
|
printmodules_root = os.path.join(gtk_libdir, 'printbackends');
|
|
|
|
|
|
|
|
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')
|
|
|
|
do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk-printbackend-%s', 'GTK printbackend module for %s')
|
|
|
|
|
2012-03-03 10:59:25 +00:00
|
|
|
if (d.getVar('DEBIAN_NAMES', True)):
|
Convert to use direct access to the data store (instead of bb.data.*Var*())
This is the result of running the following over the metadata:
sed \
-e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`
(From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-09 15:00:01 +00:00
|
|
|
d.setVar('PKG_${PN}', '${MLPREFIX}libgtk-2.0')
|
2009-12-10 18:16:40 +00:00
|
|
|
}
|