summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/gtk+/gtk+.inc59
-rw-r--r--meta/packages/gtk+/gtk+_2.10.12.bb63
-rw-r--r--meta/packages/gtk+/gtk+_2.6.10.bb61
3 files changed, 66 insertions, 117 deletions
diff --git a/meta/packages/gtk+/gtk+.inc b/meta/packages/gtk+/gtk+.inc
new file mode 100644
index 0000000000..454cce7771
--- /dev/null
+++ b/meta/packages/gtk+/gtk+.inc
@@ -0,0 +1,59 @@
1DESCRIPTION = "GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \
2set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites."
3HOMEPAGE = "http://www.gtk.org"
4SECTION = "libs"
5LICENSE = "LGPL"
6PRIORITY = "optional"
7DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc libgcrypt"
8
9inherit autotools pkgconfig
10
11FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \
12 ${bindir}/gtk-update-icon-cache \
13 ${bindir}/gtk-query-immodules-2.0 \
14 ${libdir}/lib*.so.* \
15 ${datadir}/themes ${sysconfdir} \
16 ${libdir}/gtk-2.0/${LIBV}/engines/libpixmap.so"
17
18FILES_${PN}-dev += " \
19 ${datadir}/gtk-2.0/include \
20 ${libdir}/gtk-2.0/include \
21 ${libdir}/gtk-2.0/${LIBV}/loaders/*.la \
22 ${libdir}/gtk-2.0/${LIBV}/immodules/*.la \
23 ${libdir}/gtk-2.0/${LIBV}/engines/*.la \
24 ${bindir}/gdk-pixbuf-csource"
25
26FILES_${PN}-dbg += " \
27 ${libdir}/gtk-2.0/${LIBV}/loaders/.debug/* \
28 ${libdir}/gtk-2.0/${LIBV}/immodules/.debug/* \
29 ${libdir}/gtk-2.0/${LIBV}/engines/.debug/*"
30
31RRECOMMENDS_${PN} = "glibc-gconv-iso8859-1 ttf-dejavu-sans"
32RRECOMMENDS_${PN}_angstrom = "glibc-gconv-iso8859-1 ttf-dejavu-sans gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm"
33RRECOMMENDS_${PN}_openzaurus = "glibc-gconv-iso8859-1 ttf-dejavu-sans gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm"
34RRECOMMENDS_${PN}_poky = "glibc-gconv-iso8859-1 gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm"
35
36do_stage () {
37 oe_libinstall -so -C gtk libgtk-x11-2.0 ${STAGING_LIBDIR}
38 oe_libinstall -so -C gdk libgdk-x11-2.0 ${STAGING_LIBDIR}
39 oe_libinstall -so -C contrib/gdk-pixbuf-xlib libgdk_pixbuf_xlib-2.0 ${STAGING_LIBDIR}
40 oe_libinstall -so -C gdk-pixbuf libgdk_pixbuf-2.0 ${STAGING_LIBDIR}
41
42 autotools_stage_includes
43
44 mkdir -p ${STAGING_LIBDIR}/gtk-2.0/include
45 install -m 0644 gdk/gdkconfig.h ${STAGING_LIBDIR}/gtk-2.0/include/gdkconfig.h
46
47 install -m 0644 m4macros/gtk-2.0.m4 ${STAGING_DATADIR}/aclocal/
48}
49
50do_install_append () {
51 install -d ${D}${sysconfdir}/gtk-2.0
52}
53
54postinst_prologue() {
55if [ "x$D" != "x" ]; then
56 exit 1
57fi
58
59}
diff --git a/meta/packages/gtk+/gtk+_2.10.12.bb b/meta/packages/gtk+/gtk+_2.10.12.bb
index dc762d41cf..4108680c31 100644
--- a/meta/packages/gtk+/gtk+_2.10.12.bb
+++ b/meta/packages/gtk+/gtk+_2.10.12.bb
@@ -1,11 +1,7 @@
1LICENSE = "LGPL" 1require gtk+.inc
2DESCRIPTION = "GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \ 2
3set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites." 3DEPENDS += "cairo"
4HOMEPAGE = "http://www.gtk.org" 4PR = "r6"
5SECTION = "libs"
6PRIORITY = "optional"
7DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc libgcrypt cairo"
8PR = "r4"
9 5
10# disable per default - untested and not all patches included. 6# disable per default - untested and not all patches included.
11DEFAULT_PREFERENCE = "-1" 7DEFAULT_PREFERENCE = "-1"
@@ -31,61 +27,10 @@ SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+-${PV}.tar.bz2 \
31# file://single-click.patch;patch=1 27# file://single-click.patch;patch=1
32# file://spinbutton.patch;patch=1 \ 28# file://spinbutton.patch;patch=1 \
33 29
34inherit autotools pkgconfig
35
36FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \
37 ${bindir}/gtk-update-icon-cache \
38 ${bindir}/gtk-query-immodules-2.0 \
39 ${libdir}/lib*.so.* \
40 ${datadir}/themes ${sysconfdir} \
41 ${libdir}/gtk-2.0/${LIBV}/engines/libpixmap.so"
42FILES_${PN}-dev += " \
43 ${datadir}/gtk-2.0/include \
44 ${libdir}/gtk-2.0/include \
45 ${libdir}/gtk-2.0/${LIBV}/loaders/*.la \
46 ${libdir}/gtk-2.0/${LIBV}/immodules/*.la \
47 ${libdir}/gtk-2.0/${LIBV}/engines/*.la \
48 ${bindir}/gdk-pixbuf-csource"
49FILES_${PN}-dbg += " \
50 ${libdir}/gtk-2.0/${LIBV}/loaders/.debug/* \
51 ${libdir}/gtk-2.0/${LIBV}/immodules/.debug/* \
52 ${libdir}/gtk-2.0/${LIBV}/engines/.debug/*"
53
54
55RRECOMMENDS_${PN} = "glibc-gconv-iso8859-1 ttf-dejavu-sans"
56RRECOMMENDS_${PN}_angstrom = "glibc-gconv-iso8859-1 ttf-dejavu-sans gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm"
57RRECOMMENDS_${PN}_openzaurus = "glibc-gconv-iso8859-1 ttf-dejavu-sans gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm"
58RRECOMMENDS_${PN}_poky = "glibc-gconv-iso8859-1"
59
60EXTRA_OECONF = "--without-libtiff --disable-xkb --disable-glibtest --enable-display-migration" 30EXTRA_OECONF = "--without-libtiff --disable-xkb --disable-glibtest --enable-display-migration"
61 31
62LIBV = "2.10.0" 32LIBV = "2.10.0"
63 33
64do_stage () {
65 oe_libinstall -so -C gtk libgtk-x11-2.0 ${STAGING_LIBDIR}
66 oe_libinstall -so -C gdk libgdk-x11-2.0 ${STAGING_LIBDIR}
67 oe_libinstall -so -C contrib/gdk-pixbuf-xlib libgdk_pixbuf_xlib-2.0 ${STAGING_LIBDIR}
68 oe_libinstall -so -C gdk-pixbuf libgdk_pixbuf-2.0 ${STAGING_LIBDIR}
69
70 autotools_stage_includes
71
72 mkdir -p ${STAGING_LIBDIR}/gtk-2.0/include
73 install -m 0644 gdk/gdkconfig.h ${STAGING_LIBDIR}/gtk-2.0/include/gdkconfig.h
74
75 install -m 0644 m4macros/gtk-2.0.m4 ${STAGING_DATADIR}/aclocal/
76}
77
78do_install_append () {
79 install -d ${D}${sysconfdir}/gtk-2.0
80}
81
82postinst_prologue() {
83if [ "x$D" != "x" ]; then
84 exit 1
85fi
86
87}
88
89PACKAGES_DYNAMIC = "gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*" 34PACKAGES_DYNAMIC = "gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*"
90 35
91python populate_packages_prepend () { 36python populate_packages_prepend () {
diff --git a/meta/packages/gtk+/gtk+_2.6.10.bb b/meta/packages/gtk+/gtk+_2.6.10.bb
index 5b022e997d..02540c0a98 100644
--- a/meta/packages/gtk+/gtk+_2.6.10.bb
+++ b/meta/packages/gtk+/gtk+_2.6.10.bb
@@ -1,11 +1,6 @@
1DESCRIPTION = "GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \ 1require gtk+.inc
2set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites." 2
3HOMEPAGE = "http://www.gtk.org" 3PR = "r8"
4SECTION = "libs"
5LICENSE = "LGPL"
6PRIORITY = "optional"
7DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc libgcrypt"
8PR = "r7"
9 4
10SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+-${PV}.tar.bz2 \ 5SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+-${PV}.tar.bz2 \
11 file://no-demos.patch;patch=1 \ 6 file://no-demos.patch;patch=1 \
@@ -22,32 +17,6 @@ SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+-${PV}.tar.bz2 \
22 file://filechooser-default.patch;patch=1 \ 17 file://filechooser-default.patch;patch=1 \
23 " 18 "
24 19
25inherit autotools pkgconfig
26
27FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \
28 ${bindir}/gtk-query-immodules-2.0 \
29 ${bindir}/gtk-update-icon-cache \
30 ${libdir}/lib*.so.* \
31 ${datadir}/themes ${sysconfdir} \
32 ${libdir}/gtk-2.0/${LIBV}/engines/libpixmap.so"
33FILES_${PN}-dev += " \
34 ${datadir}/gtk-2.0/include \
35 ${libdir}/gtk-2.0/include \
36 ${libdir}/gtk-2.0/${LIBV}/loaders/*.la \
37 ${libdir}/gtk-2.0/${LIBV}/immodules/*.la \
38 ${libdir}/gtk-2.0/${LIBV}/engines/*.la \
39 ${bindir}/gdk-pixbuf-csource"
40FILES_${PN}-dbg += " \
41 ${libdir}/gtk-2.0/${LIBV}/loaders/.debug/* \
42 ${libdir}/gtk-2.0/${LIBV}/immodules/.debug/* \
43 ${libdir}/gtk-2.0/${LIBV}/engines/.debug/*"
44
45
46RRECOMMENDS_${PN} = "glibc-gconv-iso8859-1 ttf-dejavu-sans"
47RRECOMMENDS_${PN}_angstrom = "glibc-gconv-iso8859-1 ttf-dejavu-sans gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm"
48RRECOMMENDS_${PN}_openzaurus = "glibc-gconv-iso8859-1 ttf-dejavu-sans gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm"
49RRECOMMENDS_${PN}_poky = "glibc-gconv-iso8859-1"
50
51EXTRA_OECONF = "--without-libtiff --disable-xkb --disable-glibtest" 20EXTRA_OECONF = "--without-libtiff --disable-xkb --disable-glibtest"
52 21
53LIBV = "2.4.0" 22LIBV = "2.4.0"
@@ -61,30 +30,6 @@ do_configure_prepend() {
61 done 30 done
62} 31}
63 32
64do_stage () {
65 oe_libinstall -so -C gtk libgtk-x11-2.0 ${STAGING_LIBDIR}
66 oe_libinstall -so -C gdk libgdk-x11-2.0 ${STAGING_LIBDIR}
67 oe_libinstall -so -C contrib/gdk-pixbuf-xlib libgdk_pixbuf_xlib-2.0 ${STAGING_LIBDIR}
68 oe_libinstall -so -C gdk-pixbuf libgdk_pixbuf-2.0 ${STAGING_LIBDIR}
69
70 autotools_stage_includes
71
72 mkdir -p ${STAGING_LIBDIR}/gtk-2.0/include
73 install -m 0644 gdk/gdkconfig.h ${STAGING_LIBDIR}/gtk-2.0/include/gdkconfig.h
74
75 install -m 0644 m4macros/gtk-2.0.m4 ${STAGING_DATADIR}/aclocal/
76}
77
78do_install_append () {
79 install -d ${D}${sysconfdir}/gtk-2.0
80}
81
82postinst_prologue() {
83if [ "x$D" != "x" ]; then
84 exit 1
85fi
86
87}
88 33
89PACKAGES_DYNAMIC = "gdk-pixbuf-loader-* gtk-immodule-*" 34PACKAGES_DYNAMIC = "gdk-pixbuf-loader-* gtk-immodule-*"
90 35