* [gentoo-commits] repo/gentoo:master commit in: games-board/biloba/files/, games-board/biloba/
@ 2016-09-08 17:25 Austin English
0 siblings, 0 replies; 3+ messages in thread
From: Austin English @ 2016-09-08 17:25 UTC (permalink / raw
To: gentoo-commits
commit: b11b60745c13868beb102818a7eb12d160c10ffa
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 8 16:35:32 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Sep 8 17:25:06 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b11b6074
games-board/biloba: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: portage-2.3.0
games-board/biloba/biloba-0.9.3-r1.ebuild | 52 ++++++++++++++++++++++
.../biloba/files/biloba-0.9.3-no-X11-dep.patch | 4 +-
.../biloba/files/biloba-0.9.3-not-windows.patch | 4 +-
3 files changed, 56 insertions(+), 4 deletions(-)
diff --git a/games-board/biloba/biloba-0.9.3-r1.ebuild b/games-board/biloba/biloba-0.9.3-r1.ebuild
new file mode 100644
index 00000000..6d830fc
--- /dev/null
+++ b/games-board/biloba/biloba-0.9.3-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils gnome2-utils
+
+DESCRIPTION="a board game, up to 4 players, with AI and network"
+HOMEPAGE="http://biloba.sourceforge.net/"
+SRC_URI="mirror://sourceforge/biloba/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl:0[X,video,sound]
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer"
+RDEPEND=${DEPEND}
+
+PATCHES=(
+ # X11 headers are checked but not used, everything is done through SDL
+ "${FILESDIR}"/${P}-not-windows.patch
+ "${FILESDIR}"/${P}-no-X11-dep.patch
+)
+
+src_prepare() {
+ default
+
+ # "missing" file is old, and warns about --run not being supported
+ rm -f missing
+ eautoreconf
+}
+
+src_install() {
+ default
+ newicon -s 64 biloba_icon.png ${PN}.png
+ make_desktop_entry biloba Biloba
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-board/biloba/files/biloba-0.9.3-no-X11-dep.patch b/games-board/biloba/files/biloba-0.9.3-no-X11-dep.patch
index 4c4ef50..adc8395 100644
--- a/games-board/biloba/files/biloba-0.9.3-no-X11-dep.patch
+++ b/games-board/biloba/files/biloba-0.9.3-no-X11-dep.patch
@@ -1,5 +1,5 @@
---- configure.ac.orig 2006-07-29 11:38:43.000000000 +0200
-+++ configure.ac 2006-07-29 11:40:52.000000000 +0200
+--- a/configure.ac 2006-07-29 11:38:43.000000000 +0200
++++ b/configure.ac 2006-07-29 11:40:52.000000000 +0200
@@ -40,14 +40,6 @@
;;
*)
diff --git a/games-board/biloba/files/biloba-0.9.3-not-windows.patch b/games-board/biloba/files/biloba-0.9.3-not-windows.patch
index c0ed069..035685c 100644
--- a/games-board/biloba/files/biloba-0.9.3-not-windows.patch
+++ b/games-board/biloba/files/biloba-0.9.3-not-windows.patch
@@ -1,5 +1,5 @@
---- configure.ac.old 2008-01-14 14:51:11.000000000 +0100
-+++ configure.ac 2008-12-28 12:57:13.000000000 +0100
+--- a/configure.ac 2008-01-14 14:51:11.000000000 +0100
++++ b/configure.ac 2008-12-28 12:57:13.000000000 +0100
@@ -73,12 +65,6 @@
AC_MSG_ERROR([*** SDL-Mixer not found!]))
AC_CHECK_HEADER(SDL/SDL_mixer.h, , AC_MSG_ERROR([*** SDL-mixer devel files not found!]))
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-board/biloba/files/, games-board/biloba/
@ 2020-10-15 18:51 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2020-10-15 18:51 UTC (permalink / raw
To: gentoo-commits
commit: 695d9059933b729bb333cfe00e0223f632ae32ca
Author: Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Sun Oct 4 23:42:52 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 15 18:51:26 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=695d9059
games-board/biloba: fix build with gcc 10
Closes: https://bugs.gentoo.org/707232
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-board/biloba/biloba-0.9.3-r2.ebuild | 48 ++++++++++++++++++++++
games-board/biloba/files/biloba-0.9.3-gcc-10.patch | 30 ++++++++++++++
2 files changed, 78 insertions(+)
diff --git a/games-board/biloba/biloba-0.9.3-r2.ebuild b/games-board/biloba/biloba-0.9.3-r2.ebuild
new file mode 100644
index 00000000000..a79b45bdd80
--- /dev/null
+++ b/games-board/biloba/biloba-0.9.3-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop xdg-utils
+
+DESCRIPTION="a board game, up to 4 players, with AI and network"
+HOMEPAGE="http://biloba.sourceforge.net/"
+SRC_URI="mirror://sourceforge/biloba/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="media-libs/libsdl:0[X,video,sound]
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ # X11 headers are checked but not used, everything is done through SDL
+ "${FILESDIR}"/${P}-not-windows.patch
+ "${FILESDIR}"/${P}-no-X11-dep.patch
+ "${FILESDIR}/${P}-gcc-10.patch"
+)
+
+src_prepare() {
+ default
+
+ # "missing" file is old, and warns about --run not being supported
+ rm missing || die
+ eautoreconf
+}
+
+src_install() {
+ default
+ newicon -s 64 biloba_icon.png ${PN}.png
+ make_desktop_entry biloba Biloba
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/games-board/biloba/files/biloba-0.9.3-gcc-10.patch b/games-board/biloba/files/biloba-0.9.3-gcc-10.patch
new file mode 100644
index 00000000000..69d27f9aa7b
--- /dev/null
+++ b/games-board/biloba/files/biloba-0.9.3-gcc-10.patch
@@ -0,0 +1,30 @@
+Description: Fix FTBFS with gcc 10
+Author: Ricardo Mones <mones@debian.org>
+Bug-Debian: https://bugs.debian.org/957039
+Last-Update: 2020-08-29
+
+diff --git a/src/utils.c b/src/utils.c
+index 73bbd05..c51365d 100644
+--- a/src/utils.c
++++ b/src/utils.c
+@@ -53,6 +53,7 @@
+
+ char *progpath = NULL;
+ char *langpath = NULL;
++SDL_Surface * screen;
+
+ /**
+ * Get an object's X coordinate as pixels
+diff --git a/src/utils.h b/src/utils.h
+index 9b0b155..2018969 100644
+--- a/src/utils.h
++++ b/src/utils.h
+@@ -87,7 +87,7 @@
+ extern char *progpath;
+ extern char *langpath;
+
+-SDL_Surface * screen;
++extern SDL_Surface * screen;
+
+ int get_x(int x);
+ int get_y(int y);
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-board/biloba/files/, games-board/biloba/
@ 2025-04-27 22:53 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2025-04-27 22:53 UTC (permalink / raw
To: gentoo-commits
commit: 197e7f499b0c12b494d5a0e1bfb95c17c78746dc
Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Sun Apr 27 22:14:36 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 27 22:52:30 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=197e7f49
games-board/biloba: update EAPI 7 -> 8, fix build with gcc 15
Closes: https://bugs.gentoo.org/944258
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/41801
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-board/biloba/biloba-0.9.3-r3.ebuild | 41 ++++++++++++++++++++++
games-board/biloba/files/biloba-0.9.3-gcc-15.patch | 30 ++++++++++++++++
2 files changed, 71 insertions(+)
diff --git a/games-board/biloba/biloba-0.9.3-r3.ebuild b/games-board/biloba/biloba-0.9.3-r3.ebuild
new file mode 100644
index 000000000000..004056f31d67
--- /dev/null
+++ b/games-board/biloba/biloba-0.9.3-r3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools desktop xdg
+
+DESCRIPTION="Board game, up to 4 players, with AI and network"
+HOMEPAGE="https://biloba.sourceforge.net/"
+SRC_URI="https://downloads.sourceforge.net/biloba/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="media-libs/libsdl:0[X,video,sound]
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ # X11 headers are checked but not used, everything is done through SDL
+ "${FILESDIR}"/${P}-not-windows.patch
+ "${FILESDIR}"/${P}-no-X11-dep.patch
+ "${FILESDIR}/${P}-gcc-10.patch"
+ "${FILESDIR}/${P}-gcc-15.patch"
+)
+
+src_prepare() {
+ default
+
+ # "missing" file is old, and warns about --run not being supported
+ rm missing || die
+ eautoreconf
+}
+
+src_install() {
+ default
+ newicon -s 64 biloba_icon.png ${PN}.png
+ make_desktop_entry biloba Biloba
+}
diff --git a/games-board/biloba/files/biloba-0.9.3-gcc-15.patch b/games-board/biloba/files/biloba-0.9.3-gcc-15.patch
new file mode 100644
index 000000000000..18bcf9c92355
--- /dev/null
+++ b/games-board/biloba/files/biloba-0.9.3-gcc-15.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/944258
+
+--- a/src/utils.c
++++ b/src/utils.c
+@@ -396,9 +396,9 @@ static int is_inited = FALSE;
+ *
+ * @param bool Whether the game is inited
+ */
+-void game_init(int bool)
++void game_init(int boo)
+ {
+- is_inited = bool;
++ is_inited = boo;
+ }
+
+ /**
+--- a/src/utils.h
++++ b/src/utils.h
+@@ -95,9 +95,9 @@ int get_y(int y);
+ void put_image(SDL_Surface *surface, int x, int y);
+
+ int should_quit(void);
+-void game_init(int bool);
++void game_init(int boo);
+ int game_inited(void);
+-void game_suspend(int bool);
++void game_suspend(int boo);
+ int game_suspended(void);
+ int game_num_players(void);
+ int game_num_net_players(void);
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-04-27 22:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-27 22:53 [gentoo-commits] repo/gentoo:master commit in: games-board/biloba/files/, games-board/biloba/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2020-10-15 18:51 Sam James
2016-09-08 17:25 Austin English
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox