Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113501 - ebuild for free-doko
Summary: ebuild for free-doko
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://free-doko.sf.net
Whiteboard:
Keywords: EBUILD
: 143702 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-24 12:12 UTC by Dietrich Heise
Modified: 2006-10-09 10:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
free-doko-0.7.1.ebuild (free-doko-0.7.1.ebuild,890 bytes, text/plain)
2005-11-24 12:13 UTC, Dietrich Heise
Details
free-doko-0.7.2b.ebuild (,1.31 KB, text/plain)
2006-02-09 16:09 UTC, Rafael Kolless
Details
free-doko-0.7.2b-r1.ebuild (free-doko-0.7.2b-r1.ebuild,2.16 KB, text/plain)
2006-02-10 13:37 UTC, Rafael Kolless
Details
free-doko-0.7.2b-r2 (free-doko-0.7.2b-r2.ebuild,2.34 KB, text/plain)
2006-02-11 08:54 UTC, Rafael Kolless
Details
free-doko-0.7.2b-r3.ebuild (free-doko-0.7.2b-r3.ebuild,2.33 KB, text/plain)
2006-02-17 11:23 UTC, Rafael Kolless
Details
freedoko-0.7.2b.ebuild (freedoko-0.7.2b.ebuild,1.31 KB, text/plain)
2006-02-21 20:19 UTC, SpanKY
Details
free-doko-0.7.2b-r4.ebuild (free-doko-0.7.2b-r4.ebuild,2.09 KB, text/plain)
2006-02-23 11:33 UTC, Rafael Kolless
Details
Fix_Cardset_Make.patch (Fix_Cardset_Make.patch,935 bytes, patch)
2006-02-23 11:34 UTC, Rafael Kolless
Details | Diff
portage-cxx.patch (portage-cxx.patch,401 bytes, patch)
2006-02-23 11:34 UTC, Rafael Kolless
Details | Diff
freedoko-0.7.2b-r4.ebuild (freedoko-0.7.2b-r4.ebuild,2.07 KB, text/plain)
2006-02-23 12:46 UTC, Rafael Kolless
Details
freedoko-0.7.2b-r4.ebuild (freedoko-0.7.2b-r4.ebuild,2.12 KB, text/plain)
2006-02-24 10:42 UTC, Rafael Kolless
Details
freedoko-0.7.2b.ebuild (freedoko-0.7.2b.ebuild,2.10 KB, text/plain)
2006-02-24 16:07 UTC, Rafael Kolless
Details
freedoko-0.7.2b.ebuild (freedoko-0.7.2b.ebuild,2.12 KB, text/plain)
2006-02-24 16:11 UTC, Rafael Kolless
Details
freedoko-0.7.2b.ebuild (freedoko-0.7.2b.ebuild,2.20 KB, text/plain)
2006-02-25 14:16 UTC, Rafael Kolless
Details
freedoko-0.7.2b.ebuild (freedoko-0.7.2b.ebuild,2.21 KB, text/plain)
2006-07-28 15:26 UTC, Rafael Kolless
Details
freedoko-0.7.3.ebuild (freedoko-0.7.3.ebuild,2.41 KB, text/plain)
2006-08-12 10:42 UTC, Rafael Kolless
Details
Fix_Cardset_Make.patch (Fix_Cardset_Make.patch,498 bytes, patch)
2006-08-12 10:43 UTC, Rafael Kolless
Details | Diff
portage-cxx.patch (portage-cxx.patch,490 bytes, patch)
2006-08-12 10:44 UTC, Rafael Kolless
Details | Diff
nodoc.patch (nodoc.patch,368 bytes, patch)
2006-08-12 10:44 UTC, Rafael Kolless
Details | Diff
nonet.patch (nonet.patch,421 bytes, patch)
2006-08-12 10:44 UTC, Rafael Kolless
Details | Diff
FreeDoko_0.7.3/src/Makefile (Makefile,5.33 KB, text/plain)
2006-10-02 14:43 UTC, Albert Zeyer
Details
freedoko-0.7.3-ebuild.tar.gz (freedoko-0.7.3-ebuild.tar.gz,4.61 KB, application/octet-stream)
2006-10-03 10:01 UTC, Rafael Kolless
Details
freedoko-0.7.3-ebuild.tar.gz (freedoko-0.7.3-ebuild.tar.gz,4.64 KB, application/octet-stream)
2006-10-05 10:38 UTC, Rafael Kolless
Details
freedoko-0.7.3.ebuild (freedoko-0.7.3.ebuild,2.41 KB, text/plain)
2006-10-05 10:39 UTC, Rafael Kolless
Details
freedoko-0.7.3.ebuild.tar.gz (freedoko-0.7.3.ebuild.tar.gz,4.69 KB, application/octet-stream)
2006-10-05 13:18 UTC, Rafael Kolless
Details
portage-cxx.patch (portage-cxx.patch,481 bytes, patch)
2006-10-05 13:18 UTC, Rafael Kolless
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dietrich Heise 2005-11-24 12:12:26 UTC
here is my ebuild for http://free-doko.sf.net

Reproducible: Always
Steps to Reproduce:
Comment 1 Dietrich Heise 2005-11-24 12:13:21 UTC
Created attachment 73516 [details]
free-doko-0.7.1.ebuild
Comment 2 Rafael Kolless 2006-02-09 16:09:26 UTC
Created attachment 79383 [details]
free-doko-0.7.2b.ebuild

This is the a ebuild to the newest version of freedoko.
I added the USE-Flags "xskat" and "kdecards" that installs the corresponding cardthemes.
I skipped the theme pysol for this time, because the theme is really big.
Comment 3 Rafael Kolless 2006-02-10 13:37:49 UTC
Created attachment 79456 [details]
free-doko-0.7.2b-r1.ebuild

Here I submit the ebuild as I like it and it gives several keywords:
"xskat" installs the xskat cardset
"kdecards" installs the kdecards cardset
"noaltenburg" removes the non-free cardset Altenburg from the build.

The ebuild gives an ewarn if noaltenburg is not set, that it is not compatible with the GPL and gives the chance to change your mind.
If "noaltenburg" is used the ebuild requires to set xskat or kdecards otherwise it exits with a warning.

It would be great to see free-doko in the official portage tree. A feedback would be great.
Comment 4 Rafael Kolless 2006-02-11 08:54:55 UTC
Created attachment 79505 [details]
free-doko-0.7.2b-r2

Added License info if noaltenburg is not used to fullfill the license agreement with the Altenburg Spielkarten GmbH.
Comment 5 Rafael Kolless 2006-02-17 11:23:48 UTC
Created attachment 80028 [details]
free-doko-0.7.2b-r3.ebuild

-changed Source-URI to download only used cardsets.
-added pysol cardset to the USE Flags
Comment 6 SpanKY gentoo-dev 2006-02-21 20:19:39 UTC
Created attachment 80399 [details]
freedoko-0.7.2b.ebuild

here's a (mostly) untested ebuild ... you can use it to see what things need to be done differently in your ebuild

one thing i did notice is that the build system ignores CXXFLAGS for the most part so that'll need to be fixed ...
Comment 7 Rafael Kolless 2006-02-21 23:57:37 UTC
I don't understand this rewrite:

	if use xskatcards || use kdecards || use pysolcards ; then
		use altenburgcards || rm -r Altenburg
	fi
Is the pipe || a check for any of this use flags?

I will patch the Makefiles for the objects to use CXXFLAGS.



Comment 8 UncleOwen 2006-02-22 01:46:24 UTC
That's not a pipe, it's a logical or.
Comment 9 Rafael Kolless 2006-02-22 01:53:21 UTC
Ah, great, yes this is a fine method. Thank you all for training me :)
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2006-02-22 16:59:36 UTC
comments:

needs to depend (but probably not rdepend) on unzip
probably needs to rdepend on the libraries
should use insinto/doins in src_install instead of cp
it's bad form to have the executable installed in the data directory.  The source should be patched to avoid that.
Comment 11 Rafael Kolless 2006-02-23 11:32:03 UTC
Here is the new ebuild.

The CXXFLAGS have been masked in the Makefile. I inserted a patch that unhides it to avoid possible confusion :)

