public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-board/ascal/, games-board/ascal/files/
@ 2016-09-08 18:24 Austin English
  0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2016-09-08 18:24 UTC (permalink / raw
  To: gentoo-commits

commit:     9168c3eb358259c3c3e80fedf1019607d179ada6
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  8 18:20:35 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Sep  8 18:24:27 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9168c3eb

games-board/ascal: remove deprecated games eclass

Also update to EAPI 6

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

Package-Manager: portage-2.3.0

 games-board/ascal/ascal-0.1.1-r1.ebuild           | 38 +++++++++++++++++++++++
 games-board/ascal/files/ascal-0.1.1-gcc43.patch   | 12 +++----
 games-board/ascal/files/ascal-0.1.1-install.patch | 20 ++++++------
 3 files changed, 54 insertions(+), 16 deletions(-)

diff --git a/games-board/ascal/ascal-0.1.1-r1.ebuild b/games-board/ascal/ascal-0.1.1-r1.ebuild
new file mode 100644
index 00000000..f00b82c
--- /dev/null
+++ b/games-board/ascal/ascal-0.1.1-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="A game similar to Draughts but with some really cool enhancements"
+HOMEPAGE="http://ascal.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ascal/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	dev-cpp/libglademm
+	dev-cpp/libgnomecanvasmm
+	virtual/libintl"
+DEPEND="${RDEPEND}
+	sys-devel/gettext"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-install.patch
+	"${FILESDIR}"/${P}-gcc43.patch
+)
+
+src_prepare() {
+	default
+
+	eautoreconf
+}
+
+src_configure() {
+	append-cxxflags -std=c++11
+	econf
+}

diff --git a/games-board/ascal/files/ascal-0.1.1-gcc43.patch b/games-board/ascal/files/ascal-0.1.1-gcc43.patch
index 4b3829e..b2a5558 100644
--- a/games-board/ascal/files/ascal-0.1.1-gcc43.patch
+++ b/games-board/ascal/files/ascal-0.1.1-gcc43.patch
@@ -1,5 +1,5 @@
---- src/gui.cpp.old	2009-01-18 21:11:58.000000000 +0100
-+++ src/gui.cpp	2009-01-18 21:12:33.000000000 +0100
+--- a/src/gui.cpp	2009-01-18 21:11:58.000000000 +0100
++++ b/src/gui.cpp	2009-01-18 21:12:33.000000000 +0100
 @@ -21,6 +21,7 @@
  #include "shareddata.hpp"
  #include "config.h"
