Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-17-2012, 07:10 AM   #1
LQ Newbie
Registered: Apr 2012
Posts: 24

Rep: Reputation: Disabled
Help me with patching kwin

I use ROSA Linux 2012.1 (which is basically the same as Mandriva). I need to apply this patch to kwin

but I cannot find which srpm the file kwin/glxbackend.cpp is supposed to be in. It's not in kdebase4-workspace. Which srpm should I look for?

I knwo in ubuntu it's as simple as apt-get source kde-workspace. but this rpm thing of mandriva has me confused.

Last edited by DisappearingOak; 11-17-2012 at 07:12 AM.
Old 11-18-2012, 02:22 AM   #2
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129

There is many way to do this, but I would recommend the distribution independent one from the KDE techbase wiki. Create a new user account called kde-devel, go get the .bashrc from the KDE wiki to have the cs and cmakekde commands. Then get KWin git source. It is located in the kde-workspace repository. I also recommend compiling kdelibs and kde-runtime manually too before kde-workspace.

Once you can compile them, apply your patch and compile again.

To use the newly compile kwin, you can use /home/kde-devel/kde/bin/kwin --replace or add /home/kde-devel/kde/bin/ to your $PATH variable at line 1 of your normal use ~/.bashrc.

What's nice about this solution is that it allow you to compile any KDE applications from git in a matter of minutes. I also recommand adding this alias you kde-devel .basrc
function kde-git {
 git clone git://$1
after that (and reloading bash) you can fetch the sources with
kde-git kdelibs
kde-git kde-runtime
kde-git kde-workspace
Have fun! (the list of dependencies for mandriva is also available in the techbase wiki)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot use opengl in Kwin davepi Linux - General 0 07-26-2012 09:21 AM
kwin choppy Knightron Slackware 8 01-30-2012 09:32 PM
kwin not starting up Tux-Slack Slackware 5 11-29-2007 09:28 PM
KWin crashes way too often apachedude SUSE / openSUSE 6 04-20-2006 06:40 PM
Trouble Patching Kwin Dropshadow on KDE 3.3.1 bbslackuser Linux - Software 5 12-14-2004 09:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration