version bump (bug #383681)
authorMichael Sterrett <mr_bones_@gentoo.org>
Wed, 21 Sep 2011 19:42:55 +0000 (19:42 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Wed, 21 Sep 2011 19:42:55 +0000 (19:42 +0000)
Package-Manager: portage-2.1.10.11/cvs/Linux i686

games-board/freedoko/ChangeLog
games-board/freedoko/Manifest
games-board/freedoko/files/Fix_Cardset_Make.patch
games-board/freedoko/files/freedoko-0.7.10-gentoo.patch [new file with mode: 0644]
games-board/freedoko/files/freedoko-0.7.8-gcc45.patch
games-board/freedoko/files/freedoko-0.7.8-gentoo.patch
games-board/freedoko/files/nodoc.patch
games-board/freedoko/files/nonet.patch
games-board/freedoko/files/portage-cxx.patch
games-board/freedoko/freedoko-0.7.10.ebuild [new file with mode: 0644]

index 03a98c8723bd43e62b195a035fa9d1103d339411..a12b2ac2eac97fa45bee507233b4566c8c304c95 100644 (file)
@@ -1,6 +1,15 @@
 # ChangeLog for games-board/freedoko
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/freedoko/ChangeLog,v 1.13 2011/03/29 07:53:22 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/freedoko/ChangeLog,v 1.14 2011/09/21 19:42:55 mr_bones_ Exp $
+
+*freedoko-0.7.10 (21 Sep 2011)
+
+  21 Sep 2011; Michael Sterrett <mr_bones_@gentoo.org>
+  files/freedoko-0.7.8-gcc45.patch, files/freedoko-0.7.8-gentoo.patch,
+  +freedoko-0.7.10.ebuild, +files/freedoko-0.7.10-gentoo.patch,
+  files/Fix_Cardset_Make.patch, files/nodoc.patch, files/nonet.patch,
+  files/portage-cxx.patch:
+  version bump (bug #383681)
 
   29 Mar 2011; Christoph Mende <angelos@gentoo.org> freedoko-0.7.8.ebuild:
   Fixed slot deps
index b6730ea2249976bb9ac1ed7891a4c1e317f9d8b6..f8af51e214b98cc45132f5d5871301af41673a31 100644 (file)
@@ -1,12 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-AUX Fix_Cardset_Make.patch 498 RMD160 2000df1c9401800fd11abdfdaa6f459a3125c576 SHA1 c372123f4f101564cf749f340469566292d91481 SHA256 933b819fdd660a8a7ac5bec560f5b6047732351847c61970c8c9e40652cec39a
-AUX freedoko-0.7.8-gcc45.patch 4228 RMD160 903680b6a18089b6e5161cc3aa0a483f3a2fba43 SHA1 73238cbc9861f332d3084da568c80f9f32f362b9 SHA256 37eecb1e408e409803475428e8905e2f62551e92dc9774144084da561f0253f6
-AUX freedoko-0.7.8-gentoo.patch 2794 RMD160 0c9e1f25786fadd9456518f77ebfabce1e8a5c0e SHA1 56023951b9ef7337ef41bf55da6fb2b693804241 SHA256 0a078230ff95a4ab747eb1c015af5ac8c1130b49126e526f3dd931cf818597b9
-AUX nodoc.patch 368 RMD160 220eb20e38556d2b029092a91f698a0150bc9974 SHA1 471f5def092b812f49d2d7019c4e86eea7e70d6e SHA256 c31e2c78a9a6f81c2e0db5c8a5943ffd68146df6fcd2705410bff21b6236a3f6
-AUX nonet.patch 421 RMD160 c283ea36b61cda2e98fe9f89d21118e207fbf256 SHA1 f0fc2a78a438625382bc8d5f728a7792b0ab7e2e SHA256 72fe58f2afd6bff66776bfe6f7045b39e8264e684cf15a001a28bc992d041289
-AUX portage-cxx.patch 481 RMD160 629a23c217f468b9c4f30f1b713a03da3d6a472b SHA1 9b75cfa34f67cbdd1481ea459dc966643a69ee69 SHA256 cca8736b219e27d02b0ca82f11cbb8030b48128bf255d845b6277806347770d7
+AUX Fix_Cardset_Make.patch 426 RMD160 d4f5f6d013ea96d4278ab1661de56fa9d909cbce SHA1 c38d16369a9e570aab1933c9d7b21f1b5147a70e SHA256 d4a3316f5162ccce6f519e3b4c2f5afea8cf0a1a82771d8826707086bec6ff60
+AUX freedoko-0.7.10-gentoo.patch 2242 RMD160 deea0814c2a87e3dc119abcd37536c9352441dd5 SHA1 1d3c37563eda89d598b3e79e0e4764ade5e36f77 SHA256 db01c8db7c67d6626905c2243e013cc039f28cc58930ede265913dcb3e4d0dac
+AUX freedoko-0.7.8-gcc45.patch 3436 RMD160 389b1e8724a5e9f70b6c851807005cd4f500c0a8 SHA1 31e0c5c0331491fa8f435305499f9cfa50fff7cd SHA256 036304a5e6620499c29c2fbd5dfbc855c82b9bafa36c864a490dbec80a462804
+AUX freedoko-0.7.8-gentoo.patch 2202 RMD160 409a0fec80927ed4c574ea1a9ccd3ece71865e20 SHA1 ef49b1bc2aaa6863a784558a63b4590fdc852913 SHA256 01a8cbe71ea116fce42861d875d5238822cac694738fadf54191e09d09ff7c18
+AUX nodoc.patch 296 RMD160 ae6a2c57fab41d8ff0f5f36e5fdd65b0ba740259 SHA1 8cb844dcf0ab593004b77f1b5d2fb39e882fa815 SHA256 59a18e80d7ab92f52d2d4e720fa5f66b8f96b885ed5bb1d988b771527bf8d46d
+AUX nonet.patch 349 RMD160 abcf89f014e9d847189b9178f0a0016b2e3bb013 SHA1 c7627904278040bfbbd66e8ba30e451c9ec23b79 SHA256 ef6b6297c6d4a0a4ebaedd0942d2d8972a94d7dfee885476dee51fc800188215
+AUX portage-cxx.patch 409 RMD160 2ed34bc52902acfb1219639a07e5857d7ff75e3b SHA1 a062fc74085c87a4012546cf3123bfb812d43cc7 SHA256 1f408d28b674b8bf6cffabd307ed26a33700f710e4af76ae1f16eb6962702999
+DIST FreeDoko_0.7.10.manual.zip 7256278 RMD160 3cb2c72b6f1adea78a5bdb884a803b7862a79ae0 SHA1 54f90914ca6d9767ad1e334945a97012d4884586 SHA256 b68942e3eb8ba9609e648607dd938a29fe0ecde097b616c3e227563ec61dfec7
+DIST FreeDoko_0.7.10.src.zip 16261224 RMD160 c01f4c3b821ba93a9db8b3c77e686ada990477dd SHA1 f573ac0f5702a7db3291235eef3037a0dadf8e43 SHA256 0678c4a05eac29d5fa5072bea699b8f3937b6723c9830100601e63e8a3cdbbeb
 DIST FreeDoko_0.7.8.manual.zip 7153951 RMD160 0b1164ddb885ccb8907d75f3c30080105aeaeefe SHA1 c6b04d7d7d8093cf8e932ea5eb41937f4db976ff SHA256 ec418608a663b31f99f758dce4034f65a2a7da0594ec50657c71c518733203d3
 DIST FreeDoko_0.7.8.src.zip 9259311 RMD160 fc82919da922fda201b37af26dce674475992e32 SHA1 ffa9a7698576c2caa70aa2ec3ff1ac36a3823da5 SHA256 0434a2ce065808a80f0bb1137d1eed580025389e984d693b0fe19fcd816b424a
 DIST freedoko-backgrounds.zip 1067740 RMD160 dc47449484d41d8c7519c479c0cf697b691bca91 SHA1 7adcc96b14e6d61e2c0161a46b5905163e8268e8 SHA256 70129744d330976da17675b59ad3f2bc088e77a7b6b8279e866da8e74ed385ee
@@ -15,13 +15,7 @@ DIST kdecarddecks.zip 3370611 RMD160 c99a94e52e697c49068a31a0fc10acca7f528c86 SH
 DIST openclipart.zip 1251509 RMD160 6f1738994a20c42078d1c475978bfb56118143a6 SHA1 ca188615c68a54d190e4494d82deadd28f78c140 SHA256 68b1c83e7c8325d5d2dfd4cc846571640d21af820fb675e253f8834436e15d3a
 DIST pysol.zip 26314316 RMD160 0ceb36c33e3de983e7a60df13367857fe14ddba7 SHA1 2ebe408cdfa9e40277727033fe7306438976c120 SHA256 94d0e2d6aa13e5b007efaf08af0f506f48708e3243186db77f23e2e4660c0aa6
 DIST xskat.zip 666085 RMD160 c4e10c6ca9753a544fa1197d45a6759363742f7e SHA1 af209c9b1b8b33bae657e049d146d58541296fad SHA256 77cd3d7b3305ef1c201963e512557637929b394f4c1b19d838395dda3c9f8a1d
+EBUILD freedoko-0.7.10.ebuild 2735 RMD160 2e401b4fe610cfe7324627bf8627a7c5aa914d17 SHA1 b89941b5b0899f0574c8e8173ab10c592c9cd181 SHA256 dd0e3938bc507451f098b8b81e031a2103829e085310a8574ef57d6a52b00ecb
 EBUILD freedoko-0.7.8.ebuild 2760 RMD160 8807a808b3841e2bb7245b3c2459402f9ca69fc5 SHA1 3e1d36edfc9d5d35fa4ea4dba13506c639767a32 SHA256 5b9e63637f34d275598011f2b4fdd41d245c1e582b3a218d9a72333d1ce94344
-MISC ChangeLog 2119 RMD160 a7ac143f05ac47765328f75c2a7fdccf648e3cae SHA1 810aaa9a35581311d3059e2164a228bd361c2ca1 SHA256 c6733cc708aab832382deb8b807e3d0daa6e43a229948437c4f420e37deb37a0
+MISC ChangeLog 2470 RMD160 f654cf323a6c9ffbfadafe8f676c8a2828506461 SHA1 931b0ef595e29921278bd8a88f343465cab435a0 SHA256 92bace4f0806ca6cb1f2346d917c841b90b736d00c7e43b9dc047931297fe269
 MISC metadata.xml 746 RMD160 99588a5ba21684c71ad8b28463fbabba937f5727 SHA1 24667e1d234ab81743da19aa707a5c4cf5520313 SHA256 02b7fdcce405b42ea886f2a267a6a249428a9bf2c47e6a0b00793932ad56141b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iF4EAREIAAYFAk2Rj/gACgkQmWq1bYTyC0PYSgEArVHDXwv7VkVWWaNavAlmpUdW
-r1esHq8TcAlo+taciTUA/2yHTKvUTicDR5eji6Fy/kO82jISqEteeHT8sSPSfDsI
-=Dy3Z
------END PGP SIGNATURE-----
index 0f1ddc6bff833a91f33a7b4508778c52f0e83699..32bdc32885aaae5ff83368e6d54ca85e75f48196 100644 (file)
@@ -1,5 +1,5 @@
---- data/cardsets/Makefile.orig        2006-07-27 10:21:57.000000000 +0200
-+++ data/cardsets/Makefile     2006-07-28 17:30:58.776317496 +0200
+--- 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
diff --git a/games-board/freedoko/files/freedoko-0.7.10-gentoo.patch b/games-board/freedoko/files/freedoko-0.7.10-gentoo.patch
new file mode 100644 (file)
index 0000000..fcc4751
--- /dev/null
@@ -0,0 +1,61 @@
+--- FreeDoko_0.7.10.orig/src/Makefile
++++ FreeDoko_0.7.10/src/Makefile
+@@ -217,15 +217,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) $(LDFLAGS) $(CXXFLAGS) \
+         $(OBJECTS_ALL:%.o=$(FREEDOKO_WORKING_DIRECTORY)/%.o) \
+         $(INCLUDE_ALL) \
+         $(LIBS_ALL) \
+--- FreeDoko_0.7.10.orig/src/Makefile.os
++++ FreeDoko_0.7.10/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.10.orig/src/Makefile.rules
++++ FreeDoko_0.7.10/src/Makefile.rules
+@@ -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)
+--- FreeDoko_0.7.10.orig/src/ui/help.cpp
++++ FreeDoko_0.7.10/src/ui/help.cpp
+@@ -152,14 +152,14 @@
+     for (list<string>::const_iterator d = datadir.begin();
+          d != datadir.end();
+          d++)
+-      directories.push_back(*d + "/"
++      directories.push_back("/"
+                             + ::setting(Setting::MANUAL_DIRECTORY) + "/"
+                             + ::translator.token());
+     if (::translator.token() != ::setting(Setting::LANGUAGE))
+       for (list<string>::const_iterator d = datadir.begin();
+            d != datadir.end();
+            d++)
+-        directories.push_back(*d + "/"
++        directories.push_back("/"
+                               + ::setting(Setting::MANUAL_DIRECTORY) + "/"
+                               + ::setting(Setting::LANGUAGE));
+   } // fill the directories list
index fd7f722c77b331bc9305f9ff269ea3b20af24356..80bc48a0582e51bd4fd54adf0c7c79a6f4639c6a 100644 (file)
@@ -1,5 +1,5 @@
---- src/game/gameplay_action.cpp.old   2010-06-01 10:50:55.000000000 +0200
-+++ src/game/gameplay_action.cpp       2010-06-01 10:51:23.000000000 +0200
+--- src/game/gameplay_action.cpp.old
++++ src/game/gameplay_action.cpp
 @@ -268,7 +268,7 @@
   ** 
   ** @version  0.6.8
@@ -9,8 +9,8 @@
  GameplayAction::operator=(GameplayAction const& action)
  {
    this->type = action.type;
---- src/game/gameplay_actions/pure.cpp.old     2010-06-01 10:53:02.000000000 +0200
-+++ src/game/gameplay_actions/pure.cpp 2010-06-01 10:53:54.000000000 +0200
+--- src/game/gameplay_actions/pure.cpp.old
++++ src/game/gameplay_actions/pure.cpp
 @@ -90,7 +90,7 @@
   ** 
   ** @version  0.7.3
@@ -20,8 +20,8 @@
  GameplayAction::Pure::operator=(Pure const& action)
  {
    this->GameplayAction::operator=(action);
---- src/game/gameplay_actions/player1.cpp.old  2010-06-01 10:55:59.000000000 +0200
-+++ src/game/gameplay_actions/player1.cpp      2010-06-01 10:56:10.000000000 +0200
+--- src/game/gameplay_actions/player1.cpp.old
++++ src/game/gameplay_actions/player1.cpp
 @@ -103,7 +103,7 @@
   ** 
   ** @version  0.7.3
@@ -31,8 +31,8 @@
  GameplayAction::Player1::operator=(Player1 const& action)
  {
    this->GameplayAction::operator=(action);
---- src/game/gameplay_actions/base_cards.cpp.old       2010-06-01 10:56:47.000000000 +0200
-+++ src/game/gameplay_actions/base_cards.cpp   2010-06-01 10:56:59.000000000 +0200
+--- src/game/gameplay_actions/base_cards.cpp.old
++++ src/game/gameplay_actions/base_cards.cpp
 @@ -142,7 +142,7 @@
   ** 
   ** @version  0.7.3
@@ -42,8 +42,8 @@
  GameplayAction::BaseCards::operator=(BaseCards const& poverty_shift)
  {
    this->Player1::operator=(poverty_shift);
---- src/game/gameplay_actions/reservation.cpp.old      2010-06-01 10:57:46.000000000 +0200
-+++ src/game/gameplay_actions/reservation.cpp  2010-06-01 10:57:59.000000000 +0200
+--- src/game/gameplay_actions/reservation.cpp.old
++++ src/game/gameplay_actions/reservation.cpp
 @@ -110,7 +110,7 @@
   ** 
   ** @version  0.7.3
@@ -53,8 +53,8 @@
  GameplayAction::Reservation::operator=(Reservation const& reservation)
  {
    this->Player1::operator=(reservation);
---- src/game/gameplay_actions/marriage.cpp.old 2010-06-01 10:58:29.000000000 +0200
-+++ src/game/gameplay_actions/marriage.cpp     2010-06-01 10:58:43.000000000 +0200
+--- src/game/gameplay_actions/marriage.cpp.old
++++ src/game/gameplay_actions/marriage.cpp
 @@ -121,7 +121,7 @@
   ** 
   ** @version  0.7.1
@@ -64,8 +64,8 @@
  GameplayAction::Marriage::operator=(Marriage const& marriage)
  {
    this->Player1::operator=(marriage);
---- src/game/gameplay_actions/genscher.cpp.old 2010-06-01 10:59:12.000000000 +0200
-+++ src/game/gameplay_actions/genscher.cpp     2010-06-01 10:59:22.000000000 +0200
+--- src/game/gameplay_actions/genscher.cpp.old
++++ src/game/gameplay_actions/genscher.cpp
 @@ -120,7 +120,7 @@
   ** 
   ** @version  0.7.1
@@ -75,8 +75,8 @@
  GameplayAction::Genscher::operator=(Genscher const& genscher)
  {
    this->Player1::operator=(genscher);
---- src/game/gameplay_actions/announcement.cpp.old     2010-06-01 10:59:46.000000000 +0200
-+++ src/game/gameplay_actions/announcement.cpp 2010-06-01 10:59:58.000000000 +0200
+--- src/game/gameplay_actions/announcement.cpp.old
++++ src/game/gameplay_actions/announcement.cpp
 @@ -132,7 +132,7 @@
   ** 
   ** @version  0.7.1
@@ -86,8 +86,8 @@
  GameplayAction::Announcement::operator=(Announcement const& announcement)
  {
    this->Player1::operator=(announcement);
---- src/game/gameplay_actions/card_played.cpp.old      2010-06-01 11:00:28.000000000 +0200
-+++ src/game/gameplay_actions/card_played.cpp  2010-06-01 11:00:40.000000000 +0200
+--- src/game/gameplay_actions/card_played.cpp.old
++++ src/game/gameplay_actions/card_played.cpp
 @@ -178,7 +178,7 @@
   ** 
   ** @version  0.7.3
@@ -97,8 +97,8 @@
  GameplayAction::CardPlayed::operator=(CardPlayed const& card_played)
  {
    this->Player1::operator=(card_played);
---- src/game/gameplay_actions/trick_full.cpp.old       2010-06-01 11:01:10.000000000 +0200
-+++ src/game/gameplay_actions/trick_full.cpp   2010-06-01 11:01:20.000000000 +0200
+--- src/game/gameplay_actions/trick_full.cpp.old
++++ src/game/gameplay_actions/trick_full.cpp
 @@ -224,7 +224,7 @@
   ** 
   ** @version  0.7.1
  GameplayAction::TrickFull::operator=(TrickFull const& trick_full)
  {
    this->GameplayAction::operator=(trick_full);
---- src/game/gameplay_actions/check.cpp.old    2010-06-01 11:01:56.000000000 +0200
-+++ src/game/gameplay_actions/check.cpp        2010-06-01 11:02:07.000000000 +0200
+--- src/game/gameplay_actions/check.cpp.old
++++ src/game/gameplay_actions/check.cpp
 @@ -104,7 +104,7 @@
   ** 
   ** @version  0.7.6
index cb07df3e74703a4ae43c3c381264d860de06b8e0..98209fdf25ba7d7110f4bf2f1edfaebe768debba 100644 (file)
@@ -1,6 +1,5 @@
-diff -ru FreeDoko_0.7.8.orig/src/Makefile FreeDoko_0.7.8/src/Makefile
---- FreeDoko_0.7.8.orig/src/Makefile   2010-03-13 14:22:58.000000000 -0500
-+++ FreeDoko_0.7.8/src/Makefile        2010-04-20 12:52:29.294499776 -0400
+--- FreeDoko_0.7.8.orig/src/Makefile
++++ FreeDoko_0.7.8/src/Makefile
 @@ -211,15 +211,7 @@
  # compile FreeDoko
  $(PROGNAME) : show_settings objects $(DIRECTORIES)
@@ -18,9 +17,8 @@ diff -ru FreeDoko_0.7.8.orig/src/Makefile FreeDoko_0.7.8/src/Makefile
          $(OBJECTS_ALL:%.o=$(FREEDOKO_WORKING_DIRECTORY)/%.o) \
          $(INCLUDE_ALL) \
          $(LIBS_ALL) \
-diff -ru FreeDoko_0.7.8.orig/src/Makefile.os FreeDoko_0.7.8/src/Makefile.os
---- FreeDoko_0.7.8.orig/src/Makefile.os        2010-03-13 14:22:58.000000000 -0500
-+++ FreeDoko_0.7.8/src/Makefile.os     2010-04-20 12:52:29.294499776 -0400
+--- FreeDoko_0.7.8.orig/src/Makefile.os
++++ FreeDoko_0.7.8/src/Makefile.os
 @@ -1,6 +1,5 @@
  include $(DEPTH)/../Makefile.os
  
@@ -28,9 +26,8 @@ diff -ru FreeDoko_0.7.8.orig/src/Makefile.os FreeDoko_0.7.8/src/Makefile.os
  include $(DEPTH)/Makefile.modules
  
  ifeq ($(OPERATING_SYSTEM), Linux)
-diff -ru FreeDoko_0.7.8.orig/src/Makefile.rules FreeDoko_0.7.8/src/Makefile.rules
---- FreeDoko_0.7.8.orig/src/Makefile.rules     2010-03-13 14:22:59.000000000 -0500
-+++ FreeDoko_0.7.8/src/Makefile.rules  2010-04-20 12:52:29.295507223 -0400
+--- FreeDoko_0.7.8.orig/src/Makefile.rules
++++ FreeDoko_0.7.8/src/Makefile.rules
 @@ -81,9 +81,7 @@
                  $(DEPTH)/Makefile.local \
                  $(DEPTH)/Makefile.os
@@ -42,9 +39,8 @@ diff -ru FreeDoko_0.7.8.orig/src/Makefile.rules FreeDoko_0.7.8/src/Makefile.rule
  
  
  -include $(OBJECTS:%.o=$(TARGET_DIR_LOCAL)%.d)
-diff -ru FreeDoko_0.7.8.orig/src/ui/help.cpp FreeDoko_0.7.8/src/ui/help.cpp
---- FreeDoko_0.7.8.orig/src/ui/help.cpp        2010-03-13 14:23:02.000000000 -0500
-+++ FreeDoko_0.7.8/src/ui/help.cpp     2010-04-20 13:00:28.862375812 -0400
+--- FreeDoko_0.7.8.orig/src/ui/help.cpp
++++ FreeDoko_0.7.8/src/ui/help.cpp
 @@ -142,14 +142,14 @@
      for (list<string>::const_iterator d = datadir.begin();
           d != datadir.end();
index 3d62d92c6a7d0f9b98082d93f08babce31f44d48..b3741a3aaf22fe562669428d861c5363b31725f9 100644 (file)
@@ -1,5 +1,5 @@
---- Makefile.orig      2006-08-12 16:26:20.366547794 +0200
-+++ Makefile   2006-08-12 16:26:51.066037961 +0200
+--- Makefile.orig
++++ Makefile
 @@ -139,7 +139,6 @@
        $(MAKE) Version
        cp AUTHORS COPYING ChangeLog README LIESMICH Version release/FreeDoko_$(VERSION)/
index 4881dc0f68dfa8abba66c5f98c4b68db55c94743..1902dd5668bd36c50bdd72d8f642b852b76a1c1e 100644 (file)
@@ -1,5 +1,5 @@
---- src/Makefile.modules.orig  2006-08-12 16:56:49.150314837 +0200
-+++ src/Makefile.modules       2006-08-12 17:15:29.231357349 +0200
+--- src/Makefile.modules.orig
++++ src/Makefile.modules
 @@ -11,7 +11,7 @@
  # The network code
  # It is not necessary for single players
index 5a3e40e2f0842cb338efafd9468048814bcc48c6..894b48010e39dfd4588f22a7131fc7445f15daf4 100644 (file)
@@ -1,5 +1,5 @@
---- src/Makefile.rules.orig    2006-10-05 21:59:41.915041312 +0200
-+++ src/Makefile.rules 2006-10-05 21:59:50.259772720 +0200
+--- src/Makefile.rules.orig
++++ src/Makefile.rules
 @@ -5,8 +5,7 @@
                  $(DEPTH)/Makefile.os
  # Gentoo users do want to see the real compile line.
diff --git a/games-board/freedoko/freedoko-0.7.10.ebuild b/games-board/freedoko/freedoko-0.7.10.ebuild
new file mode 100644 (file)
index 0000000..244aed9
--- /dev/null
@@ -0,0 +1,85 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/freedoko/freedoko-0.7.10.ebuild,v 1.1 2011/09/21 19:42:55 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils games
+
+DESCRIPTION="FreeDoko is a Doppelkopf-game"
+HOMEPAGE="http://free-doko.sourceforge.net"
+SRC_URI="mirror://sourceforge/free-doko/FreeDoko_${PV}.src.zip
+       doc? ( mirror://sourceforge/free-doko/FreeDoko_${PV}.manual.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 doc"
+
+RDEPEND="net? ( net-libs/gnet )
+       >=dev-cpp/gtkmm-2.4:2.4"
+DEPEND="${RDEPEND}
+       app-arch/unzip
+       dev-util/pkgconfig"
+
+S=${WORKDIR}/FreeDoko_${PV}
+
+src_unpack() {
+       local cards=0
+
+       unpack_cards() {
+               use $1 && { unpack $2 ; cards=$(( $cards + 1 )); };
+       }
+       unpack FreeDoko_${PV}.src.zip
+       use doc && unpack FreeDoko_${PV}.manual.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
+}
+
+PATCHES=( "${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 || die
+       emake -C src FreeDoko || die
+}
+
+src_install() {
+       newgamesbin src/FreeDoko freedoko || die
+       insinto "${GAMES_DATADIR}"/${PN}/
+       doins -r data/{ai,cardsets,backgrounds,rules,sounds,translations,*png} || die
+       find "${D}${GAMES_DATADIR}"/${PN} -name Makefile -delete
+       dodoc AUTHORS README ChangeLog
+       use doc && dohtml -r doc/manual/
+       newicon src/FreeDoko.png ${PN}.png
+       make_desktop_entry ${PN} FreeDoko
+       prepgamesdirs
+}