@@ -8,8 +8,8 @@
  
  gui::gui(shareddata *newData): GuiBoard() {
  	//clean, cleaner - pointer ;)
---- src/gui_board.cpp.old	2009-01-18 21:13:30.000000000 +0100
-+++ src/gui_board.cpp	2009-01-18 21:13:50.000000000 +0100
+--- a/src/gui_board.cpp	2009-01-18 21:13:30.000000000 +0100
++++ b/src/gui_board.cpp	2009-01-18 21:13:50.000000000 +0100
 @@ -20,6 +20,7 @@
  #include <math.h>
  #include "helper.h"
@@ -18,8 +18,8 @@
  
  
  gui_board::gui_board()   {
---- src/board.cpp.old	2009-01-18 21:14:27.000000000 +0100
-+++ src/board.cpp	2009-01-18 21:14:58.000000000 +0100
+--- a/src/board.cpp	2009-01-18 21:14:27.000000000 +0100
++++ b/src/board.cpp	2009-01-18 21:14:58.000000000 +0100
 @@ -15,6 +15,7 @@
  // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  

diff --git a/games-board/ascal/files/ascal-0.1.1-install.patch b/games-board/ascal/files/ascal-0.1.1-install.patch
index b490299..51a82a5 100644
--- a/games-board/ascal/files/ascal-0.1.1-install.patch
+++ b/games-board/ascal/files/ascal-0.1.1-install.patch
@@ -1,5 +1,5 @@
---- configure.ac
-+++ configure.ac
+--- a/configure.ac
++++ b/configure.ac
 @@ -63,9 +63,6 @@
          AC_DEFINE(DEBUG, 1, [Enable debug msg.])
  		CPPFLAGS=[`echo "$CXXFLAGS" | $SED -e 's/-O[0-9]*//g'`]
@@ -19,8 +19,8 @@
  fi
  
  AC_ARG_ENABLE(static,
---- m4/Makefile.am
-+++ m4/Makefile.am
+--- a/m4/Makefile.am
++++ b/m4/Makefile.am
 @@ -15,6 +15,5 @@
  m4macros = 
  
@@ -28,8 +28,8 @@
 -m4data_DATA = $(m4macros) 
  EXTRA_DIST =  
  
---- Makefile.am
-+++ Makefile.am
+--- a/Makefile.am
++++ b/Makefile.am
 @@ -17,13 +17,12 @@
  
  ACLOCAL_AMFLAGS = -I m4
@@ -48,8 +48,8 @@
 -#include aminclude.am
 \ No newline at end of file
 +#include aminclude.am
---- po/Makefile.in.in
-+++ po/Makefile.in.in
+--- a/po/Makefile.in.in
++++ b/po/Makefile.in.in
 @@ -34,7 +34,7 @@
  datarootdir = @datarootdir@
  libdir = @libdir@
@@ -59,8 +59,8 @@
  subdir = po
  install_sh = @install_sh@
  # Automake >= 1.8 provides @mkdir_p@.
---- src/Makefile.am
-+++ src/Makefile.am
+--- a/src/Makefile.am
++++ b/src/Makefile.am
 @@ -50,5 +50,5 @@
  
  


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-board/ascal/, games-board/ascal/files/
@ 2021-04-04 12:38 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-04-04 12:38 UTC (permalink / raw
  To: gentoo-commits

commit:     09e43a6d39a60913d8af2fdb3076d2a17e5039bb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 11:41:51 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 12:38:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09e43a6d

games-board/ascal: port to EAPI 7, eutils--

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-board/ascal/ascal-0.1.1-r1.ebuild         | 12 ++++++------
 games-board/ascal/files/ascal-0.1.1-gcc43.patch | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/games-board/ascal/ascal-0.1.1-r1.ebuild b/games-board/ascal/ascal-0.1.1-r1.ebuild
index 33cafc7a58d..c1c92f2f28f 100644
--- a/games-board/ascal/ascal-0.1.1-r1.ebuild
+++ b/games-board/ascal/ascal-0.1.1-r1.ebuild
@@ -1,8 +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
-inherit autotools eutils flag-o-matic
+EAPI=7
+
+inherit autotools flag-o-matic
 
 DESCRIPTION="A game similar to Draughts but with some really cool enhancements"
 HOMEPAGE="http://ascal.sourceforge.net/"
@@ -11,14 +12,13 @@ SRC_URI="mirror://sourceforge/ascal/${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 RDEPEND="
 	dev-cpp/libglademm
 	dev-cpp/libgnomecanvasmm
 	virtual/libintl"
-DEPEND="${RDEPEND}
-	sys-devel/gettext"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/gettext"
 
 PATCHES=(
 	"${FILESDIR}"/${P}-install.patch

diff --git a/games-board/ascal/files/ascal-0.1.1-gcc43.patch b/games-board/ascal/files/ascal-0.1.1-gcc43.patch
index b2a55584fb0..737766a4754 100644
--- a/games-board/ascal/files/ascal-0.1.1-gcc43.patch
+++ b/games-board/ascal/files/ascal-0.1.1-gcc43.patch
@@ -1,5 +1,5 @@
---- a/src/gui.cpp	2009-01-18 21:11:58.000000000 +0100
-+++ b/src/gui.cpp	2009-01-18 21:12:33.000000000 +0100
+--- a/src/gui.cpp
++++ b/src/gui.cpp
 @@ -21,6 +21,7 @@
  #include "shareddata.hpp"
  #include "config.h"
@@ -8,8 +8,8 @@
  
  gui::gui(shareddata *newData): GuiBoard() {
  	//clean, cleaner - pointer ;)
---- a/src/gui_board.cpp	2009-01-18 21:13:30.000000000 +0100
-+++ b/src/gui_board.cpp	2009-01-18 21:13:50.000000000 +0100
+--- a/src/gui_board.cpp
++++ b/src/gui_board.cpp
 @@ -20,6 +20,7 @@
  #include <math.h>
  #include "helper.h"
@@ -18,8 +18,8 @@
  
  
  gui_board::gui_board()   {
---- a/src/board.cpp	2009-01-18 21:14:27.000000000 +0100
-+++ b/src/board.cpp	2009-01-18 21:14:58.000000000 +0100
+--- a/src/board.cpp
++++ b/src/board.cpp
 @@ -15,6 +15,7 @@
  // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-04 12:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-04 12:38 [gentoo-commits] repo/gentoo:master commit in: games-board/ascal/, games-board/ascal/files/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2016-09-08 18:24 Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox