* [gentoo-commits] repo/gentoo:master commit in: x11-misc/lineak-xosdplugin/files/, x11-misc/lineak-xosdplugin/
@ 2019-04-24 15:55 Jeroen Roovers
0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers @ 2019-04-24 15:55 UTC (permalink / raw
To: gentoo-commits
commit: 01053ffcab41cf08c83b048fc10325f41eec6511
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 24 14:58:25 2019 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Apr 24 15:55:53 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01053ffc
x11-misc/lineak-xosdplugin: EAPI=7
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
.../files/lineak-xosdplugin-0.9.0-gcc43.patch | 5 +--
.../lineak-xosdplugin-0.9.0-r2.ebuild | 46 ++++++++++++++++++++++
2 files changed, 48 insertions(+), 3 deletions(-)
diff --git a/x11-misc/lineak-xosdplugin/files/lineak-xosdplugin-0.9.0-gcc43.patch b/x11-misc/lineak-xosdplugin/files/lineak-xosdplugin-0.9.0-gcc43.patch
index ed3f4017fb5..cb8473630ee 100644
--- a/x11-misc/lineak-xosdplugin/files/lineak-xosdplugin-0.9.0-gcc43.patch
+++ b/x11-misc/lineak-xosdplugin/files/lineak-xosdplugin-0.9.0-gcc43.patch
@@ -1,6 +1,5 @@
-diff -urNad lineak-xosdplugin-0.9~/xosd_plugin/xosdctrl.cpp lineak-xosdplugin-0.9/xosd_plugin/xosdctrl.cpp
---- lineak-xosdplugin-0.9~/xosd_plugin/xosdctrl.cpp 2006-02-08 18:32:13.000000000 +0000
-+++ lineak-xosdplugin-0.9/xosd_plugin/xosdctrl.cpp 2008-03-17 04:35:12.000000000 +0000
+--- a/xosd_plugin/xosdctrl.cpp
++++ b/xosd_plugin/xosdctrl.cpp
@@ -21,6 +21,8 @@
#include <lineak/lconfig.h>
#include <lineak/lineak_core_functions.h>
diff --git a/x11-misc/lineak-xosdplugin/lineak-xosdplugin-0.9.0-r2.ebuild b/x11-misc/lineak-xosdplugin/lineak-xosdplugin-0.9.0-r2.ebuild
new file mode 100644
index 00000000000..aea5af6276d
--- /dev/null
+++ b/x11-misc/lineak-xosdplugin/lineak-xosdplugin-0.9.0-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit multilib
+
+MY_P=${P/.0/}
+
+DESCRIPTION="Xosd plugin for LINEAK"
+HOMEPAGE="http://lineak.sourceforge.net/"
+SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug"
+
+DEPEND="
+ =x11-misc/lineakd-${PV}*
+ x11-libs/xosd
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+S=${WORKDIR}/${MY_P}
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc43.patch
+)
+
+src_configure() {
+ econf $(use_enable debug) --with-x
+}
+
+src_compile() {
+ emake LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ PLUGINDIR=/usr/$(get_libdir)/lineakd/plugins \
+ install
+
+ dodoc AUTHORS README
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: x11-misc/lineak-xosdplugin/files/, x11-misc/lineak-xosdplugin/
@ 2023-01-05 7:47 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2023-01-05 7:47 UTC (permalink / raw
To: gentoo-commits
commit: 7649c0fd302052c6f44d919fdf43b797e233f58c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 5 07:13:24 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 5 07:45:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7649c0fd
x11-misc/lineak-xosdplugin: fix configure w/ clang 16
Closes: https://bugs.gentoo.org/879783
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/lineak-xosdplugin-0.9.0-configure-clang16.patch | 14 ++++++++++++++
...n-0.9.0-r2.ebuild => lineak-xosdplugin-0.9.0-r3.ebuild} | 5 +++--
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/x11-misc/lineak-xosdplugin/files/lineak-xosdplugin-0.9.0-configure-clang16.patch b/x11-misc/lineak-xosdplugin/files/lineak-xosdplugin-0.9.0-configure-clang16.patch
new file mode 100644
index 000000000000..256903d502ee
--- /dev/null
+++ b/x11-misc/lineak-xosdplugin/files/lineak-xosdplugin-0.9.0-configure-clang16.patch
@@ -0,0 +1,14 @@
+autoreconf fails and it's a trivial fix to the generated configure, so let's
+just patch that instead. This is fixed in autoconf itself in newer versions.
+
+https://bugs.gentoo.org/879783
+--- a/configure
++++ b/configure
+@@ -7153,6 +7153,7 @@ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+ #include <ctype.h>
++#include <stdlib.h>
+ #if ((' ' & 0x0FF) == 0x020)
+ # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+ # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
diff --git a/x11-misc/lineak-xosdplugin/lineak-xosdplugin-0.9.0-r2.ebuild b/x11-misc/lineak-xosdplugin/lineak-xosdplugin-0.9.0-r3.ebuild
similarity index 89%
rename from x11-misc/lineak-xosdplugin/lineak-xosdplugin-0.9.0-r2.ebuild
rename to x11-misc/lineak-xosdplugin/lineak-xosdplugin-0.9.0-r3.ebuild
index 5ad5aca6757c..0f57d3d19650 100644
--- a/x11-misc/lineak-xosdplugin/lineak-xosdplugin-0.9.0-r2.ebuild
+++ b/x11-misc/lineak-xosdplugin/lineak-xosdplugin-0.9.0-r3.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=7
+EAPI=8
MY_P=${P/.0/}
DESCRIPTION="Xosd plugin for LINEAK"
@@ -22,6 +22,7 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-configure-clang16.patch
)
src_configure() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-05 7:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-05 7:47 [gentoo-commits] repo/gentoo:master commit in: x11-misc/lineak-xosdplugin/files/, x11-misc/lineak-xosdplugin/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2019-04-24 15:55 Jeroen Roovers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox