Building KDE from svn: running your build
After you build KDE from svn, you won’t see it in the Login manager (because there are .desktop files created for it), so you have to run it manually! How to do it is easy as ummmm….pick a name
Only thing you do is that you should add your kde binary files to your PATH. To do this, open ~/.bashrc and add these lines to it (before the last line):
export PATH=/home/$USER/kde/bin:$PATH
and replace $USER with your username, say “John” (without quotes)
Now, logout, and when you are in Login screen, press Alt+Ctrl+1 (or 2, or 3, up to 6).
You’ll be greeted with a black and deadly screen (it’s not so deadly, believe me). Now in there, login as yourself. It asks you for your username and password. After you enter them, you will go to a normal prompt just as when you open up a terminal. Now type:
$ xinit -- :1
You just started an X server. One which you can start your kde into.
You have now a terminal in from of you. To start kde, just type:
$ ./kde/bin/startkde
and live happily ever after
Welcome to the latest KDE build EVER!!
for logging out, just close the terminal, then you will go back to the prompt, then press Ctrl+Alt+7 to get back to the login manager.
Building KDE from svn: using kdesvn-build
There are some things you have to be aware of when compiling KDE from svn with kdesvn-build. There has been some problems that I encountered when compiling kde, but I don’t clearly remember them, so I will suffice to the solution for now:
To use the current strigi library (the one you manually compiled with kdesupport), do this in the terminal:
$ export STRIGI_HOME=/home/$USER/kde/
remember that you have to do it after you have compiled kdesupport.
When building kdebase, make sure you remove soprano-devel. kdebase will mistakenly use the old soprano-devel rather than the one compiled with kdesupport.
Building KDE from svn: dependencies
So here is the list of dependencies I promised in the previous post:
OpenSUSE
alsa-devel
automoc4
avahi-devel
boost-devel
cmake
patch --> qt-copy
cups-devel
giflib-devel
kde4-filesystem
libQtWebKit-devel
libakonadiprotocolinternals-devel
libgpgme-devel
libqimageblitz-devel
libqt4-devel
libsmbclient-devel
libsoprano-devel
libtiff-devel
libxslt-devel
phonon-devel
shared-mime-info
strigi-devel
xine-devel
svn
make
libbz2-devel
hal-devel
avahi-compat-mDNSResponder-devel
mysql-devel
libjasper-devel
libical-devel
Yes, I compiled (am compiling right now, kdebase and it’s 94%) kde on OpenSUSE just for fun! I’ll play with OpenSUSE a little bit until F10 comes out, and then I’ll be back to my beloved Fedora!!
Note that this list is for OpenSuse, BUT, the deps are the same for almost every other distro. Therefore, with a little bit changing the names according to your distros package naming conventions, you can get the same stuff. For example, in Fedora, libsoprano-devel would be soprano-devel and libQtWebKit-devel should be something like QtWebKit-devel.
Being on the edge
I’m trying again to build KDE4 from svn. This time, I will use kdesvn-build. I have done it before, successfully, on OpenSuse, but this time I want to do it on Fedora. Right now it’s downloading the sources. What I really wanted to do, in fact, was that I wanted to make a complete list of dependencies for building KDE4 from scratch. I freshly installed F9 on my laptop and without updating nor installing anything, I download kdesvn-build script and install svn and gcc-c++. Now one by one, whenever it fails, I look at the logs and find out what is missing. So far, I need patch and cmake. Stay updated as I will post the list of deps as soon as they are available
Fedora 10 round 3 artwork
this is old news now, but I have to admit: I am fascinated by F10’s artwork. Especially Solar theme!!
Here are some link you might want to look at:
The winning themes for F10 are Gears, Solar, InvinXble, and Neon. My favorite is Solar (so far!)
(the links are to the order of my preference)
And here present, Tic-Tac-Toe 0.4!!
I has been sitting there in the svn for a few days now, but I didn’t have the time (school?) to pack it into a tarball (.tar.gz archives) and blog about it. So here it is, ummm among the (rather few) improvement, is a counter which keeps track of your scores for you! Also there are three more options for saving states of the game and the window and whether you want the counter to be shown on startup or not! And also I had to fix some layout issues for the counter. It’s mostly about the counter.
And I’m displeased to announce that I can no longer think about how to improve this game (I wish I could still work on it). So PLEASE (note the capital letters) if you can think of ANYTHING that would improve this game, post a comment or email me or report a bug/wish. It would be really appreciated!
and as always, the download link:
http://code.google.com/p/onlinetictactoe/downloads/list
P.S. By the way, I’m going to talk about SVN and how to use googlecode’s svn repository in the next post!!
From editing source codes to editing wikis
Today I got started on doing some wiki work, for the first time! It’s very interesting as you get to share your experiences and knowledge somewhere that you KNOW people will look for information in. The target is KDE UserBase (as opposed to techbase). I actually got to know about it in a blogpost from Aaron Seigo. So the point here is, if you use KDE and would have some knowledge (anything counts except how to move the mouse and click somewhere), get started and edit some pages and talk to the world
I’m doing it and it’s fun!!
see you at http://userbase.kde.org
Tic-Tac-Toe 0.3 released
The last three posts were all about Tic-Tac-Toe releases, so that says I was busy with it!!
I’ve added quite some features and fixes, among them are:
- Keyboard shortcuts
- Persistent preferences
- 4 new colors
- Saving/loading settings
- etc.
You can download it now from the project website:
http://code.google.com/p/onlinetictactoe/downloads/list
P.S. just to keep records: 2072 lines of code in 15 files