commit:     faa8f94035ab43350d6e79ff1a2add5e6b7deb12
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 14 06:01:59 2025 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Oct 14 06:12:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa8f940

gnome-base/gnome-panel: add 3.58.1

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 gnome-base/gnome-panel/Manifest                  |  1 +
 gnome-base/gnome-panel/gnome-panel-3.58.1.ebuild | 85 ++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/gnome-base/gnome-panel/Manifest b/gnome-base/gnome-panel/Manifest
index d88407de98af..097a872a8872 100644
--- a/gnome-base/gnome-panel/Manifest
+++ b/gnome-base/gnome-panel/Manifest
@@ -1,2 +1,3 @@
 DIST gnome-panel-3.54.0.tar.xz 2790168 BLAKE2B 
c41e8cdd5ff6b46b640901e8586db368453d94f763a45c605695d00ef44ac3ccbf6eb49da55f7635d603a29d0cd37d6fbf68d54699d4486d50518d2771ac5fe1
 SHA512 
9b444d931b47e8aa8bae0d2a1fc1a84281c178026b6697b7871a9942bab705a5062e07c062a5ab7e0bcd046f1cb799361e4c99334209ef820f81939553996e14
 DIST gnome-panel-3.56.0.tar.xz 2973688 BLAKE2B 
477570e648b3e5cd426ef542a778a901fcb213b12a65dfef83a8a4f9caa75ec3ad9c854af8ed7e4c73c22ddaf2fa1bebe1250951062d83ee57ff24690b1e371d
 SHA512 
c26831ef8c70658b0f5f8ff9e17fb00608e7941ac96226117fd9fa889b141e09245fa77055d96ec7455219df57d2dcb5d6329ac054d5c3fd668099263b8cd827
+DIST gnome-panel-3.58.1.tar.xz 2977916 BLAKE2B 
113725748d01adb4e1be101fe29de863310505aff10e5afa1c18bb85bd0e697e941794d92cf1db3512fde52d1ae7da7d540e788a0969e0fab0ad3fc51e09e801
 SHA512 
20beeb7eb6e89330034a03b747a87aab7f92f8da4bb218e20882489ca01dd81003574e1bf89d8b8e298cf8375e24e0d7d60e5e86052c613ccdbfd58c574f9bd1

diff --git a/gnome-base/gnome-panel/gnome-panel-3.58.1.ebuild 
b/gnome-base/gnome-panel/gnome-panel-3.58.1.ebuild
new file mode 100644
index 000000000000..7dd14e299fa3
--- /dev/null
+++ b/gnome-base/gnome-panel/gnome-panel-3.58.1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit gnome2 toolchain-funcs
+
+DESCRIPTION="The GNOME Flashback Panel"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-panel/";
+
+LICENSE="GPL-2+ FDL-1.1 LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="eds elogind systemd"
+REQUIRED_USE="^^ ( elogind systemd )"
+
+RDEPEND="
+       >=gnome-base/gnome-desktop-3.53.3:3=
+       >=x11-libs/gdk-pixbuf-2.26.0:2
+       >=x11-libs/pango-1.15.4
+       >=dev-libs/glib-2.67.1:2
+       >=x11-libs/gtk+-3.22.0:3[X]
+       >=x11-libs/libwnck-43.2:3
+       >=gnome-base/gnome-menus-3.7.90:3
+       >=gnome-base/gsettings-desktop-schemas-42.0
+       eds? ( >=gnome-extra/evolution-data-server-3.46.0:= )
+       elogind? ( >=sys-auth/elogind-230 )
+       systemd? ( >=sys-apps/systemd-230:= )
+       >=x11-libs/cairo-1.0.0[X,glib]
+       >=dev-libs/libgweather-4.2.0:4=
+       >=gnome-base/dconf-0.13.4
+       >=x11-libs/libXrandr-1.3.0
+       gnome-base/gdm
+       x11-libs/libX11
+       x11-libs/libXi
+       sci-geosciences/geocode-glib:2
+       sys-auth/polkit
+"
+DEPEND="${RDEPEND}
+       x11-base/xorg-proto
+"
+BDEPEND="
+       app-text/docbook-xml-dtd:4.1.2
+       dev-util/gdbus-codegen
+       dev-util/glib-utils
+       dev-util/itstool
+       >=sys-devel/gettext-0.19.8
+       virtual/pkgconfig
+"
+
+src_configure() {
+       local myconf=(
+               --disable-static
+               $(use_enable eds)
+       )
+
+       # Below elogind MENU_* pkg-config calls need to match up with what 
upstream has
+       # each version (libsystemd replaced with libelogind). Explicit 
per-version die
+       # to force a manual recheck. Only update the explicit version if the
+       # "PKG_CHECK_MODULES([MENU], ...)" block did not change; otherwise 
adjust
+       # elogind conditional block below accordingly first.
+       # DO NOT just change the version, look in configure.ac in which 
PKG_CHECK_MODULES-sections
+       # libsystemd is used and check if there are new sections where it is 
used!
+       if ver_test ${PV} -ne 3.58.1; then
+               die "Maintainer has not checked over packages MENU pkg-config 
deps for elogind support"
+       fi
+
+       if use elogind; then
+               local pkgconfig="$(tc-getPKG_CONFIG)"
+
+               local action_modules="gio-unix-2.0 gtk+-3.0 libgnome-menu-3.0 
libelogind x11"
+               local launcher_modules="gio-unix-2.0 gtk+-3.0 libgnome-menu-3.0 
libelogind"
+               local menu_modules="gdm gio-unix-2.0 gtk+-3.0 libgnome-menu-3.0 
libelogind"
+
+               myconf+=(
+                       ACTION_BUTTON_CFLAGS="$(${pkgconfig} --cflags 
${action_modules})"
+                       ACTION_BUTTON_LIBS="$(${pkgconfig} --libs 
${action_modules})"
+                       LAUNCHER_CFLAGS="$(${pkgconfig} --cflags 
${launcher_modules})"
+                       LAUNCHER_LIBS="$(${pkgconfig} --libs 
${launcher_modules})"
+                       MENU_CFLAGS="$(${pkgconfig} --cflags ${menu_modules})"
+                       MENU_LIBS="$(${pkgconfig} --libs ${menu_modules})"
+               )
+       fi
+
+       gnome2_src_configure "${myconf[@]}"
+}

Reply via email to