Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37513404
en ru br
Репозитории ALT
S:1.0.4-alt5
5.1: 1.0.4-alt1
4.1: 0.99-alt2.svn20080309
4.0: 0.98.2-alt2
3.0: 0.95-alt1
www.altlinux.org/Changes

Группа :: Сети/Передача файлов
Пакет: gwget

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: gwget-fix-epiphany-2.18.patch
Скачать


--- gwget-0.98.2/configure.in	2006-11-08 21:49:44 +0300
+++ gwget-0.98.2.new/configure.in	2007-03-30 23:13:51 +0400
@@ -97,13 +97,15 @@
 
 EPHY_VER=
 AC_ARG_WITH([epiphany-version],
-        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)]),
+        AC_HELP_STRING([--with-epiphany-version@<:@=1.6|1.8|1.10|2.14|2.16|2.18@:>@],
+                       [Whether to use epiphany version 1.6 or 1.8 or 1.10 or 2.14 or 2.16 or 2.18 (default 1.6)]),
         [EPHY_VER="$withval"])
 
-dnl try to autodetect Epiphany 1.2, 1.4, 1.6, 1.8, 1.10, 2.14, 2.15 or 2.16
+dnl try to autodetect Epiphany 1.2, 1.4, 1.6, 1.8, 1.10, 2.14, 2.15 or 2.16 or 2.18
 EPHY_AUTODETECT="(autodetect)"
-if pkg-config --exists epiphany-2.16; then
+if pkg-config --exists epiphany-2.18; then
+        EPHY_VER=2.18
+elif pkg-config --exists epiphany-2.16; then
         EPHY_VER=2.16
 elif pkg-config --exists epiphany-2.15; then
         EPHY_VER=2.15
@@ -158,13 +160,18 @@
           EPIPHANY_PKGCONFIG=epiphany-2.16
           EPIPHANY_REQUIRED=2.16
           EPIPHANY_SHORTVER=216
+elif test "x$EPHY_VER" = "x2.18"; then
+          EPIPHANY_PKGCONFIG=epiphany-2.18
+          EPIPHANY_REQUIRED=2.18
+          EPIPHANY_SHORTVER=218
+
 else
      	AC_MSG_RESULT([no epiphany installed])
 fi
 
 if test -n "$EPIPHANY_SHORTVER" ; then
 AC_DEFINE_UNQUOTED(EPHY_VERSION, "$EPIPHANY_SHORTVER",
-       [Define to the Epiphany version (12, 14, 16, 18, 110 ,214, or 215)])
+       [Define to the Epiphany version (12, 14, 16, 18, 110 ,214, 215, 216 or 218)])
 AC_MSG_RESULT([$EPHY_VER $EPHY_AUTODETECT])
 
 LIBGLIB_REQUIRED=2.4.0
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin