Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Install Kwin Shadow Patch for KDE 3.2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
NecroticFlower
n00b
n00b


Joined: 30 Jan 2004
Posts: 31
Location: Atlanta

PostPosted: Thu Feb 12, 2004 9:50 am    Post subject: HOWTO: Install Kwin Shadow Patch for KDE 3.2 Reply with quote

Getting Shadows under windows in KDE 3.2

Note: these instructions are assume you have emerge and ebuilds in standard locations and that you have already emerged or at least downloaded KDE 3.2.

here is the process (if you have already emerged KDE 3.2):

Download Kwin Shadow patch from Kde-Look

go to a Konsole or Console window and type:
Code:
tar zxvf 10567-kwin_shadow-0.7.1.tar.gz


then type:
Code:
ebuild /usr/portage/kde-base/kdebase/kdebase-3.2.0.ebuild unpack


Copy the file from kwin_shadow-0.7.1 Directory called
Code:
kdebase.kwin-kwin_shadow-3.2.patch


to the following location:
Code:
/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/kwin


Change directory to
Code:
/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/kwin


Then type:
Code:
patch -p0 < kdebase.kwin-kwin_shadow-3.2.patch


Assuming kwin is patched successfully type:
Code:
rm -f kdebase.kwin-kwin_shadow-3.2.patch

becuase the patch file is no longer needed.

then type the following:
Code:
ebuild /usr/portage/kde-base/kdebase/kdebase-3.2.0.ebuild merge


(go have some cookies and milk this takes awhile)

After everything is installed, if you are running KDE logout and back into KDE

To enable and configure Shadows go to
Code:

      Control Center
            Appearance & Themes
               Window Decorations


Once there click on the Shadows tab to configure your drop shadows.
_________________
Pimped out
http://pimpress.com
Registered Linux User #346075 http://counter.li.org/
Back to top
View user's profile Send private message
FormerSlacker
Guru
Guru


Joined: 11 Mar 2003
Posts: 340
Location: Toronto, ON. Canada

PostPosted: Thu Feb 12, 2004 11:45 am    Post subject: Reply with quote

This is great. I've been meaning to try this but, I have to admit, I didn't really feel like skimming through the kde 3.1 kwin shadow thread :lol:

Thanks for the tip. You made this a whole lot easier for me :)
Back to top
View user's profile Send private message
snakattak3
Guru
Guru


Joined: 11 Dec 2002
Posts: 468
Location: Seattle

PostPosted: Thu Feb 12, 2004 4:44 pm    Post subject: Reply with quote

Or, you can use emerge.
EliasP from kde-look wrote:

1.) mkdir -pv /usr/local/portage/kde-base/

2.) cp -r /usr/portage/kde-base/kdebase /usr/local/portage/kde-base

3.) Open the file /usr/portage/kde-base/kdebase/kdebase-3.2.0.ebuild with an editor and change this lines:

src_unpack() {
kde_src_unpack
epatch ${FILESDIR}/${P}-kcontrol.patch
cd ${S} && aclocal
}

into this:

src_unpack() {
kde_src_unpack
epatch ${FILESDIR}/${P}-kcontrol.patch
cd ${S}/kwin
epatch ${FILESDIR}/${PN}.kwin-kwin_shadow-3.2.patch
cd ${S} && aclocal
}


4.) Copy the file kdebase.kwin-kwin_shadow-3.2.patch to /usr/local/portage/kde-base/kdebase/files.

5.) ebuild /usr/local/portage/kde-base/kdebase/kdebase-3.2.0.ebuild digest

6.) emerge /usr/local/portage/kde-base/kdebase/kdebase-3.2.0.ebuild

/usr/local/portage is the PORTAGE_OVERLAY directory in this case. Make sure you put it there, in your overlay directory, or else it gets wiped out by emerge sync every time.
_________________
Ban Reality TV!
Adopt an Unanswered Post
Back to top
View user's profile Send private message
gatiba
Guru
Guru


Joined: 01 Sep 2002
Posts: 434

PostPosted: Fri Feb 13, 2004 9:07 am    Post subject: Reply with quote

snakattak3 wrote:
Or, you can use emerge.
EliasP from kde-look wrote:

1.) mkdir -pv /usr/local/portage/kde-base/

2.) cp -r /usr/portage/kde-base/kdebase /usr/local/portage/kde-base

3.) Open the file /usr/portage/kde-base/kdebase/kdebase-3.2.0.ebuild with an editor and change this lines:

src_unpack() {
kde_src_unpack
epatch ${FILESDIR}/${P}-kcontrol.patch
cd ${S} && aclocal
}

into this:

src_unpack() {
kde_src_unpack
epatch ${FILESDIR}/${P}-kcontrol.patch
cd ${S}/kwin
epatch ${FILESDIR}/${PN}.kwin-kwin_shadow-3.2.patch
cd ${S} && aclocal
}


4.) Copy the file kdebase.kwin-kwin_shadow-3.2.patch to /usr/local/portage/kde-base/kdebase/files.

5.) ebuild /usr/local/portage/kde-base/kdebase/kdebase-3.2.0.ebuild digest

6.) emerge /usr/local/portage/kde-base/kdebase/kdebase-3.2.0.ebuild

/usr/local/portage is the PORTAGE_OVERLAY directory in this case. Make sure you put it there, in your overlay directory, or else it gets wiped out by emerge sync every time.


:wink: :wink:
Back to top
View user's profile Send private message
lomi
n00b
n00b


Joined: 09 Jan 2003
Posts: 73

PostPosted: Sun May 02, 2004 7:20 am    Post subject: Reply with quote

Tried following this, but I get an error when building:

client.cpp: In member function `void
KWinInternal::Client::updateDecoration(bool, bool)':
client.cpp:306: error: `updateOpacityCache' undeclared (first use this
function)
client.cpp:306: error: (Each undeclared identifier is reported only once for
each function it appears in.)
client.cpp: At global scope:
client.cpp:874: error: no `void KWinInternal::Client::updateOpacityCache()'
member function declared in class `KWinInternal::Client'
make[3]: *** [client.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2/kwin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2/kwin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.2.2/work/kdebase-3.2.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-3.2.2 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make

I saw another thread mentioning autoconf, but I have an even newer version than the one they say you should upgrade to.... anybody know what might be going wrong here?

Thanks.
Back to top
View user's profile Send private message
lomi
n00b
n00b


Joined: 09 Jan 2003
Posts: 73

PostPosted: Thu May 06, 2004 1:25 am    Post subject: Reply with quote

bump

doesnt anybody know what is wrong? please help me :(
Back to top
View user's profile Send private message
benwalton
n00b
n00b


Joined: 08 Jun 2004
Posts: 35
Location: Leeds, UK

PostPosted: Wed Jun 16, 2004 8:15 pm    Post subject: Reply with quote

I had no issues using kde-3.2.2 and kwin_shadow-0.8.0, so don't have a clue what is wrong with yours lomi.


cheers for the tutorial NecroticFlower
Back to top
View user's profile Send private message
Moloch
Apprentice
Apprentice


Joined: 17 Mar 2003
Posts: 293
Location: Albuquerque, NM, US

PostPosted: Tue Jun 29, 2004 7:22 pm    Post subject: Reply with quote

I'm gonig to try this when I get home, but with kde 3.2.3. Any one know if the patch applies?
Back to top
View user's profile Send private message
Yama
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2002
Posts: 135
Location: Sydney, Australia

PostPosted: Tue Jun 29, 2004 11:07 pm    Post subject: Reply with quote

I couldn't get the patch to apply to KDE 3.2.3. I think it needs some adjustment.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum