[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/
commit: 4a4ee77f8c6e266fb8979594e5c9bef456e7471e Author: Eli Schwartz gmail com> AuthorDate: Fri Mar 22 03:18:38 2024 + Commit: Sam James gentoo org> CommitDate: Fri Mar 22 05:31:55 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a4ee77f games-board/freedoko: add gitlab upstream metadata Sourceforge is still the website and release asset hosting, but the source code is now in git, and on gitlab. Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> games-board/freedoko/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/games-board/freedoko/metadata.xml b/games-board/freedoko/metadata.xml index 56eaeaba81ef..153124ab6c44 100644 --- a/games-board/freedoko/metadata.xml +++ b/games-board/freedoko/metadata.xml @@ -15,5 +15,6 @@ free-doko +dknof/FreeDoko
[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/
commit: 4e418cbcd3b629df20fe58c3cb192c47dd662ebb Author: Eli Schwartz gmail com> AuthorDate: Fri Mar 22 05:20:00 2024 + Commit: Sam James gentoo org> CommitDate: Fri Mar 22 05:31:56 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e418cbc games-board/freedoko: update EAPI 7 -> 8 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> games-board/freedoko/freedoko-0.8.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-board/freedoko/freedoko-0.8.0.ebuild b/games-board/freedoko/freedoko-0.8.0.ebuild index 2a7beb3e17a4..7aa2243028d5 100644 --- a/games-board/freedoko/freedoko-0.8.0.ebuild +++ b/games-board/freedoko/freedoko-0.8.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop flag-o-matic toolchain-funcs
[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/
commit: 41b13e8f18c65c00e1995723e98aaf0d329d342b Author: Michael Mair-Keimberger levelnine at> AuthorDate: Wed Jun 9 17:53:35 2021 + Commit: Ionen Wolkens gentoo org> CommitDate: Tue Jun 15 20:00:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41b13e8f games-board/freedoko: remove old Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Ionen Wolkens gentoo.org> games-board/freedoko/freedoko-0.7.16.ebuild | 100 games-board/freedoko/metadata.xml | 1 - 2 files changed, 101 deletions(-) diff --git a/games-board/freedoko/freedoko-0.7.16.ebuild b/games-board/freedoko/freedoko-0.7.16.ebuild deleted file mode 100644 index 279bdf73da2..000 --- a/games-board/freedoko/freedoko-0.7.16.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit eutils flag-o-matic gnome2-utils - -DESCRIPTION="FreeDoko is a Doppelkopf-game" -HOMEPAGE="http://free-doko.sourceforge.net; -SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip - backgrounds? ( mirror://sourceforge/free-doko/backgrounds.zip -> ${PN}-backgrounds.zip ) - kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip ) - xskatcards? ( mirror://sourceforge/free-doko/xskat.zip ) - pysolcards? ( mirror://sourceforge/free-doko/pysol.zip ) - gnomecards? ( mirror://sourceforge/free-doko/gnome-games.zip ) - openclipartcards? ( mirror://sourceforge/free-doko/openclipart.zip ) - !xskatcards? ( - !kdecards? ( - !gnomecards? ( - !openclipartcards? ( - !pysolcards? ( - mirror://sourceforge/free-doko/xskat.zip ) ) ) ) )" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+xskatcards +gnomecards +kdecards +openclipartcards +pysolcards +backgrounds net" - -RDEPEND="net? ( net-libs/gnet dev-libs/glib:2 ) - >=dev-cpp/gtkmm-2.4:2.4" -DEPEND="${RDEPEND} - app-arch/unzip - virtual/pkgconfig" - -S=${WORKDIR}/FreeDoko_${PV} - -src_unpack() { - local cards=0 - - unpack_cards() { - use $1 && { unpack $2 ; cards=$(( $cards + 1 )); }; - } - unpack FreeDoko_${PV}.src.zip - cp /dev/null "${S}"/src/Makefile.local || die - - cd "${S}"/data/cardsets || die - - unpack_cards xskatcards xskat.zip - unpack_cards kdecards kdecarddecks.zip - unpack_cards pysolcards pysol.zip - unpack_cards gnomecards gnome-games.zip - unpack_cards openclipartcards openclipart.zip - [ $cards ] || unpack xskat.zip # fall back to xskat - - if use backgrounds ; then - cd "${S}"/data/backgrounds || die - unpack ${PN}-backgrounds.zip - fi -} - -PATCHES=( - "${FILESDIR}"/${PN}-0.7.16-gentoo.patch -) - -src_prepare() { - default - export VARTEXFONTS="${T}/fonts" #652028 - append-cxxflags -std=c++14 -} - -src_compile() { - export CPPFLAGS="-DPUBLIC_DATA_DIRECTORY_VALUE='\"/usr/share/${PN}\"'" - export CPPFLAGS+=" -DMANUAL_DIRECTORY_VALUE='\"/usr/share/doc/${PF}/html\"'" - export OSTYPE=Linux - export USE_NETWORK=$(use net && echo true || echo false) - export USE_SOUND_ALUT=false # still marked experimental - emake Version - emake -C src FreeDoko -} - -src_install() { - newbin src/FreeDoko freedoko - insinto /usr/share/${PN}/ - doins -r data/{backgrounds,cardsets,iconsets,rules,sounds,translations,*png} - find "${D}/usr/share/${PN}" -name Makefile -delete - dodoc AUTHORS README ChangeLog - newicon -s 32 src/FreeDoko.png ${PN}.png - make_desktop_entry ${PN} FreeDoko -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/games-board/freedoko/metadata.xml b/games-board/freedoko/metadata.xml index a5dbad4c24d..2e46e5ae6b6 100644 --- a/games-board/freedoko/metadata.xml +++ b/games-board/freedoko/metadata.xml @@ -7,7 +7,6 @@ Install the KDE card set -Enable network game support Install the PySol card set Install the XSkat card set Install the gnome-games card set
[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/
commit: 8ea66e4defe9d2b9737e8100ffa517192e9489c2 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Wed Jun 9 17:51:59 2021 + Commit: Ionen Wolkens gentoo org> CommitDate: Tue Jun 15 20:00:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ea66e4d games-board/freedoko: EAPI bump, fix dependencies and bugs Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://bugs.gentoo.org/655758 Signed-off-by: Ionen Wolkens gentoo.org> games-board/freedoko/freedoko-0.7.16-r1.ebuild | 47 +++--- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/games-board/freedoko/freedoko-0.7.16-r1.ebuild b/games-board/freedoko/freedoko-0.7.16-r1.ebuild index 2776366c552..3b960d8b53e 100644 --- a/games-board/freedoko/freedoko-0.7.16-r1.ebuild +++ b/games-board/freedoko/freedoko-0.7.16-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit eutils flag-o-matic gnome2-utils +EAPI=7 + +inherit desktop flag-o-matic toolchain-funcs xdg DESCRIPTION="FreeDoko is a Doppelkopf-game" HOMEPAGE="http://free-doko.sourceforge.net; @@ -25,12 +26,13 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+xskatcards +gnomecards +kdecards +openclipartcards +pysolcards +backgrounds" -RDEPEND=">=dev-cpp/gtkmm-2.4:2.4" -DEPEND="${RDEPEND} - app-arch/unzip +RDEPEND="dev-cpp/gtkmm:3.0 + media-libs/openal" +DEPEND="${RDEPEND}" +BDEPEND="app-arch/unzip virtual/pkgconfig" -S=${WORKDIR}/FreeDoko_${PV} +S="${WORKDIR}/FreeDoko_${PV}" src_unpack() { local cards=0 @@ -60,40 +62,31 @@ PATCHES=( "${FILESDIR}"/${PN}-0.7.16-gentoo.patch ) -src_prepare() { - default - export VARTEXFONTS="${T}/fonts" #652028 +src_compile() { + tc-export CXX append-cxxflags -std=c++14 -} + append-cppflags -DPUBLIC_DATA_DIRECTORY_VALUE="'\"${EPREFIX}/usr/share/${PN}\"'" \ + -DMANUAL_DIRECTORY_VALUE="'\"${EPREFIX}/usr/share/doc/${PF}/html\"'" -src_compile() { - export CPPFLAGS="-DPUBLIC_DATA_DIRECTORY_VALUE='\"/usr/share/${PN}\"'" - export CPPFLAGS+=" -DMANUAL_DIRECTORY_VALUE='\"/usr/share/doc/${PF}/html\"'" + export VARTEXFONTS="${T}/fonts" #652028 export OSTYPE=Linux export USE_NETWORK=false export USE_SOUND_ALUT=false # still marked experimental + emake Version - emake -C src FreeDoko + emake -C src FreeDoko LIBS="${LDFLAGS}" } src_install() { newbin src/FreeDoko freedoko + insinto /usr/share/${PN}/ doins -r data/{backgrounds,cardsets,iconsets,rules,sounds,translations,*png} - find "${D}/usr/share/${PN}" -name Makefile -delete - dodoc AUTHORS README ChangeLog + newicon -s 32 src/FreeDoko.png ${PN}.png make_desktop_entry ${PN} FreeDoko -} -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} + einstalldocs -pkg_postrm() { - gnome2_icon_cache_update + find "${ED}/usr/share/${PN}" -name Makefile -delete || die }
[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/
commit: 880ebfb838e80e30ed6e6fcb9b38746ad027bd74 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Jun 15 18:46:59 2021 + Commit: Ionen Wolkens gentoo org> CommitDate: Tue Jun 15 20:00:20 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=880ebfb8 games-board/freedoko: tidy ebuild Just a bit of extra sorting out for now, this package needs more attention and a version bump. Signed-off-by: Ionen Wolkens gentoo.org> games-board/freedoko/freedoko-0.7.16-r1.ebuild | 60 ++ 1 file changed, 33 insertions(+), 27 deletions(-) diff --git a/games-board/freedoko/freedoko-0.7.16-r1.ebuild b/games-board/freedoko/freedoko-0.7.16-r1.ebuild index 3b960d8b53e..0a9f423066a 100644 --- a/games-board/freedoko/freedoko-0.7.16-r1.ebuild +++ b/games-board/freedoko/freedoko-0.7.16-r1.ebuild @@ -3,54 +3,62 @@ EAPI=7 -inherit desktop flag-o-matic toolchain-funcs xdg +inherit desktop flag-o-matic toolchain-funcs DESCRIPTION="FreeDoko is a Doppelkopf-game" HOMEPAGE="http://free-doko.sourceforge.net; -SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip +SRC_URI=" + mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip backgrounds? ( mirror://sourceforge/free-doko/backgrounds.zip -> ${PN}-backgrounds.zip ) - kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip ) - xskatcards? ( mirror://sourceforge/free-doko/xskat.zip ) - pysolcards? ( mirror://sourceforge/free-doko/pysol.zip ) gnomecards? ( mirror://sourceforge/free-doko/gnome-games.zip ) + kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip ) openclipartcards? ( mirror://sourceforge/free-doko/openclipart.zip ) + pysolcards? ( mirror://sourceforge/free-doko/pysol.zip ) + xskatcards? ( mirror://sourceforge/free-doko/xskat.zip ) !xskatcards? ( !kdecards? ( !gnomecards? ( !openclipartcards? ( !pysolcards? ( mirror://sourceforge/free-doko/xskat.zip ) ) ) ) )" +S="${WORKDIR}/FreeDoko_${PV}" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+xskatcards +gnomecards +kdecards +openclipartcards +pysolcards +backgrounds" +IUSE="+backgrounds +gnomecards +kdecards +openclipartcards +pysolcards +xskatcards" -RDEPEND="dev-cpp/gtkmm:3.0 +RDEPEND=" + dev-cpp/gtkmm:3.0 media-libs/openal" DEPEND="${RDEPEND}" -BDEPEND="app-arch/unzip +BDEPEND=" + app-arch/unzip virtual/pkgconfig" -S="${WORKDIR}/FreeDoko_${PV}" +PATCHES=( + "${FILESDIR}"/${PN}-0.7.16-gentoo.patch +) src_unpack() { - local cards=0 + unpack FreeDoko_${PV}.src.zip + local cards= unpack_cards() { - use $1 && { unpack $2 ; cards=$(( $cards + 1 )); }; + if use $1; then + cards=y + unpack $2 + fi } - unpack FreeDoko_${PV}.src.zip - cp /dev/null "${S}"/src/Makefile.local || die cd "${S}"/data/cardsets || die - unpack_cards xskatcards xskat.zip - unpack_cards kdecards kdecarddecks.zip - unpack_cards pysolcards pysol.zip unpack_cards gnomecards gnome-games.zip + unpack_cards kdecards kdecarddecks.zip unpack_cards openclipartcards openclipart.zip - [ $cards ] || unpack xskat.zip # fall back to xskat + unpack_cards pysolcards pysol.zip + unpack_cards xskatcards xskat.zip + [[ $cards ]] || unpack xskat.zip # fall back to xskat if use backgrounds ; then cd "${S}"/data/backgrounds || die @@ -58,20 +66,18 @@ src_unpack() { fi } -PATCHES=( - "${FILESDIR}"/${PN}-0.7.16-gentoo.patch -) - src_compile() { tc-export CXX append-cxxflags -std=c++14 - append-cppflags -DPUBLIC_DATA_DIRECTORY_VALUE="'\"${EPREFIX}/usr/share/${PN}\"'" \ + append-cppflags \ + -DPUBLIC_DATA_DIRECTORY_VALUE="'\"${EPREFIX}/usr/share/${PN}\"'" \ -DMANUAL_DIRECTORY_VALUE="'\"${EPREFIX}/usr/share/doc/${PF}/html\"'" + touch src/Makefile.local || die # needed for above paths to be used - export VARTEXFONTS="${T}/fonts" #652028 export OSTYPE=Linux export USE_NETWORK=false export USE_SOUND_ALUT=false # still marked experimental + export VARTEXFONTS="${T}/fonts" #652028 emake Version emake -C src FreeDoko LIBS="${LDFLAGS}" @@ -80,13 +86,13 @@ src_compile() { src_install() { newbin src/FreeDoko freedoko - insinto /usr/share/${PN}/ - doins -r data/{backgrounds,cardsets,iconsets,rules,sounds,translations,*png} + insinto /usr/share/${PN} + doins -r data/{backgrounds,cardsets,iconsets,rules,sounds,translations,*.png} - newicon -s 32
[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/
commit: 6f56b68469297c47d00cdc2f412d8c659bd67cc3 Author: Pacho Ramos gentoo org> AuthorDate: Sun Nov 11 12:12:58 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Nov 11 13:07:24 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f56b684 games-board/freedoko: Disable optional gnet support As gnet is dead for years and has no security audits: https://wiki.gnome.org/Projects/GNetLibrary Signed-off-by: Pacho Ramos gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 games-board/freedoko/freedoko-0.7.16-r1.ebuild | 99 ++ 1 file changed, 99 insertions(+) diff --git a/games-board/freedoko/freedoko-0.7.16-r1.ebuild b/games-board/freedoko/freedoko-0.7.16-r1.ebuild new file mode 100644 index 000..2776366c552 --- /dev/null +++ b/games-board/freedoko/freedoko-0.7.16-r1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils flag-o-matic gnome2-utils + +DESCRIPTION="FreeDoko is a Doppelkopf-game" +HOMEPAGE="http://free-doko.sourceforge.net; +SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip + backgrounds? ( mirror://sourceforge/free-doko/backgrounds.zip -> ${PN}-backgrounds.zip ) + kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip ) + xskatcards? ( mirror://sourceforge/free-doko/xskat.zip ) + pysolcards? ( mirror://sourceforge/free-doko/pysol.zip ) + gnomecards? ( mirror://sourceforge/free-doko/gnome-games.zip ) + openclipartcards? ( mirror://sourceforge/free-doko/openclipart.zip ) + !xskatcards? ( + !kdecards? ( + !gnomecards? ( + !openclipartcards? ( + !pysolcards? ( + mirror://sourceforge/free-doko/xskat.zip ) ) ) ) )" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+xskatcards +gnomecards +kdecards +openclipartcards +pysolcards +backgrounds" + +RDEPEND=">=dev-cpp/gtkmm-2.4:2.4" +DEPEND="${RDEPEND} + app-arch/unzip + virtual/pkgconfig" + +S=${WORKDIR}/FreeDoko_${PV} + +src_unpack() { + local cards=0 + + unpack_cards() { + use $1 && { unpack $2 ; cards=$(( $cards + 1 )); }; + } + unpack FreeDoko_${PV}.src.zip + cp /dev/null "${S}"/src/Makefile.local || die + + cd "${S}"/data/cardsets || die + + unpack_cards xskatcards xskat.zip + unpack_cards kdecards kdecarddecks.zip + unpack_cards pysolcards pysol.zip + unpack_cards gnomecards gnome-games.zip + unpack_cards openclipartcards openclipart.zip + [ $cards ] || unpack xskat.zip # fall back to xskat + + if use backgrounds ; then + cd "${S}"/data/backgrounds || die + unpack ${PN}-backgrounds.zip + fi +} + +PATCHES=( + "${FILESDIR}"/${PN}-0.7.16-gentoo.patch +) + +src_prepare() { + default + export VARTEXFONTS="${T}/fonts" #652028 + append-cxxflags -std=c++14 +} + +src_compile() { + export CPPFLAGS="-DPUBLIC_DATA_DIRECTORY_VALUE='\"/usr/share/${PN}\"'" + export CPPFLAGS+=" -DMANUAL_DIRECTORY_VALUE='\"/usr/share/doc/${PF}/html\"'" + export OSTYPE=Linux + export USE_NETWORK=false + export USE_SOUND_ALUT=false # still marked experimental + emake Version + emake -C src FreeDoko +} + +src_install() { + newbin src/FreeDoko freedoko + insinto /usr/share/${PN}/ + doins -r data/{backgrounds,cardsets,iconsets,rules,sounds,translations,*png} + find "${D}/usr/share/${PN}" -name Makefile -delete + dodoc AUTHORS README ChangeLog + newicon -s 32 src/FreeDoko.png ${PN}.png + make_desktop_entry ${PN} FreeDoko +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}
[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/files/, games-board/freedoko/
commit: 83df52b405d1829e61415ba2b35bafd8335f287b Author: Pacho Ramos gentoo org> AuthorDate: Sun Apr 29 17:58:11 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Apr 29 18:13:33 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83df52b4 games-board/freedoko: Version bump Package-Manager: Portage-2.3.31, Repoman-2.3.9 games-board/freedoko/Manifest | 1 + .../freedoko/files/freedoko-0.7.16-gentoo.patch| 33 +++ games-board/freedoko/freedoko-0.7.16.ebuild| 100 + 3 files changed, 134 insertions(+) diff --git a/games-board/freedoko/Manifest b/games-board/freedoko/Manifest index d4d7544b3f4..ff03641f422 100644 --- a/games-board/freedoko/Manifest +++ b/games-board/freedoko/Manifest @@ -1,4 +1,5 @@ DIST FreeDoko_0.7.14.src.zip 21959828 BLAKE2B fb19946876978119e36d6f8bb7bd0049523f2145dbaf198fe00e776256a1d66efb3067324bb6ffb0f7db90b3b5acd937c848cf7ec7958419e6897ae918955fce SHA512 d9135ad846c48c05b3d61c07b146429ef8c54d301469a304912176164f05ee98682d05a5b2ec8feb1a568acae2d81b2bf62fa625a1fde09a5c1c03a1c782ff17 +DIST FreeDoko_0.7.16.src.zip 21763114 BLAKE2B a02e562badef67d596a5652a384022c0d7e86af766bdde35ce6fa18b212142a6f9008e3f702bdb571efc20cbbbaf1ebf61633a0e09fa97ed7bb5798268daaf34 SHA512 5a656539a6d8b06873532a32869a54a3cab68532b7ee8eb526e92c378ded957478e71ff5c2b1b5674f9433bb62adf2e94bdcf2d3ce13ffc7d846f268adbce314 DIST freedoko-backgrounds.zip 1067740 BLAKE2B 1f4485007bc78c3d7d497ba556a9f7bf0ff121a228e9d938ee000a12bd3921eef14c40cfbc6806b95c5905bff3f8e823b56c5fc110b290719a0771351f985d5c SHA512 66f118a5440b854c7ad4b1bdfd63e7f3bc16e66c921a6f632637269ca8855a6a45eb05a71bfb9105abda20285e35994ff3c9c50649f70ab6de4a082e092c3a14 DIST gnome-games.zip 3338038 BLAKE2B cc2ddb0abfcc1557addf896d15daf00150ec08d7bd75ae9c4fdf1e4cd6e5d126e9dcd5e50a7c62f1d74cb881259da8ba96f2f5623ff84041d04c6b5a38b9662e SHA512 42dd63c4eb696d7964b0ad30ff0032c80c93e8bd0a2517b0938005eaf8b12a584d7ce7901c6b3bb0bb55372e484162240c7719d2bf102035870b9c57f1930ec1 DIST kdecarddecks.zip 3370611 BLAKE2B d097bd95545e57250ea7dc034d40577253cf8e78e539e7b81217a548903817ee792a5ee1115eef7d8238b3e90a70601e272df84fc304b43be4a28697220d545c SHA512 4f3fdac3c672fd1de3db2f6603919a242db73e2445a8dac07d45dcf284cfbb56948925d6e512f15a0b4c762b71758c0755312624a0030a4d8f11dbfe65666c44 diff --git a/games-board/freedoko/files/freedoko-0.7.16-gentoo.patch b/games-board/freedoko/files/freedoko-0.7.16-gentoo.patch new file mode 100644 index 000..68160dcba92 --- /dev/null +++ b/games-board/freedoko/files/freedoko-0.7.16-gentoo.patch @@ -0,0 +1,33 @@ +--- a/src/Makefile.old 2017-06-06 13:30:39.005626983 +0200 b/src/Makefile 2017-06-06 13:31:09.180881871 +0200 +@@ -239,15 +239,7 @@ + # compile FreeDoko + $(PROGRAM) : show_settings objects $(DIRECTORIES) + @echo 'compiling $(PROGRAM)...' +-# Gentoo users do want to see the real compile line. +-# So remove the next five lines (the echo lines) +-# and remove the '@' in the line after. +- @echo '$(CXX) $$(OBJECTS)' +- @echo '$(INCLUDE_ALL)' +- @echo '$(LIBS_ALL)' +- @echo ' $(CXXFLAGS)' +- @echo '-o $@' +- @$(CXX) \ ++ $(CXX) \ + $(OBJECTS_ALL:%.o=$(FREEDOKO_WORKING_DIRECTORY)/%.o) \ + $(INCLUDE_ALL) \ + $(LIBS_ALL) \ +--- a/src/Makefile.rules.old 2017-06-06 13:30:27.071526137 +0200 b/src/Makefile.rules 2017-06-06 13:31:17.829954904 +0200 +@@ -80,10 +80,7 @@ + $(DEPTH)/Makefile.modules \ + $(DEPTH)/Makefile.local \ + $(DEPTH)/Makefile.os +-# Gentoo users do want to see the real compile line. +-# So remove the next line and remove the '@' in the line after. +- @echo $(CXX) -c $(SUBDIR)/$< +- @$(CXX) $(INCLUDE) $(CPPFLAGS) $(CXXFLAGS) $(DEPGEN_FLAGS) -o $@ -c $< ++ $(CXX) $(INCLUDE) $(CPPFLAGS) $(CXXFLAGS) $(DEPGEN_FLAGS) -o $@ -c $< + + + -include $(OBJECTS:%.o=$(TARGET_DIR_LOCAL)%.d) diff --git a/games-board/freedoko/freedoko-0.7.16.ebuild b/games-board/freedoko/freedoko-0.7.16.ebuild new file mode 100644 index 000..279bdf73da2 --- /dev/null +++ b/games-board/freedoko/freedoko-0.7.16.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils flag-o-matic gnome2-utils + +DESCRIPTION="FreeDoko is a Doppelkopf-game" +HOMEPAGE="http://free-doko.sourceforge.net; +SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip + backgrounds? ( mirror://sourceforge/free-doko/backgrounds.zip -> ${PN}-backgrounds.zip ) + kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip ) + xskatcards? ( mirror://sourceforge/free-doko/xskat.zip ) + pysolcards? ( mirror://sourceforge/free-doko/pysol.zip ) + gnomecards? ( mirror://sourceforge/free-doko/gnome-games.zip ) + openclipartcards? (
[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/files/, games-board/freedoko/
commit: e719478c45b1903f0a41e3a4d8505689a6b81611 Author: Pacho Ramos gentoo org> AuthorDate: Sun Apr 29 17:58:31 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Apr 29 18:13:34 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e719478c games-board/freedoko: Drop old Package-Manager: Portage-2.3.31, Repoman-2.3.9 games-board/freedoko/Manifest | 1 - .../freedoko/files/freedoko-0.7.14-gentoo.patch| 42 - games-board/freedoko/freedoko-0.7.14-r1.ebuild | 100 - 3 files changed, 143 deletions(-) diff --git a/games-board/freedoko/Manifest b/games-board/freedoko/Manifest index ff03641f422..54c25bb38de 100644 --- a/games-board/freedoko/Manifest +++ b/games-board/freedoko/Manifest @@ -1,4 +1,3 @@ -DIST FreeDoko_0.7.14.src.zip 21959828 BLAKE2B fb19946876978119e36d6f8bb7bd0049523f2145dbaf198fe00e776256a1d66efb3067324bb6ffb0f7db90b3b5acd937c848cf7ec7958419e6897ae918955fce SHA512 d9135ad846c48c05b3d61c07b146429ef8c54d301469a304912176164f05ee98682d05a5b2ec8feb1a568acae2d81b2bf62fa625a1fde09a5c1c03a1c782ff17 DIST FreeDoko_0.7.16.src.zip 21763114 BLAKE2B a02e562badef67d596a5652a384022c0d7e86af766bdde35ce6fa18b212142a6f9008e3f702bdb571efc20cbbbaf1ebf61633a0e09fa97ed7bb5798268daaf34 SHA512 5a656539a6d8b06873532a32869a54a3cab68532b7ee8eb526e92c378ded957478e71ff5c2b1b5674f9433bb62adf2e94bdcf2d3ce13ffc7d846f268adbce314 DIST freedoko-backgrounds.zip 1067740 BLAKE2B 1f4485007bc78c3d7d497ba556a9f7bf0ff121a228e9d938ee000a12bd3921eef14c40cfbc6806b95c5905bff3f8e823b56c5fc110b290719a0771351f985d5c SHA512 66f118a5440b854c7ad4b1bdfd63e7f3bc16e66c921a6f632637269ca8855a6a45eb05a71bfb9105abda20285e35994ff3c9c50649f70ab6de4a082e092c3a14 DIST gnome-games.zip 3338038 BLAKE2B cc2ddb0abfcc1557addf896d15daf00150ec08d7bd75ae9c4fdf1e4cd6e5d126e9dcd5e50a7c62f1d74cb881259da8ba96f2f5623ff84041d04c6b5a38b9662e SHA512 42dd63c4eb696d7964b0ad30ff0032c80c93e8bd0a2517b0938005eaf8b12a584d7ce7901c6b3bb0bb55372e484162240c7719d2bf102035870b9c57f1930ec1 diff --git a/games-board/freedoko/files/freedoko-0.7.14-gentoo.patch b/games-board/freedoko/files/freedoko-0.7.14-gentoo.patch deleted file mode 100644 index d1d18fb485e..000 --- a/games-board/freedoko/files/freedoko-0.7.14-gentoo.patch +++ /dev/null @@ -1,42 +0,0 @@ FreeDoko_0.7.14.orig/src/Makefile -+++ FreeDoko_0.7.14/src/Makefile -@@ -241,15 +241,7 @@ - # compile FreeDoko - $(PROGRAM) : show_settings objects $(DIRECTORIES) - @echo 'compiling $(PROGRAM)...' --# Gentoo users do want to see the real compile line. --# So remove the next five lines (the echo lines) --# and remove the '@' in the line after. -- @echo '$(CXX) $(CXXFLAGS)' -- @echo '$$(OBJECTS)' -- @echo '$(INCLUDE_ALL)' -- @echo '$(LIBS_ALL)' -- @echo '-o $@' -- @$(CXX) $(CXXFLAGS) \ -+ $(CXX) $(CXXFLAGS) \ - $(OBJECTS_ALL:%.o=$(FREEDOKO_WORKING_DIRECTORY)/%.o) \ - $(INCLUDE_ALL) \ - $(LIBS_ALL) \ FreeDoko_0.7.14.orig/src/Makefile.os -+++ FreeDoko_0.7.14/src/Makefile.os -@@ -1,6 +1,5 @@ - include $(DEPTH)/../Makefile.os - --include $(DEPTH)/Makefile.local - include $(DEPTH)/Makefile.modules - - ifeq ($(OPERATING_SYSTEM), Linux) FreeDoko_0.7.14.orig/src/Makefile.rules -+++ FreeDoko_0.7.14/src/Makefile.rules -@@ -80,10 +80,8 @@ - $(DEPTH)/Makefile.modules \ - $(DEPTH)/Makefile.local \ - $(DEPTH)/Makefile.os --# Gentoo users do want to see the real compile line. --# So remove the next line and remove the '@' in the line after. - @echo $(CXX) -c $(SUBDIR)/$< -- @$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $< -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $< - - - -include $(OBJECTS:%.o=$(TARGET_DIR_LOCAL)%.d) diff --git a/games-board/freedoko/freedoko-0.7.14-r1.ebuild b/games-board/freedoko/freedoko-0.7.14-r1.ebuild deleted file mode 100644 index 1c2f599e443..000 --- a/games-board/freedoko/freedoko-0.7.14-r1.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit eutils flag-o-matic gnome2-utils - -DESCRIPTION="FreeDoko is a Doppelkopf-game" -HOMEPAGE="http://free-doko.sourceforge.net; -SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip - backgrounds? ( mirror://sourceforge/free-doko/backgrounds.zip -> ${PN}-backgrounds.zip ) - kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip ) - xskatcards? ( mirror://sourceforge/free-doko/xskat.zip ) - pysolcards? ( mirror://sourceforge/free-doko/pysol.zip ) - gnomecards? ( mirror://sourceforge/free-doko/gnome-games.zip ) - openclipartcards? ( mirror://sourceforge/free-doko/openclipart.zip ) - !xskatcards? ( - !kdecards? ( -
[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/files/
commit: d1d9bfb2dd63d57db8d4ff62cde7ad6f7fddaa09 Author: Michael Mair-Keimberger gmail com> AuthorDate: Fri Dec 22 15:19:33 2017 + Commit: David Seifert gentoo org> CommitDate: Sat Dec 23 13:09:12 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1d9bfb2 games-board/freedoko: remove unused patches .../freedoko/files/freedoko-0.7.13-gentoo.patch| 45 -- .../freedoko/files/freedoko-0.7.13-libsigc26.patch | 36 - 2 files changed, 81 deletions(-) diff --git a/games-board/freedoko/files/freedoko-0.7.13-gentoo.patch b/games-board/freedoko/files/freedoko-0.7.13-gentoo.patch deleted file mode 100644 index 91bd228186b..000 --- a/games-board/freedoko/files/freedoko-0.7.13-gentoo.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff -ru FreeDoko_0.7.13.orig/src/Makefile FreeDoko_0.7.13/src/Makefile FreeDoko_0.7.13.orig/src/Makefile 2014-12-29 15:41:58.0 -0500 -+++ FreeDoko_0.7.13/src/Makefile 2015-01-27 13:23:11.498892598 -0500 -@@ -242,15 +242,7 @@ - # compile FreeDoko - $(PROGRAM) : show_settings objects $(DIRECTORIES) - @echo 'compiling $(PROGRAM)...' --# Gentoo users do want to see the real compile line. --# So remove the next five lines (the echo lines) --# and remove the '@' in the line after. -- @echo '$(CXX) $(CXXFLAGS)' -- @echo '$$(OBJECTS)' -- @echo '$(INCLUDE_ALL)' -- @echo '$(LIBS_ALL)' -- @echo '-o $@' -- @$(CXX) $(CXXFLAGS) \ -+ $(CXX) $(CXXFLAGS) \ - $(OBJECTS_ALL:%.o=$(FREEDOKO_WORKING_DIRECTORY)/%.o) \ - $(INCLUDE_ALL) \ - $(LIBS_ALL) \ -diff -ru FreeDoko_0.7.13.orig/src/Makefile.os FreeDoko_0.7.13/src/Makefile.os FreeDoko_0.7.13.orig/src/Makefile.os 2014-12-29 15:41:58.0 -0500 -+++ FreeDoko_0.7.13/src/Makefile.os2015-01-27 13:23:22.185483548 -0500 -@@ -1,6 +1,5 @@ - include $(DEPTH)/../Makefile.os - --include $(DEPTH)/Makefile.local - include $(DEPTH)/Makefile.modules - - ifeq ($(OPERATING_SYSTEM), Linux) -diff -ru FreeDoko_0.7.13.orig/src/Makefile.rules FreeDoko_0.7.13/src/Makefile.rules FreeDoko_0.7.13.orig/src/Makefile.rules2014-12-29 15:41:58.0 -0500 -+++ FreeDoko_0.7.13/src/Makefile.rules 2015-01-27 13:23:44.780618643 -0500 -@@ -80,10 +80,7 @@ - $(DEPTH)/Makefile.modules \ - $(DEPTH)/Makefile.local \ - $(DEPTH)/Makefile.os --# Gentoo users do want to see the real compile line. --# So remove the next line and remove the '@' in the line after. -- @echo $(CXX) -c $(SUBDIR)/$< -- @$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $< -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $< - - - -include $(OBJECTS:%.o=$(TARGET_DIR_LOCAL)%.d) diff --git a/games-board/freedoko/files/freedoko-0.7.13-libsigc26.patch b/games-board/freedoko/files/freedoko-0.7.13-libsigc26.patch deleted file mode 100644 index 2c356695c71..000 --- a/games-board/freedoko/files/freedoko-0.7.13-libsigc26.patch +++ /dev/null @@ -1,36 +0,0 @@ src/ui/gtkmm/player.h 2015-11-17 14:04:43.251096876 +0100 -+++ src/ui/gtkmm/player.h 2015-11-17 14:04:43.251096876 +0100 -@@ -36,7 +36,7 @@ - #include "../../player/player.h" - typedef ::Player::Type PlayerType; - --#include-+#include - namespace Gtk { - class Label; - class Button; - src/ui/gtkmm/aiconfig.h2015-11-17 14:04:43.251096876 +0100 -+++ src/ui/gtkmm/aiconfig.h2015-11-17 14:04:43.251096876 +0100 -@@ -36,7 +36,7 @@ - #include "../../player/aiconfig.h" - - #include "widgets/label_type_selector.h" --#include -+#include - #include - namespace Gtk { - class VBox; - src/player/ai/heuristics.cpp 2015-11-17 14:04:13.267766289 +0100 -+++ src/player/ai/heuristics.cpp 2015-11-17 14:04:13.267766289 +0100 -@@ -2350,7 +2350,7 @@ -&& ( card.less(c) -|| ( tpoints >= hi.value( Aiconfig::LIMITDOLLE ) -&& c.less(Card(Card::DIAMOND, Card::QUEEN)) -- && !hi.color_runs( t.startcard().color() ) < 1 -+ && (hi.color_runs( t.startcard().color() ) > 0) -&& !t.islastcard() - ) - ) -
[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/files/
commit: ca258bceb0d5755035dc7da8c62119b2354f2992 Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Sat Nov 26 16:05:05 2016 + Commit: David Seifert gentoo org> CommitDate: Sat Nov 26 17:58:44 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca258bce games-board/freedoko: remove unused patches Closes: https://github.com/gentoo/gentoo/pull/2919 games-board/freedoko/files/Fix_Cardset_Make.patch | 12 games-board/freedoko/files/nodoc.patch| 10 -- games-board/freedoko/files/nonet.patch| 11 --- games-board/freedoko/files/portage-cxx.patch | 12 4 files changed, 45 deletions(-) diff --git a/games-board/freedoko/files/Fix_Cardset_Make.patch b/games-board/freedoko/files/Fix_Cardset_Make.patch deleted file mode 100644 index 32bdc32.. --- a/games-board/freedoko/files/Fix_Cardset_Make.patch +++ /dev/null @@ -1,12 +0,0 @@ data/cardsets/Makefile.orig -+++ data/cardsets/Makefile -@@ -12,8 +12,7 @@ - @# In order to add all cardsets to the release - @# uncomment the following line, add a trailing backslash - @# and remove the line after -- @#for d in Altenburg xskat kdecarddecks pysol; do -- for d in Altenburg; do \ -+ for d in Altenburg xskat kdecarddecks pysol; do \ - cp -r $$d $(DEPTH)/release/FreeDoko_$(VERSION)/cardsets/; \ - done - endif diff --git a/games-board/freedoko/files/nodoc.patch b/games-board/freedoko/files/nodoc.patch deleted file mode 100644 index b3741a3.. --- a/games-board/freedoko/files/nodoc.patch +++ /dev/null @@ -1,10 +0,0 @@ Makefile.orig -+++ Makefile -@@ -139,7 +139,6 @@ - $(MAKE) Version - cp AUTHORS COPYING ChangeLog README LIESMICH Version release/FreeDoko_$(VERSION)/ - $(MAKE) -C data release -- $(MAKE) -C doc release - $(RM) -r `find release/FreeDoko_$(VERSION)/ -name ".svn"` - - .PHONY: release_linux_binary diff --git a/games-board/freedoko/files/nonet.patch b/games-board/freedoko/files/nonet.patch deleted file mode 100644 index 1902dd5.. --- a/games-board/freedoko/files/nonet.patch +++ /dev/null @@ -1,11 +0,0 @@ src/Makefile.modules.orig -+++ src/Makefile.modules -@@ -11,7 +11,7 @@ - # The network code - # It is not necessary for single players - # The network does use the 'GNet' library (http://www.gnetlibrary.org/) --USE_NETWORK ?= true -+USE_NETWORK ?= false - - # whether to use thread support (experimental, use at your own risk) - #USE_THREADS ?= true diff --git a/games-board/freedoko/files/portage-cxx.patch b/games-board/freedoko/files/portage-cxx.patch deleted file mode 100644 index 894b480.. --- a/games-board/freedoko/files/portage-cxx.patch +++ /dev/null @@ -1,12 +0,0 @@ src/Makefile.rules.orig -+++ src/Makefile.rules -@@ -5,8 +5,7 @@ - $(DEPTH)/Makefile.os - # Gentoo users do want to see the real compile line. - # So remove the next line and remove the '@' in the line after. -- @echo $(CXX) -c $< -- @$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $< -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $< - - -include $(OBJECTS:.o=.d) -
[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/
commit: 0105d0211a8e56f9b900966832b16f262bc50ecc Author: Austin English gentoo org> AuthorDate: Wed Sep 7 22:39:45 2016 + Commit: Austin English gentoo org> CommitDate: Wed Sep 7 23:28:55 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0105d021 games-board/freedoko: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0 games-board/freedoko/freedoko-0.7.14-r1.ebuild | 101 + 1 file changed, 101 insertions(+) diff --git a/games-board/freedoko/freedoko-0.7.14-r1.ebuild b/games-board/freedoko/freedoko-0.7.14-r1.ebuild new file mode 100644 index ..8ff6330 --- /dev/null +++ b/games-board/freedoko/freedoko-0.7.14-r1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils flag-o-matic gnome2-utils + +DESCRIPTION="FreeDoko is a Doppelkopf-game" +HOMEPAGE="http://free-doko.sourceforge.net; +SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip + backgrounds? ( mirror://sourceforge/free-doko/backgrounds.zip -> ${PN}-backgrounds.zip ) + kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip ) + xskatcards? ( mirror://sourceforge/free-doko/xskat.zip ) + pysolcards? ( mirror://sourceforge/free-doko/pysol.zip ) + gnomecards? ( mirror://sourceforge/free-doko/gnome-games.zip ) + openclipartcards? ( mirror://sourceforge/free-doko/openclipart.zip ) + !xskatcards? ( + !kdecards? ( + !gnomecards? ( + !openclipartcards? ( + !pysolcards? ( + mirror://sourceforge/free-doko/xskat.zip ) ) ) ) )" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="+xskatcards +gnomecards +kdecards +openclipartcards +pysolcards +backgrounds net" + +RDEPEND="net? ( net-libs/gnet dev-libs/glib:2 ) + >=dev-cpp/gtkmm-2.4:2.4" +DEPEND="${RDEPEND} + app-arch/unzip + virtual/pkgconfig" + +S=${WORKDIR}/FreeDoko_${PV} + +src_unpack() { + local cards=0 + + unpack_cards() { + use $1 && { unpack $2 ; cards=$(( $cards + 1 )); }; + } + unpack FreeDoko_${PV}.src.zip + cp /dev/null "${S}"/src/Makefile.local || die + + cd "${S}"/data/cardsets || die + + unpack_cards xskatcards xskat.zip + unpack_cards kdecards kdecarddecks.zip + unpack_cards pysolcards pysol.zip + unpack_cards gnomecards gnome-games.zip + unpack_cards openclipartcards openclipart.zip + [ $cards ] || unpack xskat.zip # fall back to xskat + + if use backgrounds ; then + cd "${S}"/data/backgrounds || die + unpack ${PN}-backgrounds.zip + fi +} + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch +) + +src_prepare() { + default + + append-cxxflags -std=c++11 +} + +src_compile() { + export CPPFLAGS="-DPUBLIC_DATA_DIRECTORY_VALUE='\"/usr/share/${PN}\"'" + export CPPFLAGS+=" -DMANUAL_DIRECTORY_VALUE='\"/usr/share/doc/${PF}/html\"'" + export OSTYPE=Linux + export USE_NETWORK=$(use net && echo true || echo false) + export USE_SOUND_ALUT=false # still marked experimental + emake Version + emake -C src FreeDoko +} + +src_install() { + newbin src/FreeDoko freedoko + insinto /usr/share/${PN}/ + doins -r data/{backgrounds,cardsets,iconsets,rules,sounds,translations,*png} + find "${D}/usr/share/${PN}" -name Makefile -delete + dodoc AUTHORS README ChangeLog + newicon -s 32 src/FreeDoko.png ${PN}.png + make_desktop_entry ${PN} FreeDoko +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}
[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/, games-board/freedoko/files/
commit: 6b00e2d0140ccb82629183f0c07e6de060bf89f6 Author: Michael Sterrett gentoo org> AuthorDate: Sat Apr 2 05:16:15 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Sat Apr 2 05:16:29 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b00e2d0 games-board/freedoko: version bump (bug #576682) Package-Manager: portage-2.2.26 games-board/freedoko/Manifest | 1 + .../freedoko/files/freedoko-0.7.14-gentoo.patch| 42 + games-board/freedoko/freedoko-0.7.14.ebuild| 99 ++ 3 files changed, 142 insertions(+) diff --git a/games-board/freedoko/Manifest b/games-board/freedoko/Manifest index 8e3103e..aed449a 100644 --- a/games-board/freedoko/Manifest +++ b/games-board/freedoko/Manifest @@ -1,4 +1,5 @@ DIST FreeDoko_0.7.13.src.zip 17463949 SHA256 256187c8a5bf6f21cf8c57e40fe25391e371d028d5adff67114c5a8576938cac SHA512 c352419764a6fcaa72946adc77293bcf34b80bcdea4b34422e7c48cb0f9c464a53eafb009d146930bcdb95e1010aed93380cfd8b8826647c547edfbc10d00465 WHIRLPOOL f95239b551a709eada50267bf53006201013a2ac2fca89d2bc053783b2eb70aee93c005f40e2104425f1ef8e68379680ed2c7e18cfe65dde96503405148a996f +DIST FreeDoko_0.7.14.src.zip 21959828 SHA256 a27ab7acabb28aa8d038f0022377ea3e68d52626d454beaf0f65e0b91c777de9 SHA512 d9135ad846c48c05b3d61c07b146429ef8c54d301469a304912176164f05ee98682d05a5b2ec8feb1a568acae2d81b2bf62fa625a1fde09a5c1c03a1c782ff17 WHIRLPOOL 888223200eddf5a53fcd730ce3abe2923898f994f16be8bd83e8bfbfce515abd319b4d4aec2b04cc722a5f20c7aa62ebef8d795c1c02c8a35a1b16d53fa4bf27 DIST freedoko-backgrounds.zip 1067740 SHA256 70129744d330976da17675b59ad3f2bc088e77a7b6b8279e866da8e74ed385ee SHA512 66f118a5440b854c7ad4b1bdfd63e7f3bc16e66c921a6f632637269ca8855a6a45eb05a71bfb9105abda20285e35994ff3c9c50649f70ab6de4a082e092c3a14 WHIRLPOOL 060378fa787c12b5a422acceb71526882d1ac9ebfedca7b10cb703a3c6bed183788a27cefef39d618ba130579005ae32eee8e1cb04065097f524dc3e517cf92c DIST gnome-games.zip 3338038 SHA256 bf4ba39f8a95f8881c58327803ff144181f6100f9bd1ad9c383b8d500dc32cf8 SHA512 42dd63c4eb696d7964b0ad30ff0032c80c93e8bd0a2517b0938005eaf8b12a584d7ce7901c6b3bb0bb55372e484162240c7719d2bf102035870b9c57f1930ec1 WHIRLPOOL c61c4f1f9c66af8c459e7210b9cee0b077d1ef6b5fc0e0df3863db2839111927a131bdd91c78676366e46fadd65fc4262465ae8e4df6046372c9e4e15c5423e0 DIST kdecarddecks.zip 3370611 SHA256 07b17aaef44c5643b12089da7ffd8f8b18f8f5541e7d01fc04e53c964780cdac SHA512 4f3fdac3c672fd1de3db2f6603919a242db73e2445a8dac07d45dcf284cfbb56948925d6e512f15a0b4c762b71758c0755312624a0030a4d8f11dbfe65666c44 WHIRLPOOL 84998d7ff4de194cce090ac66e3cbf4dbbc27519ece008cc8c2744f900bea06d6a716279e8d6d496b463d0895077bf5d5533a7d0dcee410e717823d0228e8578 diff --git a/games-board/freedoko/files/freedoko-0.7.14-gentoo.patch b/games-board/freedoko/files/freedoko-0.7.14-gentoo.patch new file mode 100644 index 000..d1d18fb --- /dev/null +++ b/games-board/freedoko/files/freedoko-0.7.14-gentoo.patch @@ -0,0 +1,42 @@ +--- FreeDoko_0.7.14.orig/src/Makefile FreeDoko_0.7.14/src/Makefile +@@ -241,15 +241,7 @@ + # compile FreeDoko + $(PROGRAM) : show_settings objects $(DIRECTORIES) + @echo 'compiling $(PROGRAM)...' +-# Gentoo users do want to see the real compile line. +-# So remove the next five lines (the echo lines) +-# and remove the '@' in the line after. +- @echo '$(CXX) $(CXXFLAGS)' +- @echo '$$(OBJECTS)' +- @echo '$(INCLUDE_ALL)' +- @echo '$(LIBS_ALL)' +- @echo '-o $@' +- @$(CXX) $(CXXFLAGS) \ ++ $(CXX) $(CXXFLAGS) \ + $(OBJECTS_ALL:%.o=$(FREEDOKO_WORKING_DIRECTORY)/%.o) \ + $(INCLUDE_ALL) \ + $(LIBS_ALL) \ +--- FreeDoko_0.7.14.orig/src/Makefile.os FreeDoko_0.7.14/src/Makefile.os +@@ -1,6 +1,5 @@ + include $(DEPTH)/../Makefile.os + +-include $(DEPTH)/Makefile.local + include $(DEPTH)/Makefile.modules + + ifeq ($(OPERATING_SYSTEM), Linux) +--- FreeDoko_0.7.14.orig/src/Makefile.rules FreeDoko_0.7.14/src/Makefile.rules +@@ -80,10 +80,8 @@ + $(DEPTH)/Makefile.modules \ + $(DEPTH)/Makefile.local \ + $(DEPTH)/Makefile.os +-# Gentoo users do want to see the real compile line. +-# So remove the next line and remove the '@' in the line after. + @echo $(CXX) -c $(SUBDIR)/$< +- @$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $< ++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $< + + + -include $(OBJECTS:%.o=$(TARGET_DIR_LOCAL)%.d) diff --git a/games-board/freedoko/freedoko-0.7.14.ebuild b/games-board/freedoko/freedoko-0.7.14.ebuild new file mode 100644 index 000..98a1b80 --- /dev/null +++ b/games-board/freedoko/freedoko-0.7.14.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils flag-o-matic gnome2-utils games +
[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/
commit: ff1ee324cbfb37543cc15ac79949cfa0bd3bd330 Author: Michael Sterrett gentoo org> AuthorDate: Wed Jan 6 16:22:28 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Wed Jan 6 16:40:29 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff1ee324 games-board/freedoko: clean old Package-Manager: portage-2.2.26 games-board/freedoko/freedoko-0.7.13.ebuild | 98 - 1 file changed, 98 deletions(-) diff --git a/games-board/freedoko/freedoko-0.7.13.ebuild b/games-board/freedoko/freedoko-0.7.13.ebuild deleted file mode 100644 index 9af95db..000 --- a/games-board/freedoko/freedoko-0.7.13.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils gnome2-utils games - -DESCRIPTION="FreeDoko is a Doppelkopf-game" -HOMEPAGE="http://free-doko.sourceforge.net; -SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip - backgrounds? ( mirror://sourceforge/free-doko/backgrounds.zip -> ${PN}-backgrounds.zip ) - kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip ) - xskatcards? ( mirror://sourceforge/free-doko/xskat.zip ) - pysolcards? ( mirror://sourceforge/free-doko/pysol.zip ) - gnomecards? ( mirror://sourceforge/free-doko/gnome-games.zip ) - openclipartcards? ( mirror://sourceforge/free-doko/openclipart.zip ) - !xskatcards? ( - !kdecards? ( - !gnomecards? ( - !openclipartcards? ( - !pysolcards? ( - mirror://sourceforge/free-doko/xskat.zip ) ) ) ) )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc x86" -IUSE="+xskatcards +gnomecards +kdecards +openclipartcards +pysolcards +backgrounds net" - -RDEPEND="net? ( net-libs/gnet dev-libs/glib:2 ) - >=dev-cpp/gtkmm-2.4:2.4" -DEPEND="${RDEPEND} - app-arch/unzip - virtual/pkgconfig" - -S=${WORKDIR}/FreeDoko_${PV} - -src_unpack() { - local cards=0 - - unpack_cards() { - use $1 && { unpack $2 ; cards=$(( $cards + 1 )); }; - } - unpack FreeDoko_${PV}.src.zip - cp /dev/null "${S}"/src/Makefile.local - - cd "${S}"/data/cardsets - - unpack_cards xskatcards xskat.zip - unpack_cards kdecards kdecarddecks.zip - unpack_cards pysolcards pysol.zip - unpack_cards gnomecards gnome-games.zip - unpack_cards openclipartcards openclipart.zip - [ $cards ] || unpack xskat.zip # fall back to xskat - - if use backgrounds ; then - cd "${S}"/data/backgrounds - unpack ${PN}-backgrounds.zip - fi -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-gentoo.patch -} - -src_compile() { - export CPPFLAGS="-DPUBLIC_DATA_DIRECTORY_VALUE='\"${GAMES_DATADIR}/${PN}\"'" - export CPPFLAGS+=" -DMANUAL_DIRECTORY_VALUE='\"/usr/share/doc/${PF}/html\"'" - export OSTYPE=Linux - export USE_NETWORK=$(use net && echo true || echo false) - export USE_SOUND_ALUT=false # still marked experimental - emake Version - emake -C src FreeDoko -} - -src_install() { - newgamesbin src/FreeDoko freedoko - insinto "${GAMES_DATADIR}"/${PN}/ - doins -r data/{ai,cardsets,backgrounds,rules,sounds,translations,*png} - find "${D}${GAMES_DATADIR}"/${PN} -name Makefile -delete - dodoc AUTHORS README ChangeLog - newicon -s 32 src/FreeDoko.png ${PN}.png - make_desktop_entry ${PN} FreeDoko - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -}
[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/
commit: 3fd6351cb58334a178f3c5ae35d54f3845f4298a Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Jan 3 11:53:29 2016 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Jan 3 11:53:29 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fd6351c games-board/freedoko: amd64 stable wrt bug #570378 Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> games-board/freedoko/freedoko-0.7.13-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-board/freedoko/freedoko-0.7.13-r1.ebuild b/games-board/freedoko/freedoko-0.7.13-r1.ebuild index 5ed3755..016aea6 100644 --- a/games-board/freedoko/freedoko-0.7.13-r1.ebuild +++ b/games-board/freedoko/freedoko-0.7.13-r1.ebuild @@ -23,7 +23,7 @@ SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="amd64 ~ppc ~x86" IUSE="+xskatcards +gnomecards +kdecards +openclipartcards +pysolcards +backgrounds net" RDEPEND="net? ( net-libs/gnet dev-libs/glib:2 )
[gentoo-commits] repo/gentoo:master commit in: games-board/freedoko/files/, games-board/freedoko/
commit: 91ecddb6c84583bc2839b5b510629880a763a045 Author: Pacho Ramos gentoo org> AuthorDate: Thu Dec 31 11:42:11 2015 + Commit: Pacho Ramos gentoo org> CommitDate: Thu Dec 31 11:42:11 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91ecddb6 games-board/freedoko: Fix building with latest glibmm/libsigc++ (#569530) Package-Manager: portage-2.2.26 .../freedoko/files/freedoko-0.7.13-libsigc26.patch | 36 games-board/freedoko/freedoko-0.7.13-r1.ebuild | 100 + 2 files changed, 136 insertions(+) diff --git a/games-board/freedoko/files/freedoko-0.7.13-libsigc26.patch b/games-board/freedoko/files/freedoko-0.7.13-libsigc26.patch new file mode 100644 index 000..2c35669 --- /dev/null +++ b/games-board/freedoko/files/freedoko-0.7.13-libsigc26.patch @@ -0,0 +1,36 @@ +--- src/ui/gtkmm/player.h 2015-11-17 14:04:43.251096876 +0100 src/ui/gtkmm/player.h 2015-11-17 14:04:43.251096876 +0100 +@@ -36,7 +36,7 @@ + #include "../../player/player.h" + typedef ::Player::Type PlayerType; + +-#include++#include + namespace Gtk { + class Label; + class Button; + +--- src/ui/gtkmm/aiconfig.h2015-11-17 14:04:43.251096876 +0100 src/ui/gtkmm/aiconfig.h2015-11-17 14:04:43.251096876 +0100 +@@ -36,7 +36,7 @@ + #include "../../player/aiconfig.h" + + #include "widgets/label_type_selector.h" +-#include ++#include + #include + namespace Gtk { + class VBox; + +--- src/player/ai/heuristics.cpp 2015-11-17 14:04:13.267766289 +0100 src/player/ai/heuristics.cpp 2015-11-17 14:04:13.267766289 +0100 +@@ -2350,7 +2350,7 @@ +&& ( card.less(c) +|| ( tpoints >= hi.value( Aiconfig::LIMITDOLLE ) +&& c.less(Card(Card::DIAMOND, Card::QUEEN)) +- && !hi.color_runs( t.startcard().color() ) < 1 ++ && (hi.color_runs( t.startcard().color() ) > 0) +&& !t.islastcard() + ) + ) + diff --git a/games-board/freedoko/freedoko-0.7.13-r1.ebuild b/games-board/freedoko/freedoko-0.7.13-r1.ebuild new file mode 100644 index 000..5ed3755 --- /dev/null +++ b/games-board/freedoko/freedoko-0.7.13-r1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils flag-o-matic gnome2-utils games + +DESCRIPTION="FreeDoko is a Doppelkopf-game" +HOMEPAGE="http://free-doko.sourceforge.net; +SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip + backgrounds? ( mirror://sourceforge/free-doko/backgrounds.zip -> ${PN}-backgrounds.zip ) + kdecards? ( mirror://sourceforge/free-doko/kdecarddecks.zip ) + xskatcards? ( mirror://sourceforge/free-doko/xskat.zip ) + pysolcards? ( mirror://sourceforge/free-doko/pysol.zip ) + gnomecards? ( mirror://sourceforge/free-doko/gnome-games.zip ) + openclipartcards? ( mirror://sourceforge/free-doko/openclipart.zip ) + !xskatcards? ( + !kdecards? ( + !gnomecards? ( + !openclipartcards? ( + !pysolcards? ( + mirror://sourceforge/free-doko/xskat.zip ) ) ) ) )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="+xskatcards +gnomecards +kdecards +openclipartcards +pysolcards +backgrounds net" + +RDEPEND="net? ( net-libs/gnet dev-libs/glib:2 ) + >=dev-cpp/gtkmm-2.4:2.4" +DEPEND="${RDEPEND} + app-arch/unzip + virtual/pkgconfig" + +S=${WORKDIR}/FreeDoko_${PV} + +src_unpack() { + local cards=0 + + unpack_cards() { + use $1 && { unpack $2 ; cards=$(( $cards + 1 )); }; + } + unpack FreeDoko_${PV}.src.zip + cp /dev/null "${S}"/src/Makefile.local + + cd "${S}"/data/cardsets + + unpack_cards xskatcards xskat.zip + unpack_cards kdecards kdecarddecks.zip + unpack_cards pysolcards pysol.zip + unpack_cards gnomecards gnome-games.zip + unpack_cards openclipartcards openclipart.zip + [ $cards ] || unpack xskat.zip # fall back to xskat + + if use backgrounds ; then + cd "${S}"/data/backgrounds + unpack ${PN}-backgrounds.zip + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + epatch "${FILESDIR}"/${P}-libsigc26.patch + append-cxxflags -std=c++11 +} + +src_compile() { + export CPPFLAGS="-DPUBLIC_DATA_DIRECTORY_VALUE='\"${GAMES_DATADIR}/${PN}\"'" + export CPPFLAGS+=" -DMANUAL_DIRECTORY_VALUE='\"/usr/share/doc/${PF}/html\"'" + export OSTYPE=Linux + export USE_NETWORK=$(use net && echo true || echo false) + export USE_SOUND_ALUT=false # still marked experimental + emake