[gentoo-commits] repo/gentoo:master commit in: games-board/awale/

2022-10-17 Thread Sam James
commit: 401d5b3e9565ff2bb2d721af04d2ae59adfde87e
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 18 02:25:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 18 02:28:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=401d5b3e

games-board/awale: add savannah-nongnu upstream metadata

Signed-off-by: Sam James  gentoo.org>

 games-board/awale/metadata.xml | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/games-board/awale/metadata.xml b/games-board/awale/metadata.xml
index 7c730d47817a..b64c8f429d0e 100644
--- a/games-board/awale/metadata.xml
+++ b/games-board/awale/metadata.xml
@@ -1,8 +1,11 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   ga...@gentoo.org
-   Gentoo Games Project
-   
+  
+ga...@gentoo.org
+Gentoo Games Project
+  
+  
+awale
+  
 



[gentoo-commits] repo/gentoo:master commit in: games-board/awale/, games-board/awale/files/

2021-06-29 Thread Ionen Wolkens
commit: 5394dc948588061ef8b8045c5352536fac126d44
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Jun 29 20:13:34 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Jun 29 20:53:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5394dc94

games-board/awale: drop 1.5-r1

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-board/awale/Manifest|   2 -
 games-board/awale/awale-1.5-r1.ebuild |  59 -
 games-board/awale/files/awale-1.5-build.patch | 116 --
 3 files changed, 177 deletions(-)

diff --git a/games-board/awale/Manifest b/games-board/awale/Manifest
index 1ff1ba01fb7..957a0135406 100644
--- a/games-board/awale/Manifest
+++ b/games-board/awale/Manifest
@@ -1,3 +1 @@
-DIST awale-1.5-no-autoreconf2.patch.xz 37268 BLAKE2B 
cec173e9b0be75c5d3d037a171fd796dccca5689e53f2e08d832e15a63d96502b4277f2ca6dbcbe817949cda8243aaacf7d7ede281fa32a34ffbf5f3031042f1
 SHA512 
857814c6ffe828bb0c3b82c214932ddf95162b7abaac6720db987f2af31a3b144543773a607edc70e0fceb8433f2aa519d3cfaca7474750cb45074aef0c37cb1
-DIST awale-1.5.tar.gz 489357 BLAKE2B 
d9f5efd10018b1e5f9964abf25189df5186159c7826c23b85f794999c5bc8d8ea93792e83dbde2ae010489a7d90258651e7ab7115e0fc361ce682968c438aed6
 SHA512 
b3f33068d7d6cfd964051e15cfd84e7f2c8483c30f2ccea35e2dddb34353ea984561fdf28c0d668404d80cda89c6d5fcd0004a1a86d92325e5f6fc2f88197c61
 DIST awale-1.6.tar.gz 490881 BLAKE2B 
721b8dfdc6dd7a558e43e00616372b2b1a89acf1cc79cb051650809b54605d4d0c2fbc91168ad940356748c0632fba7bd016db7afee2f977f8d52f64bdd08400
 SHA512 
0b9e4f18d6fbd5e8acdf8e5ecbbcebad4d732993cb61b8d84787fa2a9dad5b73eee62462fddc9296c050019de76a73b1e6d8d29d3ef57148ab086e49b1016f0d

diff --git a/games-board/awale/awale-1.5-r1.ebuild 
b/games-board/awale/awale-1.5-r1.ebuild
deleted file mode 100644
index 13e96b998a9..000
--- a/games-board/awale/awale-1.5-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# do not use autotools related stuff in stable ebuilds
-# unless you like random breakage: 469796, 469798, 424041
-
-EAPI=6
-
-inherit autotools eutils gnome2-utils
-
-DESCRIPTION="Free Awale - The game of all Africa"
-HOMEPAGE="http://www.nongnu.org/awale/;
-SRC_URI="mirror://nongnu/awale/${P}.tar.gz"
-SRC_URI="${SRC_URI} 
https://dev.gentoo.org/~hasufell/distfiles/${P}-no-autoreconf2.patch.xz; # 
STABLE ARCH
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="tk"
-
-RDEPEND="tk? ( dev-lang/tcl:0= dev-lang/tk:0= )"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-build.patch
-)
-
-src_prepare() {
-   default
-
-   mv src/xawale.tcl src/xawale.tcl.in || die
-   mv configure.{in,ac} || die
-   rm aclocal.m4 || die
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --mandir=/usr/share/man \
-   --with-iconsdir=/usr/share/icons/hicolor/48x48/apps \
-   --with-desktopdir=/usr/share/applications \
-   $(use_enable tk)
-}
-
-src_install() {
-   default
-   use tk && fperms +x /usr/share/${PN}/xawale.tcl
-}
-
-pkg_preinst() {
-   use tk && gnome2_icon_savelist
-}
-
-pkg_postinst() {
-   use tk && gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-   use tk && gnome2_icon_cache_update
-}

diff --git a/games-board/awale/files/awale-1.5-build.patch 
b/games-board/awale/files/awale-1.5-build.patch
deleted file mode 100644
index 0e8ca136a41..000
--- a/games-board/awale/files/awale-1.5-build.patch
+++ /dev/null
@@ -1,116 +0,0 @@
-From: Julian Ospald 
-Date: Sat Jan 26 20:04:17 UTC 2013
-Subject: build system
-
-   fix FHS compliance
-   add several switches for icon, desktopdir and tk
-   fix a few macros
-
 awale-1.5/src/Makefile.am
-+++ awale-1.5/src/Makefile.am
-@@ -1,24 +1,30 @@
- bin_PROGRAMS = awale
- awale_SOURCES = awale.c getopt.c getopt1.c getopt.h
--INCLUDES = -I. -I$(srcdir)
-+AM_CPPFLAGS = -I. -I$(srcdir)
-+
-+if TK_GUI
- bin_SCRIPTS = xawale
- xawale:
-   echo "#! /bin/sh" >$@
--  echo '`dirname $$0`/../share/awale/xawale.tcl' >>$@
-+  echo "cd \"$(datadir)/awale/\" ; exec \"$(datadir)/awale/xawale.tcl\"" 
>>$@
-   chmod ugo+x $@
--appdir = $(prefix)/share/applications
-+appdir = @DESKTOPFILESDIR@
- app_DATA = awale.desktop
- awale.desktop:
-   echo "[Desktop Entry]" >$@
-   echo "Name=Free Awale" >>$@
-   echo "Comment=Awale game" >>$@
-   echo "Exec=xawale" >>$@
--  echo  'Icon=$(pkgdatadir)/awale.png' >>$@
-+  echo  'Icon=awale' >>$@
-   echo "Terminal=false" >>$@
-   echo "Type=Application" >>$@
-   echo "Categories=Game;BoardGame;" >>$@
-   chmod 644 $@
- CLEANFILES = xawale awale.desktop
-+
-+xawale.tcl:
-+  sed 's|@my_bindir@|$(bindir)|' < $@.in > $@
-+
- pkgdata_SCRIPTS = xawale.tcl
- dist_pkgdata_DATA = Trou00.gif Trou01.gif Trou02.gif Trou03.gif Trou04.gif 
Trou05.gif \
- 

[gentoo-commits] repo/gentoo:master commit in: games-board/awale/

2021-06-28 Thread Ionen Wolkens
commit: ffb8a42bd5573fdd89e00eb8627326ffc2b8d844
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Jun 29 01:41:24 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Jun 29 01:45:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffb8a42b

games-board/awale: workaround install race condition

Lazy fix given this is only during install and upstream is dead.

Closes: https://bugs.gentoo.org/799107
Signed-off-by: Ionen Wolkens  gentoo.org>

 games-board/awale/awale-1.6.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/games-board/awale/awale-1.6.ebuild 
b/games-board/awale/awale-1.6.ebuild
index 4261d41fc69..45ed1e481f4 100644
--- a/games-board/awale/awale-1.6.ebuild
+++ b/games-board/awale/awale-1.6.ebuild
@@ -18,7 +18,7 @@ RDEPEND="gui? ( dev-lang/tk )"
 
 src_install() {
if use gui; then
-   default
+   emake -j1 DESTDIR="${D}" install #799107
 
fperms +x /usr/share/${PN}/xawale.tcl
 
@@ -29,6 +29,7 @@ src_install() {
else
dobin src/awale
doman man/awale.6
-   einstalldocs
fi
+
+   einstalldocs
 }



[gentoo-commits] repo/gentoo:master commit in: games-board/awale/

2021-06-28 Thread Ionen Wolkens
commit: ae5ed958a38679bdcba44eb9005cdbeced360ec6
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Mon Jun 28 08:27:08 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Mon Jun 28 16:42:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae5ed958

games-board/awale: add 1.6, EAPI 6->8

Previous build patch was largely intended to support games.eclass
but kept despite removal, and the SRC_URI patch wasn't used at all.

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-board/awale/Manifest |  1 +
 games-board/awale/awale-1.6.ebuild | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/games-board/awale/Manifest b/games-board/awale/Manifest
index a690f94b6f9..1ff1ba01fb7 100644
--- a/games-board/awale/Manifest
+++ b/games-board/awale/Manifest
@@ -1,2 +1,3 @@
 DIST awale-1.5-no-autoreconf2.patch.xz 37268 BLAKE2B 
cec173e9b0be75c5d3d037a171fd796dccca5689e53f2e08d832e15a63d96502b4277f2ca6dbcbe817949cda8243aaacf7d7ede281fa32a34ffbf5f3031042f1
 SHA512 
857814c6ffe828bb0c3b82c214932ddf95162b7abaac6720db987f2af31a3b144543773a607edc70e0fceb8433f2aa519d3cfaca7474750cb45074aef0c37cb1
 DIST awale-1.5.tar.gz 489357 BLAKE2B 
d9f5efd10018b1e5f9964abf25189df5186159c7826c23b85f794999c5bc8d8ea93792e83dbde2ae010489a7d90258651e7ab7115e0fc361ce682968c438aed6
 SHA512 
b3f33068d7d6cfd964051e15cfd84e7f2c8483c30f2ccea35e2dddb34353ea984561fdf28c0d668404d80cda89c6d5fcd0004a1a86d92325e5f6fc2f88197c61
+DIST awale-1.6.tar.gz 490881 BLAKE2B 
721b8dfdc6dd7a558e43e00616372b2b1a89acf1cc79cb051650809b54605d4d0c2fbc91168ad940356748c0632fba7bd016db7afee2f977f8d52f64bdd08400
 SHA512 
0b9e4f18d6fbd5e8acdf8e5ecbbcebad4d732993cb61b8d84787fa2a9dad5b73eee62462fddc9296c050019de76a73b1e6d8d29d3ef57148ab086e49b1016f0d

diff --git a/games-board/awale/awale-1.6.ebuild 
b/games-board/awale/awale-1.6.ebuild
new file mode 100644
index 000..4261d41fc69
--- /dev/null
+++ b/games-board/awale/awale-1.6.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop
+
+DESCRIPTION="Free Awale - The game of all Africa"
+HOMEPAGE="https://www.nongnu.org/awale/;
+SRC_URI="mirror://nongnu/awale/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gui"
+
+RDEPEND="gui? ( dev-lang/tk )"
+
+src_install() {
+   if use gui; then
+   default
+
+   fperms +x /usr/share/${PN}/xawale.tcl
+
+   doicon src/awale.png
+   make_desktop_entry xawale "Free Awale"
+
+   rm "${ED}"/usr/share/applications/awale.desktop || die
+   else
+   dobin src/awale
+   doman man/awale.6
+   einstalldocs
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: games-board/awale/

2016-09-08 Thread Austin English
commit: 88cffad02cf554b77e3bda2c7ad3fc4219ce12c8
Author: Austin English  gentoo  org>
AuthorDate: Thu Sep  8 18:24:18 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Thu Sep  8 18:24:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88cffad0

games-board/awale: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-board/awale/awale-1.5-r1.ebuild | 60 +++
 1 file changed, 60 insertions(+)

diff --git a/games-board/awale/awale-1.5-r1.ebuild 
b/games-board/awale/awale-1.5-r1.ebuild
new file mode 100644
index ..96ed7bc
--- /dev/null
+++ b/games-board/awale/awale-1.5-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# do not use autotools related stuff in stable ebuilds
+# unless you like random breakage: 469796, 469798, 424041
+
+EAPI=6
+
+inherit autotools eutils gnome2-utils
+
+DESCRIPTION="Free Awale - The game of all Africa"
+HOMEPAGE="http://www.nongnu.org/awale/;
+SRC_URI="mirror://nongnu/awale/${P}.tar.gz"
+SRC_URI="${SRC_URI} 
https://dev.gentoo.org/~hasufell/distfiles/${P}-no-autoreconf2.patch.xz; # 
STABLE ARCH
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="tk"
+
+RDEPEND="tk? ( dev-lang/tcl:0= dev-lang/tk:0= )"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-build.patch
+)
+
+src_prepare() {
+   default
+
+   mv src/xawale.tcl src/xawale.tcl.in || die
+   mv configure.{in,ac} || die
+   rm aclocal.m4 || die
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --mandir=/usr/share/man \
+   --with-iconsdir=/usr/share/icons/hicolor/48x48/apps \
+   --with-desktopdir=/usr/share/applications \
+   $(use_enable tk)
+}
+
+src_install() {
+   default
+   use tk && fperms +x /usr/share/${PN}/xawale.tcl
+}
+
+pkg_preinst() {
+   use tk && gnome2_icon_savelist
+}
+
+pkg_postinst() {
+   use tk && gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+   use tk && gnome2_icon_cache_update
+}