Another patch rewrites the Makefile for the cardsets to include all cardsets. This is needed with the new src_unpack Spanky suggested.

Currently I did not find out how to avoid putting the binary FreeDoko into the datadir. FreeDoko expects all cardsets and rulesets in his own path. I will inform the Developers of Freedoko to help here.

I can see that my first ebuilds were not so good. Now I think it is better
Comment 12 Rafael Kolless 2006-02-23 11:33:12 UTC
Created attachment 80539 [details]
free-doko-0.7.2b-r4.ebuild
Comment 13 Rafael Kolless 2006-02-23 11:34:20 UTC
Created attachment 80540 [details, diff]
Fix_Cardset_Make.patch
Comment 14 Rafael Kolless 2006-02-23 11:34:49 UTC
Created attachment 80541 [details, diff]
portage-cxx.patch
Comment 15 Rafael Kolless 2006-02-23 12:46:23 UTC
Created attachment 80545 [details]
freedoko-0.7.2b-r4.ebuild

Sorry, uploaded the wrong file. This one is correct, using doicon.
Comment 16 Rafael Kolless 2006-02-24 10:24:28 UTC
Comment on attachment 80545 [details]
freedoko-0.7.2b-r4.ebuild

renamed to freedoko
Comment 17 Rafael Kolless 2006-02-24 10:42:53 UTC
Created attachment 80613 [details]
freedoko-0.7.2b-r4.ebuild

Added forced cardset and corrected the check of USE-Flags
Comment 18 Mr. Bones. (RETIRED) gentoo-dev 2006-02-24 15:16:09 UTC
comments:

put rdepend above depend and just use it in depend instead of specifying it twice
don't quote for the S= assignment
indent the function contents properly (see the rest of the games ebuilds)
probably no reason to strip-flags
no reason to cd ${S} (twice!) in src_compile or src_install
error check doins in src_install
source still needs to be patched so the executable looks in the data directory for the data files.
Comment 19 Mr. Bones. (RETIRED) gentoo-dev 2006-02-24 15:17:55 UTC
also...
needs spaces near the parens in src_uri
ditch the -r on the attachment names.  that's for rev bumps in portage.
src_uri should be defined once
Comment 20 Rafael Kolless 2006-02-24 16:07:38 UTC
Created attachment 80652 [details]
freedoko-0.7.2b.ebuild

thank you for you comments. I could you review this ebuild? The binary-data-issue will need some time, sorry for this
Comment 21 Rafael Kolless 2006-02-24 16:11:44 UTC
Created attachment 80653 [details]
freedoko-0.7.2b.ebuild
Comment 22 Rafael Kolless 2006-02-25 14:16:58 UTC
Created attachment 80723 [details]
freedoko-0.7.2b.ebuild

Changed ebuild:
freedoko is now looking for GAMES_DATA_DIR and resides in /usr/games/bin
All binaries are now there where they should.

Cheers
Comment 23 Rafael Kolless 2006-07-28 15:26:04 UTC
Created attachment 92959 [details]
freedoko-0.7.2b.ebuild

added ~amd64 keyword
Comment 24 Rafael Kolless 2006-08-12 10:42:37 UTC
Created attachment 94072 [details]
freedoko-0.7.3.ebuild

New release added
Added useflag net since networkgaming is now official available, still experimentell
Added useflag doc and DEPEND tetex for creating the docs.

Could it be possible to get freedoko into the official portage? I would maintain it. It is a little confusing that I get no feedback for this request :)
Comment 25 Rafael Kolless 2006-08-12 10:43:33 UTC
Created attachment 94073 [details, diff]
Fix_Cardset_Make.patch
Comment 26 Rafael Kolless 2006-08-12 10:44:01 UTC
Created attachment 94074 [details, diff]
portage-cxx.patch
Comment 27 Rafael Kolless 2006-08-12 10:44:32 UTC
Created attachment 94075 [details, diff]
nodoc.patch
Comment 28 Rafael Kolless 2006-08-12 10:44:53 UTC
Created attachment 94076 [details, diff]
nonet.patch
Comment 29 Mr. Bones. (RETIRED) gentoo-dev 2006-08-15 17:29:34 UTC
*** Bug 143702 has been marked as a duplicate of this bug. ***
Comment 30 Matthias Guggenmos 2006-08-29 09:16:11 UTC
The provided ebuilds do not work anymore since the archive format of the package on the mirrors is now .tgz and not .src.zip .
Comment 31 Matthias Guggenmos 2006-08-29 09:28:54 UTC
Oh no, sorry, forget my comment, that was crap. But for whatever reason a "ebuild freedoko-0.7.3.ebuild digest" does not find the package on the mirror.
Comment 32 Rafael Kolless 2006-08-29 14:59:57 UTC
I still can digest the ebuild. Some mirrors of sourceforge currently do not have the file present. The first hit in my mirrorlist was kent.dl.sourceforge.net
Comment 33 Albert Zeyer 2006-10-02 10:13:53 UTC
I have problems with the portage-cxx.patch:

ibook ~ # emerge  freedoko
Calculating dependencies... done!

