[gentoo-commits] repo/gentoo:master commit in: games-puzzle/braincurses/
commit: b4d037d8ccb08743a23b50d651df70e43919c99b Author: Sam James gentoo org> AuthorDate: Sat Mar 19 22:50:38 2022 + Commit: Sam James gentoo org> CommitDate: Sat Mar 19 23:33:21 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4d037d8 games-puzzle/braincurses: [QA] fix tc-get* quoting This can cause build problems for e.g. 32-bit (gcc -m32 ...) Signed-off-by: Sam James gentoo.org> games-puzzle/braincurses/braincurses-1.1.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games-puzzle/braincurses/braincurses-1.1.0.ebuild b/games-puzzle/braincurses/braincurses-1.1.0.ebuild index 4a313b35b8a0..1a6496bc5aeb 100644 --- a/games-puzzle/braincurses/braincurses-1.1.0.ebuild +++ b/games-puzzle/braincurses/braincurses-1.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,7 @@ DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" src_compile() { - emake CXX=$(tc-getCXX) LDLIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )" + emake CXX="$(tc-getCXX)" LDLIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )" } src_install() {
[gentoo-commits] repo/gentoo:master commit in: games-puzzle/braincurses/files/, games-puzzle/braincurses/
commit: f22e1df86e616bdccabf8f68a3384166ffef3c3a Author: Ionen Wolkens gentoo org> AuthorDate: Wed Jun 23 00:18:58 2021 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed Jun 23 02:22:36 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f22e1df8 games-puzzle/braincurses: drop 0.5b-r1 Signed-off-by: Ionen Wolkens gentoo.org> games-puzzle/braincurses/Manifest | 1 - .../braincurses/braincurses-0.5b-r1.ebuild | 34 -- .../files/braincurses-0.5b-as-needed.patch | 27 - .../braincurses/files/braincurses-0.5b-gcc43.patch | 10 --- 4 files changed, 72 deletions(-) diff --git a/games-puzzle/braincurses/Manifest b/games-puzzle/braincurses/Manifest index 2e86dc43c6b..4f6f15740e7 100644 --- a/games-puzzle/braincurses/Manifest +++ b/games-puzzle/braincurses/Manifest @@ -1,2 +1 @@ -DIST braincurses-0.5b.tar.gz 18487 BLAKE2B 4d3874eb6625781e866ba2250da45ff165d662abaeabda2c4525bb300479b33e1efb91f997165310b7a4edc61f81ac841b00b940d319ef0c18b8684dd5355d60 SHA512 7f90da3a5c480e0bf736dd4a53efc08abeb85969e727882e3d06f888b2a4b6002f9fd9bc1554ac2256c9821dea5fabf2638eba4a672046a09c1adb8690803a0e DIST braincurses-1.1.0.tar.gz 12996 BLAKE2B 3f0c5edabd65175e581280413f7fea841d4d4b7ff9f4b39c4c3a0084e0e4c0a159605fe9ed320769a9bc85d671845af115456df33305e20f1eef6c53626c01a4 SHA512 7f27512c321ca2f2c3b38a891fc4e1ab0e2371412ada827f69dc262e27abbf750861b7ab859d0d8407ba25e4814ea6c33bc36a2c8ccdeda4977fa4bebb5457cd diff --git a/games-puzzle/braincurses/braincurses-0.5b-r1.ebuild b/games-puzzle/braincurses/braincurses-0.5b-r1.ebuild deleted file mode 100644 index 37bd4eef30f..000 --- a/games-puzzle/braincurses/braincurses-0.5b-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="An ncurses-based mastermind clone" -HOMEPAGE="https://github.com/bderrly/braincurses"; -SRC_URI="mirror://sourceforge/braincurses/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND="" - -src_prepare() { - default - - eapply "${FILESDIR}"/${P}-gcc43.patch \ - "${FILESDIR}"/${P}-as-needed.patch - - # fix buffer overflow (bug #301033) - sed -i \ - -e 's/guessLabel\[2/guessLabel[3/' \ - curses/windows.cpp \ - || die 'sed failed' -} - -src_install() { - dobin braincurses - einstalldocs -} diff --git a/games-puzzle/braincurses/files/braincurses-0.5b-as-needed.patch b/games-puzzle/braincurses/files/braincurses-0.5b-as-needed.patch deleted file mode 100644 index 2101602c637..000 --- a/games-puzzle/braincurses/files/braincurses-0.5b-as-needed.patch +++ /dev/null @@ -1,27 +0,0 @@ a/Makefile.old 2009-02-09 16:04:47.0 +0100 -+++ b/Makefile 2009-02-09 16:14:41.0 +0100 -@@ -1,22 +1,9 @@ - # Makefile for braincurses game - # written by Brian Derr - --CC=g++ --CFLAGS=-Wall --CURSES_LIBS=-lncurses -+LDLIBS=-lncurses - --ncurses: curses/windows.o braincurses.o -- ${CC} ${CURSES_LIBS} ${CFLAGS} -o braincurses curses/windows.o \ -- braincurses.o -- --windows.o: windows.cpp -- ${CC} ${CFLAGS} -c curses/windows.cpp -- --braincurses.o: braincurses.cpp -- ${CC} ${CFLAGS} -c braincurses.cpp -- --#top_scores.o: top_scores.cpp --# ${CC} ${CFLAGS} -c top_scores.cpp -+braincurses: curses/windows.cpp braincurses.cpp - - install: - install -o root -g root braincurses /usr/local/bin/ diff --git a/games-puzzle/braincurses/files/braincurses-0.5b-gcc43.patch b/games-puzzle/braincurses/files/braincurses-0.5b-gcc43.patch deleted file mode 100644 index 6fa5509a778..000 --- a/games-puzzle/braincurses/files/braincurses-0.5b-gcc43.patch +++ /dev/null @@ -1,10 +0,0 @@ a/braincurses.h -+++ b/braincurses.h -@@ -12,6 +12,7 @@ - #include - #include - #include -+#include - #include - #include - #include
[gentoo-commits] repo/gentoo:master commit in: games-puzzle/braincurses/
commit: 77cc16e4654532dbc38dc6d130da01008e0f0090 Author: Stefan Strogin gentoo org> AuthorDate: Wed Aug 21 10:00:00 2019 + Commit: Stefan Strogin gentoo org> CommitDate: Wed Aug 21 10:10:57 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77cc16e4 games-puzzle/braincurses: bump version to 1.1.0 Fix building with ncurses[tinfo]. Closes: https://bugs.gentoo.org/691766 Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Stefan Strogin gentoo.org> games-puzzle/braincurses/Manifest | 1 + games-puzzle/braincurses/braincurses-1.1.0.ebuild | 27 +++ games-puzzle/braincurses/metadata.xml | 1 - 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/games-puzzle/braincurses/Manifest b/games-puzzle/braincurses/Manifest index 981fe7c8873..2e86dc43c6b 100644 --- a/games-puzzle/braincurses/Manifest +++ b/games-puzzle/braincurses/Manifest @@ -1 +1,2 @@ DIST braincurses-0.5b.tar.gz 18487 BLAKE2B 4d3874eb6625781e866ba2250da45ff165d662abaeabda2c4525bb300479b33e1efb91f997165310b7a4edc61f81ac841b00b940d319ef0c18b8684dd5355d60 SHA512 7f90da3a5c480e0bf736dd4a53efc08abeb85969e727882e3d06f888b2a4b6002f9fd9bc1554ac2256c9821dea5fabf2638eba4a672046a09c1adb8690803a0e +DIST braincurses-1.1.0.tar.gz 12996 BLAKE2B 3f0c5edabd65175e581280413f7fea841d4d4b7ff9f4b39c4c3a0084e0e4c0a159605fe9ed320769a9bc85d671845af115456df33305e20f1eef6c53626c01a4 SHA512 7f27512c321ca2f2c3b38a891fc4e1ab0e2371412ada827f69dc262e27abbf750861b7ab859d0d8407ba25e4814ea6c33bc36a2c8ccdeda4977fa4bebb5457cd diff --git a/games-puzzle/braincurses/braincurses-1.1.0.ebuild b/games-puzzle/braincurses/braincurses-1.1.0.ebuild new file mode 100644 index 000..94f0c4ab55b --- /dev/null +++ b/games-puzzle/braincurses/braincurses-1.1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="A version of the classic game Mastermind" +HOMEPAGE="https://github.com/bderrly/braincurses"; +SRC_URI="https://github.com/bderrly/braincurses/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_compile() { + emake CXX=$(tc-getCXX) LDLIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )" +} + +src_install() { + dobin braincurses + einstalldocs +} diff --git a/games-puzzle/braincurses/metadata.xml b/games-puzzle/braincurses/metadata.xml index 53c5ddea1c7..9749ebc7354 100644 --- a/games-puzzle/braincurses/metadata.xml +++ b/games-puzzle/braincurses/metadata.xml @@ -6,7 +6,6 @@ Gentoo Games Project - braincurses bderrly/braincurses
[gentoo-commits] repo/gentoo:master commit in: games-puzzle/braincurses/
commit: 65af2e140ee970e07069e6ae9b6d8a920f9f1efc Author: Wim Muskee gmail com> AuthorDate: Sun Aug 11 07:45:32 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Aug 11 12:15:42 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65af2e14 games-puzzle/braincurses: update HOMEPAGE, metadata Bug: https://bugs.gentoo.org/637970 Signed-off-by: Wim Muskee gmail.com> Closes: https://github.com/gentoo/gentoo/pull/12675 Signed-off-by: James Le Cuirot gentoo.org> games-puzzle/braincurses/braincurses-0.5b-r1.ebuild | 4 ++-- games-puzzle/braincurses/metadata.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/games-puzzle/braincurses/braincurses-0.5b-r1.ebuild b/games-puzzle/braincurses/braincurses-0.5b-r1.ebuild index 609bfa21830..37bd4eef30f 100644 --- a/games-puzzle/braincurses/braincurses-0.5b-r1.ebuild +++ b/games-puzzle/braincurses/braincurses-0.5b-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 DESCRIPTION="An ncurses-based mastermind clone" -HOMEPAGE="http://freshmeat.net/projects/braincurses/"; +HOMEPAGE="https://github.com/bderrly/braincurses"; SRC_URI="mirror://sourceforge/braincurses/${P}.tar.gz" LICENSE="GPL-2" diff --git a/games-puzzle/braincurses/metadata.xml b/games-puzzle/braincurses/metadata.xml index 8444fd297f5..53c5ddea1c7 100644 --- a/games-puzzle/braincurses/metadata.xml +++ b/games-puzzle/braincurses/metadata.xml @@ -7,6 +7,6 @@ braincurses - braincurses + bderrly/braincurses
[gentoo-commits] repo/gentoo:master commit in: games-puzzle/braincurses/
commit: a01e70bea58b7f28feb4b81b9b745762a5e2ccc7 Author: Pacho Ramos gentoo org> AuthorDate: Sat Apr 14 21:40:16 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sat Apr 14 21:40:16 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a01e70be games-puzzle/braincurses: Drop old Package-Manager: Portage-2.3.28, Repoman-2.3.9 games-puzzle/braincurses/braincurses-0.5b.ebuild | 32 1 file changed, 32 deletions(-) diff --git a/games-puzzle/braincurses/braincurses-0.5b.ebuild b/games-puzzle/braincurses/braincurses-0.5b.ebuild deleted file mode 100644 index b29db61b473..000 --- a/games-puzzle/braincurses/braincurses-0.5b.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils games - -DESCRIPTION="An ncurses-based mastermind clone" -HOMEPAGE="http://freshmeat.net/projects/braincurses/"; -SRC_URI="mirror://sourceforge/braincurses/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND="" -src_prepare() { - epatch "${FILESDIR}"/${P}-gcc43.patch \ - "${FILESDIR}"/${P}-as-needed.patch - # fix buffer overflow (bug #301033) - sed -i \ - -e 's/guessLabel\[2/guessLabel[3/' \ - curses/windows.cpp \ - || die 'sed failed' -} - -src_install() { - dogamesbin braincurses - dodoc README THANKS Changelog - prepgamesdirs -}
[gentoo-commits] repo/gentoo:master commit in: games-puzzle/braincurses/, games-puzzle/braincurses/files/
commit: ff0e1f5ae5bbc1f8d08732ba9fc96975b67157b9 Author: Pacho Ramos gentoo org> AuthorDate: Sat Apr 14 21:40:05 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sat Apr 14 21:40:05 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff0e1f5a games-puzzle/braincurses: Stop using games.eclass Package-Manager: Portage-2.3.28, Repoman-2.3.9 .../braincurses/braincurses-0.5b-r1.ebuild | 34 ++ .../files/braincurses-0.5b-as-needed.patch | 4 +-- .../braincurses/files/braincurses-0.5b-gcc43.patch | 4 +-- 3 files changed, 38 insertions(+), 4 deletions(-) diff --git a/games-puzzle/braincurses/braincurses-0.5b-r1.ebuild b/games-puzzle/braincurses/braincurses-0.5b-r1.ebuild new file mode 100644 index 000..609bfa21830 --- /dev/null +++ b/games-puzzle/braincurses/braincurses-0.5b-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="An ncurses-based mastermind clone" +HOMEPAGE="http://freshmeat.net/projects/braincurses/"; +SRC_URI="mirror://sourceforge/braincurses/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_prepare() { + default + + eapply "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-as-needed.patch + + # fix buffer overflow (bug #301033) + sed -i \ + -e 's/guessLabel\[2/guessLabel[3/' \ + curses/windows.cpp \ + || die 'sed failed' +} + +src_install() { + dobin braincurses + einstalldocs +} diff --git a/games-puzzle/braincurses/files/braincurses-0.5b-as-needed.patch b/games-puzzle/braincurses/files/braincurses-0.5b-as-needed.patch index d1f36152403..2101602c637 100644 --- a/games-puzzle/braincurses/files/braincurses-0.5b-as-needed.patch +++ b/games-puzzle/braincurses/files/braincurses-0.5b-as-needed.patch @@ -1,5 +1,5 @@ Makefile.old 2009-02-09 16:04:47.0 +0100 -+++ Makefile 2009-02-09 16:14:41.0 +0100 +--- a/Makefile.old 2009-02-09 16:04:47.0 +0100 b/Makefile 2009-02-09 16:14:41.0 +0100 @@ -1,22 +1,9 @@ # Makefile for braincurses game # written by Brian Derr diff --git a/games-puzzle/braincurses/files/braincurses-0.5b-gcc43.patch b/games-puzzle/braincurses/files/braincurses-0.5b-gcc43.patch index eafa39e4b9b..6fa5509a778 100644 --- a/games-puzzle/braincurses/files/braincurses-0.5b-gcc43.patch +++ b/games-puzzle/braincurses/files/braincurses-0.5b-gcc43.patch @@ -1,5 +1,5 @@ braincurses.h -+++ braincurses.h +--- a/braincurses.h b/braincurses.h @@ -12,6 +12,7 @@ #include #include