diff options
author | Ross Burton <ross@openedhand.com> | 2007-08-04 09:52:03 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-08-04 09:52:03 +0000 |
commit | 7ea7a1d8e4f88426e290575a2639b6ab1c1eab2b (patch) | |
tree | 7d484f1f8c14be936370ce1b2ee73f91516099d9 | |
parent | 3ff099a44e8521863cc7b773314d6c77fef33eb5 (diff) | |
download | poky-7ea7a1d8e4f88426e290575a2639b6ab1c1eab2b.tar.gz |
Upgrade glib
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2358 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/conf/distro/poky-bleeding.conf | 2 | ||||
-rw-r--r-- | meta/packages/glib-2.0/glib-2.0-2.13.7/casts.patch | 40 | ||||
-rw-r--r-- | meta/packages/glib-2.0/glib-2.0-2.14.0/configure-libtool.patch (renamed from meta/packages/glib-2.0/glib-2.0-2.13.7/configure-libtool.patch) | 0 | ||||
-rw-r--r-- | meta/packages/glib-2.0/glib-2.0_2.13.7.bb | 8 | ||||
-rw-r--r-- | meta/packages/glib-2.0/glib-2.0_2.14.0.bb | 5 |
5 files changed, 6 insertions, 49 deletions
diff --git a/meta/conf/distro/poky-bleeding.conf b/meta/conf/distro/poky-bleeding.conf index 7b473a9203..a52f5c39ad 100644 --- a/meta/conf/distro/poky-bleeding.conf +++ b/meta/conf/distro/poky-bleeding.conf | |||
@@ -1,4 +1,4 @@ | |||
1 | PREFERRED_VERSION_glib-2.0 ?= "2.13.7" | 1 | PREFERRED_VERSION_glib-2.0 ?= "2.14.0" |
2 | PREFERRED_VERSION_pango ?= "1.17.5" | 2 | PREFERRED_VERSION_pango ?= "1.17.5" |
3 | PREFERRED_VERSION_gtk+ ?= "2.11.6" | 3 | PREFERRED_VERSION_gtk+ ?= "2.11.6" |
4 | 4 | ||
diff --git a/meta/packages/glib-2.0/glib-2.0-2.13.7/casts.patch b/meta/packages/glib-2.0/glib-2.0-2.13.7/casts.patch deleted file mode 100644 index d48072e202..0000000000 --- a/meta/packages/glib-2.0/glib-2.0-2.13.7/casts.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | Index: glib/gthread.c | ||
2 | =================================================================== | ||
3 | --- glib/gthread.c (revision 5636) | ||
4 | +++ glib/gthread.c (revision 5639) | ||
5 | @@ -223,11 +223,11 @@ | ||
6 | g_once_init_leave (volatile gsize *value_location, | ||
7 | gsize initialization_value) | ||
8 | { | ||
9 | - g_return_if_fail (g_atomic_pointer_get (value_location) == 0); | ||
10 | + g_return_if_fail (g_atomic_pointer_get ((void**) value_location) == 0); | ||
11 | g_return_if_fail (initialization_value != 0); | ||
12 | g_return_if_fail (g_once_init_list != NULL); | ||
13 | |||
14 | - g_atomic_pointer_set (value_location, initialization_value); | ||
15 | + g_atomic_pointer_set ((void**) value_location, (void*) initialization_value); | ||
16 | g_mutex_lock (g_once_mutex); | ||
17 | g_once_init_list = g_slist_remove (g_once_init_list, (void*) value_location); | ||
18 | g_cond_broadcast (g_once_cond); | ||
19 | @@ -255,7 +255,7 @@ | ||
20 | g_mutex_lock (g_once_mutex); | ||
21 | |||
22 | if (!(*mutex)) | ||
23 | - g_atomic_pointer_set (mutex, g_mutex_new()); | ||
24 | + g_atomic_pointer_set ((void**) mutex, g_mutex_new()); | ||
25 | |||
26 | g_mutex_unlock (g_once_mutex); | ||
27 | |||
28 | Index: glib/gthread.h | ||
29 | =================================================================== | ||
30 | --- glib/gthread.h (revision 5636) | ||
31 | +++ glib/gthread.h (revision 5639) | ||
32 | @@ -332,7 +332,7 @@ | ||
33 | G_INLINE_FUNC gboolean | ||
34 | g_once_init_enter (volatile gsize *value_location) | ||
35 | { | ||
36 | - if G_LIKELY (g_atomic_pointer_get (value_location) !=0) | ||
37 | + if G_LIKELY (g_atomic_pointer_get ((void**) value_location) !=0) | ||
38 | return FALSE; | ||
39 | else | ||
40 | return g_once_init_enter_impl (value_location); | ||
diff --git a/meta/packages/glib-2.0/glib-2.0-2.13.7/configure-libtool.patch b/meta/packages/glib-2.0/glib-2.0-2.14.0/configure-libtool.patch index a52327c8c9..a52327c8c9 100644 --- a/meta/packages/glib-2.0/glib-2.0-2.13.7/configure-libtool.patch +++ b/meta/packages/glib-2.0/glib-2.0-2.14.0/configure-libtool.patch | |||
diff --git a/meta/packages/glib-2.0/glib-2.0_2.13.7.bb b/meta/packages/glib-2.0/glib-2.0_2.13.7.bb deleted file mode 100644 index 7542ed2e14..0000000000 --- a/meta/packages/glib-2.0/glib-2.0_2.13.7.bb +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | require glib.inc | ||
2 | |||
3 | PR = "r1" | ||
4 | |||
5 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glib/2.13/glib-${PV}.tar.bz2 \ | ||
6 | file://glibconfig-sysdefs.h \ | ||
7 | file://configure-libtool.patch;patch=1 \ | ||
8 | file://casts.patch;patch=1;pnum=0" | ||
diff --git a/meta/packages/glib-2.0/glib-2.0_2.14.0.bb b/meta/packages/glib-2.0/glib-2.0_2.14.0.bb new file mode 100644 index 0000000000..995efbd119 --- /dev/null +++ b/meta/packages/glib-2.0/glib-2.0_2.14.0.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | require glib.inc | ||
2 | |||
3 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glib/2.14/glib-${PV}.tar.bz2 \ | ||
4 | file://glibconfig-sysdefs.h \ | ||
5 | file://configure-libtool.patch;patch=1" | ||