gui-apps/gnome-console: add 47.2.1

Closes: https://bugs.gentoo.org/956695
Closes: https://bugs.gentoo.org/956694
Signed-off-by: zyxhere💭 <zyx@envs.net>
Part-of: https://github.com/gentoo/gentoo/pull/42277
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
zyxhere💭 2025-05-27 14:45:31 +05:00 committed by Sam James
parent 89098dd07d
commit 9b1210e2fd
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
3 changed files with 70 additions and 0 deletions

View File

@ -1,3 +1,4 @@
DIST gnome-console-46.0.tar.xz 185424 BLAKE2B 8a30519df47da40578a9cb493ce981518432377bce95f55f41326502d260dd8fdb1302fb1edc38847c51c4a8fb266fb87561a61eb9ebf21711d87ddfc654eafb SHA512 de885b23979278774d0211103b3b15d58c1d0224d59baa2dc8f9ab369b95f5d5fe659b3d2fddd1e10c5406c11b3c56e4c7ec41bb369cb149a5f975404ab98147
DIST gnome-console-47.1.tar.xz 198180 BLAKE2B 4a16c6566d937cca1efcb5426a666734a4ecfccb9943c49889d0e4ee25f5083f785345c3ec4d8d7a64e741c74a1a228a952363c2c91c2af29f6278c57bded183 SHA512 ad3f7dbd5b84ed61ff9441337148f5fe0cf7948b78de1230b13d47f97e2c7bf5f39bc60953e9ef2e2e341f0b052598ba865711c924cfbeae9e6cee983a953bc8
DIST gnome-console-48.0.1.tar.xz 205100 BLAKE2B 5f521a5591eb95f4cca9a5002b6319f7989bed1df8e539d869261b3be2c2e2c6da640516f33c1c45b2fb02d74ab99690c18f70862a5e3eef6d54788e1ea61a4f SHA512 69fe38398efe6bbcbf3f399ea156432345bfd1f2bec331bc155b1feb9e37c0f5f4762c565f7b5126610359463b550e7c918bffd2838623798c814a7c3dbadafb
DIST gnome-console-47.2.1.tar.xz 199548 BLAKE2B 2eec3706361f0b7390632fe6d97a6892b398bef081095fc822efe21a839a542ccaf81a9b764b776865b521eb280608f2e6aac1435d715afe860c502c0627471c SHA512 640622b9c934d927e59e88051ad7ba8938d1a492b755a122f1944d015ce876ee57cbe241db48cb7c8d9571d82547ac141e8c16c527d8968a4a8bf80dbd5de1a4

View File

@ -0,0 +1,11 @@
diff '--color=auto' -ur a/src/main.c b/src/main.c
--- a/src/main.c 2025-05-09 15:20:31.000000000 +0000
+++ b/src/main.c 2025-05-26 21:26:44.919522337 +0000
@@ -17,6 +17,7 @@
*/
#include <glib/gi18n.h>
+#include <locale.h>
#include <kgx.h>

View File

@ -0,0 +1,58 @@
# Copyright 1999-2025 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://apps.gnome.org/Console/ 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.80:2
>=gui-libs/gtk-4.14:4
>=gui-libs/libadwaita-1.6:1
>=gui-libs/vte-0.77.0: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_prepare() {
# https://bugs.gentoo.org/956695
eapply "${FILESDIR}"/${P}-musl.patch
eapply_user
}
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
}