public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/phlipple/files/, games-puzzle/phlipple/
@ 2014-08-01 20:15 Azamat H. Hackimov
  0 siblings, 0 replies; 4+ messages in thread
From: Azamat H. Hackimov @ 2014-08-01 20:15 UTC (permalink / raw
  To: gentoo-commits

commit:     af97cc83bc24ec1edcb296d0faaab069c49999dc
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Fri Aug  1 20:14:43 2014 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Fri Aug  1 20:14:43 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=af97cc83

[games-puzzle/phlipple] Fix linker error with -lm

Package-Manager: portage-2.2.8-r1
Manifest-Sign-Key: A018DE8C

---
 .../phlipple/files/phlipple-0.8.5_check-math-lib.patch  | 17 +++++++++++++++++
 games-puzzle/phlipple/phlipple-0.8.5.ebuild             | 10 ++++++++--
 2 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/games-puzzle/phlipple/files/phlipple-0.8.5_check-math-lib.patch b/games-puzzle/phlipple/files/phlipple-0.8.5_check-math-lib.patch
new file mode 100644
index 0000000..00f1853
--- /dev/null
+++ b/games-puzzle/phlipple/files/phlipple-0.8.5_check-math-lib.patch
@@ -0,0 +1,17 @@
+diff -Nuar phlipple-0.8.5.orig/configure.ac phlipple-0.8.5/configure.ac
+--- phlipple-0.8.5.orig/configure.ac	2014-08-02 01:58:49.961024685 +0600
++++ phlipple-0.8.5/configure.ac	2014-08-02 02:02:28.574032234 +0600
+@@ -14,11 +14,13 @@
+ 
+ AC_CHECK_LIB(GL, main, [], AC_MSG_ERROR([OpenGL library not found.]))
+ AC_CHECK_LIB(GLU, gluPerspective, [], AC_MSG_ERROR([GLU library not found.]))
++AC_CHECK_LIB(m, cos, [], AC_MSG_ERROR([math library not found.]))
+ 
+ AC_CHECK_HEADER(GL/gl.h, [], AC_MSG_ERROR(no GL/gl.h found))
+ AC_CHECK_HEADER(GL/glu.h, [], AC_MSG_ERROR(no GL/glu.h found))
+ AC_CHECK_HEADER(SDL/SDL_image.h, [], AC_MSG_ERROR(no SDL/SDL_image.h found))
+ AC_CHECK_HEADER(SDL/SDL_mixer.h, [], AC_MSG_ERROR(no SDL/SDL_mixer.h found))
++AC_CHECK_HEADER(math.h, [], AC_MSG_ERROR(no math.h found))
+ 
+ AC_ARG_WITH(icondir,
+ 	AS_HELP_STRING([--with-icondir=DIR],[icon files [DATAROOTDIR/pixmaps]]),

diff --git a/games-puzzle/phlipple/phlipple-0.8.5.ebuild b/games-puzzle/phlipple/phlipple-0.8.5.ebuild
index 1b176cb..c538001 100644
--- a/games-puzzle/phlipple/phlipple-0.8.5.ebuild
+++ b/games-puzzle/phlipple/phlipple-0.8.5.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: games-puzzle/phlipple/phlipple-0.8.1.ebuild frostwork Exp $
 
 EAPI=5
 
-inherit eutils games flag-o-matic
+inherit autotools eutils games flag-o-matic
 
 DESCRIPTION="An unique puzzle game with the goal to reduce a 3D shape to a single square"
 HOMEPAGE="http://phlipple.sourceforge.net/"
@@ -21,3 +21,9 @@ DEPEND="media-libs/libsdl:0
 	media-libs/sdl-ttf:0
 	virtual/opengl
 	virtual/glu"
+
+src_prepare() {
+	# fix fails to link on new glibc
+	epatch "${FILESDIR}/${P}_check-math-lib.patch"
+	eautoreconf
+}


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

* [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/phlipple/files/, games-puzzle/phlipple/
@ 2014-09-11 14:08 Azamat H. Hackimov
  0 siblings, 0 replies; 4+ messages in thread
From: Azamat H. Hackimov @ 2014-09-11 14:08 UTC (permalink / raw
  To: gentoo-commits

commit:     90e2dcd4b82f85941e3f8b57a3ea4b06c5f2c397
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Fri Aug  1 20:14:43 2014 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Thu Sep 11 14:06:56 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=90e2dcd4

[games-puzzle/phlipple] Fix linker error with -lm

Package-Manager: portage-2.2.8-r1
Manifest-Sign-Key: A018DE8C

---
 .../phlipple/files/phlipple-0.8.5_check-math-lib.patch  | 17 +++++++++++++++++
 games-puzzle/phlipple/phlipple-0.8.5.ebuild             | 10 ++++++++--
 2 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/games-puzzle/phlipple/files/phlipple-0.8.5_check-math-lib.patch b/games-puzzle/phlipple/files/phlipple-0.8.5_check-math-lib.patch
new file mode 100644
index 0000000..00f1853
--- /dev/null
+++ b/games-puzzle/phlipple/files/phlipple-0.8.5_check-math-lib.patch
@@ -0,0 +1,17 @@
+diff -Nuar phlipple-0.8.5.orig/configure.ac phlipple-0.8.5/configure.ac
+--- phlipple-0.8.5.orig/configure.ac	2014-08-02 01:58:49.961024685 +0600
++++ phlipple-0.8.5/configure.ac	2014-08-02 02:02:28.574032234 +0600
+@@ -14,11 +14,13 @@
+ 
+ AC_CHECK_LIB(GL, main, [], AC_MSG_ERROR([OpenGL library not found.]))
+ AC_CHECK_LIB(GLU, gluPerspective, [], AC_MSG_ERROR([GLU library not found.]))
++AC_CHECK_LIB(m, cos, [], AC_MSG_ERROR([math library not found.]))
+ 
+ AC_CHECK_HEADER(GL/gl.h, [], AC_MSG_ERROR(no GL/gl.h found))
+ AC_CHECK_HEADER(GL/glu.h, [], AC_MSG_ERROR(no GL/glu.h found))
+ AC_CHECK_HEADER(SDL/SDL_image.h, [], AC_MSG_ERROR(no SDL/SDL_image.h found))
+ AC_CHECK_HEADER(SDL/SDL_mixer.h, [], AC_MSG_ERROR(no SDL/SDL_mixer.h found))
++AC_CHECK_HEADER(math.h, [], AC_MSG_ERROR(no math.h found))
+ 
+ AC_ARG_WITH(icondir,
+ 	AS_HELP_STRING([--with-icondir=DIR],[icon files [DATAROOTDIR/pixmaps]]),

diff --git a/games-puzzle/phlipple/phlipple-0.8.5.ebuild b/games-puzzle/phlipple/phlipple-0.8.5.ebuild
index 1b176cb..c538001 100644
--- a/games-puzzle/phlipple/phlipple-0.8.5.ebuild
+++ b/games-puzzle/phlipple/phlipple-0.8.5.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: games-puzzle/phlipple/phlipple-0.8.1.ebuild frostwork Exp $
 
 EAPI=5
 
-inherit eutils games flag-o-matic
+inherit autotools eutils games flag-o-matic
 
 DESCRIPTION="An unique puzzle game with the goal to reduce a 3D shape to a single square"
 HOMEPAGE="http://phlipple.sourceforge.net/"
@@ -21,3 +21,9 @@ DEPEND="media-libs/libsdl:0
 	media-libs/sdl-ttf:0
 	virtual/opengl
 	virtual/glu"
+
+src_prepare() {
+	# fix fails to link on new glibc
+	epatch "${FILESDIR}/${P}_check-math-lib.patch"
+	eautoreconf
+}


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

* [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/phlipple/files/, games-puzzle/phlipple/
@ 2015-03-10 11:11 Michael Weber
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Weber @ 2015-03-10 11:11 UTC (permalink / raw
  To: gentoo-commits

commit:     af97cc83bc24ec1edcb296d0faaab069c49999dc
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Fri Aug  1 20:14:43 2014 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Fri Aug  1 20:14:43 2014 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=af97cc83

[games-puzzle/phlipple] Fix linker error with -lm

Package-Manager: portage-2.2.8-r1
Manifest-Sign-Key: A018DE8C

 .../phlipple/files/phlipple-0.8.5_check-math-lib.patch  | 17 +++++++++++++++++
 games-puzzle/phlipple/phlipple-0.8.5.ebuild             | 10 ++++++++--
 2 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/games-puzzle/phlipple/files/phlipple-0.8.5_check-math-lib.patch b/games-puzzle/phlipple/files/phlipple-0.8.5_check-math-lib.patch
new file mode 100644
index 0000000..00f1853
--- /dev/null
+++ b/games-puzzle/phlipple/files/phlipple-0.8.5_check-math-lib.patch
@@ -0,0 +1,17 @@
+diff -Nuar phlipple-0.8.5.orig/configure.ac phlipple-0.8.5/configure.ac
+--- phlipple-0.8.5.orig/configure.ac	2014-08-02 01:58:49.961024685 +0600
++++ phlipple-0.8.5/configure.ac	2014-08-02 02:02:28.574032234 +0600
+@@ -14,11 +14,13 @@
+ 
+ AC_CHECK_LIB(GL, main, [], AC_MSG_ERROR([OpenGL library not found.]))
+ AC_CHECK_LIB(GLU, gluPerspective, [], AC_MSG_ERROR([GLU library not found.]))
++AC_CHECK_LIB(m, cos, [], AC_MSG_ERROR([math library not found.]))
+ 
+ AC_CHECK_HEADER(GL/gl.h, [], AC_MSG_ERROR(no GL/gl.h found))
+ AC_CHECK_HEADER(GL/glu.h, [], AC_MSG_ERROR(no GL/glu.h found))
+ AC_CHECK_HEADER(SDL/SDL_image.h, [], AC_MSG_ERROR(no SDL/SDL_image.h found))
+ AC_CHECK_HEADER(SDL/SDL_mixer.h, [], AC_MSG_ERROR(no SDL/SDL_mixer.h found))
++AC_CHECK_HEADER(math.h, [], AC_MSG_ERROR(no math.h found))
+ 
+ AC_ARG_WITH(icondir,
+ 	AS_HELP_STRING([--with-icondir=DIR],[icon files [DATAROOTDIR/pixmaps]]),

diff --git a/games-puzzle/phlipple/phlipple-0.8.5.ebuild b/games-puzzle/phlipple/phlipple-0.8.5.ebuild
index 1b176cb..c538001 100644
--- a/games-puzzle/phlipple/phlipple-0.8.5.ebuild
+++ b/games-puzzle/phlipple/phlipple-0.8.5.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: games-puzzle/phlipple/phlipple-0.8.1.ebuild frostwork Exp $
 
 EAPI=5
 
-inherit eutils games flag-o-matic
+inherit autotools eutils games flag-o-matic
 
 DESCRIPTION="An unique puzzle game with the goal to reduce a 3D shape to a single square"
 HOMEPAGE="http://phlipple.sourceforge.net/"
@@ -21,3 +21,9 @@ DEPEND="media-libs/libsdl:0
 	media-libs/sdl-ttf:0
 	virtual/opengl
 	virtual/glu"
+
+src_prepare() {
+	# fix fails to link on new glibc
+	epatch "${FILESDIR}/${P}_check-math-lib.patch"
+	eautoreconf
+}


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

* [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/phlipple/files/, games-puzzle/phlipple/
@ 2023-04-16 18:12 Vadim Misbakh-Soloviov
  0 siblings, 0 replies; 4+ messages in thread
From: Vadim Misbakh-Soloviov @ 2023-04-16 18:12 UTC (permalink / raw
  To: gentoo-commits

commit:     46a076f749eb0101e6d39432e2f8da221e54d72d
Author:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 16 18:10:46 2023 +0000
Commit:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
CommitDate: Sun Apr 16 18:10:58 2023 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=46a076f7

games-puzzle/phlipple: bump + add patch

TODO: make pre-release from svn tarball

Closes: https://bugs.gentoo.org/900931
Signed-off-by: Vadim Misbakh-Soloviov <mva <AT> gentoo.org>

 .../phlipple/files/phlipple-0.8.5_bug857397.patch        | 11 +++++++++++
 games-puzzle/phlipple/metadata.xml                       | 15 +++++++--------
 games-puzzle/phlipple/phlipple-0.8.5.ebuild              | 16 +++++++++-------
 3 files changed, 27 insertions(+), 15 deletions(-)

diff --git a/games-puzzle/phlipple/files/phlipple-0.8.5_bug857397.patch b/games-puzzle/phlipple/files/phlipple-0.8.5_bug857397.patch
new file mode 100644
index 0000000..9f7b7ca
--- /dev/null
+++ b/games-puzzle/phlipple/files/phlipple-0.8.5_bug857397.patch
@@ -0,0 +1,11 @@
+--- a/src/engine.h	2023-03-12 18:12:42.957837900 +1100
++++ b/src/engine.h	2023-03-12 18:12:50.461155967 +1100
+@@ -44,7 +44,7 @@
+ 
+ #define VERTEX_DRAW_INNER_OFFSET 	0.15f
+ 
+-char debugOutput[1024];
++extern char debugOutput[1024];
+ 
+ #include "renderstate.h"
+ 

diff --git a/games-puzzle/phlipple/metadata.xml b/games-puzzle/phlipple/metadata.xml
index 18da2d0..2703bce 100644
--- a/games-puzzle/phlipple/metadata.xml
+++ b/games-puzzle/phlipple/metadata.xml
@@ -1,12 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="person">
-<email>azamat.hackimov@gmail.com</email>
-<name>Azamat H. Hackimov</name>
-</maintainer>
-<longdescription lang="en">
-An unique puzzle game with the goal to reduce a 3D shape to a single square
-</longdescription>
+  <maintainer type="person">
+    <email>azamat.hackimov@gmail.com</email>
+    <name>Azamat H. Hackimov</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="sourceforge">phlipple</remote-id>
+  </upstream>
 </pkgmetadata>
-

diff --git a/games-puzzle/phlipple/phlipple-0.8.5.ebuild b/games-puzzle/phlipple/phlipple-0.8.5.ebuild
index 545c19a..cf1a88a 100644
--- a/games-puzzle/phlipple/phlipple-0.8.5.ebuild
+++ b/games-puzzle/phlipple/phlipple-0.8.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit autotools eutils xdg-utils
+inherit autotools xdg-utils
 
 DESCRIPTION="An unique puzzle game with the goal to reduce a 3D shape to a single square"
 HOMEPAGE="http://phlipple.sourceforge.net/"
@@ -12,19 +12,21 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
-DEPEND="media-libs/libsdl:0
+DEPEND="
+	media-libs/libsdl:0
 	media-libs/sdl-image:0
 	media-libs/sdl-mixer:0
 	media-libs/sdl-ttf:0
 	virtual/opengl
-	virtual/glu"
+	virtual/glu
+"
 
 src_prepare() {
 	default
-	# fix fails to link on new glibc
 	eapply "${FILESDIR}/${P}_check-math-lib.patch"
+	# fix fails to link on new glibc
+	eapply "${FILESDIR}/${P}_bug857397.patch"
 	eautoreconf
 }
 


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

end of thread, other threads:[~2023-04-16 18:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-11 14:08 [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/phlipple/files/, games-puzzle/phlipple/ Azamat H. Hackimov
  -- strict thread matches above, loose matches on Subject: below --
2023-04-16 18:12 Vadim Misbakh-Soloviov
2015-03-10 11:11 Michael Weber
2014-08-01 20:15 Azamat H. Hackimov

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