Bug#360461: gwget2: FTBFS: epiphany-1.8 not available anymore.

2006-04-15 Thread Arnaud Fontaine
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.0 +0100
+++ gwget2-0.97/configure.in	2006-04-04 18:33:48.0 +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


pgpoLrgO2sZiJ.pgp
Description: PGP signature


Bug#360461: gwget2: FTBFS: epiphany-1.8 not available anymore.

2006-04-02 Thread Kurt Roeckx
Package: gwget2
Version: 0.96-2
Severity: serious

Hi,

Your package is failing to build with the following error:
checking which epiphany to use... 1.8 (autodetect)
checking for   glib-2.0 = 2.4.0   gmodule-2.0  
gtk+-2.0 = 2.4.0   epiphany-1.8 = 1.7.0   
   libbonobo-2.0   bonobo-activation-2.0... Package 
epiphany-1.8 was not found in the pkg-config search path. Perhaps you should 
add the directory containing `epiphany-1.8.pc' to the PKG_CONFIG_PATH 
environment variable No package 'epiphany-1.8' found
configure: error: Library requirements (  glib-2.0 = 2.4.0
   gmodule-2.0   gtk+-2.0 = 2.4.0
  epiphany-1.8 = 1.7.0   libbonobo-2.0   
bonobo-activation-2.0) not met; consider adjusting the PKG_CONFIG_PATH 
environment variable if your libraries are in a nonstandard prefix so 
pkg-config can find them.
make: *** [config.status] Error 1

The current version of epiphany is 2.14.0.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]