# ChangeLog for games-puzzle/cuyo
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/cuyo/ChangeLog,v 1.26 2015/02/18 20:37:41 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/cuyo/ChangeLog,v 1.27 2015/02/18 22:11:03 mr_bones_ Exp $
+
+*cuyo-2.1.2 (18 Feb 2015)
+
+ 18 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org> +cuyo-2.1.2.ebuild,
+ +files/cuyo-2.1.2-gcc44.patch, +files/cuyo-2.1.2-gentoo.patch,
+ files/cuyo-2.1.1-gcc44.patch, files/cuyo-2.1.1-gentoo.patch:
+ version bump (bug #395389) with work from kensington
18 Feb 2015; Tupone Alfredo <tupone@gentoo.org> cuyo-2.1.1.ebuild:
EAPI 5
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-AUX cuyo-2.1.1-gcc44.patch 307 SHA256 8d4a6de25da0d8cb5cc291352801fba5a5045b216112baccb25bc291b88afe47 SHA512 5131908b92e59b7a073e44249b1cea25fdc964168c996cf139edb3f80f8593d36f76c2bd04a420cd8aa34534428eded494f4e3c577db779493066d47fadc18e6 WHIRLPOOL 54475abb33277ebf5cf9a51094796ec657b3aa15461f13dca36c222ddefba70c0ef0a6fdf83c865028cae9ae82050a02b94ab8fe3c16e3e369631fff80ce2763
-AUX cuyo-2.1.1-gentoo.patch 1149 SHA256 5bee2d573a54b54ef9af94a0c705f8a06f0925c8490525a0487dbdf56b510651 SHA512 fe9d9a993cc112a08f125e79c7fddfd18033f5379ee64bcd414cecde1750ba0f4bbcacbda9eabc15d53c648af01d5c3d39071bab2fa7a430e6bdb0f98c28e04c WHIRLPOOL 4579e75c5b5d8a4a42bbc3e9179179feca384b3652a0a4c6d94a0441b33e803c102b678e6133b3a5fe6e3edfc82adfb85cd81f95a15ee1c9758319f889fe170e
+AUX cuyo-2.1.1-gcc44.patch 161 SHA256 3a21073002a39d615bf25cb6e3db942a8a20461c5cd7c2f7da1b511ed95fc53a SHA512 461bd27073288eb5327770d18ce5a10a38a4e6ceb3c6f5e39a50a47bc3f6f5c8a06f9ac13d80bfbbeae1a0f45dd62ee0fa084dd832eb2d1313096f3d8e5c3149 WHIRLPOOL 703e02ef5319ecffce0e0cb7286ab3662a6cb956cffdaab9d7894839d7d6c77b7cb8428de4dd74b5dc6a501693960e18eb1f6283b193f705ac9f7a99ebd5e681
+AUX cuyo-2.1.1-gentoo.patch 851 SHA256 45d50bf95e8cdec4d18c91b359c3796f55c667acb4a7e32062721d1fbcd369d9 SHA512 c96c855c4650f50d6ed1c38d7105047f386c1828592389ce482cecefeb46bae224ee46f6f07dc63bbed67d81e4beadd5868962ad52dcca8fd9f99f3ea0899f8a WHIRLPOOL 9bdc53e27d453a62171dae2440614bca0068877e83c8ba6c852b4d546cae5871d25398be003193165ed9a16b278b37b7666fdc86146ff3a210f8cfa2c1d61bb1
+AUX cuyo-2.1.2-gcc44.patch 161 SHA256 3a21073002a39d615bf25cb6e3db942a8a20461c5cd7c2f7da1b511ed95fc53a SHA512 461bd27073288eb5327770d18ce5a10a38a4e6ceb3c6f5e39a50a47bc3f6f5c8a06f9ac13d80bfbbeae1a0f45dd62ee0fa084dd832eb2d1313096f3d8e5c3149 WHIRLPOOL 703e02ef5319ecffce0e0cb7286ab3662a6cb956cffdaab9d7894839d7d6c77b7cb8428de4dd74b5dc6a501693960e18eb1f6283b193f705ac9f7a99ebd5e681
+AUX cuyo-2.1.2-gentoo.patch 1937 SHA256 96ff19a1c14c487798eb26905bdfdc11479d936340412923583f8df01e350285 SHA512 5086486e422f60b62b0a546946c8b719ededa0910abf91286357c9743f318616f4d8451c5f929af809ad4e6a06952aaced31585719f94bada1bede70c78d1874 WHIRLPOOL af631b3782d6f3af70c79071455c5dd366590c6749ede2a1604ba53ad7cbf3cc9f79ee7be779e1fddf1e3d62cb0a56388fa54e3220c6acf0f2fd9eadc939862f
DIST cuyo-2.~-1.1.tar.gz 3005426 SHA256 7157aa70ae731c17e765fba11736866f2020826ad6187d8df6c55039d4481de6 SHA512 a29c6ffc7e63b74dd93e8aeeace78bdbc50398771922aaf06a43256c883f9eff23e10fa91e4964b716cd209551cef771cf00108fb7977ce13a463da542322787 WHIRLPOOL ef2817feecbe9c785e8d6438aca123247857c8f9845421a5aef89375b0f9c15a050d0e6f16791cab408f8e87a9640ef0cbc77c9cc89f03c5e788d3851b07af2d
+DIST cuyo-2.~-1.2.tar.gz 3238584 SHA256 3fb44af4e6f8d205d11d44b5a96ffa4a11eab5a4fa86897463c0c6ca0658adb0 SHA512 830cdc3947693fbda1ca2b5fb5aa912a83fa1f1f0090b5f84da9d8100e6251502361bb8564601ec26aa926cf4f7832b7e2d0d6ff60a7a419cbc46e225e1d7777 WHIRLPOOL 8d335de30ba415a4266257482c8a68750fdfcc94fa7f2d850774aa69fae1219c3062ef01303c01c3dd80816677ab2702a1c2cb64c4f85c61960c868c88cd0a1c
EBUILD cuyo-2.1.1.ebuild 1099 SHA256 d95373e132d82a462625224920794a577e2df4ba8ac9a0b66651014a59e3d0e1 SHA512 c661c49b6b806e7d3bf64f946b3fa37db9be8fce74f25c1883c9277d768d950f7c52757e44b829be7970a867c7fd72cb74e1aa9feeb5149024d9548a3b4d56fb WHIRLPOOL e551e6a288def3e3a9f30a403002a5953d0967fc139ea132a32efc8b621c59b278e3f27c745473ee72ca88d38b453524c128427aab5ce81c1a2a16ea35150d60
-MISC ChangeLog 3554 SHA256 1632302a464115a33c5a14b87c9630bf440b301324910f743606040bee15e109 SHA512 c4a33c7fbb26f0c907b10d778c3511fc7fd03ef978f97317e47f2558eda18b3d430a0af9290b19a3f002490d6ac92db61d34d0195be8dbfdf63ec8db3d1f6407 WHIRLPOOL 31e0b399666ccd11662720c27246de973e94515c7a4fa2eeefc278a97a73ee36df4428d18efe60c95a08835faf2087552b7995c179816fbb86cb131d749aebc8
+EBUILD cuyo-2.1.2.ebuild 1207 SHA256 d99e44582c731bf936754794d272f78ca26d2a509e166289a85d2433fcae289f SHA512 6715de1bd9fc806a7d65dc434a90150540ecf7a4508504fa976ea49e8f942b2d514092a8b1ae87c3baf51dc050b17b21dd49cecc5b8d267120e1d13fd691fd29 WHIRLPOOL ebbdc39a30deab0b61c792670904d4d312f8687b2d1e8c6ccb8cf456af8df951fa483dc4011f5b5184074d13c9bffdd57c27e9a3b926da9bb19334a70dc3ba68
+MISC ChangeLog 3843 SHA256 4a53e39ce60da0796acf36c4c86ad051c75088a73d9e4fc26ab5e338f27e6c06 SHA512 c96764dce421c0731cd4a4e71f938465b836157453461007525e57baa51ec9d8e410dcaf1498b59cc0d1ff1706016a334ae802256616f2fb7406fb7cbc7f4dd4 WHIRLPOOL b7399070d019a0a3d92038d5f3b5ab0891203fc14b94233cd7894b90f9ebf490298fd767382a0c296ad7ebe5f4a9424ad7d066fbe62f716676e994e409c73401
MISC metadata.xml 233 SHA256 ab768dac9c6beecbabb1f5d7fa32c2de31e6bb2f45d1745b04fe54bf16de680c SHA512 994895df8adbc53530ce51bcd305ad439f551fded2543f442ffc28da061d32e6074c457ce7ce45d61c2fc6f04f0dcd03b89d49a2c6a66619de3890736ef3684e WHIRLPOOL 1a5d89c510a3b9e5f9ff1df8ec464c0e4f957e5c946b345ebcebd061c11cfa76eea60c076baad0828bb8820abea60c4e4997917e38a50ae654dea71c73b7a010
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
-
-iEYEAREIAAYFAlTk+BYACgkQIY77eQFFFC00SgCg3bhlEyfOFwHhqRYJ67aKWM77
-TSkAoO6LomvVA6mvovE7I2YZfkt4stA+
-=ppKx
------END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/cuyo/cuyo-2.1.2.ebuild,v 1.1 2015/02/18 22:11:03 mr_bones_ Exp $
+
+EAPI=5
+inherit autotools eutils gnome2-utils versionator games
+
+MY_P=${PN}-$(get_version_component_range 1).~-$(get_version_component_range 2-3)
+DESCRIPTION="highly addictive and remotely related to tetris"
+HOMEPAGE="http://www.karimmi.de/cuyo/"
+SRC_URI="http://savannah.nongnu.org/download/cuyo/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+music"
+
+RDEPEND="sys-libs/zlib
+ media-libs/libsdl[sound,video]
+ media-libs/sdl-mixer
+ music? ( media-libs/sdl-mixer[mod] )
+ media-libs/sdl-image
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gcc44.patch \
+ "${FILESDIR}"/${P}-gentoo.patch
+ sed -i \
+ -e '/^[[:space:]]*$/d' \
+ icons/cuyo.desktop || die
+ eautoreconf
+}
+
+src_install() {
+ default
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
-diff -ur cuyo-2.~-1.1.orig/src/stringzeug.h cuyo-2.~-1.1/src/stringzeug.h
---- cuyo-2.~-1.1.orig/src/stringzeug.h 2006-07-03 20:26:23.000000000 +0300
-+++ cuyo-2.~-1.1/src/stringzeug.h 2009-12-29 16:17:18.000000000 +0200
+--- cuyo-2.~-1.1.orig/src/stringzeug.h
++++ cuyo-2.~-1.1/src/stringzeug.h
@@ -20,7 +20,7 @@
#include <config.h>
-diff -ru cuyo-2.~-1.1.orig/icons/Makefile.am cuyo-2.~-1.1/icons/Makefile.am
---- cuyo-2.~-1.1.orig/icons/Makefile.am 2007-12-20 12:22:32.000000000 -0500
-+++ cuyo-2.~-1.1/icons/Makefile.am 2009-12-30 13:44:39.111042770 -0500
+--- cuyo-2.~-1.1.orig/icons/Makefile.am
++++ cuyo-2.~-1.1/icons/Makefile.am
@@ -1,4 +1,4 @@
-desktopdir = $(datadir)/applications
+desktopdir = /usr/share/applications
icons_DATA = cuyo-32x32.png cuyo-64x64.png
install-iconsDATA:
-diff -ru cuyo-2.~-1.1.orig/icons/cuyo.desktop cuyo-2.~-1.1/icons/cuyo.desktop
---- cuyo-2.~-1.1.orig/icons/cuyo.desktop 2007-12-20 12:22:32.000000000 -0500
-+++ cuyo-2.~-1.1/icons/cuyo.desktop 2009-12-30 13:45:15.823781932 -0500
+--- cuyo-2.~-1.1.orig/icons/cuyo.desktop
++++ cuyo-2.~-1.1/icons/cuyo.desktop
@@ -3,9 +3,8 @@
Icon=cuyo
Type=Application
--- /dev/null
+--- cuyo-2.~-1.1.orig/src/stringzeug.h
++++ cuyo-2.~-1.1/src/stringzeug.h
+@@ -20,7 +20,7 @@
+
+ #include <config.h>
+ #include <string>
+-
++#include <stdio.h>
+
+
+
--- /dev/null
+--- po/Makefile.am
++++ po/Makefile.am
+@@ -60,7 +60,7 @@
+
+ # By virtue of this rule, more precisely by virtue of genpot, this Makefile
+ # probably only works with srcdir=.
+-$(DOMAIN).pot: $(pot_sources)
+++$(DOMAIN).pot: $(pot_sources)
+ ./genpot
+
+ %.mo: %.po
+--- po/genpot
++++ po/genpot
+@@ -27,10 +27,10 @@
+ -o - \
+ src/* data/* \
+ | sed \
+- -e "1 s/SOME DESCRIPTIVE TITLE/Message catalog for the game Cuyo/" \
+- -e "2 s/Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER/This is a partly generated file. The copyright of the original messages is identical to the one of the source files they are generated from. The copyright of the translations is by the translators./" \
+- -e "3,9 s/PACKAGE/Cuyo/" \
+- -e "16 s/CHARSET/ASCII/" \
++ -e "s/SOME DESCRIPTIVE TITLE/Message catalog for the game Cuyo/" \
++ -e "s/Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER/This is a partly generated file. The copyright of the original messages is identical to the one of the source files they are generated from. The copyright of the translations is by the translators./" \
++ -e "s/PACKAGE/Cuyo/" \
++ -e "s/CHARSET/ASCII/" \
+ | msgconv -t ISO-8859-1 \
+ > cuyo.pot
+
+--- icons/cuyo.desktop
++++ icons/cuyo.desktop
+@@ -5,7 +5,6 @@
+ Terminal=false
+ MimeType=application/x-executable;
+ Categories=Game;BlocksGame;
+-Encoding=UTF-8
+ Comment=Play a tetris like game with many levels
+ Comment[de]=Ein Tetris-artiges Spiel mit vielen Leveln spielen
+ Exec=cuyo
+--- icons/Makefile.am
++++ icons/Makefile.am
+@@ -1,4 +1,4 @@
+-desktopdir = $(datarootdir)/applications
++desktopdir = /usr/share/applications
+ desktop_DATA = cuyo.desktop
+
+
+@@ -25,7 +25,7 @@
+ # Das vorige war falsch: die png sollen alle cuyo.png heissen
+ # und nicht cuyo-xxxx.png. Deshalb nachfolgend neue Version:
+
+-iconsdir = $(datarootdir)/icons/hicolor
++iconsdir = /usr/share/icons/hicolor
+ icons_DATA = cuyo-32x32.png cuyo-64x64.png
+
+ install-iconsDATA: