Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
gwget
gwget-epiphany-2.27.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gwget-epiphany-2.27.patch of Package gwget
Index: gwget-1.0.2/configure.ac =================================================================== --- gwget-1.0.2.orig/configure.ac +++ gwget-1.0.2/configure.ac @@ -98,13 +98,17 @@ AC_MSG_CHECKING([which epiphany to use]) EPHY_VER= AC_ARG_WITH([epiphany-version], - AC_HELP_STRING([--with-epiphany-version@<:@=1.6|1.8|1.10|2.14|2.16|2.18|2.20|2.22|2.24|2.26@:>@], - [Whether to use epiphany version 1.6 or 1.8 or 1.10 or 2.14 or 2.16 or 2.18 or 2.20 or 2.22 or 2.24 or 2.26 (default 1.6)]), + AC_HELP_STRING([--with-epiphany-version@<:@=1.6|1.8|1.10|2.14|2.16|2.18|2.20|2.22|2.24|2.26|2.28@:>@], + [Whether to use epiphany version 1.6 or 1.8 or 1.10 or 2.14 or 2.16 or 2.18 or 2.20 or 2.22 or 2.24 or 2.26 or 2.28 (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, 2.16, 2.17, 2.18, 2.19, 2.20, 2.21, 2.22, 2.23, 2.24, 2.25 or 2.26 +dnl try to autodetect Epiphany 1.2, 1.4, 1.6, 1.8, 1.10, 2.14, 2.15, 2.16, 2.17, 2.18, 2.19, 2.20, 2.21, 2.22, 2.23, 2.24, 2.25, 2.26, 2.27 or 2.28 EPHY_AUTODETECT="(autodetect)" -if pkg-config --exists epiphany-2.26; then +if pkg-config --exists epiphany-2.28; then + EPHY_VER=2.28 +elif pkg-config --exists epiphany-2.27; then + EPHY_VER=2.27 +elif pkg-config --exists epiphany-2.26; then EPHY_VER=2.26 elif pkg-config --exists epiphany-2.25; then EPHY_VER=2.25 @@ -219,13 +223,21 @@ elif test "x$EPHY_VER" = "x2.26"; then EPIPHANY_PKGCONFIG=epiphany-2.26 EPIPHANY_REQUIRED=2.26 EPIPHANY_SHORTVER=226 +elif test "x$EPHY_VER" = "x2.27"; then + EPIPHANY_PKGCONFIG=epiphany-2.27 + EPIPHANY_REQUIRED=2.27 + EPIPHANY_SHORTVER=227 +elif test "x$EPHY_VER" = "x2.28"; then + EPIPHANY_PKGCONFIG=epiphany-2.28 + EPIPHANY_REQUIRED=2.28 + EPIPHANY_SHORTVER=228 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, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225 or 226)]) +AC_DEFINE_UNQUOTED(EPHY_VERSION, $EPIPHANY_SHORTVER, + [Define to the Epiphany version (12, 14, 16, 18, 110, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227 or 228)]) AC_MSG_RESULT([$EPHY_VER $EPHY_AUTODETECT]) LIBGLIB_REQUIRED=2.4.0 Index: gwget-1.0.2/epiphany-extension/ephy-gwget-extension.c =================================================================== --- gwget-1.0.2.orig/epiphany-extension/ephy-gwget-extension.c +++ gwget-1.0.2/epiphany-extension/ephy-gwget-extension.c @@ -29,8 +29,12 @@ #endif +#if EPHY_VERSION >= 227 +#include <epiphany/epiphany.h> +#else #include <epiphany/ephy-embed-single.h> #include <epiphany/ephy-embed-shell.h> +#endif #define EPHY_GWGET_EXTENSION_GET_PRIVATE(object) (G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_GWGET_EXTENSION, EphyGwgetExtensionPrivate))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor