This forum has been archived. All content is frozen. Please use KDE Discuss instead.

I built 4.6, how to downgrade to 4.5.1

Tags: None
(comma "," separated)
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS
Can someone please tell me the steps to rebuild with the current release version? I used git clone (git clone git://anongit.kde.org/kdevelop $HOME/src/kdevelop) and apparently should have somehow told it a version. Is there a way to list what version names there are? I also need to know what the matching versions are and how to retrieve them for the plugins I built with it: kdev-python, grantlee, kdev-php, kdev-php-docs, kdev-platform, kdevelop-pg-qt. Is it possible any of those won't need to be rebuilt?
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Every version which is released gets a tag. You can list all tags with "git tag". You can checkout a tag with "git checkout <tagname>".
You want:
kdevplatform v1.5.1
kdevelop v4.5.1
kdev-python v1.5.1
kdev-php v1.5.1
kdev-php-docs v1.5.1

grantlee, kdev-pg-qt doesn't matter afaik

Greetings,
Sven


I'm working on the KDevelop IDE.
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS
scummos wrote:kdevplatform v1.5.1
kdevelop v4.5.1
kdev-python v1.5.1
kdev-php v1.5.1
kdev-php-docs v1.5.1


Thanks, that helps. Please verify my understanding. I'm hoping to get it right the first time. I believe I should now go into the build directory and uninstall. Then go into the src directory of for example kdev-python and checkout the version I want, then rebuild and install. Looking like this:

cd ~/src/kdev-python/build
sudo make uninstall
cd ..
git checkout v1.5.1
cd build
make
sudo make install

Does this seem right? Do I need cmake anymore or was the first time good?
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Yes, seems right, although you can probably omit the uninstall step in most cases (the new installation will overwrite the old one, although old files might not get deleted -- so it's good to do it), and you don't need to cd out of the build-dir to do a git checkout. But what you suggested will work.

Also, you should probably install stuff in order kdevplatform -> everything else.


I'm working on the KDevelop IDE.
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS
Thanks much. ...I'm loving kdev-python.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]