>>> Emerging (1 of 1) games-board/freedoko-0.7.3 to /
>>> Unpacking source...
>>> Unpacking FreeDoko_0.7.3.src.zip to /var/tmp/portage/freedoko-0.7.3/work
 * Applying portage-cxx.patch ...

 * Failed Patch: portage-cxx.patch !
 *  ( /usr/portage/local/private/games-board/freedoko/files/portage-cxx.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/freedoko-0.7.3/temp/portage-cxx.patch-21458.out


!!! ERROR: games-board/freedoko-0.7.3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  freedoko-0.7.3.ebuild, line 31:   Called epatch '/usr/portage/local/private/games-board/freedoko/files/portage-cxx.patch'
  eutils.eclass, line 341:   Called die

!!! Failed Patch: portage-cxx.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/portage/local/private'




/var/tmp/portage/freedoko-0.7.3/temp/portage-cxx.patch-21458.out:
***** portage-cxx.patch *****

=============================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/local/private/games-board/freedoko/files/portage-cxx.patch

=============================
patching file src/Makefile.rules
Hunk #1 FAILED at 5.
1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.rules.rej
=============================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/local/private/games-board/freedoko/files/portage-cxx.patch

=============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/Makefile.rules.orig    2006-07-27 10:22:28.000000000 +0200
|+++ src/Makefile.rules 2006-07-28 17:17:46.744884888 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=============================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/local/private/games-board/freedoko/files/portage-cxx.patch

=============================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/Makefile.rules.orig    2006-07-27 10:22:28.000000000 +0200
|+++ src/Makefile.rules 2006-07-28 17:17:46.744884888 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=============================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/local/private/games-board/freedoko/files/portage-cxx.patch

=============================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/Makefile.rules.orig    2006-07-27 10:22:28.000000000 +0200
|+++ src/Makefile.rules 2006-07-28 17:17:46.744884888 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=============================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/local/private/games-board/freedoko/files/portage-cxx.patch

=============================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/Makefile.rules.orig    2006-07-27 10:22:28.000000000 +0200
|+++ src/Makefile.rules 2006-07-28 17:17:46.744884888 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 34 Rafael Kolless 2006-10-02 12:13:26 UTC
The Freedoko sources seems not to be extracted correctly.
Could you have a look at /var/tmp/portage/freedoko-0.7.3/work/FreeDoko_0.7.3/src/Makefile and send it to me?

Comment 35 Albert Zeyer 2006-10-02 14:43:04 UTC
Created attachment 98670 [details]
FreeDoko_0.7.3/src/Makefile

here it is
Comment 36 Albert Zeyer 2006-10-03 02:37:45 UTC
I tried to applie the patch manually:

If I am in the /var/tmp/portage/freedoko-0.7.3/work/FreeDoko_0.7.3 directory, the patch doesn't find the file to patch:

ibook FreeDoko_0.7.3 #  patch -p1 -g0 -E < /usr/portage/local/private/games-board/freedoko/files/portage-cxx.patch can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/Makefile.rules.orig    2006-07-27 10:22:28.000000000 +0200
|+++ src/Makefile.rules 2006-07-28 17:17:46.744884888 +0200--------------------------
File to patch:

This is the same error as in portage-cxx.patch-21458.out.

If I went into the src subdirectory:

ibook FreeDoko_0.7.3 # cd src
ibook src # ls
Doxyfile                 basistypes.cpp  info.cpp
FreeDoko.ico             basistypes.h    info.h
FreeDoko.party_points    c               logo.xpm
FreeDoko.png             c.subdir        misc
Ideas                    card            network
Makefile                 class           os
Makefile.local           commands.sh     party
Makefile.local.template  compile.bat     player
Makefile.modules         constants.cpp   seed.out
Makefile.objects         constants.h     text
Makefile.os              debug.cpp       ui
Makefile.rules           debug.h         utils
Makefile.subdir          exception.h     utils.cpp
POSTPHONED               freedoko.cpp    utils.h
Remarks                  game

ibook src #  patch -p1 -g0 -E < /usr/portage/local/private/games-board/freedoko/files/portage-cxx.patch
patching file Makefile.rules
Hunk #1 FAILED at 5.

1 out of 1 hunk FAILED -- saving rejects to file Makefile.rules.rej

ibook src # cat Makefile.rules.rej
***************
*** 5,12 ****
                  $(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 $<

  -include $(OBJECTS:.o=.d)

--- 5,11 ----
                  $(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.
+       $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $<

  -include $(OBJECTS:.o=.d)
Comment 37 Rafael Kolless 2006-10-03 09:57:53 UTC
ok, the problem is the downloades patchfile from this bug. The resulting download shows control-markups and the file is a DOS-compliant textfile after downloaded:
--- src/Makefile.rules.orig     2006-07-27 10:22:28.000000000 +0200
+++ src/Makefile.rules  2006-07-28 17:17:46.744884888 +0200
@@ -5,8 +5,7 @@
                  $(DEPTH)/Makefile.os^M
 # Gentoo users do want to see the real compile line.^M
 # So remove the next line and remove the '@' in the line after.^M
-       @echo $(CXX) -c $<^M
-       @$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $<^M
+       $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $<^M
 ^M
 -include $(OBJECTS:.o=.d)^M
 ^M

I can reproduce your last error with the downloaded patchfile.

A dos2unix portage-cxx.patch fixes this. I don
Comment 38 Rafael Kolless 2006-10-03 09:57:53 UTC
ok, the problem is the downloades patchfile from this bug. The resulting download shows control-markups and the file is a DOS-compliant textfile after downloaded:
--- src/Makefile.rules.orig     2006-07-27 10:22:28.000000000 +0200
+++ src/Makefile.rules  2006-07-28 17:17:46.744884888 +0200
@@ -5,8 +5,7 @@
                  $(DEPTH)/Makefile.os^M
 # Gentoo users do want to see the real compile line.^M
 # So remove the next line and remove the '@' in the line after.^M
-       @echo $(CXX) -c $<^M
-       @$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $<^M
+       $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $<^M
 ^M
 -include $(OBJECTS:.o=.d)^M
 ^M

I can reproduce your last error with the downloaded patchfile.

A dos2unix portage-cxx.patch fixes this. I don´t know why the Bugzilla downloads are converted to DOS-files. I will upload a binary gz which includes all files also.
Comment 39 Rafael Kolless 2006-10-03 10:01:30 UTC
Created attachment 98710 [details]
freedoko-0.7.3-ebuild.tar.gz

added binary file. This file can be found at http://free-doko.sourceforge.net/en/files.html also
Comment 40 Albert Zeyer 2006-10-04 01:56:33 UTC
Thank you, I tried to find out the error by myself but I never thought of this. :)

I emerged freedoko successfully now with the following settings:
[ebuild  N    ] games-board/freedoko-0.7.3  USE="net pysolcards -altenburgcards -doc -kdecards -xskatcards" 0 kB [1]

The game itself works fine on my PPC, so please add this keyword.
Comment 41 Albert Zeyer 2006-10-04 02:50:59 UTC
I use now the altenburgcards and this works also very well (the altenburgcards contains only one set of cards, but it is a german set (with a B, D, K and not J, Q, K) and the english one confused me. :)

The game itself works very stable till now (played a few rounds) and has very much options (Doppelkopf is a very complex game with many variations (look at Wikipedia), but you have the ability to specifiy most of them) and the AI seems to be good (but I haven't played Doppelkopf for a long time, so I am not the best player).
Comment 42 Albert Zeyer 2006-10-04 03:20:03 UTC
It works with the same settings also fine on my AMD64.
Comment 43 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-05 09:13:52 UTC
OK.  Exactly what of the attachments above to I need anymore?  Just the tarball?
Comment 44 Albert Zeyer 2006-10-05 09:41:01 UTC
@Chris:

Yes, you only need the tarball, that's enough. After trying, please report your success here.

The only problem I had was the rare available source code, but after a few 404, he found it.
Comment 45 Rafael Kolless 2006-10-05 10:38:34 UTC
Created attachment 98861 [details]
freedoko-0.7.3-ebuild.tar.gz

added ~ppc keyword
Comment 46 Rafael Kolless 2006-10-05 10:39:23 UTC
Created attachment 98862 [details]
freedoko-0.7.3.ebuild

added ~ppc keyword
Comment 47 Rafael Kolless 2006-10-05 10:53:11 UTC
(In reply to comment #40)
> I use now the altenburgcards and this works also very well (the altenburgcards
> contains only one set of cards, but it is a german set (with a B, D, K and not
> J, Q, K) and the english one confused me. :)

It is the famost cardset distributed by Altenburg GmbH. They have a german cardset also but I never saw anyone using it. Does anyone whish this cardset included?
Comment 48 Albert Zeyer 2006-10-05 11:25:14 UTC
> It is the famost cardset distributed by Altenburg GmbH. They have a german
> cardset also but I never saw anyone using it. Does anyone whish this cardset
> included?

Do you mean an english cardset? Because I got only a german one and no english cardset. And that's enough for me, but perhaps there are non-germans out there who also wants to use it.
Comment 49 Rafael Kolless 2006-10-05 11:35:46 UTC
No, with german cardset I meant german "pictures" ( like this one http://www.spielkarten.com/Media/altenburger/_pictures/products/handel_01tradit/4/doppelkopf1.jpg )

The french pictures are the most popular in Germany, I don
Comment 50 Rafael Kolless 2006-10-05 11:35:46 UTC
No, with german cardset I meant german "pictures" ( like this one http://www.spielkarten.com/Media/altenburger/_pictures/products/handel_01tradit/4/doppelkopf1.jpg )

The french pictures are the most popular in Germany, I don´t know if there are equivalents in other countries. Altenburg does not produce english cards as I know but I will asked for it.
 

Comment 51 Albert Zeyer 2006-10-05 12:29:41 UTC
Ah OK, I confounded this. Me, I would not use the german cardset, but it would be nice to have the possibility to choose it.

Perhaps you could make an seperate altenburgcards ebuild and select the wanted included cardsets by USE-flags like 'englishcards', 'germancards' or 'frenchcards'.
Comment 52 Rafael Kolless 2006-10-05 13:16:52 UTC
I found the source of the formating problem with the file src/Makefile.rules

The original source contains the dos formating and any patch created will and have include them. I informed the developers of Freedoko about this, they should fix this.

Until this happened I will alter the ebuild to convert the Makefile.rules to Unix and updated the patch.

Comment 53 Rafael Kolless 2006-10-05 13:18:09 UTC
Created attachment 98877 [details]
freedoko-0.7.3.ebuild.tar.gz

fixed dos formating
Comment 54 Rafael Kolless 2006-10-05 13:18:47 UTC
Created attachment 98878 [details, diff]
portage-cxx.patch

fixed dos formating
Comment 55 Rafael Kolless 2006-10-06 13:41:35 UTC
@Chris,

if you would like to have a look at the ebuild choose the file:

freedoko-0.7.3.ebuild.tar.gz

it includes the ebuild, all patches and Changelog.

For further uploads I will update the tar archives only

Cheers 
Comment 56 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-09 10:04:09 UTC
Added to CVS (slightly modified)