commit:     a42276353f9e26b22f6f8e73cadd1609a257336a
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 19 21:13:32 2014 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun Oct 19 21:14:00 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=a4227635

www-client/epiphany: 3.14.0 → 3.14.1

---
 ...iphany-3.14.0.ebuild => epiphany-3.14.1.ebuild} | 20 +++++-----
 www-client/epiphany/epiphany-9999.ebuild           |  5 +--
 ....patch => epiphany-3.14.0-missing-symbol.patch} | 10 ++---
 .../files/epiphany-3.14.0-unittest-1.patch         | 30 +++++++++++++++
 .../files/epiphany-3.14.0-unittest-2.patch         | 45 ++++++++++++++++++++++
 5 files changed, 91 insertions(+), 19 deletions(-)

diff --git a/www-client/epiphany/epiphany-3.14.0.ebuild 
b/www-client/epiphany/epiphany-3.14.1.ebuild
similarity index 88%
rename from www-client/epiphany/epiphany-3.14.0.ebuild
rename to www-client/epiphany/epiphany-3.14.1.ebuild
index 5c76fc2..eeb397d 100644
--- a/www-client/epiphany/epiphany-3.14.0.ebuild
+++ b/www-client/epiphany/epiphany-3.14.1.ebuild
@@ -27,7 +27,7 @@ COMMON_DEPEND="
        >=gnome-base/gsettings-desktop-schemas-0.0.1
        >=net-dns/avahi-0.6.22[dbus]
        >=net-libs/webkit-gtk-2.5.90:4[jit?]
-       >=net-libs/libsoup-2.42.1:2.4
+       >=net-libs/libsoup-2.48:2.4
        >=x11-libs/gtk+-3.13:3
        >=x11-libs/libnotify-0.5.1:=
        gnome-base/gnome-desktop:3=
@@ -54,16 +54,16 @@ DEPEND="${COMMON_DEPEND}
        virtual/pkgconfig
 "
 
