From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4323D1581E7 for ; Sun, 21 Apr 2024 08:27:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 751DCE29D5; Sun, 21 Apr 2024 08:27:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D7B0E29CD for ; Sun, 21 Apr 2024 08:27:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5EB8A34341D for ; Sun, 21 Apr 2024 08:27:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A407171E for ; Sun, 21 Apr 2024 08:27:10 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1713688013.3e29e0df686c3cb43b6e684e5274abd536fdb6fe.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/fbpanel/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/fbpanel/fbpanel-7.0-r4.ebuild X-VCS-Directories: x11-misc/fbpanel/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 3e29e0df686c3cb43b6e684e5274abd536fdb6fe X-VCS-Branch: master Date: Sun, 21 Apr 2024 08:27:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4c7289ed-f1e8-44c6-9d0f-0eb0e20d8f83 X-Archives-Hash: 102ac6a43886ee5a93e6f6f8aef57b5f commit: 3e29e0df686c3cb43b6e684e5274abd536fdb6fe Author: Viorel Munteanu gentoo org> AuthorDate: Sun Apr 21 08:16:58 2024 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Sun Apr 21 08:26:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e29e0df x11-misc/fbpanel: enable py3.12 Enable Python 3.12. Only used at build, still works. Update license. Closes: https://bugs.gentoo.org/795591 Closes: https://bugs.gentoo.org/929884 Signed-off-by: Viorel Munteanu gentoo.org> x11-misc/fbpanel/fbpanel-7.0-r4.ebuild | 70 ++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/x11-misc/fbpanel/fbpanel-7.0-r4.ebuild b/x11-misc/fbpanel/fbpanel-7.0-r4.ebuild new file mode 100644 index 000000000000..04f05780e684 --- /dev/null +++ b/x11-misc/fbpanel/fbpanel-7.0-r4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit edo python-any-r1 toolchain-funcs + +DESCRIPTION="Light-weight X11 desktop panel" +HOMEPAGE="https://aanatoly.github.io/fbpanel/" +SRC_URI="https://github.com/aanatoly/fbpanel/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT LGPL-2+ GPL-2+" # bug #795591 +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" +IUSE="alsa" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/libX11 + alsa? ( media-libs/alsa-lib ) +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-6.1-underlinking.patch + "${FILESDIR}"/${PN}-7.0-clang.patch + "${FILESDIR}"/${PN}-7.0-fno-common.patch + "${FILESDIR}"/${PN}-7.0-images.patch + "${FILESDIR}"/${PN}-7.0-python3-shebangs.patch + "${FILESDIR}"/${PN}-7.0-remove-gdk-pixbuf-xlib.h.patch + "${FILESDIR}"/${PN}-7.0-python3.10.patch +) + +src_prepare() { + default + 2to3 -n -w --no-diffs configure .config/*.py || die +} + +src_configure() { + tc-export CC + + # not autotools based + local confargs=( + V=1 + --mandir="${EPREFIX}"/usr/share/man/man1 + --datadir="${EPREFIX}"/usr/share/${PN} + --prefix="${EPREFIX}"/usr + --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} + $(usex alsa --sound --no-sound) + ) + + edo ./configure "${confargs[@]}" +} + +pkg_postinst() { + elog "For the volume plugin to work, you need to configure your kernel" + elog "with CONFIG_SND_MIXER_OSS or CONFIG_SOUND_PRIME or some other means" + elog "that provide the /dev/mixer device node." +}