diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-12-22 01:29:22 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-12-22 01:29:22 +0000 |
commit | 8de334c52c52878a43f64dbfc8ef7e0ac6ff37ed (patch) | |
tree | a52d2ed0f0df1a31ba01b5cd4a0da96383bc04e7 /games-puzzle | |
parent | version bump with patch from Michael (kensington) (bug #395583) (diff) | |
download | historical-8de334c52c52878a43f64dbfc8ef7e0ac6ff37ed.tar.gz historical-8de334c52c52878a43f64dbfc8ef7e0ac6ff37ed.tar.bz2 historical-8de334c52c52878a43f64dbfc8ef7e0ac6ff37ed.zip |
version bump with patch reroll from Michael (kensington) (bug #395577)
Package-Manager: portage-2.1.10.41/cvs/Linux i686
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/sgt-puzzles/ChangeLog | 9 | ||||
-rw-r--r-- | games-puzzle/sgt-puzzles/Manifest | 7 | ||||
-rw-r--r-- | games-puzzle/sgt-puzzles/files/sgt-puzzles-9023-gentoo.patch | 4 | ||||
-rw-r--r-- | games-puzzle/sgt-puzzles/files/sgt-puzzles-9306-gentoo.patch | 22 | ||||
-rw-r--r-- | games-puzzle/sgt-puzzles/sgt-puzzles-9306.ebuild | 74 |
5 files changed, 111 insertions, 5 deletions
diff --git a/games-puzzle/sgt-puzzles/ChangeLog b/games-puzzle/sgt-puzzles/ChangeLog index 799508e94a36..1bb477faba15 100644 --- a/games-puzzle/sgt-puzzles/ChangeLog +++ b/games-puzzle/sgt-puzzles/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-puzzle/sgt-puzzles # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/sgt-puzzles/ChangeLog,v 1.10 2011/01/04 22:53:18 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/sgt-puzzles/ChangeLog,v 1.11 2011/12/22 01:29:21 mr_bones_ Exp $ + +*sgt-puzzles-9306 (22 Dec 2011) + + 22 Dec 2011; Michael Sterrett <mr_bones_@gentoo.org> + files/sgt-puzzles-9023-gentoo.patch, +sgt-puzzles-9306.ebuild, + +files/sgt-puzzles-9306-gentoo.patch: + version bump with patch reroll from Michael (kensington) (bug #395577) 04 Jan 2011; Markos Chandras <hwoarang@gentoo.org> sgt-puzzles-9023.ebuild: Stable on amd64 wrt bug #350438 diff --git a/games-puzzle/sgt-puzzles/Manifest b/games-puzzle/sgt-puzzles/Manifest index 77549efa1e43..b6318e71a672 100644 --- a/games-puzzle/sgt-puzzles/Manifest +++ b/games-puzzle/sgt-puzzles/Manifest @@ -1,6 +1,9 @@ -AUX sgt-puzzles-9023-gentoo.patch 974 RMD160 626f0996afd53eb1d973fd7fe2da5c0d66af08ef SHA1 76e98287e2107dd7cfc7ccf3ed8a76ac3936b93a SHA256 b58b01bb4637cb8972a0bfc9b3b14f8e2e3ae30d621decb76e28bccb8131d697 +AUX sgt-puzzles-9023-gentoo.patch 902 RMD160 6148363c3127728cb0f5facb9ab1cbb1b9b701fc SHA1 09631d94465f695de16a116799176f0b0a41f828 SHA256 123bf792a4dc6edc7cca95af9e6777bd002b12dad8439e458ad8d94296ae47ab +AUX sgt-puzzles-9306-gentoo.patch 926 RMD160 ec792134143d55ccd840be2111a788123b809a3c SHA1 ab368a8cabfd5ea40bbfebdc1ad4e0fe9ea28d38 SHA256 411172b6ecb12a65f93255edfb67c463832bfa351809ccb0161a4511836be30d DIST puzzles-r9023.tar.gz 2952780 RMD160 3ccdecb005199df7097cb59c6a8089a58919a58b SHA1 6c8d57ddcc26bfa7f59bf49d9733767998881338 SHA256 f3ff8a3e4f33be808336b06ed6b0a360a4af960cc7482333d6a47b6651861802 +DIST puzzles-r9306.tar.gz 2975070 RMD160 4fe6c06efc1d53d14d4ff580ad188712bb836984 SHA1 a03a1b3c83294f0f8b887432d233e9ca914df46d SHA256 940d0e6c16d1c7aaf27d375356da3e73ae55607113d245c7e697985ff7200c74 EBUILD sgt-puzzles-9023.ebuild 1856 RMD160 f1704be86267066ad789109fc31c4fc1b64d4073 SHA1 db008f1535d4d969c0f26320ac8746ef4565fa94 SHA256 043d4f7c22930a74daf85eab6ea4f83008310fa83fbd77c9b262437dc81f31d9 +EBUILD sgt-puzzles-9306.ebuild 1859 RMD160 d808924edb673a3d3529f8d4f479a84843e7fafb SHA1 35734d61bd0667fa99dce79bdf5e9d3bfd652b09 SHA256 1d2b5ee262f36055c2ee8fc9ea11c18298f5e585dbb583869ac46e3a693e0a21 EBUILD sgt-puzzles-99999999.ebuild 1928 RMD160 da46810f59ee227c7f0110f73d2967238a363637 SHA1 886a230c74876006d0ad0abedb0d12527b3e3a10 SHA256 14fd1d8d335605712e2e580abf37d51ab48f606b7b8485be71bea9f0201fa079 -MISC ChangeLog 1932 RMD160 9a6857999015aa7096133e7916540c79665f41a3 SHA1 68a7ccbe94ac401c29f73a74ab46ff36891bfdd5 SHA256 a5bf37019aabaa80df34dc0181e179517d5d213839b0424c2d5ebf55a63ec39f +MISC ChangeLog 2200 RMD160 69e096d8e0360cb570e5f8a886e251ec96f0bf35 SHA1 d9a9a9b6d0dec4810bcb56f455289ca80e71927c SHA256 84ce9c975b247ff67550b6f3326c33e171719c9a2c5a30595785649032abc862 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-puzzle/sgt-puzzles/files/sgt-puzzles-9023-gentoo.patch b/games-puzzle/sgt-puzzles/files/sgt-puzzles-9023-gentoo.patch index 31e7f796a611..f43d155f44dc 100644 --- a/games-puzzle/sgt-puzzles/files/sgt-puzzles-9023-gentoo.patch +++ b/games-puzzle/sgt-puzzles/files/sgt-puzzles-9023-gentoo.patch @@ -1,5 +1,5 @@ ---- mkfiles.pl.old 2010-03-07 11:14:11.000000000 -0300 -+++ mkfiles.pl 2010-03-07 11:24:20.000000000 -0300 +--- mkfiles.pl.old ++++ mkfiles.pl @@ -1110,8 +1110,8 @@ "\n". &splitline("CFLAGS := -O2 -Wall -Werror -ansi -pedantic -g " . diff --git a/games-puzzle/sgt-puzzles/files/sgt-puzzles-9306-gentoo.patch b/games-puzzle/sgt-puzzles/files/sgt-puzzles-9306-gentoo.patch new file mode 100644 index 000000000000..49ee58d01af0 --- /dev/null +++ b/games-puzzle/sgt-puzzles/files/sgt-puzzles-9306-gentoo.patch @@ -0,0 +1,22 @@ +--- mkfiles.pl ++++ mkfiles.pl +@@ -1117,8 +1117,8 @@ + "\n". + &splitline("CFLAGS := -O2 -Wall -Werror -ansi -pedantic -g " . + (join " ", map {"-I$dirpfx$_"} @srcdirs) . +- " `\$(GTK_CONFIG) --cflags` \$(CFLAGS)")."\n". +- "XLIBS = `\$(GTK_CONFIG) --libs`\n". ++ " `pkg-config gtk+-2.0 --cflags` \$(CFLAGS)")."\n". ++ "XLIBS = `pkg-config gtk+-2.0 --libs` -lm\n". + "ULIBS =#\n". + "INSTALL=install\n", + "INSTALL_PROGRAM=\$(INSTALL)\n", +@@ -1137,7 +1137,7 @@ + $objstr = &objects($p, "X.o", undef, undef); + print &splitline($prog . ": " . $objstr), "\n"; + $libstr = &objects($p, undef, undef, "-lX"); +- print &splitline("\t\$(CC) -o \$@ $objstr $libstr \$(XLFLAGS) \$(${type}LIBS)", 69), ++ print &splitline("\t\$(CC) \$(LDFLAGS) -o \$@ $objstr $libstr \$(XLFLAGS) \$(${type}LIBS)", 69), + "\n\n"; + } + foreach $d (&deps("X.o", undef, $dirpfx, "/")) { diff --git a/games-puzzle/sgt-puzzles/sgt-puzzles-9306.ebuild b/games-puzzle/sgt-puzzles/sgt-puzzles-9306.ebuild new file mode 100644 index 000000000000..47d48a26880b --- /dev/null +++ b/games-puzzle/sgt-puzzles/sgt-puzzles-9306.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/sgt-puzzles/sgt-puzzles-9306.ebuild,v 1.1 2011/12/22 01:29:22 mr_bones_ Exp $ + +EAPI=2 +inherit eutils toolchain-funcs games +if [[ ${PV} == "99999999" ]] ; then + ESVN_REPO_URI="svn://svn.tartarus.org/sgt/puzzles" + inherit subversion + SRC_URI="" + KEYWORDS="" +else + SRC_URI="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-r${PV}.tar.gz" + S=${WORKDIR}/puzzles-r${PV} + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Simon Tatham's Portable Puzzle Collection" +HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/" + +LICENSE="MIT" +SLOT="0" +IUSE="doc" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND} + dev-lang/perl + dev-util/pkgconfig + doc? ( >=app-doc/halibut-1.0 )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + ./mkfiles.pl + sed -i \ + -e 's:= -O2 -Wall -Werror -ansi -pedantic -g:= $(CPPFLAGS):' \ + -e '/LDFLAGS/s:=:=$(LDFLAGS) :' \ + Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" || die + if use doc ; then + halibut --text --html --info --pdf --ps puzzles.but + fi +} + +src_install() { + dodir "${GAMES_BINDIR}" + emake DESTDIR="${D}" gamesdir="${GAMES_BINDIR}" install || die + dodoc README HACKING + + local file name + for file in *.R ; do + [[ ${file} == "nullgame.R" ]] && continue + name=$(sed -n 's/^[a-z]*\.exe://p' "${file}") + file=${file%.R} + if [[ ${PV} -lt 99999999 ]] ; then + newicon icons/${file}-48d24.png ${PN}-${file}.png || die + make_desktop_entry "${GAMES_BINDIR}/${file}" "${name}" "${PN}-${file}" + else + # No icons with the live version + make_desktop_entry "${GAMES_BINDIR}/${file}" "${name}" + fi + done + + dodoc puzzles.txt puzzles.chm + if use doc ; then + dohtml *.html + doinfo puzzles.info + dodoc puzzles.pdf puzzles.ps + fi + + prepgamesdirs +} |