public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/menulibre/
Date: Sat, 12 Feb 2022 06:28:05 +0000 (UTC)	[thread overview]
Message-ID: <1644647074.05e52fd3f0597b4244e78ed5cff4eaada78f8288.ionen@gentoo> (raw)

commit:     05e52fd3f0597b4244e78ed5cff4eaada78f8288
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 12 04:58:21 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Feb 12 06:24:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05e52fd3

x11-misc/menulibre: add 2.2.3, modernize and enable py3.10

I don't use this but side-bumping it, hopefully works as
expected and in a better state for future maintainers.

Timestamp issues (bug #833127) happened only when building for
two python targets, however there is no (known) reason to do
this and switched to single impl and pep517.

Removed part of the .desktop sed that did not change anything
anymore, and simplified LINGUAS workaround (the only case that
matters is a set empty LINGUAS, the rest is handled correctly
and no need for `has`).

Removed X-specific deps, this runs on wayland too. Also removed
pyxdg and gtksourceview that appears unused (despite upstream
mentioning sourceview in the README).

Closes: https://bugs.gentoo.org/787863
Closes: https://bugs.gentoo.org/811387
Closes: https://bugs.gentoo.org/811390
Closes: https://bugs.gentoo.org/823863
Closes: https://bugs.gentoo.org/833127
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 x11-misc/menulibre/Manifest               |  1 +
 x11-misc/menulibre/menulibre-2.2.3.ebuild | 47 +++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/x11-misc/menulibre/Manifest b/x11-misc/menulibre/Manifest
index cb8b268cdf89..de9b794b1afc 100644
--- a/x11-misc/menulibre/Manifest
+++ b/x11-misc/menulibre/Manifest
@@ -1 +1,2 @@
 DIST menulibre-2.2.1.tar.gz 453217 BLAKE2B 86b3d2d8b20bfc7dcfcba380f656ec1e99f1d5dbc3779eadb9e7cc3a2b8c96afc0c2efe72802d0c93833f6c705c67d05a4ba6cc6cf9b95e0c9b9850ae4424fee SHA512 cf1425d604af26b7bde92106aa758a1f7dcc66ad1fbcdcd4c23db90bc7b6de5fe1160b917035f1d949daa1af8ba6b1145d7376ae637c8937a25cb108bf8cd15f
+DIST menulibre-2.2.3.tar.gz 488117 BLAKE2B 2bb157f6f8fb1af8c5059bfa2f93dbf99eb3a0cf9b3072cae28284d50c6a7d847da7a7dc5905ff59386f7d69029f7ffd7c39cb9137e029355fea2f52741283c6 SHA512 bd554606ad35cdd41272ed656427ae3f610d6aacfc9e91e4de6ed342034e1bb6070812017a1372d04b0df4008ae1cd7207ca243142a874b6abb0a00893740da3

diff --git a/x11-misc/menulibre/menulibre-2.2.3.ebuild b/x11-misc/menulibre/menulibre-2.2.3.ebuild
new file mode 100644
index 000000000000..c705b00a9a50
--- /dev/null
+++ b/x11-misc/menulibre/menulibre-2.2.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="xml(+)"
+inherit distutils-r1 xdg
+
+DESCRIPTION="Advanced freedesktop.org compliant menu editor"
+HOMEPAGE="https://bluesabre.org/menulibre/"
+SRC_URI="https://github.com/bluesabre/menulibre/releases/download/${P}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	$(python_gen_cond_dep '
+		dev-python/psutil[${PYTHON_USEDEP}]
+		dev-python/pygobject:3[${PYTHON_USEDEP}]')
+	gnome-base/gnome-menus:3[introspection]
+	x11-libs/gdk-pixbuf:2[introspection]
+	x11-libs/gtk+:3[introspection]
+	x11-themes/hicolor-icon-theme"
+BDEPEND="
+	$(python_gen_cond_dep '
+		dev-python/python-distutils-extra[${PYTHON_USEDEP}]')"
+
+python_prepare_all() {
+	distutils-r1_python_prepare_all
+
+	# show desktop entry in all DEs
+	sed -i '/^OnlyShowIn/d' menulibre.desktop.in || die
+
+	# workaround incorrect behavior when LINGUAS is set to an empty string
+	# https://bugs.launchpad.net/python-distutils-extra/+bug/1133594
+	! [[ -v LINGUAS && -z ${LINGUAS} ]] || rm po/*.po || die
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	rm -r "${ED}"/usr/share/doc/${PN} || die
+}


             reply	other threads:[~2022-02-12  6:28 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-12  6:28 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-24 11:54 [gentoo-commits] repo/gentoo:master commit in: x11-misc/menulibre/ Petr Vaněk
2024-05-28 20:49 Sam James
2024-05-05 12:11 Arthur Zamarin
2023-01-27 11:58 Ionen Wolkens
2023-01-27 11:58 Ionen Wolkens
2022-07-20 22:11 Conrad Kostecki
2022-03-14 11:43 Ionen Wolkens
2022-03-14 11:43 Ionen Wolkens
2022-02-12  6:28 Ionen Wolkens
2022-02-12  6:28 Ionen Wolkens
2021-07-30  6:13 Sam James
2021-07-27 20:35 Sam James
2021-06-07  8:33 Joonas Niilola
2020-12-17 14:00 Mart Raudsepp
2020-11-26  3:42 Matt Turner
2020-11-26  3:42 Matt Turner
2020-11-26  3:42 Matt Turner
2020-11-25 23:22 Jonas Stein
2020-03-12 10:34 Mikle Kolyada
2020-02-02 14:04 Jeroen Roovers
2019-06-02 11:57 Jeroen Roovers
2019-06-02 11:57 Jeroen Roovers
2018-04-06  5:09 Jeroen Roovers
2018-04-06  5:09 Jeroen Roovers
2018-04-04  8:53 Jeroen Roovers
2018-01-20 10:38 Jeroen Roovers
2017-12-20  3:01 Jeroen Roovers
2017-11-29  6:51 Jeroen Roovers
2017-11-29  6:24 Jeroen Roovers
2017-11-29  6:24 Jeroen Roovers
2017-11-29  6:24 Jeroen Roovers
2017-08-14 17:04 Jeroen Roovers
2016-08-29  5:34 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1644647074.05e52fd3f0597b4244e78ed5cff4eaada78f8288.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox