[Gimp-developer] Checking to see if I really need glib 2.28.1

2011-03-16 Thread Patrick Horgan
There was a recent update to configure.ac:

commit 514a5548cdcaf5a60f47067007936dc58055132b
Author: Michael Natterer mi...@gimp.org
Date:   Mon Mar 7 15:43:45 2011 +0100

 configure: require GLib = 2.28.1

I have a recent ubuntu and it has 2.26.x and so GIMP won't configure and 
build anymore.  (Well, changing the 28 to 26 makes it build, except 
there are 2 unresolved references, g_list_free_full, and 
g_slist_free_full.  I don't suppose there's a workaround, huh?  I wasn't 
wanting to build my own glib.

g_list_free full is a convenience function:

void
g_list_free_full (GList  *list,
   GDestroyNotify  free_func)
{
   g_list_foreach (list, (GFunc) free_func, NULL);
   g_list_free (list);
}

and g_slist_free_full is about the same:

void
g_slist_free_full (GSList *list,
GDestroyNotify  free_func)
{
   g_slist_foreach (list, (GFunc) free_func, NULL);
   g_slist_free (list);
}

That's going to be a lot of people having to build their own glib, and 
distributions having to upgrade their glib just for two convenience 
routines.

Patrick

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Checking to see if I really need glib 2.28.1

2011-03-16 Thread Nils Philippsen
On Wed, 2011-03-16 at 02:13 -0700, Patrick Horgan wrote:
 There was a recent update to configure.ac:
 
 commit 514a5548cdcaf5a60f47067007936dc58055132b
 Author: Michael Natterer mi...@gimp.org
 Date:   Mon Mar 7 15:43:45 2011 +0100
 
  configure: require GLib = 2.28.1
 
 I have a recent ubuntu and it has 2.26.x and so GIMP won't configure and 
 build anymore.  (Well, changing the 28 to 26 makes it build, except 
 there are 2 unresolved references, g_list_free_full, and 
 g_slist_free_full.  I don't suppose there's a workaround, huh?  I wasn't 
 wanting to build my own glib.

I just chatted up Mitch about this, we'll soon depend on gtk+-2.24
anyway so reverting the change that led up to this wouldn't help really.

Nils
-- 
Nils Philippsen / Wilhelmstraße 22 / D-71229 Leonberg 
n...@tiptoe.de / n...@redhat.com
PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011
Ever noticed that common sense isn't really all that common?

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Checking to see if I really need glib 2.28.1

2011-03-16 Thread Patrick Horgan
On 03/16/2011 04:38 AM, Nils Philippsen wrote:
 On Wed, 2011-03-16 at 02:13 -0700, Patrick Horgan wrote:
 There was a recent update to configure.ac:

 commit 514a5548cdcaf5a60f47067007936dc58055132b
 Author: Michael Natterermi...@gimp.org
 Date:   Mon Mar 7 15:43:45 2011 +0100

   configure: require GLib= 2.28.1

 I have a recent ubuntu and it has 2.26.x and so GIMP won't configure and
 build anymore.  (Well, changing the 28 to 26 makes it build, except
 there are 2 unresolved references, g_list_free_full, and
 g_slist_free_full.  I don't suppose there's a workaround, huh?  I wasn't
 wanting to build my own glib.
 I just chatted up Mitch about this, we'll soon depend on gtk+-2.24
 anyway so reverting the change that led up to this wouldn't help really.
Did you mean 2.28?

Patrick

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Checking to see if I really need glib 2.28.1

2011-03-16 Thread Patrick Horgan
On 03/16/2011 04:38 AM, Nils Philippsen wrote:
 On Wed, 2011-03-16 at 02:13 -0700, Patrick Horgan wrote:
 There was a recent update to configure.ac:

 commit 514a5548cdcaf5a60f47067007936dc58055132b
 Author: Michael Natterermi...@gimp.org
 Date:   Mon Mar 7 15:43:45 2011 +0100

   configure: require GLib= 2.28.1

 I have a recent ubuntu and it has 2.26.x and so GIMP won't configure and
 build anymore.  (Well, changing the 28 to 26 makes it build, except
 there are 2 unresolved references, g_list_free_full, and
 g_slist_free_full.  I don't suppose there's a workaround, huh?  I wasn't
 wanting to build my own glib.
 I just chatted up Mitch about this, we'll soon depend on gtk+-2.24
 anyway so reverting the change that led up to this wouldn't help really.
So I hope that soon would be past GIMP 2.8 so distributions can accept 
it without having to update glib.  It would make it a lot easier to get 
in.  For me not an issue, building glib is easy.  I just worry about 
whether we're getting too far ahead of the rest of the world.

Patrick

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Checking to see if I really need glib 2.28.1

2011-03-16 Thread Mikael Magnusson
On 16 March 2011 19:33, Patrick Horgan phorg...@gmail.com wrote:
 On 03/16/2011 04:38 AM, Nils Philippsen wrote:
 On Wed, 2011-03-16 at 02:13 -0700, Patrick Horgan wrote:
 There was a recent update to configure.ac:

 commit 514a5548cdcaf5a60f47067007936dc58055132b
 Author: Michael Natterermi...@gimp.org
 Date:   Mon Mar 7 15:43:45 2011 +0100

   configure: require GLib= 2.28.1

 I have a recent ubuntu and it has 2.26.x and so GIMP won't configure and
 build anymore.  (Well, changing the 28 to 26 makes it build, except
 there are 2 unresolved references, g_list_free_full, and
 g_slist_free_full.  I don't suppose there's a workaround, huh?  I wasn't
 wanting to build my own glib.
 I just chatted up Mitch about this, we'll soon depend on gtk+-2.24
 anyway so reverting the change that led up to this wouldn't help really.

 Did you mean 2.28?

No, the latest gtk2 version is 2.24, and the latest glib is 2.28.

-- 
Mikael Magnusson
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer