public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gnome:master commit in: www-client/epiphany/, www-client/epiphany/files/
@ 2014-10-19 21:48 Gilles Dartiguelongue
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Dartiguelongue @ 2014-10-19 21:48 UTC (permalink / raw
  To: gentoo-commits

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 <eva@gentoo.org>
 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 <eva@gentoo.org>
+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 <eva@gentoo.org>
+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
+


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/gnome:master commit in: www-client/epiphany/, www-client/epiphany/files/
@ 2018-08-05  8:34 Mart Raudsepp
  0 siblings, 0 replies; 2+ messages in thread
From: Mart Raudsepp @ 2018-08-05  8:34 UTC (permalink / raw
  To: gentoo-commits

commit:     88e03c00aba960ab4b8d6abb32a336d34ae16a91
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  5 08:34:30 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Aug  5 08:34:30 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gnome.git/commit/?id=88e03c00

www-client/epiphany-9999: sync in fixes from main tree

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 www-client/epiphany/epiphany-9999.ebuild           | 29 +++++++-------
 .../files/epiphany-3.14.0-unittest-2.patch         | 45 ----------------------
 2 files changed, 14 insertions(+), 60 deletions(-)

diff --git a/www-client/epiphany/epiphany-9999.ebuild b/www-client/epiphany/epiphany-9999.ebuild
index 4ee03e5d..0cfc5875 100644
--- a/www-client/epiphany/epiphany-9999.ebuild
+++ b/www-client/epiphany/epiphany-9999.ebuild
@@ -2,7 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-GNOME2_LA_PUNT="yes"
 
 inherit gnome-meson virtualx
 if [[ ${PV} = 9999 ]]; then
@@ -24,54 +23,54 @@ else
 fi
 
 COMMON_DEPEND="
-	>=dev-libs/glib-2.52.0:2[dbus]
-	>=dev-libs/json-glib-1.2.4
+	>=dev-libs/glib-2.52.0:2
 	>=x11-libs/gtk+-3.22.13:3
+	>=dev-libs/nettle-3.2:=
 	>=net-libs/webkit-gtk-2.17.4:4=
 	>=x11-libs/cairo-1.2
 	>=app-crypt/gcr-3.5.5:=[gtk]
 	>=x11-libs/gdk-pixbuf-2.36.5:2
 	>=gnome-base/gnome-desktop-2.91.2:3=
 	dev-libs/icu:=
-	>=x11-libs/libnotify-0.5.1:=
+	>=app-text/iso-codes-0.35
+	>=dev-libs/json-glib-1.2.4
+	>=x11-libs/libnotify-0.5.1
 	>=app-crypt/libsecret-0.14
 	>=net-libs/libsoup-2.48:2.4
 	>=dev-libs/libxml2-2.6.12:2
 	>=dev-libs/libxslt-1.1.7
-	>=dev-libs/nettle-3.2
 	dev-db/sqlite:3
-	dev-libs/gmp:0
-	>=app-text/iso-codes-0.35
+	dev-libs/gmp:0=
 	>=gnome-base/gsettings-desktop-schemas-0.0.1
 "
-# epiphany-extensions support was removed in 3.7; let's not pretend it still works
 RDEPEND="${COMMON_DEPEND}
 	x11-themes/adwaita-icon-theme
-	!www-client/epiphany-extensions
 "
 # paxctl needed for bug #407085
 DEPEND="${COMMON_DEPEND}
 	app-text/yelp-tools
-	dev-libs/appstream-glib
+	dev-util/gdbus-codegen
 	sys-apps/paxctl
 	>=sys-devel/gettext-0.19.8
 	virtual/pkgconfig
 "
 
 PATCHES=(
-	# https://bugzilla.gnome.org/show_bug.cgi?id=751593
-	"${FILESDIR}"/${PN}-3.14.0-unittest-2.patch
+	# https://bugzilla.gnome.org/show_bug.cgi?id=751591
+	# ephy-file-helpers tests are currently disabled due to https://gitlab.gnome.org/GNOME/epiphany/issues/419
+	# So this patch is currently without effect. Retest with PORTAGE_TMPDIR=/var/tmp once re-enabled upstream.
+	#"${FILESDIR}"/${PN}-3.16.0-unittest-1.patch
 )
 
-# FIXME: it seems it can't use newer libhttpseverywhere
 src_configure() {
+	# https_everywhere removed in 3.28
 	gnome-meson_src_configure \
+		-Ddeveloper_mode=false \
 		-Ddistributor_name=Gentoo \
 		-Dhttps_everywhere=false \
 		$(meson_use test unit_tests)
 }
 
 src_test() {
-	"${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
-	GSETTINGS_SCHEMA_DIR="${S}/data" virtx meson_src_test
+	virtx meson_src_test
 }

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
deleted file mode 100644
index 36dcb30c..00000000
--- a/www-client/epiphany/files/epiphany-3.14.0-unittest-2.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 3d2ca8dfb33f9dd658293d14d6b75983d1d2f57d Mon Sep 17 00:00:00 2001
-From: Gilles Dartiguelongue <eva@gentoo.org>
-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
-


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-05  8:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-19 21:48 [gentoo-commits] proj/gnome:master commit in: www-client/epiphany/, www-client/epiphany/files/ Gilles Dartiguelongue
  -- strict thread matches above, loose matches on Subject: below --
2018-08-05  8:34 Mart Raudsepp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox