From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/e16menuedit2/files/, x11-misc/e16menuedit2/
Date: Sat, 7 Oct 2023 22:20:28 +0000 (UTC) [thread overview]
Message-ID: <1696717182.b7b6297354122788f6f529d9a63b890dd59d6035.soap@gentoo> (raw)
commit: b7b6297354122788f6f529d9a63b890dd59d6035
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 7 22:19:42 2023 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Oct 7 22:19:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7b62973
x11-misc/e16menuedit2: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap <AT> gentoo.org>
| 22 +++++++++-------------
| 14 ++++++++++++--
| 10 ++++++++++
| 8 ++++----
4 files changed, 35 insertions(+), 19 deletions(-)
diff --git a/x11-misc/e16menuedit2/e16menuedit2-0.0.3.ebuild b/x11-misc/e16menuedit2/e16menuedit2-0.0.3-r1.ebuild
similarity index 62%
rename from x11-misc/e16menuedit2/e16menuedit2-0.0.3.ebuild
rename to x11-misc/e16menuedit2/e16menuedit2-0.0.3-r1.ebuild
index 44b1cc54d695..97e6c4f9efaf 100644
--- a/x11-misc/e16menuedit2/e16menuedit2-0.0.3.ebuild
+++ b/x11-misc/e16menuedit2/e16menuedit2-0.0.3-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
GNOME2_EAUTORECONF="yes"
inherit gnome2
@@ -9,25 +9,21 @@ inherit gnome2
DESCRIPTION="Menu editor for Enlightenment DR16 written in GTK2"
HOMEPAGE="https://www.enlightenment.org https://sourceforge.net/projects/enlightenment/"
SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
LICENSE="MIT-with-advertising"
SLOT="0"
+KEYWORDS="~amd64 ~x86"
-DEPEND="
+RDEPEND="
>=gnome-base/libglade-2.4
- virtual/pkgconfig
x11-libs/gtk+:2
x11-wm/e16
"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
PATCHES=(
- "${FILESDIR}/${PN}-no-default-docs.patch"
- "${FILESDIR}/${PN}-no-common.patch"
+ "${FILESDIR}"/${PN}-missing-include.patch
+ "${FILESDIR}"/${PN}-autotools.patch
+ "${FILESDIR}"/${PN}-no-common.patch
)
-
-src_prepare() {
- sed -i '1i#include <glib/gstdio.h>' src/e16menuedit2.c || die
- gnome2_src_prepare
-}
diff --git a/x11-misc/e16menuedit2/files/e16menuedit2-no-default-docs.patch b/x11-misc/e16menuedit2/files/e16menuedit2-autotools.patch
similarity index 51%
rename from x11-misc/e16menuedit2/files/e16menuedit2-no-default-docs.patch
rename to x11-misc/e16menuedit2/files/e16menuedit2-autotools.patch
index bb456d52b0d7..98ae4d6fbd99 100644
--- a/x11-misc/e16menuedit2/files/e16menuedit2-no-default-docs.patch
+++ b/x11-misc/e16menuedit2/files/e16menuedit2-autotools.patch
@@ -1,5 +1,5 @@
---- e16menuedit2-0.0.3/Makefile.am.orig 2019-03-08 00:52:08.000000000 +0300
-+++ e16menuedit2-0.0.3/Makefile.am 2019-03-08 00:52:31.930201552 +0300
+--- a/Makefile.am
++++ b/Makefile.am
@@ -2,15 +2,8 @@
SUBDIRS = src po pixmaps help
@@ -18,3 +18,13 @@
GLADE_FILES = e16menuedit2.glade
+--- a/configure.in
++++ b/configure.in
+@@ -1,6 +1,6 @@
+ dnl Process this file with autoconf to produce a configure script.
+
+-AC_INIT(configure.in)
++AC_INIT(configure.ac)
+ AM_INIT_AUTOMAKE(e16menuedit2, 0.0.3)
+ AM_CONFIG_HEADER(config.h)
+ AM_MAINTAINER_MODE
diff --git a/x11-misc/e16menuedit2/files/e16menuedit2-missing-include.patch b/x11-misc/e16menuedit2/files/e16menuedit2-missing-include.patch
new file mode 100644
index 000000000000..25cc8908177c
--- /dev/null
+++ b/x11-misc/e16menuedit2/files/e16menuedit2-missing-include.patch
@@ -0,0 +1,10 @@
+--- a/src/e16menuedit2.c
++++ b/src/e16menuedit2.c
+@@ -31,6 +31,7 @@
+ #include <sys/types.h>
+ #include <string.h>
+ #include <stdarg.h>
++#include <glib/gstdio.h>
+ #include "callbacks.h"
+ #include "e16menuedit2.h"
+ #include "file.h"
diff --git a/x11-misc/e16menuedit2/files/e16menuedit2-no-common.patch b/x11-misc/e16menuedit2/files/e16menuedit2-no-common.patch
index 4ac213b101f9..521be7df2b0d 100644
--- a/x11-misc/e16menuedit2/files/e16menuedit2-no-common.patch
+++ b/x11-misc/e16menuedit2/files/e16menuedit2-no-common.patch
@@ -1,5 +1,5 @@
---- e16menuedit2-0.0.3/src/e16menu.h.orig 2020-10-11 10:41:36.827021380 +0300
-+++ e16menuedit2-0.0.3/src/e16menu.h 2020-10-11 10:51:27.043070842 +0300
+--- a/src/e16menu.h
++++ b/src/e16menu.h
@@ -45,6 +45,6 @@
gboolean table_check_func (GtkTreeModel *model, GtkTreePath *path,
GtkTreeIter *iter, gpointer user_data);
@@ -8,8 +8,8 @@
+extern gchar *menu_file[MAX_RECURSION];
#endif /* _E16MENU_H */
---- e16menuedit2-0.0.3/src/e16menu.c.orig 2005-02-18 15:09:55.000000000 +0300
-+++ e16menuedit2-0.0.3/src/e16menu.c 2020-10-11 10:51:52.615152314 +0300
+--- a/src/e16menu.c
++++ b/src/e16menu.c
@@ -34,6 +34,7 @@
#include "treeview.h"
next reply other threads:[~2023-10-07 22:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-07 22:20 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-03-08 5:35 [gentoo-commits] repo/gentoo:master commit in: x11-misc/e16menuedit2/files/, x11-misc/e16menuedit2/ Andrew Savchenko
2018-06-22 18:50 Michał Górny
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=1696717182.b7b6297354122788f6f529d9a63b890dd59d6035.soap@gentoo \
--to=soap@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