tags 360461 patch
thanks

Hello,

I  have already  sent  a patch  concerning  this issue  to the  upstream
author. However, the fix was already  available in the CVS. So, i attach
the patch to this mail for gwget2 0.97.

Regards,
Arnaud Fontaine

--- gwget2-0.97.old/configure.in	2006-01-05 22:13:55.000000000 +0100
+++ gwget2-0.97/configure.in	2006-04-04 18:33:48.000000000 +0200
@@ -65,8 +65,8 @@
 
 EPHY_VER=
 AC_ARG_WITH([epiphany-version],
-        AC_HELP_STRING([--with-epiphany-version@<:@=1.6|1.8|1.10@:>@],
-                       [Whether to use epiphany version 1.6 or 1.8 or 1.10 (default 1.6)]),
+        AC_HELP_STRING([--with-epiphany-version@<:@=1.6|1.8|1.10|2.14@:>@],
+                       [Whether to use epiphany version 1.6 or 1.8 or 1.10 or 2.14 (default 1.6)]),
         [EPHY_VER="$withval"])
 
 dnl try to autodetect Epiphany 1.2, 1.4, 1.6, 1.8 or 1.10
@@ -75,6 +75,8 @@
                EPHY_VER=1.10
 elif pkg-config --exists epiphany-1.8; then
        	EPHY_VER=1.8
+elif pkg-config --exists epiphany-2.14; then
+       	EPHY_VER=2.14
 elif pkg-config --exists epiphany-1.6; then
        	EPHY_VER=1.6
 elif pkg-config --exists epiphany-1.4; then
@@ -103,6 +105,10 @@
           AC_DEFINE_UNQUOTED(EPHY_VERSION, 18, [Define to the Epiphany version (12 or 14 or 16)])
           EPIPHANY_PKGCONFIG=epiphany-1.8
           EPIPHANY_REQUIRED=1.7.0
+elif test $EPHY_VER = "2.14"; then
+          AC_DEFINE_UNQUOTED(EPHY_VERSION, 214, [Define to the Epiphany version (12 or 14 or 16)])
+          EPIPHANY_PKGCONFIG=epiphany-2.14
+          EPIPHANY_REQUIRED=1.7.0
 elif test $EPHY_VER = "1.10"; then
           AC_DEFINE_UNQUOTED(EPHY_VERSION, 110, [Define to the Epiphany version (12 or 14 or 16)])
           EPIPHANY_PKGCONFIG=epiphany-1.10
@@ -111,7 +117,7 @@
      	AC_MSG_RESULT([no epiphany installed])
 fi
 
-if test $EPHY_VER = "1.2" || test $EPHY_VER = "1.4" || test $EPHY_VER = "1.6" || test $EPHY_VER = "1.8" || test $EPHY_VER = "1.10"; then
+if test $EPHY_VER = "1.2" || test $EPHY_VER = "1.4" || test $EPHY_VER = "1.6" || test $EPHY_VER = "1.8" || test $EPHY_VER = "1.10" || test $EPHY_VER = "2.14"; then
 AC_MSG_RESULT([$EPHY_VER $EPHY_AUTODETECT])
 
 LIBGLIB_REQUIRED=2.4.0

Attachment: pgpz1bXAxT75V.pgp
Description: PGP signature

Reply via email to