summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2023-10-08 00:19:47 +0200
committerDavid Seifert <soap@gentoo.org>2023-10-08 00:19:47 +0200
commit52c9bad6b757b20b007982aa5067177b18dc5e2f (patch)
tree8c61550c7842334e6320a8d7de58757bd4bd5b3e /x11-misc/oroborus-deskmenu
parentx11-misc/mgm: update EAPI 6 -> 8 (diff)
downloadgentoo-52c9bad6b757b20b007982aa5067177b18dc5e2f.tar.gz
gentoo-52c9bad6b757b20b007982aa5067177b18dc5e2f.tar.bz2
gentoo-52c9bad6b757b20b007982aa5067177b18dc5e2f.zip
x11-misc/oroborus-deskmenu: update EAPI 6 -> 8
Closes: https://bugs.gentoo.org/875131 Closes: https://bugs.gentoo.org/898252 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'x11-misc/oroborus-deskmenu')
-rw-r--r--x11-misc/oroborus-deskmenu/files/oroborus-deskmenu-1.4.5-Wimplicit-function-declaration.patch12
-rw-r--r--x11-misc/oroborus-deskmenu/oroborus-deskmenu-1.4.5-r1.ebuild24
-rw-r--r--x11-misc/oroborus-deskmenu/oroborus-deskmenu-1.4.5-r2.ebuild36
3 files changed, 48 insertions, 24 deletions
diff --git a/x11-misc/oroborus-deskmenu/files/oroborus-deskmenu-1.4.5-Wimplicit-function-declaration.patch b/x11-misc/oroborus-deskmenu/files/oroborus-deskmenu-1.4.5-Wimplicit-function-declaration.patch
new file mode 100644
index 000000000000..80e83a3a9c88
--- /dev/null
+++ b/x11-misc/oroborus-deskmenu/files/oroborus-deskmenu-1.4.5-Wimplicit-function-declaration.patch
@@ -0,0 +1,12 @@
+--- a/src/deskmenu.c
++++ b/src/deskmenu.c
+@@ -146,6 +146,9 @@
+ return value;
+ }
+
++int
++decode_switches (int argc, char **argv);
++
+ void
+ initialize (int argc, char *argv[])
+ {
diff --git a/x11-misc/oroborus-deskmenu/oroborus-deskmenu-1.4.5-r1.ebuild b/x11-misc/oroborus-deskmenu/oroborus-deskmenu-1.4.5-r1.ebuild
deleted file mode 100644
index 69756f240669..000000000000
--- a/x11-misc/oroborus-deskmenu/oroborus-deskmenu-1.4.5-r1.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN=${PN/oroborus-//}
-
-DESCRIPTION="root menu program for Oroborus"
-HOMEPAGE="https://www.oroborus.org"
-SRC_URI="mirror://debian/pool/main/d/${MY_PN}/${MY_PN}_${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="=x11-libs/gtk+-2*
- !x11-wm/oroborus-extras"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S=${WORKDIR}/${MY_PN}-${PV}
-
-DOCS=( AUTHORS ChangeLog NEWS README TODO example_rc )
diff --git a/x11-misc/oroborus-deskmenu/oroborus-deskmenu-1.4.5-r2.ebuild b/x11-misc/oroborus-deskmenu/oroborus-deskmenu-1.4.5-r2.ebuild
new file mode 100644
index 000000000000..ff4450b199aa
--- /dev/null
+++ b/x11-misc/oroborus-deskmenu/oroborus-deskmenu-1.4.5-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_PN="${PN/oroborus-//}"
+
+DESCRIPTION="root menu program for Oroborus"
+HOMEPAGE="https://www.oroborus.org"
+SRC_URI="mirror://debian/pool/main/d/${MY_PN}/${MY_PN}_${PV}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ # bug 875131
+ "${FILESDIR}"/${P}-Wimplicit-function-declaration.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf # bug 898252
+}
+
+src_install() {
+ default
+ dodoc example_rc
+}