Skip to contentSkip to conversation

libglib2: bump version to 2.37.7

PATCH New spdawson at gmail.com 3 participants 4 messages Dec 5, 2013 – Dec 9, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libglib2: bump version to 2.37.7

From: Simon Dawson <[email protected]>

libglib2 can fail to build for arm, with the following error.

gatomic.c:668:2: error: #error G_ATOMIC_LOCK_FREE defined, but incapable of lock-free atomics.

The following upstream commit fixes the problem.

commit 996edb0c46356d8a326f886b91a77a6af9a2de3e
Author: Antoine Jacoutot <[email protected]>
Date: Wed Aug 28 09:35:27 2013 +0200

fix atomic ops detection

AC_TRY_LINK should be used instead of AC_TRY_COMPILE because the code will compile everywhere, either producing ``atomic'' code, or an external reference to __sync_bool_compare_and_swap.

https://bugzilla.gnome.org/show_bug.cgi?id=706958

The upstream commit went into version 2.37.7, so this is the lowest version that we can bump to, in order to fix the atomic operations problem.

---
 package/libglib2/libglib2.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/libglib2/libglib2.mk +2 -2
index f770d3a..10220d6 100644
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-LIBGLIB2_VERSION_MAJOR = 2.36
-LIBGLIB2_VERSION_MINOR = 3
+LIBGLIB2_VERSION_MAJOR = 2.37
+LIBGLIB2_VERSION_MINOR = 7
 LIBGLIB2_VERSION = $(LIBGLIB2_VERSION_MAJOR).$(LIBGLIB2_VERSION_MINOR)
 LIBGLIB2_SOURCE = glib-$(LIBGLIB2_VERSION).tar.xz
 LIBGLIB2_SITE = http://ftp.gnome.org/pub/gnome/sources/glib/$(LIBGLIB2_VERSION_MAJOR)
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 libglib2: bump version to 2.37.7

Quoted 15 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"spdawson" == spdawson <[email protected]> writes:

From: Simon Dawson <[email protected]>
libglib2 can fail to build for arm, with the following error.

gatomic.c:668:2: error: #error G_ATOMIC_LOCK_FREE defined, but incapable of lock-free atomics.

The following upstream commit fixes the problem.

commit 996edb0c46356d8a326f886b91a77a6af9a2de3e
Author: Antoine Jacoutot <[email protected]>
Date: Wed Aug 28 09:35:27 2013 +0200

fix atomic ops detection

Quoted 8 lines

AC_TRY_LINK should be used instead of AC_TRY_COMPILE because the code will compile everywhere, either producing ``atomic'' code, or an external reference to __sync_bool_compare_and_swap.

https://bugzilla.gnome.org/show_bug.cgi?id=706958

The upstream commit went into version 2.37.7, so this is the lowest version that we can bump to, in order to fix the atomic operations problem.

But 2.<odd> are development versions, so we should move to the 2.8 series instead, right?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 libglib2: bump version to 2.37.7

Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

The upstream commit went into version 2.37.7, so this is the lowest version that we can bump to, in order to fix the atomic operations problem.

But 2.<odd> are development versions, so we should move to the 2.8 series instead, right?

Ehh, 2.38.x not 2.8.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 libglib2: bump version to 2.37.7

Hi Peter,

Quoted 4 lines · Peter Korsgaard
Quoted 2 lines

But 2.<odd> are development versions, so we should move to the 2.8 series instead, right?

Ehh, 2.38.x not 2.8.

Oh, right. I didn't know that; sorry. Will fix and resubmit.

Simon.