* [gentoo-commits] repo/gentoo:master commit in: games-board/eboard/files/, games-board/eboard/
@ 2016-09-07 23:29 Austin English
0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2016-09-07 23:29 UTC (permalink / raw
To: gentoo-commits
commit: e1a391c2c1fdb2ae97e191e1d39de43736da4e21
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 7 22:45:39 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Sep 7 23:28:55 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1a391c2
games-board/eboard: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: portage-2.3.0
games-board/eboard/eboard-1.1.1-r2.ebuild | 75 ++++++++++++++++++++++
.../eboard/files/eboard-1.1.1-as-needed.patch | 8 +--
games-board/eboard/files/eboard-1.1.1-gcc44.patch | 4 +-
.../eboard/files/eboard-1.1.1-libpng15.patch | 4 +-
.../eboard/files/eboard-1.1.1-ovflfix.patch | 8 +--
5 files changed, 87 insertions(+), 12 deletions(-)
diff --git a/games-board/eboard/eboard-1.1.1-r2.ebuild b/games-board/eboard/eboard-1.1.1-r2.ebuild
new file mode 100644
index 00000000..2b32096
--- /dev/null
+++ b/games-board/eboard/eboard-1.1.1-r2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DEB_V=${PV}-4.1
+EXTRAS1="eboard-extras-1pl2"
+EXTRAS2="eboard-extras-2"
+DESCRIPTION="chess interface for POSIX systems"
+HOMEPAGE="http://www.bergo.eng.br/eboard/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+ mirror://sourceforge/${PN}/${EXTRAS1}.tar.gz
+ mirror://sourceforge/${PN}/${EXTRAS2}.tar.gz
+ mirror://debian/pool/main/e/eboard/${PN}_${DEB_V}.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls"
+
+RDEPEND="
+ media-libs/libpng:0=
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${WORKDIR}"/${PN}_${DEB_V}.diff
+ "${FILESDIR}"/${P}-as-needed.patch
+ "${FILESDIR}"/${P}-gcc44.patch
+ "${FILESDIR}"/${P}-ovflfix.patch
+ "${FILESDIR}"/${P}-libpng15.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e "s:(\"-O6\"):split(' ', \"${CXXFLAGS}\"):" \
+ configure || die
+}
+
+src_configure() {
+ ./configure \
+ --compiler="$(tc-getCXX)" \
+ --prefix="/usr" \
+ --data-prefix="/usr/share" \
+ --man-prefix="/usr/share/man" \
+ --extra-libs="dl" \
+ $(use_enable nls) || die # not an autoconf script
+}
+
+src_install() {
+ default
+ dodoc Documentation/*.txt
+
+ newicon icon-eboard.xpm ${PN}.xpm
+ make_desktop_entry ${PN} ${PN} ${PN}
+
+ cd "${WORKDIR}"/${EXTRAS1}
+ insinto /usr/share/${PN}
+ doins *.png *.wav
+ newins extras1.conf themeconf.extras1
+ newdoc ChangeLog Changelog.extras
+ newdoc README README.extras
+ dodoc CREDITS
+
+ cd "${WORKDIR}"/${EXTRAS2}
+ doins *.png *.wav
+ newins extras2.conf themeconf.extras2
+}
diff --git a/games-board/eboard/files/eboard-1.1.1-as-needed.patch b/games-board/eboard/files/eboard-1.1.1-as-needed.patch
index b4ec397..199dd0e 100644
--- a/games-board/eboard/files/eboard-1.1.1-as-needed.patch
+++ b/games-board/eboard/files/eboard-1.1.1-as-needed.patch
@@ -1,5 +1,5 @@
---- configure.old 2009-02-03 14:46:21.000000000 +0100
-+++ configure 2009-02-03 14:48:13.000000000 +0100
+--- a/configure 2009-02-03 14:46:21.000000000 +0100
++++ b/configure 2009-02-03 14:48:13.000000000 +0100
@@ -638,7 +638,7 @@
print CONFIGMAKE "CXX = $cxx\n";
@@ -9,8 +9,8 @@
print CONFIGMAKE "prefix = \${DESTDIR}$prefix\n";
print CONFIGMAKE "bindir = \${DESTDIR}$prefix/bin\n";
---- elifekam.old 2009-02-03 14:48:43.000000000 +0100
-+++ elifekam 2009-02-03 14:48:58.000000000 +0100
+--- a/elifekam 2009-02-03 14:48:43.000000000 +0100
++++ b/elifekam 2009-02-03 14:48:58.000000000 +0100
@@ -24,7 +24,7 @@
all: eboard nls-dicts
diff --git a/games-board/eboard/files/eboard-1.1.1-gcc44.patch b/games-board/eboard/files/eboard-1.1.1-gcc44.patch
index 43a2639..60e7d81 100644
--- a/games-board/eboard/files/eboard-1.1.1-gcc44.patch
+++ b/games-board/eboard/files/eboard-1.1.1-gcc44.patch
@@ -1,5 +1,5 @@
---- ntext.cc
-+++ ntext.cc
+--- a/ntext.cc
++++ b/ntext.cc
@@ -244,7 +244,7 @@
return;
}
diff --git a/games-board/eboard/files/eboard-1.1.1-libpng15.patch b/games-board/eboard/files/eboard-1.1.1-libpng15.patch
index 8ab2832..cd0ccf8 100644
--- a/games-board/eboard/files/eboard-1.1.1-libpng15.patch
+++ b/games-board/eboard/files/eboard-1.1.1-libpng15.patch
@@ -1,5 +1,5 @@
---- cimg.cc
-+++ cimg.cc
+--- a/cimg.cc
++++ b/cimg.cc
@@ -94,11 +95,11 @@
ct == PNG_COLOR_TYPE_GRAY_ALPHA)
png_set_gray_to_rgb(pngp);
diff --git a/games-board/eboard/files/eboard-1.1.1-ovflfix.patch b/games-board/eboard/files/eboard-1.1.1-ovflfix.patch
index 4a586b2..b09c4db 100644
--- a/games-board/eboard/files/eboard-1.1.1-ovflfix.patch
+++ b/games-board/eboard/files/eboard-1.1.1-ovflfix.patch
@@ -1,5 +1,5 @@
---- proto_xboard.cc.old 2010-11-03 16:42:15.000000000 +0100
-+++ proto_xboard.cc 2010-11-03 16:43:14.000000000 +0100
+--- a/proto_xboard.cc 2010-11-03 16:42:15.000000000 +0100
++++ b/proto_xboard.cc 2010-11-03 16:43:14.000000000 +0100
@@ -1084,7 +1084,7 @@
snprintf(EngineCommandLine,512,"crafty bookpath=%s logpath=%s tbpath=%s",
BookPath,LogPath,LogPath);
@@ -9,8 +9,8 @@
else
strcpy(EngineRunDir,"/tmp");
---- util.cc.old 2010-11-03 16:42:24.000000000 +0100
-+++ util.cc 2010-11-03 16:43:42.000000000 +0100
+--- a/util.cc 2010-11-03 16:42:24.000000000 +0100
++++ b/util.cc 2010-11-03 16:43:42.000000000 +0100
@@ -783,7 +783,7 @@
int i,n;
char cmd[1024];
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-board/eboard/files/, games-board/eboard/
@ 2021-04-04 6:33 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-04-04 6:33 UTC (permalink / raw
To: gentoo-commits
commit: 8e15b265573db0e37f25572bfaeea860366a924b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 4 06:25:40 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 4 06:32:26 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e15b265
games-board/eboard: port to EAPI 7, eutils->desktop, missing deps
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-board/eboard/eboard-1.1.1-r2.ebuild | 28 +++++++++++++++-------
.../eboard/files/eboard-1.1.1-as-needed.patch | 4 ++--
.../eboard/files/eboard-1.1.1-ovflfix.patch | 8 +++----
3 files changed, 26 insertions(+), 14 deletions(-)
diff --git a/games-board/eboard/eboard-1.1.1-r2.ebuild b/games-board/eboard/eboard-1.1.1-r2.ebuild
index b1bc8ad5f82..78fc1bebf65 100644
--- a/games-board/eboard/eboard-1.1.1-r2.ebuild
+++ b/games-board/eboard/eboard-1.1.1-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit eutils toolchain-funcs
+inherit desktop toolchain-funcs
DEB_V=${PV}-4.1
EXTRAS1="eboard-extras-1pl2"
@@ -21,11 +21,23 @@ KEYWORDS="~amd64 ~x86"
IUSE="nls"
RDEPEND="
+ dev-libs/atk
+ dev-libs/glib
+ dev-libs/gobject-introspection
+ media-libs/fontconfig
+ media-libs/freetype
media-libs/libpng:0=
- x11-libs/gtk+:2"
-DEPEND="${RDEPEND}
+ sys-libs/zlib
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:2
+ x11-libs/pango
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
dev-lang/perl
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
PATCHES=(
"${WORKDIR}"/${PN}_${DEB_V}.diff
@@ -60,7 +72,7 @@ src_install() {
newicon icon-eboard.xpm ${PN}.xpm
make_desktop_entry ${PN} ${PN} ${PN}
- cd "${WORKDIR}"/${EXTRAS1}
+ cd "${WORKDIR}"/${EXTRAS1} || die
insinto /usr/share/${PN}
doins *.png *.wav
newins extras1.conf themeconf.extras1
@@ -68,7 +80,7 @@ src_install() {
newdoc README README.extras
dodoc CREDITS
- cd "${WORKDIR}"/${EXTRAS2}
+ cd "${WORKDIR}"/${EXTRAS2} || die
doins *.png *.wav
newins extras2.conf themeconf.extras2
}
diff --git a/games-board/eboard/files/eboard-1.1.1-as-needed.patch b/games-board/eboard/files/eboard-1.1.1-as-needed.patch
index 199dd0e70a2..bcd1c456422 100644
--- a/games-board/eboard/files/eboard-1.1.1-as-needed.patch
+++ b/games-board/eboard/files/eboard-1.1.1-as-needed.patch
@@ -1,5 +1,5 @@
---- a/configure 2009-02-03 14:46:21.000000000 +0100
-+++ b/configure 2009-02-03 14:48:13.000000000 +0100
+--- a/configure
++++ b/configure
@@ -638,7 +638,7 @@
print CONFIGMAKE "CXX = $cxx\n";
diff --git a/games-board/eboard/files/eboard-1.1.1-ovflfix.patch b/games-board/eboard/files/eboard-1.1.1-ovflfix.patch
index b09c4dba880..60c428d3a29 100644
--- a/games-board/eboard/files/eboard-1.1.1-ovflfix.patch
+++ b/games-board/eboard/files/eboard-1.1.1-ovflfix.patch
@@ -1,5 +1,5 @@
---- a/proto_xboard.cc 2010-11-03 16:42:15.000000000 +0100
-+++ b/proto_xboard.cc 2010-11-03 16:43:14.000000000 +0100
+--- a/proto_xboard.cc
++++ b/proto_xboard.cc
@@ -1084,7 +1084,7 @@
snprintf(EngineCommandLine,512,"crafty bookpath=%s logpath=%s tbpath=%s",
BookPath,LogPath,LogPath);
@@ -9,8 +9,8 @@
else
strcpy(EngineRunDir,"/tmp");
---- a/util.cc 2010-11-03 16:42:24.000000000 +0100
-+++ b/util.cc 2010-11-03 16:43:42.000000000 +0100
+--- a/util.cc
++++ b/util.cc
@@ -783,7 +783,7 @@
int i,n;
char cmd[1024];
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-04 6:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-07 23:29 [gentoo-commits] repo/gentoo:master commit in: games-board/eboard/files/, games-board/eboard/ Austin English
-- strict thread matches above, loose matches on Subject: below --
2021-04-04 6:33 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox