Hi, This ebuild contains the Mandrake artwork package, including the GTK(2)/KDE/Metacity Galaxy theme. Please include this in portage. Thanks, Niek van der Maas (n.v.d.maas@hccnet.nl)
Created attachment 10390 [details] mandrake-artwork ebuild
FYI: 22mdk is in the cooker (though wont build with this, havent looked into it) Also, you could use MDK_EXTRAVERSION="${PR/r/}mdk" to make the mandrake version match the -r version of the ebuild. eg: mandrake-artwork-0.2-r18.ebuild fetches galaxy-0.2-18mdk.src.rpm and mandrake-artwork-0.2-r22.ebuild fetches galaxy-0.2-22mdk.src.rpm Granted, this makes ebuild bugfix revisions impossible without just overwritting the old one. Of course, its not nearly as bad as the GTK engine ebuild setup, so its got that going for it...
I tried the ebuild by Niek van der Maas, but I couldn't get it working. The sed command seems to be mangling the Makefile. I have built my own ebuild, based on the discussion at http://forums.gentoo.org/viewtopic.php?t=37446 (I am 'Yama' in that conversation). It works for me. I am including 3 files: the ebuild and two patches. galaxy_makefile.patch alters a makefile to enable compiling for KDE 3.1.x in Gentoo. thememdk-colourscheme.patch has been taken from http://www.kde-look.org/content/show.php?content=5663 I have avoided using MDK_EXTRAVERSION="${PR/r/}mdk" (Tom von Schwerdtner's suggestion) because it does not seem flexible. I think the "r" number should be reserved for ebuild revision numbers.
Created attachment 10828 [details] New ebuild for Galaxy
Created attachment 10829 [details, diff] Patch to allow compiling for KDE 3.1 in Gentoo
Created attachment 10830 [details, diff] Patch to fix colours in KDE
I should add that the first patch ("Patch to allow compiling for KDE 3.1 in Gentoo") is called "galaxy_makefile.patch" in the ebuild, and the second patch ("Patch to fix colours in KDE") is named "thememdk-colourscheme.patch".
The MDK_EXTRAVERSION="18mdk" version is no longer on the server and could not be downloaded. Current is version 24mdk but the ebuild fails with that. # emerge mandrake-artwork Calculating dependencies ...done! >>> emerge (1 of 1) x11-themes/mandrake-artwork-0.2 to / >>> md5 ;-) galaxy-0.2-24mdk.src.rpm >>> Unpacking source... tar (child): thememdk.tar.bz2: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors cat: thememdk/mandrake_client/Makefile.in: No such file or directory /usr/sbin/ebuild.sh: line 32: thememdk/mandrake_client/Makefile.in: No such file or directory >>> Source unpacked. loading cache ./config.cache checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking for a BSD compatible install... (cached) /usr/bin/install -c . . . . Making all in thememdk make[3]: Entering directory `/var/tmp/portage/mandrake-artwork-0.2/work/galaxy-0.2/thememdk/thememdk' /usr/lib/qt3/bin/moc thememdk.h -o thememdk.moc make[3]: /usr/lib/qt3/bin/moc: Command not found make[3]: *** [thememdk.moc] Error 127 make[3]: Leaving directory `/var/tmp/portage/mandrake-artwork-0.2/work/galaxy-0.2/thememdk/thememdk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/mandrake-artwork-0.2/work/galaxy-0.2/thememdk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mandrake-artwork-0.2/work/galaxy-0.2' make: *** [all-recursive-am] Error 2 !!! ERROR: x11-themes/mandrake-artwork-0.2 failed. !!! Function src_compile, Line 39, Exitcode 2 !!! (no error message)
Use the attachment titled "New ebuild for Galaxy" [http://bugs.gentoo.org/attachment.cgi?id=10828&action=view], not "mandrake-artwork ebuild". The patches are written for this ebuild. It should work.
> Use the attachment titled "New ebuild for Galaxy" Yes, you're right. I clicked on the wrong (i.e. old) ebuild. The new one works fine. Thanks.
run 'make distclean' after unpacking the source and you won't need to edit the Makefiles.
There is a new version of galaxy on a mirror in Holland (dl.xs4all.nl). Therefore I rewrote the ebuild for that version. Also I made some changes for the error message when unpacking the files. The 'make distclean' is necessary otherwise the configure script can't find qt. A patch is included for finding kwin as usual :-). I hope everything is working now.
Created attachment 13223 [details] A new ebuild for mandrake-artwork
Created attachment 13224 [details, diff] A patch for building with Gentoo
Hoi Andre :) Good ebuild, but I think it's better to use a sed line instead of that gentoo-patch. I'm running KDE from CVS, so my $KDEDIR is /usr/kde/cvs, for example. Here comes the enw ebuild:
Created attachment 13225 [details] New ebuild. Now works also with KDE from CVS.
Committed, with a minor change to the sed line. Please test and let me know if it works.
Some parts work some don't! Kstyle works perfectly, as does GTK1 and GTK styles. Kwin however does not work, I simply get Keramik instead. Not yet been able to test under gnome (half way through emerging the new OpenOffice.org :) ). Under Windows Decorations in KDE Control Centre, Galaxy is an option though, so it can't be that big a problem! Either way, exciting to see this ebuild in portage now! Ohh, and is it possible to include the Galaxy colour scheme and the default mandrake 9.1 wallpaper with the ebuild? Thanks, Stu
Mandrake artwork 0.9 is in portage