Hi!

I've been working on exactly the same thing, it seems you were faster!! 
Excellent work!

I have some comments/criticisms for handling the CVS ebuilds:

Might I suggest the following?
-> For actual DFB releases, a ebuild like DirectFB-0.9.22.ebuild is ideal.
-> For CVS releases, DirectFB-0.9.23 is not ideal, unless you go for a specific 
CVS Tag, since the version will not 'stick'. Ie if I install the ebuild today 
and again in 1 Week I will get different builds since the version in CVS has 
changed.
Other projects (for example enlightenment r17) get around this by creating an 
ebuild like:
  DirectFB-9999.ebuild
The '9999' is a dummy version number and stands for 'CVS Head' - ie the most 
recent version possible. The '9999' ebuilds are typically marked ~x86 so if you 
want a clean system just use the x86 builds, to risk CVS, use 
ACCEPT_KEYWORDS="~x86"

The advantage is that you can accommodate both normal and CVS based ebuilds 
under the same package name, rather than having to resort to 'DirectFB-0.9.22' 
and 'DirectFB-cvs-0.9.23', which then makes it hard to code for dependencies in 
ebuilds.

Further, in this system you don't need to control the version via USE flags, 
which could potentially be quite confusing:
-> eg: a DirectFB-0.2.23 ebuild with USE="cvs_directfb" will be newer than a 
DirectFB-0.2.24 ebuild without!
-> eg: mixing USE="cvs_*" flags will result in compile problems galore - these 
will get worse as the versions in CVS get ahead of the released versions

What do you think?

Richie






-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Lucian Muresan
Gesendet: Donnerstag, 13. Oktober 2005 14:24
An: [email protected]; [email protected]; [EMAIL PROTECTED]
Betreff: [directfb-users] [announce] Gentoo ebuilds for several DirectFB 
projects, 0.9.22 series and current CVS


Hi folks,

I made up some Gentoo ebuilds for the 0.9.22 series of several DirectFB 
projects, including for 0.9.23 which is now in CVS. Some of them of course, 
have a different version pattern (DFBTutorials and the released LiTE, which 
btw. requests DirectFB-0.9.23 already :-) ). For linux-fusion I didn't know 
what other version to use than 0.9.23 as there is no other way of getting it, 
than CVS. Btw, Denis & co-devs, would you mind having a look at the tiny patch 
I had to do for the linux-fusion makefile, in order to make it work under 
gentoo (as the depmod command is issued automatically ehen emerging kernel 
module stuff). Could you accept that one? 
http://www.muresan.de/DirectFB/linux-fusion_gentoo-makefile.diff

Now here is the list:
++DFB/
        ++DFB-0.9.22.ebuild
        ++DFB-0.9.23.ebuild

DFB++/
        DFB++-0.9.22.ebuild
        DFB++-0.9.23.ebuild

DFBTutorials/
        DFBTutorials-0.5.0.ebuild

DirectFB/
        DirectFB-0.9.22.ebuild
        DirectFB-0.9.23.ebuild

DirectFB-examples/
        DirectFB-examples-0.9.22.ebuild
        DirectFB-examples-0.9.23.ebuild

DirectFB-extra/
        DirectFB-extra-0.9.22.ebuild
        DirectFB-extra-0.9.23.ebuild

FusionSound/
        FusionSound-0.9.22.ebuild
        FusionSound-0.9.23.ebuild

LiTE/
        LiTE-0.3.1.ebuild

linux-fusion-cvs/
        linux-fusion-cvs-0.9.23.ebuild
        files/
                linux-fusion_gentoo-makefile.diff


To get the ebuilds, just unpack 
http://www.muresan.de/DirectFB/DirectFB_gentoo-ebuilds.tar.bz2 in your portage 
overlay folder, and generate digests before attempting to emerge anything, but 
please read ahead first.

So if you want to use just 0.9.22 stuff, just mask the 0.9.23 out. If you're 
curious and look in the ebuilds themselves, you'll notice that they're 
identical. So these ebuilds are able to fetch either the released versions or 
from CVS, controlled by the following USE flags (they're also included in 
profiles/use.local.desc):

cvs_directfb cvs_dfbpp cvs_ppdfb cvs_dfbfusionsound cvs_dfblite cvs_dfbextra 
cvs_dfbexamples cvs_dfbtutorials

The cvs_ flags are independent to allow mixing (you should know what you're 
doing, sometimes this only works with equal versions) released projects with 
CVS projects.

Further flags: voodoo unique trace extra-warnings ieee-floats accuracy lite 
swfdec mpeg3

Please report dependency problems (proposals for the proper library versions 
welcome) especially with DirectFB-extra, on which avifile, libmpeg3 and swfdec 
failed on my X-less box, Openquicktime is blocked by libquicktime which I need 
for transcode, didn't test yet libsvg-cairo, will try it on my desktop box, but 
hey, the important thing for mew was that df_xine is working :-D .


Have phun,
Lucian



_______________________________________________
directfb-users mailing list
[email protected] 
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to