Skip to contentSkip to conversation

epiphany: use GTK3DISTROFEATURES in features check

PATCH New Ross Burton 1 participant 4 messages May 12

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 epiphany: use GTK3DISTROFEATURES in features check

Epiphany uses GTK 4, so it depends on both opengl and either x11 or wayland (as set by GTK3DISTROFEATURES).

I've verified that Epiphany builds in wayland-only configurations without x11 enabled.

---
 meta/recipes-gnome/epiphany/epiphany_50.4.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-gnome/epiphany/epiphany_50.4.bb +2 -1
index 8fa187828bb..611efe8ea3b 100644
@@ -25,7 +25,8 @@ DEPENDS = " \
           "
 
 inherit gnomebase gsettings features_check gettext mime-xdg gtk-icon-cache
-REQUIRED_DISTRO_FEATURES = "x11 opengl"
+REQUIRED_DISTRO_FEATURES = "opengl"
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
 SRC_URI += "\
            file://0002-help-meson.build-disable-the-use-of-yelp.patch \
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/4 epiphany: remove obsolete build dependencies

Epiphany ported to GTK 4 in v44 onwards[1] and as part of this work the dependencies on libdazzle and libhandy were removed.

[1] epiphany 6e5357947 ("Port to GTK4")

---
 meta/recipes-gnome/epiphany/epiphany_50.4.bb | 2 --
 1 file changed, 2 deletions(-)
meta/recipes-gnome/epiphany/epiphany_50.4.bb +0 -2
index 611efe8ea3b..2abec0742d3 100644
@@ -14,8 +14,6 @@ DEPENDS = " \
           json-glib \
           libadwaita \
           libarchive \
-          libdazzle \
-          libhandy \
           libportal \
           libsoup \
           glib-2.0-native \
Signature · 1 line
2.43.0
#2 lore raw

PATCH 3/4 libdazzle: remove

In reply to Ross Burton

This library was added for epiphany which no longer uses it and there are no other users, so remove it.

The recipe will be added to meta-gnome for the GTK+3 applications there.

---
 meta/conf/distro/include/maintainers.inc       |  1 -
 .../libdazzle/libdazzle_3.44.0.bb              | 18 ------------------
 2 files changed, 19 deletions(-)
 delete mode 100644 meta/recipes-gnome/libdazzle/libdazzle_3.44.0.bb
meta/conf/distro/include/maintainers.inc +0 -1
index f98305e930e..17ff3a6bbf6 100644
@@ -331,7 +331,6 @@ RECIPE_MAINTAINER:pn-libconfig = "Dmitry Baryshkov <[email protected]
 RECIPE_MAINTAINER:pn-libconvert-asn1-perl = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-libcxx = "Khem Raj <[email protected]>"
 RECIPE_MAINTAINER:pn-libdaemon = "Unassigned <[email protected]>"
-RECIPE_MAINTAINER:pn-libdazzle = "Unassigned <[email protected]>"
 RECIPE_MAINTAINER:pn-libdisplay-info = "Hiago De Franco <[email protected]>"
 RECIPE_MAINTAINER:pn-libdnf = "Unassigned <[email protected]>"
 RECIPE_MAINTAINER:pn-libdrm = "Unassigned <[email protected]>"
meta/recipes-gnome/libdazzle/libdazzle_3.44.0.bb deleted +0 -18
deleted file mode 100644
index 9bca7e9dce9..00000000000
@@ -1,18 +0,0 @@
-SUMMARY = "The libdazzle library is a companion library to GObject and Gtk+."
-DESCRIPTION = "A wide range of components from utilities for GIO, widgets for \
-GTK+, an animation framework, state machines, paneling and high-performance \
-counters are included."
-LICENSE = "GPL-3.0-or-later"
-HOMEPAGE = "https://gitlab.gnome.org/GNOME/libdazzle"
-BUGTRACKER = "https://gitlab.gnome.org/GNOME/libdazzle/issues"
-LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a"
-
-inherit gnomebase upstream-version-is-even vala features_check gobject-introspection
-
-DEPENDS = "glib-2.0-native glib-2.0 gtk+3"
-
-SRC_URI[archive.sha256sum] = "3cd3e45eb6e2680cb05d52e1e80dd8f9d59d4765212f0e28f78e6c1783d18eae"
-
-GIR_MESON_OPTION = 'with_introspection'
-
-ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
Signature · 1 line
2.43.0
#3 lore raw

PATCH 4/4 libhandy: remove

In reply to Ross Burton

This library was added for epiphany which no longer uses it and there are no other users, so remove it.

The recipe will be added to meta-gnome for the GTK+3 applications there.

---
 meta/conf/distro/include/maintainers.inc      |  1 -
 meta/recipes-gnome/libhandy/libhandy_1.8.3.bb | 26 -------------------
 2 files changed, 27 deletions(-)
 delete mode 100644 meta/recipes-gnome/libhandy/libhandy_1.8.3.bb
meta/conf/distro/include/maintainers.inc +0 -1
index 17ff3a6bbf6..24c5a9d7123 100644
@@ -356,7 +356,6 @@ RECIPE_MAINTAINER:pn-libglu = "Ross Burton <[email protected]>"
 RECIPE_MAINTAINER:pn-libglvnd = "Dmitry Baryshkov <[email protected]>"
 RECIPE_MAINTAINER:pn-libgpg-error = "Hongxu Jia <[email protected]>"
 RECIPE_MAINTAINER:pn-libgudev = "Ross Burton <[email protected]>"
-RECIPE_MAINTAINER:pn-libhandy = "Unassigned <[email protected]>"
 RECIPE_MAINTAINER:pn-libical = "Ross Burton <[email protected]>"
 RECIPE_MAINTAINER:pn-libice = "Unassigned <[email protected]>"
 RECIPE_MAINTAINER:pn-libidn2 = "Ross Burton <[email protected]>"
meta/recipes-gnome/libhandy/libhandy_1.8.3.bb deleted +0 -26
deleted file mode 100644
index cf2c64f8d0a..00000000000
@@ -1,26 +0,0 @@
-SUMMARY = "A library full of GTK+ widgets for mobile phones"
-DESCRIPTION = "Library with GTK widgets for mobile phones. Libhandy provides \
-GTK widgets and GObjects to ease developing applications for mobile phones. \
-It was developed by Purism (and used by several official GNOME projects) \
-to extend Gtk by providing mobile-friendly widgets and make the creation of \
-responsive apps easier."
-HOMEPAGE = "https://gitlab.gnome.org/GNOME/libhandy"
-BUGTRACKER = "https://gitlab.gnome.org/GNOME/libhandy/-/issues"
-LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
-
-SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=libhandy-1-8"
-SRCREV = "9b0071408ce86a3ef843806fddd723a85f6f2416"
-
-UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+))"
-GIR_MESON_ENABLE_FLAG = 'enabled'
-GIR_MESON_DISABLE_FLAG = 'disabled'
-
-inherit meson gobject-introspection vala gettext gi-docgen features_check pkgconfig
-
-ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
-
-DEPENDS += "gtk+3"
-
-PACKAGES =+ "${PN}-examples"
-FILES:${PN}-examples = "${bindir}"
Signature · 1 line
2.43.0