Skip to contentSkip to conversation

advance minimum required GLib version to 2.22

PATCH In review Igor Mammedov 2 participants 2 messages Mar 3, 2015 – Mar 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 advance minimum required GLib version to 2.22

---
 configure | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
configure +1 -6
index 7ba4bcb..db79e0a 100755
@@ -2744,12 +2744,7 @@ fi
 ##########################################
 # glib support probe
 
-if test "$mingw32" = yes; then
-    # g_poll is required in order to integrate with the glib main loop.
-    glib_req_ver=2.20
-else
-    glib_req_ver=2.12
-fi
+glib_req_ver=2.22
 glib_modules=gthread-2.0
 if test "$modules" = yes; then
     glib_modules="$glib_modules gmodule-2.0"
Signature · 1 line
2.1.0
#1 lore raw

Am 03.03.2015 um 16:28 schrieb Igor Mammedov:

Quoted 13 lines
---
  configure | 7 +------
  1 file changed, 1 insertion(+), 6 deletions(-)
configure +0 -0
index 7ba4bcb..db79e0a 100755
@@ -2744,12 +2744,7 @@ fi
  ##########################################
  # glib support probe
 

configure fi · line 2750

Quoted 10 lines
configure +1 -6
-if test "$mingw32" = yes; then
-    # g_poll is required in order to integrate with the glib main loop.
-    glib_req_ver=2.20
-else
-    glib_req_ver=2.12
-fi
+glib_req_ver=2.22
  glib_modules=gthread-2.0
  if test "$modules" = yes; then
      glib_modules="$glib_modules gmodule-2.0"

A comment in the commit message (or even in file configure) why 2.22 is needed would be helpful (this applies also to other requirements).

I typically face the problem that I want to run a build test on a platform which does not support the latest package versions (e. g. Debian stable or Windows). Then I usually try to lower the requirements until the feature which depends on that requirement is enabled. Especially for glib the requirements for Linux, Mac and Windows might also differ.

Regards
Stefan