Date: Saturday, March 25, 2023 @ 22:55:36
  Author: heftig
Revision: 472020

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  epiphany/repos/gnome-unstable-x86_64/
  epiphany/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 472019, epiphany/trunk/PKGBUILD)
  epiphany/repos/gnome-unstable-x86_64/fix-test.diff
    (from rev 472019, epiphany/trunk/fix-test.diff)

---------------+
 PKGBUILD      |   76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fix-test.diff |   13 +++++++++
 2 files changed, 89 insertions(+)

Copied: epiphany/repos/gnome-unstable-x86_64/PKGBUILD (from rev 472019, 
epiphany/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD                              (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD      2023-03-25 22:55:36 UTC (rev 472020)
@@ -0,0 +1,76 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=epiphany
+pkgver=44.0
+pkgrel=1
+pkgdesc="A GNOME web browser based on the WebKit rendering engine"
+url="https://wiki.gnome.org/Apps/Web";
+arch=(x86_64)
+license=(GPL)
+depends=(
+  gcr-4
+  gstreamer
+  gtk4
+  icu
+  libadwaita
+  libarchive
+  libportal-gtk4
+  libsoup3
+  webkitgtk-6.0
+)
+makedepends=(
+  docbook-xml
+  git
+  gobject-introspection
+  lsb-release
+  meson
+  startup-notification
+  yelp-tools
+)
+checkdepends=(
+  aspell
+  hspell
+  hunspell
+  libvoikko
+  nuspell
+  xorg-server-xvfb
+)
+groups=(gnome)
+_commit=379ebfb70239fc3421973da1c0090edb460657eb  # tags/44.0^0
+source=(
+  "git+https://gitlab.gnome.org/GNOME/epiphany.git#commit=$_commit";
+  fix-test.diff
+)
+b2sums=('SKIP'
+        
'05121ff5f759ec637a718c9b39406f9a384227a312d69f6dc74e73fde8351689d588a30dddea3cfe0a6edb094fdcf5382eb5ff725bb2adfccdff87ab3cf4c953')
+
+pkgver() {
+  cd epiphany
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd epiphany
+
+  # Fix encoding test; perhaps caused by different glibc or locale env
+  # https://gitlab.gnome.org/GNOME/epiphany/-/issues/1842
+  git apply -3 ../fix-test.diff
+}
+
+build() {
+  arch-meson epiphany build
+  meson compile -C build
+}
+
+check() {
+  WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1 \
+    dbus-run-session xvfb-run -s '-nolisten local' \
+    meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et:

Copied: epiphany/repos/gnome-unstable-x86_64/fix-test.diff (from rev 472019, 
epiphany/trunk/fix-test.diff)
===================================================================
--- gnome-unstable-x86_64/fix-test.diff                         (rev 0)
+++ gnome-unstable-x86_64/fix-test.diff 2023-03-25 22:55:36 UTC (rev 472020)
@@ -0,0 +1,13 @@
+diff --git i/tests/ephy-encodings-test.c w/tests/ephy-encodings-test.c
+index a3ea7e781..4874ca33e 100644
+--- i/tests/ephy-encodings-test.c
++++ w/tests/ephy-encodings-test.c
+@@ -44,7 +44,7 @@ test_ephy_encodings_create (void)
+   g_assert_cmpstr (ephy_encoding_get_encoding (encoding), ==, "UTF-8");
+   g_assert_cmpstr (ephy_encoding_get_title (encoding), ==, "Unicode (UTF-8)");
+   g_assert_cmpstr (ephy_encoding_get_title_elided (encoding), ==, "Unicode 
(UTF-8)");
+-  g_assert_cmpstr (ephy_encoding_get_collation_key (encoding), ==, 
"\311\263\307\276\307\205\305\271\310\215\306\202\306\216\311\263\311\250\306\245\305\237\001\035\035\035\035\035\035\035\035\035\035\035\001\007\002\002\002\002\002\002\007\007\007\002\001\001\346\244\273\001\346\215\264\001\346\211\243\001\346\204\235\001\346\216\257\001\346\205\217\001\346\206\212\001\343\265\233\001\343\265\242\001\346\244\273\001\346\244\231\001\346\234\257\001\343\265\247\001\345\277\241\001\343\265\243");
++  g_assert_cmpstr (ephy_encoding_get_collation_key (encoding), ==, "Unicode 
(UTF-8)");
+   g_assert_cmpint (ephy_encoding_get_language_groups (encoding), ==, 
LG_UNICODE);
+ 
+   g_object_unref (encoding);

Reply via email to