Image 01
profile-image

AssfaceJackson

ASSFACE JACKSON
[Keramik] Transparent Kicker (TARBALL)

KDE 3.0-3.4 Themes by dcpark 86 comments

ASSFACE JACKSON is here again with a quick fix. You'll need to add the following to the top of "keramik.cpp" to get it to compile:

#include <qcheckbox.h>
#include <qprogressbar.h> - Apr 27 2003
[Keramik] Transparent Kicker (TARBALL)

KDE 3.0-3.4 Themes by dcpark 86 comments


Yo my fellow mofos! If you want to be a studmuffin like me with this piece, then you have to treat yo box like a lady. Smooth and silky, but then ram something down it's throat!!!

These instructions about how to get your Transparent Kicker on were done on a fresh install of FreeBSD 4.8 with the KDE 3.1.1 port.

First off, get the tarball and pop that open. All of it is crap except for the patch:

  [~/keramik]#: bunzip2 transkicker-keramik.patch.bz2

That will give you "transkicker-keramik.patch"

Now this little whore needs to be dropped all the way in the ports where KDE:

  [~/keramik]#: cp ./transkicker-keramik.patch /usr/ports/x11/kdelibs3/work/kdelibs-3.1.1a/kstyles/keramik
  [~/keramik]#: cd /usr/ports/x11/kdelibs3/work/kdelibs-3.1.1a/kstyles/keramik

Next open the file up like yo mama on a can of beans and edit any line that has file starting with "keramik/kstyles/keramik/", just hack off that part.

EXAMPLE:

--- keramik/kstyles/keramik/Makefile.am.orig Sun Jun 16 15:28:49 2002
+++ keramik/kstyles/keramik/Makefile.am Mon Jun 17 16:19:04 2002

THIS SHOULD BE:

--- Makefile.am.orig Sun Jun 16 15:28:49 2002
+++ Makefile.am Mon Jun 17 16:19:04 2002

Now this bitch is about to get sloppy, so let's keep our cool! We're going to run the patch program now and take care of some things:

  [/usr/ports/x11/kdelibs3/<<SNIP>>/keramik]#: patch -Np1 -i transkicker-keramik.patch

You're probably going to get some rejects, that's ok. It's like when you're dating a fine lady, but she has a donkey-faced sister that likes your jive to. It ain't pretty but you can work with it...

There are 3 files we're concerned with. First let's get our groove on with "Makefile.am"

Look for the line that starts with "keramik_la_LIBADD" near the top, make sure it says:

keramik_la_LIBADD = ../../kdefx/libkdefx.la ../../kdeui/libkdeui.la

Next on the line that starts with "noinst_HEADERS" add "ksharedpixmap.h" to the end of it. Then on the line that starts with "keramik_la_SOURCES" add "ksharedpixmap.cpp" to the end of that one. Save and your done with that.

Next let's head over to "keramik.h". If there is a "keramik.h.rej" file that means the patch was 100% so you'll need to merge in the changes. Should be really east. Just make sure you have some code starting with "class KickerRootPixmap" in there.

We're getting close. This bitch is screaming for more and we're going to give it to her nice and slow. Yeah baby, Papa Jackson knows how you like it. Open up the main course for tonight's feast , that's right we want "keramik.cpp". The patch should more then likely failed on you, so copy the chunk of code in "keramik.cpp.rej" that starts like this:

else geometry.addCoords( 4, -4, -6, 4 );
listbox->setGeometry( geometry );
}
+ if(!qstrcmp(qApp->argv()[0],"kicker") && !qstrcmp(((QWidget *)object)->name(),"qt_viewport"))
+ {
+ if( event->type() == QEvent::Show || event->type() == QEvent::Move ){
<<SNIP>>

Just copy the stuff with the plus signs in front of it. Make sure you get all of it, don't be a slut! Then in "keramik.cpp" search for "p.drawLine( 0, wr.height()-1, wr.width()-1, wr.height()-1 );". Right below this will be a "return true;" then a "}". After the "}" paste in that code from the reject file and remove the +'s from the front of each line. There will be two "return false;" so you can remove one of them.

Now head back to the top by searching for "#include <qbitmap.h>". You'll want to start the comment block so replace it with "/*#include <qbitmap.h>". The next part is to long to explain so just paste this in over top of the other #include's

#include <qdrawutil.h>
#include <qpainter.h>
#include <qpointarray.h>
#include <qstyleplugin.h>
#include <qcombobox.h>
#include <qheader.h>
#include <qmenubar.h>
#include <qpushbutton.h>
#include <qscrollbar.h>
#include <qslider.h>
#include <qtabbar.h>
#include <qtoolbutton.h>
#include <qtoolbar.h>
#include <qpopupmenu.h>
#include <qintdict.h>
#include <qlistbox.h>
#include <qbitmap.h>
#include <kdrawutil.h>
#include <kpixmapeffect.h>
#include <kpixmap.h>
#include <dcopclient.h>
#include <ksharedpixmap.h>
#include <qtimer.h>
#include <qimage.h>
#include <qobjectlist.h>
#include <kapp.h>
#include <kconfig.h>
#include "keramik.h"
#include "keramik.moc"
#include "gradients.h"
#include "colorutil.h"
#include "keramikrc.h"
#include "keramikimage.h"
#include "bitmaps.h"
#include "pixmaploader.h"

So finally save "keramik.cpp". At this point the 3 files should be patched. The last thing you need to do before you slap her in the face and ask her to make you some cookies is that you need to copy over the ksharedpixmap files. Now Assface Jackson doesn't know if this is necessary or not, but he did it and it worked and it wasn't working before he did it. So let's get it on:

  [/usr/ports/x11/kdelibs3/<<SNIP>>/keramik]#: cp /usr/ports/x11/kdelibs3/work/kdelibs-3.1.1a/kdeui/ksharedpixmap.* ./

We should be all set

  [/usr/ports/x11/kdelibs3/<<SNIP>>/keramik]#: make clean
   [/usr/ports/x11/kdelibs3/<<SNIP>>/keramik]#: make
  [/usr/ports/x11/kdelibs3/<<SNIP>>/keramik]#: make install

BOOYAH! SHAQ-ATTAQ!!! Start up KDE and enjoy.

A final note. If my brotha's are getting error messages from the first make call about "KSharedPixmap" being undefined and all of that bad mojo, I ain't gonna leave you hanging. Pop open the different Makefiles in the keramik dir (there should be 3 of them: Makefile, Makefile.am & Makefile.in). Search for "pixmaploader" and every line that word shows up on, duplicate or add in the same thing for ksharedpixmap. I don't know if this is necessary because I was trying all sorts of crazy shit at 2 in the mornin' after sendin' my hos up & out that I'm not sure made it finally work. But anyway, an example of this would be something like this:

Open up "Makefile", search for "pixmaploader"
First line should start like this: "noinst_HEADERS = keramik.h <<SNIP>>"
Add "ksharedpixmap.h" to the end of it
Search again and you should get line starting with "keramik_la_SOURCES = keramik.cpp <<SNIP>>"
Add "ksharedpixmap.cpp" to the end of it.
Understand honkey??

Alright piece out my FreeBSD brothers! - Apr 27 2003