summaryrefslogtreecommitdiffstats
path: root/meta/packages/glib-2.0
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/glib-2.0
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/glib-2.0')
-rw-r--r--meta/packages/glib-2.0/files/atomic_fix.patch16
-rw-r--r--meta/packages/glib-2.0/files/glib-gettextize-dir.patch11
-rw-r--r--meta/packages/glib-2.0/files/glibconfig-sysdefs.h6
-rw-r--r--meta/packages/glib-2.0/files/glibinclude.patch18
-rw-r--r--meta/packages/glib-2.0/glib-2.0-native-2.10.3/glib-gettextize-dir.patch11
-rw-r--r--meta/packages/glib-2.0/glib-2.0-native_2.10.3.bb55
-rw-r--r--meta/packages/glib-2.0/glib-2.0-native_2.12.0.bb54
-rw-r--r--meta/packages/glib-2.0/glib-2.0-native_2.6.5.bb49
-rw-r--r--meta/packages/glib-2.0/glib-2.0_2.10.3.bb48
-rw-r--r--meta/packages/glib-2.0/glib-2.0_2.12.0.bb47
-rw-r--r--meta/packages/glib-2.0/glib-2.0_2.6.4.bb49
-rw-r--r--meta/packages/glib-2.0/glib-2.0_2.8.6.bb49
12 files changed, 413 insertions, 0 deletions
diff --git a/meta/packages/glib-2.0/files/atomic_fix.patch b/meta/packages/glib-2.0/files/atomic_fix.patch
new file mode 100644
index 0000000000..ddc7ada778
--- /dev/null
+++ b/meta/packages/glib-2.0/files/atomic_fix.patch
@@ -0,0 +1,16 @@
1Index: glib-2.10.3/glib/gthread.c
2===================================================================
3--- glib-2.10.3.orig/glib/gthread.c 2005-12-01 16:34:26.000000000 +0000
4+++ glib-2.10.3/glib/gthread.c 2006-07-06 08:17:18.000000000 +0100
5@@ -164,10 +164,10 @@
6 _g_messages_thread_init_nomessage ();
7
8 /* we may run full-fledged initializers from here */
9+ _g_atomic_thread_init ();
10 _g_convert_thread_init ();
11 _g_rand_thread_init ();
12 _g_main_thread_init ();
13- _g_atomic_thread_init ();
14 _g_utils_thread_init ();
15 #ifdef G_OS_WIN32
16 _g_win32_thread_init ();
diff --git a/meta/packages/glib-2.0/files/glib-gettextize-dir.patch b/meta/packages/glib-2.0/files/glib-gettextize-dir.patch
new file mode 100644
index 0000000000..989211c927
--- /dev/null
+++ b/meta/packages/glib-2.0/files/glib-gettextize-dir.patch
@@ -0,0 +1,11 @@
1--- glib-2.6.2/glib-gettextize.in.old 2005-02-15 02:43:17.000000000 +0000
2+++ glib-2.6.2/glib-gettextize.in 2005-02-15 02:43:18.000000000 +0000
3@@ -43,7 +43,7 @@
4
5 # Directory where the sources are stored.
6 prefix=@prefix@
7-gettext_dir=@prefix@/share/glib-2.0/gettext
8+gettext_dir=@datadir@/glib-2.0/gettext
9
10 while test $# -gt 0; do
11 case "$1" in
diff --git a/meta/packages/glib-2.0/files/glibconfig-sysdefs.h b/meta/packages/glib-2.0/files/glibconfig-sysdefs.h
new file mode 100644
index 0000000000..1329e7f21c
--- /dev/null
+++ b/meta/packages/glib-2.0/files/glibconfig-sysdefs.h
@@ -0,0 +1,6 @@
1#define GLIB_SYSDEF_POLLIN =1
2#define GLIB_SYSDEF_POLLOUT =4
3#define GLIB_SYSDEF_POLLPRI =2
4#define GLIB_SYSDEF_POLLERR =8
5#define GLIB_SYSDEF_POLLHUP =16
6#define GLIB_SYSDEF_POLLNVAL =32
diff --git a/meta/packages/glib-2.0/files/glibinclude.patch b/meta/packages/glib-2.0/files/glibinclude.patch
new file mode 100644
index 0000000000..5413e50e00
--- /dev/null
+++ b/meta/packages/glib-2.0/files/glibinclude.patch
@@ -0,0 +1,18 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- glib-2.0-2.4.6-r1/glib-2.4.6/glib/Makefile.am~glibinclude.patch
7+++ glib-2.0-2.4.6-r1/glib-2.4.6/glib/Makefile.am
8@@ -157,8 +157,8 @@
9 gprintf.h
10
11 install-data-local: install-ms-lib install-libtool-import-lib
12- @if test -f $(glibincludedir)/glist.h ; then \
13- echo "*** Old headers found in $(glibincludedir). You should remove the" ; \
14+ @if test -f $(DESTDIR)$(glibincludedir)/glist.h ; then \
15+ echo "*** Old headers found in $(DESTDIR)$(glibincludedir). You should remove the" ; \
16 echo "*** contents of this directory and type 'make install' again." ; \
17 false ; \
18 fi
diff --git a/meta/packages/glib-2.0/glib-2.0-native-2.10.3/glib-gettextize-dir.patch b/meta/packages/glib-2.0/glib-2.0-native-2.10.3/glib-gettextize-dir.patch
new file mode 100644
index 0000000000..efe3325578
--- /dev/null
+++ b/meta/packages/glib-2.0/glib-2.0-native-2.10.3/glib-gettextize-dir.patch
@@ -0,0 +1,11 @@
1--- glib-2.10.3/glib-gettextize.in.old 2006-06-21 12:46:45.000000000 +0100
2+++ glib-2.10.3/glib-gettextize.in 2006-06-21 12:48:14.000000000 +0100
3@@ -49,7 +49,7 @@
4 ;;
5 esac
6
7-gettext_dir=$prefix/share/glib-2.0/gettext
8+gettext_dir=@datadir@/glib-2.0/gettext
9
10 while test $# -gt 0; do
11 case "$1" in
diff --git a/meta/packages/glib-2.0/glib-2.0-native_2.10.3.bb b/meta/packages/glib-2.0/glib-2.0-native_2.10.3.bb
new file mode 100644
index 0000000000..402ec2d390
--- /dev/null
+++ b/meta/packages/glib-2.0/glib-2.0-native_2.10.3.bb
@@ -0,0 +1,55 @@
1DESCRIPTION = "GLib is a general-purpose utility library, \
2which provides many useful data types, macros, \
3type conversions, string utilities, file utilities, a main \
4loop abstraction, and so on. It works on many \
5UNIX-like platforms, Windows, OS/2 and BeOS."
6LICENSE = "LGPL"
7SECTION = "libs"
8PRIORITY = "optional"
9DEPENDS += "gtk-doc-native"
10PR="r1"
11
12EXTRA_OECONF = "--disable-debug"
13
14SRC_URI = "http://download.gnome.org/sources/glib/2.10//glib-${PV}.tar.bz2 \
15 file://glib-gettextize-dir.patch;patch=1 \
16 file://atomic_fix.patch;patch=1 \
17 file://glibconfig-sysdefs.h"
18
19S = "${WORKDIR}/glib-${PV}"
20
21inherit autotools pkgconfig native gettext
22
23python () {
24 if bb.data.getVar("USE_NLS", d, 1) == "no":
25 raise bb.parse.SkipPackage("${PN} requires native language support.")
26}
27
28acpaths = ""
29do_configure_prepend () {
30 install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
31}
32
33do_stage () {
34 install -m 0755 gobject/glib-mkenums ${STAGING_BINDIR}/
35 install -m 0755 gobject/.libs/glib-genmarshal ${STAGING_BINDIR}/
36 install -m 0755 glib-gettextize ${STAGING_BINDIR}/
37 oe_libinstall -so -C glib libglib-2.0 ${STAGING_LIBDIR}
38 oe_libinstall -so -C gmodule libgmodule-2.0 ${STAGING_LIBDIR}
39 oe_libinstall -so -C gthread libgthread-2.0 ${STAGING_LIBDIR}
40 oe_libinstall -so -C gobject libgobject-2.0 ${STAGING_LIBDIR}
41 autotools_stage_includes
42 install -d ${STAGING_INCDIR}/glib-2.0/glib
43 install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h
44 install -d ${STAGING_DATADIR}/aclocal
45 install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4
46 install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4
47 install -d ${STAGING_DATADIR}/glib-2.0/gettext/po
48 install -m 0755 mkinstalldirs ${STAGING_DATADIR}/glib-2.0/gettext/
49 install -m 0644 po/Makefile.in.in ${STAGING_DATADIR}/glib-2.0/gettext/po/
50}
51
52do_install () {
53 :
54}
55
diff --git a/meta/packages/glib-2.0/glib-2.0-native_2.12.0.bb b/meta/packages/glib-2.0/glib-2.0-native_2.12.0.bb
new file mode 100644
index 0000000000..768f2777d8
--- /dev/null
+++ b/meta/packages/glib-2.0/glib-2.0-native_2.12.0.bb
@@ -0,0 +1,54 @@
1DESCRIPTION = "GLib is a general-purpose utility library, \
2which provides many useful data types, macros, \
3type conversions, string utilities, file utilities, a main \
4loop abstraction, and so on. It works on many \
5UNIX-like platforms, Windows, OS/2 and BeOS."
6LICENSE = "LGPL"
7SECTION = "libs"
8PRIORITY = "optional"
9DEPENDS += "gtk-doc-native"
10PR="r1"
11
12EXTRA_OECONF = "--disable-debug"
13
14SRC_URI = "http://download.gnome.org/sources/glib/2.12/glib-${PV}.tar.bz2 \
15 file://glib-gettextize-dir.patch;patch=1 \
16 file://glibconfig-sysdefs.h"
17
18S = "${WORKDIR}/glib-${PV}"
19
20inherit autotools pkgconfig native gettext
21
22python () {
23 if bb.data.getVar("USE_NLS", d, 1) == "no":
24 raise bb.parse.SkipPackage("${PN} requires native language support.")
25}
26
27acpaths = ""
28do_configure_prepend () {
29 install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
30}
31
32do_stage () {
33 install -m 0755 gobject/glib-mkenums ${STAGING_BINDIR}/
34 install -m 0755 gobject/.libs/glib-genmarshal ${STAGING_BINDIR}/
35 install -m 0755 glib-gettextize ${STAGING_BINDIR}/
36 oe_libinstall -so -C glib libglib-2.0 ${STAGING_LIBDIR}
37 oe_libinstall -so -C gmodule libgmodule-2.0 ${STAGING_LIBDIR}
38 oe_libinstall -so -C gthread libgthread-2.0 ${STAGING_LIBDIR}
39 oe_libinstall -so -C gobject libgobject-2.0 ${STAGING_LIBDIR}
40 autotools_stage_includes
41 install -d ${STAGING_INCDIR}/glib-2.0/glib
42 install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h
43 install -d ${STAGING_DATADIR}/aclocal
44 install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4
45 install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4
46 install -d ${STAGING_DATADIR}/glib-2.0/gettext/po
47 install -m 0755 mkinstalldirs ${STAGING_DATADIR}/glib-2.0/gettext/
48 install -m 0644 po/Makefile.in.in ${STAGING_DATADIR}/glib-2.0/gettext/po/
49}
50
51do_install () {
52 :
53}
54
diff --git a/meta/packages/glib-2.0/glib-2.0-native_2.6.5.bb b/meta/packages/glib-2.0/glib-2.0-native_2.6.5.bb
new file mode 100644
index 0000000000..785261e7cf
--- /dev/null
+++ b/meta/packages/glib-2.0/glib-2.0-native_2.6.5.bb
@@ -0,0 +1,49 @@
1DESCRIPTION = "GLib is a general-purpose utility library, \
2which provides many useful data types, macros, \
3type conversions, string utilities, file utilities, a main \
4loop abstraction, and so on. It works on many \
5UNIX-like platforms, Windows, OS/2 and BeOS."
6LICENSE = "LGPL"
7SECTION = "libs"
8PRIORITY = "optional"
9MAINTAINER = "Philip Blundell <pb@handhelds.org>"
10DEPENDS = "gtk-doc-native"
11PR = "r3"
12
13EXTRA_OECONF = "--disable-debug"
14
15SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/glib-${PV}.tar.bz2 \
16 file://glib-gettextize-dir.patch;patch=1 \
17 file://glibconfig-sysdefs.h"
18
19S = "${WORKDIR}/glib-${PV}"
20
21inherit autotools pkgconfig native gettext
22
23acpaths = ""
24do_configure_prepend () {
25 install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
26}
27
28do_stage () {
29 install -m 0755 gobject/glib-mkenums ${STAGING_BINDIR}/
30 install -m 0755 gobject/.libs/glib-genmarshal ${STAGING_BINDIR}/
31 install -m 0755 glib-gettextize ${STAGING_BINDIR}/
32 oe_libinstall -so -C glib libglib-2.0 ${STAGING_LIBDIR}
33 oe_libinstall -so -C gmodule libgmodule-2.0 ${STAGING_LIBDIR}
34 oe_libinstall -so -C gthread libgthread-2.0 ${STAGING_LIBDIR}
35 oe_libinstall -so -C gobject libgobject-2.0 ${STAGING_LIBDIR}
36 autotools_stage_includes
37 install -d ${STAGING_INCDIR}/glib-2.0/glib
38 install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h
39 install -d ${STAGING_DATADIR}/aclocal
40 install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4
41 install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4
42 install -d ${STAGING_DATADIR}/glib-2.0/gettext/po
43 install -m 0755 mkinstalldirs ${STAGING_DATADIR}/glib-2.0/gettext/
44 install -m 0644 po/Makefile.in.in ${STAGING_DATADIR}/glib-2.0/gettext/po/
45}
46
47do_install () {
48 :
49}
diff --git a/meta/packages/glib-2.0/glib-2.0_2.10.3.bb b/meta/packages/glib-2.0/glib-2.0_2.10.3.bb
new file mode 100644
index 0000000000..df0f3bd82c
--- /dev/null
+++ b/meta/packages/glib-2.0/glib-2.0_2.10.3.bb
@@ -0,0 +1,48 @@
1DESCRIPTION = "GLib is a general-purpose utility library, \
2which provides many useful data types, macros, \
3type conversions, string utilities, file utilities, a main \
4loop abstraction, and so on. It works on many \
5UNIX-like platforms, Windows, OS/2 and BeOS."
6LICENSE = "LGPL"
7SECTION = "libs"
8PRIORITY = "optional"
9DEPENDS += "glib-2.0-native gtk-doc"
10DEPENDS += "virtual/libiconv virtual/libintl"
11PACKAGES =+ "glib-2.0-utils "
12PR = "r3"
13
14LEAD_SONAME = "libglib-2.0.*"
15FILES_glib-2.0-utils = "${bindir}/*"
16
17EXTRA_OECONF = "--disable-debug"
18
19SRC_URI = "http://download.gnome.org/sources/glib/2.10//glib-${PV}.tar.bz2 \
20 file://atomic_fix.patch;patch=1 \
21 file://glibconfig-sysdefs.h"
22
23S = "${WORKDIR}/glib-${PV}"
24
25inherit autotools pkgconfig gettext
26
27python () {
28 if bb.data.getVar("USE_NLS", d, 1) == "no":
29 raise bb.parse.SkipPackage("${PN} requires native language support.")
30}
31
32acpaths = ""
33do_configure_prepend () {
34 install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
35}
36
37do_stage () {
38 oe_libinstall -so -C glib libglib-2.0 ${STAGING_LIBDIR}
39 oe_libinstall -so -C gmodule libgmodule-2.0 ${STAGING_LIBDIR}
40 oe_libinstall -so -C gthread libgthread-2.0 ${STAGING_LIBDIR}
41 oe_libinstall -so -C gobject libgobject-2.0 ${STAGING_LIBDIR}
42 autotools_stage_includes
43 install -d ${STAGING_INCDIR}/glib-2.0/glib
44 install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h
45 install -d ${STAGING_DATADIR}/aclocal
46 install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4
47 install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4
48}
diff --git a/meta/packages/glib-2.0/glib-2.0_2.12.0.bb b/meta/packages/glib-2.0/glib-2.0_2.12.0.bb
new file mode 100644
index 0000000000..31d7347a06
--- /dev/null
+++ b/meta/packages/glib-2.0/glib-2.0_2.12.0.bb
@@ -0,0 +1,47 @@
1DESCRIPTION = "GLib is a general-purpose utility library, \
2which provides many useful data types, macros, \
3type conversions, string utilities, file utilities, a main \
4loop abstraction, and so on. It works on many \
5UNIX-like platforms, Windows, OS/2 and BeOS."
6LICENSE = "LGPL"
7SECTION = "libs"
8PRIORITY = "optional"
9DEPENDS += "glib-2.0-native gtk-doc"
10DEPENDS += "virtual/libiconv virtual/libintl"
11PACKAGES =+ "glib-2.0-utils "
12PR = "r1"
13
14LEAD_SONAME = "libglib-2.0.*"
15FILES_glib-2.0-utils = "${bindir}/*"
16
17EXTRA_OECONF = "--disable-debug"
18
19SRC_URI = "http://download.gnome.org/sources/glib/2.12/glib-${PV}.tar.bz2 \
20 file://glibconfig-sysdefs.h"
21
22S = "${WORKDIR}/glib-${PV}"
23
24inherit autotools pkgconfig gettext
25
26python () {
27 if bb.data.getVar("USE_NLS", d, 1) == "no":
28 raise bb.parse.SkipPackage("${PN} requires native language support.")
29}
30
31acpaths = ""
32do_configure_prepend () {
33 install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
34}
35
36do_stage () {
37 oe_libinstall -so -C glib libglib-2.0 ${STAGING_LIBDIR}
38 oe_libinstall -so -C gmodule libgmodule-2.0 ${STAGING_LIBDIR}
39 oe_libinstall -so -C gthread libgthread-2.0 ${STAGING_LIBDIR}
40 oe_libinstall -so -C gobject libgobject-2.0 ${STAGING_LIBDIR}
41 autotools_stage_includes
42 install -d ${STAGING_INCDIR}/glib-2.0/glib
43 install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h
44 install -d ${STAGING_DATADIR}/aclocal
45 install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4
46 install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4
47}
diff --git a/meta/packages/glib-2.0/glib-2.0_2.6.4.bb b/meta/packages/glib-2.0/glib-2.0_2.6.4.bb
new file mode 100644
index 0000000000..2765cc0a63
--- /dev/null
+++ b/meta/packages/glib-2.0/glib-2.0_2.6.4.bb
@@ -0,0 +1,49 @@
1DESCRIPTION = "GLib is a general-purpose utility library, \
2which provides many useful data types, macros, \
3type conversions, string utilities, file utilities, a main \
4loop abstraction, and so on. It works on many \
5UNIX-like platforms, Windows, OS/2 and BeOS."
6LICENSE = "LGPL"
7SECTION = "libs"
8PRIORITY = "optional"
9MAINTAINER = "Philip Blundell <pb@handhelds.org>"
10DEPENDS += "glib-2.0-native gtk-doc"
11DEPENDS += "virtual/libiconv virtual/libintl"
12PACKAGES =+ "glib-2.0-utils "
13PR = "r0"
14
15LEAD_SONAME = "libglib-2.0.*"
16FILES_glib-2.0-utils = "${bindir}/*"
17
18EXTRA_OECONF = "--disable-debug"
19
20SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/glib-${PV}.tar.bz2 \
21 file://glibinclude.patch;patch=1;pnum=2 \
22 file://glibconfig-sysdefs.h"
23
24S = "${WORKDIR}/glib-${PV}"
25
26inherit autotools pkgconfig gettext
27
28python () {
29 if bb.data.getVar("USE_NLS", d, 1) == "no":
30 raise bb.parse.SkipPackage("${PN} requires native language support.")
31}
32
33acpaths = ""
34do_configure_prepend () {
35 install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
36}
37
38do_stage () {
39 oe_libinstall -so -C glib libglib-2.0 ${STAGING_LIBDIR}
40 oe_libinstall -so -C gmodule libgmodule-2.0 ${STAGING_LIBDIR}
41 oe_libinstall -so -C gthread libgthread-2.0 ${STAGING_LIBDIR}
42 oe_libinstall -so -C gobject libgobject-2.0 ${STAGING_LIBDIR}
43 autotools_stage_includes
44 install -d ${STAGING_INCDIR}/glib-2.0/glib
45 install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h
46 install -d ${STAGING_DATADIR}/aclocal
47 install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4
48 install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4
49}
diff --git a/meta/packages/glib-2.0/glib-2.0_2.8.6.bb b/meta/packages/glib-2.0/glib-2.0_2.8.6.bb
new file mode 100644
index 0000000000..e0f171ea4a
--- /dev/null
+++ b/meta/packages/glib-2.0/glib-2.0_2.8.6.bb
@@ -0,0 +1,49 @@
1DESCRIPTION = "GLib is a general-purpose utility library, \
2which provides many useful data types, macros, \
3type conversions, string utilities, file utilities, a main \
4loop abstraction, and so on. It works on many \
5UNIX-like platforms, Windows, OS/2 and BeOS."
6LICENSE = "LGPL"
7SECTION = "libs"
8PRIORITY = "optional"
9MAINTAINER = "Philip Blundell <pb@handhelds.org>"
10DEPENDS += "glib-2.0-native gtk-doc"
11DEPENDS += "virtual/libiconv virtual/libintl"
12PACKAGES =+ "glib-2.0-utils "
13PR = "r1"
14
15LEAD_SONAME = "libglib-2.0.*"
16FILES_glib-2.0-utils = "${bindir}/*"
17
18EXTRA_OECONF = "--disable-debug"
19# --with-libiconv=gnu"
20
21SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.8/glib-${PV}.tar.bz2 \
22 file://glibconfig-sysdefs.h"
23
24S = "${WORKDIR}/glib-${PV}"
25
26inherit autotools pkgconfig gettext
27
28python () {
29 if bb.data.getVar("USE_NLS", d, 1) == "no":
30 raise bb.parse.SkipPackage("${PN} requires native language support.")
31}
32
33acpaths = ""
34do_configure_prepend () {
35 install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
36}
37
38do_stage () {
39 oe_libinstall -so -C glib libglib-2.0 ${STAGING_LIBDIR}
40 oe_libinstall -so -C gmodule libgmodule-2.0 ${STAGING_LIBDIR}
41 oe_libinstall -so -C gthread libgthread-2.0 ${STAGING_LIBDIR}
42 oe_libinstall -so -C gobject libgobject-2.0 ${STAGING_LIBDIR}
43 autotools_stage_includes
44 install -d ${STAGING_INCDIR}/glib-2.0/glib
45 install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h
46 install -d ${STAGING_DATADIR}/aclocal
47 install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4
48 install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4
49}