From 938d02055b9a812cff590fffa69f0f3df5c9422a Mon Sep 17 00:00:00 2001 From: Guillermo Joandet Date: Sun, 3 Mar 2024 18:38:27 -0300 Subject: [PATCH 1/5] dev-libs/gjs: Bump to 1.80.2 Signed-off-by: Guillermo Joandet Closes: https://github.com/gentoo/gentoo/pull/36858 Signed-off-by: Pacho Ramos --- dev-libs/gjs/Manifest | 1 + dev-libs/gjs/gjs-1.80.2.ebuild | 68 ++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 dev-libs/gjs/gjs-1.80.2.ebuild diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest index 0967ffcbbf054..53d8c8121dd8b 100644 --- a/dev-libs/gjs/Manifest +++ b/dev-libs/gjs/Manifest @@ -1 +1,2 @@ DIST gjs-1.78.5.tar.xz 656168 BLAKE2B e1458d000998b66fda90e448ca487e591729e003c3e11a939dc474958b6de55783d41db8de5b243a329361f12acc15a8e84f4131650705becb046b68c54a24a2 SHA512 bb25e52dff53bfbde6d2329027d4ff68849740cf753da58f9bdf5a19ea7b029e2517d67978f461f16660dd1aa48b223798e9c0a24cde0ccb62060e4a0c83a02e +DIST gjs-1.80.2.tar.xz 663256 BLAKE2B d5c8dd85acc0ee1fa8da9450b1d9427da0f835b695d5c6877ea166d41751dcf4449bb00ee0068ac98abed245d6dc1d67504432db368b9fcd8d81e0f37e72e952 SHA512 cc9a9073f741ee60eff2d2ce808cca7f40e97798f9ffa9197ebc3780a8a5df6e174ba76293bf7547fc8fa7e82be6a828a633a5aa8ba27d551dec72d635b6c5bd diff --git a/dev-libs/gjs/gjs-1.80.2.ebuild b/dev-libs/gjs/gjs-1.80.2.ebuild new file mode 100644 index 0000000000000..df40ba28e37ac --- /dev/null +++ b/dev-libs/gjs/gjs-1.80.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic gnome.org meson virtualx + +DESCRIPTION="Javascript bindings for GNOME" +HOMEPAGE="https://wiki.gnome.org/Projects/Gjs https://gitlab.gnome.org/GNOME/gjs" + +LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="+cairo examples readline sysprof test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.66.0:2 + dev-libs/libffi:= + >=dev-libs/gobject-introspection-1.71.1:= + dev-lang/spidermonkey:115 + cairo? ( x11-libs/cairo[X,glib] ) + readline? ( sys-libs/readline:0= ) +" +DEPEND="${RDEPEND} + sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 ) + test? ( + sys-apps/dbus + >=x11-libs/gtk+-3.20:3[introspection] + ) +" +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + append-cppflags -DG_DISABLE_CAST_CHECKS + + # On musl, it's required that either gjs, pixman or gnome-shell to be built + # with a larger stack otherwise librsvg fails to render a particular SVG, as + # a result we fail to get gdm or gnome-shell running (greeted with a fail + # whale screen). The bug has been reported to librsvg. This is ideally just + # a temporary workaround until we understand what exactly needs a larger + # stack size, as it's not sufficient to do just librsvg. + # + # Please refer to: + # https://gitlab.gnome.org/GNOME/librsvg/-/issues/686 + # https://gitlab.gnome.org/GNOME/librsvg/-/issues/874 + # + # TODO: Find an actual fix instead of increasing the stack + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 + + # FIXME: add systemtap/dtrace support, like in glib:2 + local emesonargs=( + $(meson_feature cairo) + $(meson_feature readline) + $(meson_feature sysprof profiler) + -Dinstalled_tests=false + $(meson_use !test skip_dbus_tests) + $(meson_use !test skip_gtk_tests) + -Db_pch=True # TODO this has to go + ) + meson_src_configure +} + +src_test() { + virtx meson_src_test +} From 47a218292fe4d0cf164b9cdbfefcf21ec417268b Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Fri, 9 Aug 2024 12:03:42 +0200 Subject: [PATCH 2/5] dev-libs/gjs: update HOMEPAGE Signed-off-by: Pacho Ramos --- dev-libs/gjs/gjs-1.80.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/gjs/gjs-1.80.2.ebuild b/dev-libs/gjs/gjs-1.80.2.ebuild index df40ba28e37ac..13f066ff2ada0 100644 --- a/dev-libs/gjs/gjs-1.80.2.ebuild +++ b/dev-libs/gjs/gjs-1.80.2.ebuild @@ -6,7 +6,7 @@ EAPI=8 inherit flag-o-matic gnome.org meson virtualx DESCRIPTION="Javascript bindings for GNOME" -HOMEPAGE="https://wiki.gnome.org/Projects/Gjs https://gitlab.gnome.org/GNOME/gjs" +HOMEPAGE="https://gitlab.gnome.org/GNOME/gjs" LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )" SLOT="0" From bdf9318516cd94e98cc096df8bb83ca0a3ba169b Mon Sep 17 00:00:00 2001 From: Guillermo Joandet Date: Mon, 18 Mar 2024 23:51:09 -0300 Subject: [PATCH 3/5] gui-apps/gnome-console: Bump to 46.0 Signed-off-by: Guillermo Joandet Closes: https://github.com/gentoo/gentoo/pull/36848 Signed-off-by: Pacho Ramos --- gui-apps/gnome-console/Manifest | 1 + .../gnome-console/gnome-console-46.0.ebuild | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 gui-apps/gnome-console/gnome-console-46.0.ebuild diff --git a/gui-apps/gnome-console/Manifest b/gui-apps/gnome-console/Manifest index 4166a1dd60837..092db691a48fc 100644 --- a/gui-apps/gnome-console/Manifest +++ b/gui-apps/gnome-console/Manifest @@ -1 +1,2 @@ DIST gnome-console-45.0.tar.xz 178444 BLAKE2B ca04c31657b19ab1651899c56ff64ffa6d3913935fa5564ba115d83ba6dec50d2b816a47064ab7538aaa07347ebcb1890cc7dcb6e29164f7a36a6e18985e874a SHA512 940f02b8e1b02a680d9c25de59f655243a033883b9e21a183bd40ebe09c1803d6fbbfb45223e9a4ae20401d65e80a2bf0ba28bc7971fe84889176be64062b8d0 +DIST gnome-console-46.0.tar.xz 185424 BLAKE2B 8a30519df47da40578a9cb493ce981518432377bce95f55f41326502d260dd8fdb1302fb1edc38847c51c4a8fb266fb87561a61eb9ebf21711d87ddfc654eafb SHA512 de885b23979278774d0211103b3b15d58c1d0224d59baa2dc8f9ab369b95f5d5fe659b3d2fddd1e10c5406c11b3c56e4c7ec41bb369cb149a5f975404ab98147 diff --git a/gui-apps/gnome-console/gnome-console-46.0.ebuild b/gui-apps/gnome-console/gnome-console-46.0.ebuild new file mode 100644 index 0000000000000..8c9a69b8384eb --- /dev/null +++ b/gui-apps/gnome-console/gnome-console-46.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org gnome2-utils meson xdg + +DESCRIPTION="A simple user-friendly terminal emulator for the GNOME desktop" +HOMEPAGE="https://gitlab.gnome.org/GNOME/console" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.76:2 + >=gui-libs/gtk-4.12.2:4 + >=gui-libs/libadwaita-1.4_alpha:1 + >=gui-libs/vte-0.75.1:2.91-gtk4 + gnome-base/libgtop:2= + >=dev-libs/libpcre2-10.32:0= + gnome-base/gsettings-desktop-schemas + + x11-libs/pango +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-util/desktop-file-utils + dev-libs/appstream-glib + ) +" + +src_configure() { + local emesonargs=( + -Ddevel=false + $(meson_use test tests) + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} From 29f9b5974fa4179d56ecbf4e558754a157148972 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Fri, 9 Aug 2024 12:06:08 +0200 Subject: [PATCH 4/5] gui-apps/gnome-console: update HOMEPAGE Signed-off-by: Pacho Ramos --- gui-apps/gnome-console/gnome-console-46.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui-apps/gnome-console/gnome-console-46.0.ebuild b/gui-apps/gnome-console/gnome-console-46.0.ebuild index 8c9a69b8384eb..eff7652daf7eb 100644 --- a/gui-apps/gnome-console/gnome-console-46.0.ebuild +++ b/gui-apps/gnome-console/gnome-console-46.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 inherit gnome.org gnome2-utils meson xdg DESCRIPTION="A simple user-friendly terminal emulator for the GNOME desktop" -HOMEPAGE="https://gitlab.gnome.org/GNOME/console" +HOMEPAGE="https://apps.gnome.org/Console/ https://gitlab.gnome.org/GNOME/console" LICENSE="LGPL-3+" SLOT="0" From 167da5e83c4816e4358fb4dfbbc364e369d83d20 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Fri, 9 Aug 2024 12:12:12 +0200 Subject: [PATCH 5/5] gui-libs/vte-common: fix liblz4 dependency Closes: https://bugs.gentoo.org/937613 Signed-off-by: Pacho Ramos --- gui-libs/vte-common/vte-common-0.76.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui-libs/vte-common/vte-common-0.76.3.ebuild b/gui-libs/vte-common/vte-common-0.76.3.ebuild index a546a0610169b..59604c62750b9 100644 --- a/gui-libs/vte-common/vte-common-0.76.3.ebuild +++ b/gui-libs/vte-common/vte-common-0.76.3.ebuild @@ -30,7 +30,7 @@ DEPEND=" >=x11-libs/pango-1.22.0 >=dev-libs/libpcre2-10.21 systemd? ( >=sys-apps/systemd-220:= ) - sys-libs/zlib + >=app-arch/lz4-1.9 x11-libs/pango " RDEPEND="