Limiting to more recent version of glib
authorKlaus Ethgen <Klaus@Ethgen.de>
Sun, 28 Jul 2019 19:58:28 +0000 (20:58 +0100)
committerKlaus Ethgen <Klaus@Ethgen.de>
Sun, 28 Jul 2019 19:58:28 +0000 (20:58 +0100)
g_utf8_make_valid was implemented with glib 2.52. That also causes
builds on ubuntu trusty fail.

.travis.yml
configure.ac

index 6229169..245451b 100644 (file)
@@ -1,14 +1,12 @@
 language: c
 os: linux
-dist: trusty
+dist: bionic
 sudo: required
 compiler:
   - gcc
   - clang
 addons:
   apt:
-    sources:
-      - trusty
     packages:
       - autoconf
       - automake
index caf56fa..f376d07 100644 (file)
@@ -197,7 +197,7 @@ else
   prefix=$prefix
 fi
 
-AM_PATH_GLIB_2_0(2.24.0,,AC_MSG_ERROR(GLIB >= 2.24.0 not installed.))
+AM_PATH_GLIB_2_0(2.52.0,,AC_MSG_ERROR(GLIB >= 2.52.0 not installed.))
 AC_ARG_ENABLE([gtk3], AC_HELP_STRING([--disable-gtk3], [use gtk2 instead of gtk3]),[gtk3="${enableval}"], [gtk3=m4_ifdef([AM_PATH_GTK_3_0], [auto], [no])])
 
 if test x$gtk3 = xyes; then