Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 239762

Summary: games-board/freedoko-0.7.7 version bump
Product: Gentoo Linux Reporter: Rafael Kolless <rafael>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: enhancement CC: H.Humpel, Jan.Schubert
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: freedoko-0.7.5 ebuild
Cardset Patch
NoDoc patch
NoNet Patch
NoSounds patch
Portage CXX patch
freedoko-0.7.5.ebuild

Description Rafael Kolless 2008-10-04 23:50:16 UTC
Hi,

I built just the new release of Freedoko 0.7.5 for Gentoo.
For a simpler license handling the developers now distribute the non free cardsets like Altenburg in the binary packages only and not in the source package like before.

Normaly for additional cardsets I just unpack them in the function src_unpack() like this:

use kdecards && unpack kdecarddecks.zip

In the new package the relevant cardsets files are located in a subdirectory like:
./data/cardsets/altenburg

I would like to extract this folders only from the archive and the line:

use altenburgcards && tar xfvz FreeDoko_${P}.Linux.tgz FreeDoko_${P}/cardsets/Altenburg/

is not very comfortable.
Is there another way to unpack subfolders with a eclass function?

Thanks alot for your help

Regards

Rafael


Reproducible: Always

Steps to Reproduce:
1. n/a
2.
3.
Comment 1 Bjoern Koch 2008-12-08 23:03:28 UTC
Created attachment 174678 [details]
freedoko-0.7.5 ebuild

First try of a freedoko 0.7.5 ebuild.

Still not working as the game is looking for the logo.png and icon.png in /usr/games/bin and not in /usr/share/games/freedoko. Works fine if the bin is copied and started from /usrshare/games/freedoko, but I guess that is not the way it should be, right ?
I am stuck here and hope someone will find a nice and clean way to finish this ebuild!

No solution for #0 though (sorry!).
Comment 2 Bjoern Koch 2008-12-08 23:04:59 UTC
Created attachment 174680 [details, diff]
Cardset Patch

CardSet patch to include more cardsets.
Comment 3 Bjoern Koch 2008-12-08 23:07:50 UTC
Created attachment 174682 [details, diff]
NoDoc patch

No Docs if not wanted/needed (doc useflag)
Comment 4 Bjoern Koch 2008-12-08 23:08:51 UTC
Created attachment 174683 [details, diff]
NoNet Patch

No Net (network support) if not wanted/needed (net useflag)
Comment 5 Bjoern Koch 2008-12-08 23:10:33 UTC
Created attachment 174684 [details, diff]
NoSounds patch

No Sounds (sound support) if not wanted/needed (sounds useflag).
Disabled by default as enabling sounds causes build errors (here).
Feel free to fix ;).
Comment 6 Bjoern Koch 2008-12-08 23:11:29 UTC
Created attachment 174686 [details, diff]
Portage CXX patch

Taken from 0.73 and adjusted to 0.75.
Comment 7 Bjoern Koch 2008-12-14 16:20:19 UTC
Created attachment 175255 [details]
freedoko-0.7.5.ebuild

Now using the wrapper from the games eclass and working fine here!
Still to come: sound support and background gfx (?)
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2009-02-22 17:27:13 UTC
*** Bug 230027 has been marked as a duplicate of this bug. ***
Comment 9 Porcupine of the Moon 2010-01-30 16:08:07 UTC
The current version is now 0.7.7 and in portage there is still version 0.7.3. Why doesn't it get updated? 0.7.3 is of the year 2008?
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2010-04-20 23:55:16 UTC
0.7.8 is in portage.