LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trouble Patching Kwin Dropshadow on KDE 3.3.1 (https://www.linuxquestions.org/questions/linux-software-2/trouble-patching-kwin-dropshadow-on-kde-3-3-1-a-263458/)

bbslackuser 12-06-2004 10:11 PM

Trouble Patching Kwin Dropshadow on KDE 3.3.1
 
Hi,

I've been having trouble Patching Kwin Dropshadow, I've never patched anything before, and the directions are pretty vague:

INSTALLATION INSTRUCTIONS
-------------------------
kdebase-kwin_shadow.patch

Copy it into your $KDEDIR/kdebase/kwin, where $KDEDIR is the toplevel directory
in which you keep KDE's source code. From there, type:

patch -p0 <kdebase.kwin-kwin_shadow.patch

My folders do not match that of the directions...Help would be greatly appreciated.

daihard 12-07-2004 04:16 AM

Do you have the source code for KDE? For instance, if you used konstruct to build your own KDE, then you should have a directory structure like this:
Code:

konstruct/kde/kdebase/work/kdebase-3.3.1/kwin
The code for kdebase comes in bz2'ed tarball format (kdebase-3.3.1.tar.bz2). If you open it up, you will see the subdirectories that include "kwin".

bbslackuser 12-07-2004 02:23 PM

Actually, I used kpackage to install a .tgz format of kdebase, i didn't install from the source...

daihard 12-07-2004 03:36 PM

Quote:

Originally posted by bbslackuser
Actually, I used kpackage to install a .tgz format of kdebase, i didn't install from the source...
I don't know how kpackage works, but I believe this is going to do the trick for you.

Create an empty directory and copy the kdebase.tgz file there. Go to that directory and open up the tgz file using the following command:
Code:

# tar -xzf kdebase.tgz
Then copy your patch file into the kwin subdirectory nad run that command. Zip up the file again using this command:
Code:

# tar -czf kdebase.tgz *
Make sure you remove the original kdebase.tgz file from the directory before you run the second command. This will create a new version of kdebase.tgz which contains the patch. Then do whatever is necessary to re-install kdebase using kpackage.

Hope this works for you.

bbslackuser 12-08-2004 08:44 AM

Thanks for the help anyway, I gave up and just decided to install X11R6.8.1, works great.

ZeroKun 12-14-2004 08:32 AM

Well there is a package available for most systems now. Btw, what are accurate settings for the OSX look?


All times are GMT -5. The time now is 05:28 AM.