[gentoo-commits] repo/gentoo:master commit in: games-arcade/xboing/, games-arcade/xboing/files/

2023-04-08 Thread Andreas K. Hüttel
commit: dda167183bd8954fcc1799816d1cde020612a037
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Apr  8 18:30:27 2023 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Apr  8 18:30:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dda16718

games-arcade/xboing: fix musl build

Closes: https://bugs.gentoo.org/715272
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 games-arcade/xboing/files/xboing-2.4-musl.patch | 11 +++
 games-arcade/xboing/xboing-2.4-r4.ebuild|  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/games-arcade/xboing/files/xboing-2.4-musl.patch 
b/games-arcade/xboing/files/xboing-2.4-musl.patch
new file mode 100644
index ..b24084e9206e
--- /dev/null
+++ b/games-arcade/xboing/files/xboing-2.4-musl.patch
@@ -0,0 +1,11 @@
+diff -ruN xboing.orig/include/file.h xboing/include/file.h
+--- xboing.orig/include/file.h 1996-11-22 02:28:34.0 +0100
 xboing/include/file.h  2023-04-08 20:27:45.157804561 +0200
+@@ -52,6 +52,7 @@
+ 
+ #include 
+ #include 
++#include 
+ 
+ /*
+  *  Constants and macros:

diff --git a/games-arcade/xboing/xboing-2.4-r4.ebuild 
b/games-arcade/xboing/xboing-2.4-r4.ebuild
index c92635a96e67..d427db516466 100644
--- a/games-arcade/xboing/xboing-2.4-r4.ebuild
+++ b/games-arcade/xboing/xboing-2.4-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -33,6 +33,7 @@ PATCHES=(
"${FILESDIR}"/${P}-buffer.patch
"${FILESDIR}"/${P}-sleep.patch
"${FILESDIR}"/${P}-clang16.patch
+   "${FILESDIR}"/${P}-musl.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/xboing/

2021-04-15 Thread Sam James
commit: a9f83014e6e771b681153ca870fb0d306da51e11
Author: Ionen Wolkens  gmail  com>
AuthorDate: Thu Apr 15 16:36:41 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 16 04:46:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9f83014

games-arcade/xboing: EAPI-7 bump, eutils drop, tidy, prefix support

Signed-off-by: Ionen Wolkens  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 games-arcade/xboing/xboing-2.4-r3.ebuild | 62 ++--
 1 file changed, 35 insertions(+), 27 deletions(-)

diff --git a/games-arcade/xboing/xboing-2.4-r3.ebuild 
b/games-arcade/xboing/xboing-2.4-r3.ebuild
index 48583653f80..354b48020f5 100644
--- a/games-arcade/xboing/xboing-2.4-r3.ebuild
+++ b/games-arcade/xboing/xboing-2.4-r3.ebuild
@@ -1,62 +1,70 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit eutils flag-o-matic toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Blockout type game where you bounce a ball trying to destroy 
blocks"
 HOMEPAGE="http://www.techrescue.org/xboing/";
 SRC_URI="http://www.techrescue.org/xboing/${PN}${PV}.tar.gz
-   mirror://gentoo/xboing-${PV}-debian.patch.bz2"
+   mirror://gentoo/${P}-debian.patch.bz2"
+S="${WORKDIR}/${PN}"
 
 LICENSE="xboing"
 SLOT="0"
 KEYWORDS="amd64 ~x86"
-IUSE=""
 
-RDEPEND="acct-group/gamestat
+RDEPEND="
+   acct-group/gamestat
x11-libs/libXpm"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
app-text/rman
x11-misc/gccmakedep
-   >=x11-misc/imake-1.0.8-r1
-"
+   >=x11-misc/imake-1.0.8-r1"
 
-S=${WORKDIR}/${PN}
+PATCHES=(
+   "${WORKDIR}"/${P}-debian.patch
+   "${FILESDIR}"/${P}-buffer.patch
+   "${FILESDIR}"/${P}-sleep.patch
+)
 
 src_prepare() {
-   epatch "${WORKDIR}"/xboing-${PV}-debian.patch
-   epatch "${FILESDIR}"/xboing-${PV}-buffer.patch
-   epatch "${FILESDIR}"/xboing-${PV}-sleep.patch
+   default
sed -i '/^#include/s:xpm\.h:X11/xpm.h:' *.c || die
-   eapply_user
+   sed -i "s:GENTOO_VER:${PF/${PN}-/}:" Imakefile || die
 }
 
 src_configure() {
-   sed -i -e "s:GENTOO_VER:${PF/${PN}-/}:" Imakefile || die
-   append-cflags -fcommon
+   append-cflags -fcommon #707214
 
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die
 }
 
 src_compile() {
-   emake \
-   CC="$(tc-getCC)" \
-   CDEBUGFLAGS="${CFLAGS}" \
-   LOCAL_LDFLAGS="${LDFLAGS}" \
-   XBOING_DIR="/usr/share/${PN}"
+   local myemakeargs=(
+   CC="$(tc-getCC)"
+   CDEBUGFLAGS="${CFLAGS}"
+   LOCAL_LDFLAGS="${LDFLAGS}"
+   HIGH_SCORE_DIR="${EPREFIX}/var/games"
+   XBOING_DIR="${EPREFIX}/usr/share/${PN}"
+   )
+   emake "${myemakeargs[@]}"
 }
 
 src_install() {
-   emake \
-   CC="$(tc-getCC)" \
-   PREFIX="${D}" \
-   BINDIR="${D}/usr/bin" \
-   LOCAL_LDFLAGS="${LDFLAGS}" \
-   XBOING_DIR="/usr/share/${PN}" \
-   install
+   local myemakeargs=(
+   CC="$(tc-getCC)"
+   LOCAL_LDFLAGS="${LDFLAGS}"
+   PREFIX="${D}"
+   BINDIR="${ED}/usr/bin"
+   HIGH_SCORE_DIR="${EPREFIX}/var/games"
+   XBOING_DIR="${EPREFIX}/usr/share/${PN}"
+   )
+   emake "${myemakeargs[@]}" install
+
newman xboing.man xboing.6
dodoc README docs/*.doc
 



[gentoo-commits] repo/gentoo:master commit in: games-arcade/xboing/

2020-04-24 Thread Andreas K. Hüttel
commit: b3ab289285d6e23cc70866be4ec32c330399f3c2
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Apr 24 21:23:43 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Apr 24 21:23:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3ab2892

games-arcade/xboing: Apply -fcommon workaround

This is prehistoric software without upstream activity or even a
bugtracker. Let's keep it working as long as possible...

Closes: https://bugs.gentoo.org/707214
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 games-arcade/xboing/xboing-2.4-r3.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/games-arcade/xboing/xboing-2.4-r3.ebuild 
b/games-arcade/xboing/xboing-2.4-r3.ebuild
index 9c36b5a49e6..d4782422134 100644
--- a/games-arcade/xboing/xboing-2.4-r3.ebuild
+++ b/games-arcade/xboing/xboing-2.4-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit eutils
+inherit flag-o-matic eutils
 
 DESCRIPTION="Blockout type game where you bounce a ball trying to destroy 
blocks"
 HOMEPAGE="http://www.techrescue.org/xboing/";
@@ -36,6 +36,7 @@ src_prepare() {
 src_configure() {
xmkmf -a || die
sed -i -e "s:GENTOO_VER:${PF/${PN}-/}:" Imakefile || die
+   append-cflags -fcommon
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: games-arcade/xboing/

2019-12-23 Thread Andreas K. Hüttel
commit: f09b58ce50de9f7f3c0c5e3c44beda45f967bff9
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Mon Dec 23 09:16:52 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Mon Dec 23 09:17:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f09b58ce

games-arcade/xboing: Stable for amd64

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 games-arcade/xboing/xboing-2.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/xboing/xboing-2.4-r3.ebuild 
b/games-arcade/xboing/xboing-2.4-r3.ebuild
index 50f62a16acc..9c36b5a49e6 100644
--- a/games-arcade/xboing/xboing-2.4-r3.ebuild
+++ b/games-arcade/xboing/xboing-2.4-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.techrescue.org/xboing/${PN}${PV}.tar.gz
 
 LICENSE="xboing"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE=""
 
 RDEPEND="acct-group/gamestat



[gentoo-commits] repo/gentoo:master commit in: games-arcade/xboing/

2019-07-17 Thread James Le Cuirot
commit: 7a60a42a980050b74437cb1b027bef63f844b6bc
Author: Ulrich Müller  gentoo  org>
AuthorDate: Mon Jul  8 08:37:57 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Wed Jul 17 20:03:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a60a42a

games-arcade/xboing: Depend on acct-group/gamestat.

Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Ulrich Müller  gentoo.org>
Signed-off-by: James Le Cuirot  gentoo.org>

 games-arcade/xboing/xboing-2.4-r3.ebuild | 11 ---
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/games-arcade/xboing/xboing-2.4-r3.ebuild 
b/games-arcade/xboing/xboing-2.4-r3.ebuild
index 2d0088210af..50f62a16acc 100644
--- a/games-arcade/xboing/xboing-2.4-r3.ebuild
+++ b/games-arcade/xboing/xboing-2.4-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit eutils user
+inherit eutils
 
 DESCRIPTION="Blockout type game where you bounce a ball trying to destroy 
blocks"
 HOMEPAGE="http://www.techrescue.org/xboing/";
@@ -15,7 +15,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-RDEPEND="x11-libs/libXpm"
+RDEPEND="acct-group/gamestat
+   x11-libs/libXpm"
 DEPEND="${RDEPEND}
app-text/rman
x11-misc/gccmakedep
@@ -24,10 +25,6 @@ DEPEND="${RDEPEND}
 
 S=${WORKDIR}/${PN}
 
-pkg_setup(){
-   enewgroup gamestat 36
-}
-
 src_prepare() {
epatch "${WORKDIR}"/xboing-${PV}-debian.patch
epatch "${FILESDIR}"/xboing-${PV}-buffer.patch



[gentoo-commits] repo/gentoo:master commit in: games-arcade/xboing/

2015-11-22 Thread Andreas Hüttel
commit: cf0b709dc273cdce9cd248501128462e6d00d0f4
Author: Andreas K. Huettel (dilfridge)  gentoo  org>
AuthorDate: Sun Nov 22 19:10:01 2015 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sun Nov 22 19:10:33 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0b709d

games-arcade/xboing: Migrate away from games.eclass

Package-Manager: portage-2.2.25

 games-arcade/xboing/xboing-2.4-r3.ebuild | 66 
 1 file changed, 66 insertions(+)

diff --git a/games-arcade/xboing/xboing-2.4-r3.ebuild 
b/games-arcade/xboing/xboing-2.4-r3.ebuild
new file mode 100644
index 000..b210b8b
--- /dev/null
+++ b/games-arcade/xboing/xboing-2.4-r3.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils user
+
+DESCRIPTION="Blockout type game where you bounce a ball trying to destroy 
blocks"
+HOMEPAGE="http://www.techrescue.org/xboing/";
+SRC_URI="http://www.techrescue.org/xboing/${PN}${PV}.tar.gz
+   mirror://gentoo/xboing-${PV}-debian.patch.bz2"
+
+LICENSE="xboing"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXpm"
+DEPEND="${RDEPEND}
+   app-text/rman
+   x11-misc/gccmakedep
+   x11-misc/imake
+"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup(){
+   enewgroup gamestat 36
+}
+
+src_prepare() {
+   epatch "${WORKDIR}"/xboing-${PV}-debian.patch
+   epatch "${FILESDIR}"/xboing-${PV}-buffer.patch
+   epatch "${FILESDIR}"/xboing-${PV}-sleep.patch
+   sed -i '/^#include/s:xpm\.h:X11/xpm.h:' *.c || die
+   eapply_user
+}
+
+src_configure() {
+   xmkmf -a || die
+   sed -i -e "s:GENTOO_VER:${PF/${PN}-/}:" Imakefile || die
+}
+
+src_compile() {
+   emake \
+   CXXOPTIONS="${CXXFLAGS}" \
+   CDEBUGFLAGS="${CFLAGS}" \
+   LOCAL_LDFLAGS="${LDFLAGS}" \
+   XBOING_DIR="/usr/share/${PN}"
+}
+
+src_install() {
+   make \
+   PREFIX="${D}" \
+   BINDIR="${D}/usr/bin" \
+   LOCAL_LDFLAGS="${LDFLAGS}" \
+   XBOING_DIR="/usr/share/${PN}" \
+   install || die
+   newman xboing.man xboing.6
+   dodoc README docs/*.doc
+
+   fowners root:gamestat /var/games/xboing.score /usr/bin/xboing
+   fperms 660 /var/games/xboing.score
+   fperms 2755 /usr/bin/xboing
+}