-# Tests refuse to run with the gsettings trick for some reason
-#RESTRICT="test"
+src_prepare() {
+       # Fix missing symbol in webextension.so, bug #728972
+       epatch "${FILESDIR}"/${PN}-3.14.0-missing-symbol.patch
 
-#src_prepare() {
-#      # Fix missing symbol in webextensio.so
-#      epatch "${FILESDIR}"/${P}-missing-symbol.patch
-#
-#      eautoreconf
-#      gnome2_src_prepare
-#}
+       # Fix unittests
+       epatch "${FILESDIR}"/${PN}-3.14.0-unittest-*.patch
+
+       eautoreconf
+       gnome2_src_prepare
+}
 
 src_configure() {
        gnome2_src_configure \

diff --git a/www-client/epiphany/epiphany-9999.ebuild 
b/www-client/epiphany/epiphany-9999.ebuild
index 6d0fe91..ccd3c47 100644
--- a/www-client/epiphany/epiphany-9999.ebuild
+++ b/www-client/epiphany/epiphany-9999.ebuild
@@ -34,7 +34,7 @@ COMMON_DEPEND="
        >=gnome-base/gsettings-desktop-schemas-0.0.1
        >=net-dns/avahi-0.6.22[dbus]
        >=net-libs/webkit-gtk-2.5.90:4[jit?]
-       >=net-libs/libsoup-2.42.1:2.4
+       >=net-libs/libsoup-2.48:2.4
        >=x11-libs/gtk+-3.13:3
        >=x11-libs/libnotify-0.5.1:=
        gnome-base/gnome-desktop:3=
@@ -64,9 +64,6 @@ if [[ ${PV} == 9999 ]]; then
        DEPEND="${DEPEND} app-text/yelp-tools"
 fi
 
-# Tests refuse to run with the gsettings trick for some reason
-#RESTRICT="test"
-
 src_configure() {
        local myconf=""
        [[ ${PV} != 9999 ]] && myconf="ITSTOOL=$(type -P true)"

diff --git a/www-client/epiphany/files/epiphany-3.12.0-missing-symbol.patch 
b/www-client/epiphany/files/epiphany-3.14.0-missing-symbol.patch
similarity index 86%
rename from www-client/epiphany/files/epiphany-3.12.0-missing-symbol.patch
rename to www-client/epiphany/files/epiphany-3.14.0-missing-symbol.patch
index 6f2d835..ede1a5d 100644
--- a/www-client/epiphany/files/epiphany-3.12.0-missing-symbol.patch
+++ b/www-client/epiphany/files/epiphany-3.14.0-missing-symbol.patch
@@ -1,7 +1,7 @@
-From 267ec3e2d7ca0f1881cb76d702ac673727f7507a Mon Sep 17 00:00:00 2001
+From 46540674cec3fe63f1d560591720f946770159da Mon Sep 17 00:00:00 2001
 From: Gilles Dartiguelongue <[email protected]>
 Date: Tue, 22 Apr 2014 21:15:42 +0200
-Subject: [PATCH] Add missing files to webextension library
+Subject: [PATCH 1/3] Add missing files to webextension library
 
 Otherwise, results in:
 
@@ -14,7 +14,7 @@ undefined symbol: ephy_profile_utils_set_migration_version
  1 file changed, 3 insertions(+)
 
 diff --git a/embed/web-extension/Makefile.am b/embed/web-extension/Makefile.am
-index 5bdb174..be4b08f 100644
+index 86b48b7..a755c89 100644
 --- a/embed/web-extension/Makefile.am
 +++ b/embed/web-extension/Makefile.am
 @@ -22,6 +22,8 @@ libephywebextension_la_SOURCES = \
@@ -31,9 +31,9 @@ index 5bdb174..be4b08f 100644
        -DSHARE_DIR=\"$(pkgdatadir)\" \
        -DTOP_SRC_DATADIR=\"$(top_srcdir)/data\" \
 +      -DABS_TOP_BUILD_DIR=\"$(abs_top_builddir)\" \
+       $(AM_CFLAGS) \
        $(WEB_EXTENSION_CFLAGS)
  
- libephywebextension_la_LIBADD = \
 -- 
-1.9.0
+2.1.2
 

diff --git a/www-client/epiphany/files/epiphany-3.14.0-unittest-1.patch 
b/www-client/epiphany/files/epiphany-3.14.0-unittest-1.patch
new file mode 100644
index 0000000..3b948a5
--- /dev/null
+++ b/www-client/epiphany/files/epiphany-3.14.0-unittest-1.patch
@@ -0,0 +1,30 @@
+From ddf0dea8e4eb5fe263ddc85d661ce58e55dd554f Mon Sep 17 00:00:00 2001
+From: Gilles Dartiguelongue <[email protected]>
+Date: Sun, 19 Oct 2014 23:03:02 +0200
+Subject: [PATCH 2/3] Gentoo tests run in ${PORTAGE_TMPDIR} which is not
+ guaranteed to be /tmp
+
+---
+ tests/ephy-file-helpers-test.c | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/tests/ephy-file-helpers-test.c b/tests/ephy-file-helpers-test.c
+index c33c1da..bdf7455 100644
+--- a/tests/ephy-file-helpers-test.c
++++ b/tests/ephy-file-helpers-test.c
+@@ -92,12 +92,7 @@ test_ephy_file_helpers_init (void)
+       GFile *file;
+ 
+       file = g_file_new_for_path (tmp_dir);
+-      /* As a safety measure, only try recursive delete on paths
+-       * prefixed with /tmp. */
+-      if (g_str_has_prefix (tmp_dir, "/tmp"))
+         g_assert (ephy_file_delete_dir_recursively (file, NULL));
+-      else
+-        g_warning ("INIT: dangerous path returned as tmp_dir: %s", tmp_dir);
+ 
+       g_object_unref (file);
+     }
+-- 
+2.1.2
+

diff --git a/www-client/epiphany/files/epiphany-3.14.0-unittest-2.patch 
b/www-client/epiphany/files/epiphany-3.14.0-unittest-2.patch
new file mode 100644
index 0000000..36dcb30
--- /dev/null
+++ b/www-client/epiphany/files/epiphany-3.14.0-unittest-2.patch
@@ -0,0 +1,45 @@
+From 3d2ca8dfb33f9dd658293d14d6b75983d1d2f57d Mon Sep 17 00:00:00 2001
+From: Gilles Dartiguelongue <[email protected]>
+Date: Sun, 19 Oct 2014 23:06:29 +0200
+Subject: [PATCH 3/3] Disable broken tests
+
+Not the first time these are failing even though issue was reported
+upstream.
+---
+ tests/ephy-file-helpers-test.c | 4 ++--
+ tests/ephy-migration-test.c    | 4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/tests/ephy-file-helpers-test.c b/tests/ephy-file-helpers-test.c
+index bdf7455..718fa29 100644
+--- a/tests/ephy-file-helpers-test.c
++++ b/tests/ephy-file-helpers-test.c
+@@ -341,8 +341,8 @@ main (int argc, char *argv[])
+   g_test_add_func ("/lib/ephy-file-helpers/get_downloads_dir",
+                    test_ephy_file_get_downloads_dir);
+ 
+-  g_test_add_func ("/lib/ephy-file-helpers/create_delete_dir",
+-                   test_ephy_file_create_delete_dir);
++  /*g_test_add_func ("/lib/ephy-file-helpers/create_delete_dir",
++                   test_ephy_file_create_delete_dir);*/
+ 
+   g_test_add_func ("/lib/ephy-file-helpers/desktop_dir",
+                    test_ephy_file_desktop_dir);
+diff --git a/tests/ephy-migration-test.c b/tests/ephy-migration-test.c
+index fab9ee7..64cdd65 100644
+--- a/tests/ephy-migration-test.c
++++ b/tests/ephy-migration-test.c
+@@ -65,8 +65,8 @@ main (int argc, char *argv[])
+ 
+   g_test_add_func ("/lib/ephy-profile-utils/do_migration_simple",
+                    test_do_migration_simple);
+-  g_test_add_func ("/lib/ephy-profile-utils/do_migration_invalid",
+-                   test_do_migration_invalid);
++  /*g_test_add_func ("/lib/ephy-profile-utils/do_migration_invalid",
++                   test_do_migration_invalid);*/
+ 
+   return g_test_run ();
+ }
+-- 
+2.1.2
+

Reply via email to