Until now I had a problem with my X setting and my laptop was slow in rendering pictures. I thought it was due to some libs and did not go deeper in the matter. Ervin, whom I met last wednesday at Toulouse LUG, told me it was my X conf. I have a NVidia GeForce 7400 and I used the nv XOrg driver. So I settled to fix it. I had to install nvidia drivers from NVidia in order to fix this and that took me several days last week. Somehow in my usual user I ended with a blue screen! With the help of Mandriva IRC people I got it all working again.
I could demonstrate Nexuiz to my son. I did not manage to get compiz work but I don't have the time to tweak it.
Yesterday (we should have gone out but Léah had a nasty stomach bug) I implemented SVG rendering in KHangMan (before I thought SVG rendering in Qt4 was slow while it was my machine...). The great thing about Free Software is that you have sources from other people to dig in. As I am not a "real" programmer (i.e. one who learnt it properly) I really need to "study" other people code. It's easy to see the difference between a self-taught person (me) and a "professional". Just look in KHangMan sources and KGeography sources for example. That does not mean KHangMan code is crap, it just does not flow like KGeography's does, it's not so intuitive. That also does not mean I feel I can't code. It's just that I have some areas to improve to master OO programming.
Implementing direct SVG support in Qt4 is a matter of very few lines of code, less than with pixmaps.
I toyed with the idea to enter the Qt Centre Programming Contest in order to raise my knowledge but I probably won't have the time. It seems quite demanding. My idea was to implement a KEduca replacement in Qt as it's a very needed application. People kept telling me so in Auch and it also came on an edu-related mailing list. Having it cross-platforms would be great although it could be ported to KDE later. But I don't want to pursue too many goals and reach none!
Monday, January 15, 2007
Tuesday, January 09, 2007
Developing a Qt4 project with KDevelop
You can easily develop Qt4 projects in your KDE3 environment using KDevelop. You need to get Qt4 either from trunk/qt-copy or from Trolltech. Just follow the usual README in order to configure it correctly. No need to install it (that safely ensures you won't install over your existing Qt3).
How do you "use" Qt3 or Qt4? Just change a few variables. Qt4 basically only needs to have qmake first in the PATH variable. Open a new terminal session and set PATH to
$ export PATH=/path/to/qt4/bin:$PATH
and work on Qt4 in that terminal session if you work on command line.
If you want to use a pre-made Qt4 template and KDevelop, you then need KDevelop 3.4 branch
$ svn co svn://anonsvn.kde.org/home/kde/branches/kdevelop/3.4/
Note: build KDevelop against Qt3 and kdelibs from KDE3.
Then before running KDevelop, set in a terminal:
$ export PATH=/path/to/qt4/bin:$PATH
and run KDevelop from that terminal.
kdevelop &
In KDevelop choose
Project-> New Project -> C++ -> QMake Project -> Qt4 Application
You are asked the Project name then in the second page you can fill in the Qt4 path to qmake and to designer.

In KDevelop Build menu, choose "Build Project" or click F8 and then "Execute Main Program" (Shift - F9) and you'll get the following:

You can then add a .ui file for example using the QMake Manager on the right in KDevelop:

Right click on SOURCES and choose "Create New File" and in the dialog choose for example "QT4 Widget" and add the name of the file. Click OK and the .ui file will be added in your project (the file is created in the /src dir and also added in the .pro file). In the QMake Manager you will see a FORMS section and your .ui file is there. Clicking on it will open Designer and you will be able to start designing!
How do you "use" Qt3 or Qt4? Just change a few variables. Qt4 basically only needs to have qmake first in the PATH variable. Open a new terminal session and set PATH to
$ export PATH=/path/to/qt4/bin:$PATH
and work on Qt4 in that terminal session if you work on command line.
If you want to use a pre-made Qt4 template and KDevelop, you then need KDevelop 3.4 branch
$ svn co svn://anonsvn.kde.org/home/kde/branches/kdevelop/3.4/
Note: build KDevelop against Qt3 and kdelibs from KDE3.
Then before running KDevelop, set in a terminal:
$ export PATH=/path/to/qt4/bin:$PATH
and run KDevelop from that terminal.
kdevelop &
In KDevelop choose
Project-> New Project -> C++ -> QMake Project -> Qt4 Application
You are asked the Project name then in the second page you can fill in the Qt4 path to qmake and to designer.

In KDevelop Build menu, choose "Build Project" or click F8 and then "Execute Main Program" (Shift - F9) and you'll get the following:

You can then add a .ui file for example using the QMake Manager on the right in KDevelop:

Right click on SOURCES and choose "Create New File" and in the dialog choose for example "QT4 Widget" and add the name of the file. Click OK and the .ui file will be added in your project (the file is created in the /src dir and also added in the .pro file). In the QMake Manager you will see a FORMS section and your .ui file is there. Clicking on it will open Designer and you will be able to start designing!
Sunday, January 07, 2007
Free Software Event
Yesterday I went to a free software event in a Cyber Base in Auch (France). Cyber bases are as cyber café except free, they are meant to provide free IT access to citizens and they offer some training in office and such. Auch cyber base is having a Free Software event and I was part of if yesterday (couln't leave my husband in charge longer ;-), demonstrating edu software. First I'd like to praise the organizer Benoit Falque who had everything ready for us when we arrived. We were 4 members of my LUG to attend. A buffet was provided and machines were ready. The conference room was nice, with a big screen, wifi and a laptop provided. My teammates LUG members gave talks on Free Software (Thomas), GCompris (Bruno, GCompris author) and Wikipedia (Guillaume, a Fr Wikipedia member). Meanwhile I demonstrated edu software. I had a PC running Edubuntu Live CD and my laptop running KDE 3.5. I met all sort of users: families with kids, teachers, older people interested for their grand-children. Most of them were not aware at all of Free Software but were very open to the idea. Giving Live CDs is cool as they can instantly use the software. I got interesting feedback about KDE-Edu: teachers would like a KEduca replacement and they are also keen in inputting their own data in apps whenever possible. I also chatted about edu with Bruno who drove us all to Auch.
I also saw cool demos of 3D desktop with Beryl and it was the 1st time I saw such effects (cube, 3D snow all over the desktop,...). Someone also demonstrated a new game Nexuiz.
I'm glad to be part of such an active LUG and I'd like to thank them all for their involvement and team spirit! Thanks also to the guy who drove me back and whose name I don't even know!
To finish, love to Deb with a (p)why who is back in Lyon!
I also saw cool demos of 3D desktop with Beryl and it was the 1st time I saw such effects (cube, 3D snow all over the desktop,...). Someone also demonstrated a new game Nexuiz.
I'm glad to be part of such an active LUG and I'd like to thank them all for their involvement and team spirit! Thanks also to the guy who drove me back and whose name I don't even know!
To finish, love to Deb with a (p)why who is back in Lyon!
Friday, January 05, 2007
Friday && Wiki
Today's being Friday I added a page in the wiki: http://developernew.kde.org/Getting_Started/Increased_Productivity_in_KDE4_with_Scripts which is a transcript of David Faure talk at aKademy 2006. It gives you tricks and tips about easier setting your KDE 4 environment. It needs some verbosity to better explain each section but I'm glad I contributed in some way to the wiki. I'll polish it Sunday.
I've been translating more KDE-Edu apps to French and had trouble with Kanagram screenshots which are fancy but difficult to reproduce but I got help from the nice KOffice guys and from Dannya, thanks a lot.
Holidays are coming to an end with Debs leaving for Lyon tomorrow morning. Blandine will stay longer before going back to Montreal and she'll travel next week to Germany by plane and train to visit a friend. She barely speaks German and she has to commute in Berlin (I hope my syster in law will take care of her) and then in Leipsiz in order to go to Dresden. Clarisse now claps in her hands and crawls faster and faster!
I've been translating more KDE-Edu apps to French and had trouble with Kanagram screenshots which are fancy but difficult to reproduce but I got help from the nice KOffice guys and from Dannya, thanks a lot.
Holidays are coming to an end with Debs leaving for Lyon tomorrow morning. Blandine will stay longer before going back to Montreal and she'll travel next week to Germany by plane and train to visit a friend. She barely speaks German and she has to commute in Berlin (I hope my syster in law will take care of her) and then in Leipsiz in order to go to Dresden. Clarisse now claps in her hands and crawls faster and faster!
Sunday, December 31, 2006
Upgrade
My husband's laptop had Mandriva 2006 and he wanted to upgrade as his wifi was not working since we are in France. He also wanted OpenOffice 2 and a couple of other new progs. The upgrade went pretty well except that there was no input possible in any app... After a few tries of different things I managed to find out that the kdebase- kdm package does it and probably conflicts with something else. I got the wifi working except that at boot Mandriva sometimes gives the wifi eth0 and other times eth1 and it only works when it's eth1. My husband is a konsole, emacs and gnuplot kind of user, doing fortran progs and office work for presentations on his laptop. But he is also happy using KDE for multimedia especially Kaffeine for watching our region 1 DVDs.
I ordered 100 Edubuntu CDs for a Free Software show next week but they'll only ship me 20. The CDs were sent but I did not get them yet. I hope to get them in time but I was very disapointed to see they shipped only 20. I'll demonstrate KDE-Edu and Bruno from my LUG will demonstrate GCompris as there's an Education focus thus I thought Edubuntu CDs were the best to give. If anyone knows an updated Live CD distro including KDE-Edu with different languages, i'd be happy to know about it!
Meanwhile I am busy finishing edu apps translations to French.
So far I went 4 times to the cinema in 10 days (watching a kid film with Léah, 2 girl films with my older daughters and a French film with my husband)! Holidays are relaxing and the weather is amazingly warm, especially after 4 winters in Canada. Life is good!
I ordered 100 Edubuntu CDs for a Free Software show next week but they'll only ship me 20. The CDs were sent but I did not get them yet. I hope to get them in time but I was very disapointed to see they shipped only 20. I'll demonstrate KDE-Edu and Bruno from my LUG will demonstrate GCompris as there's an Education focus thus I thought Edubuntu CDs were the best to give. If anyone knows an updated Live CD distro including KDE-Edu with different languages, i'd be happy to know about it!
Meanwhile I am busy finishing edu apps translations to French.
So far I went 4 times to the cinema in 10 days (watching a kid film with Léah, 2 girl films with my older daughters and a French film with my husband)! Holidays are relaxing and the weather is amazingly warm, especially after 4 winters in Canada. Life is good!
Friday, December 29, 2006
Travelling ;-)
I have been travelling the world fast yesterday, I visited almost all countries! Via KGeography of course. Albert has been kind enough to (very quickly) implement my request of being able to name the divisions in a country whenever possible (like Departments for France, States for USA and so on) and asked me to update the text files accordingly. This will be in KDE4. KGeography gets more and more maps, thanks to contributors all over the world.
Seeing me working on KGeography prompted my daughter to beg me to use my laptop while I'll shower in order to "play with the cool game and test herself". If kids have the desire to learn by themselves, all I can say is that KGeography fulfills its goal!
So for all people who are saying that KDE4 is not happening fast enough, you are wrong! Lots of work is being done (even on holiday break!), from having clean and solid kdelibs and building cool frameworks thanks to the core devels to improving programs. KDE 4 needs first a complete review of the core libs and this is the most important and hard and long work. It's happening for KDevelop and KOffice as well. Once this is done, development is very quick.
I am working on updating KDE-Edu translations to French as I'll go to a French Free Software event (Journées du Libre - Auch) where I'll demonstrate our edu apps along with GCompris author.
Best wishes for an excellent 2007 year to you all!
Seeing me working on KGeography prompted my daughter to beg me to use my laptop while I'll shower in order to "play with the cool game and test herself". If kids have the desire to learn by themselves, all I can say is that KGeography fulfills its goal!
So for all people who are saying that KDE4 is not happening fast enough, you are wrong! Lots of work is being done (even on holiday break!), from having clean and solid kdelibs and building cool frameworks thanks to the core devels to improving programs. KDE 4 needs first a complete review of the core libs and this is the most important and hard and long work. It's happening for KDevelop and KOffice as well. Once this is done, development is very quick.
I am working on updating KDE-Edu translations to French as I'll go to a French Free Software event (Journées du Libre - Auch) where I'll demonstrate our edu apps along with GCompris author.
Best wishes for an excellent 2007 year to you all!
Thursday, December 21, 2006
Quiet but busy
The doc freeze was lifted for KDE 3.5.6 coming in January so I set myself to some doc tasks to improve the new release. This led me to translating the Akregator doc to French to help my mother tongue team effort now that the 3.5 branch is frozen again for strings. Having a French keyboard helps in that matter even if I still struggle with a/q.
The KDevelop team released 3.4 RC2 (aka 3.3.94) which sees lots of bug fixes so if you use a 3.3 version you'll be happy to upgrade, it's really worth it. It runs on KDE 3.4.x and 3.5.x.
Christmas holiday has started as my daughter Blandine came last Wednesday from Montréal (she is finishing her Graphics diploma there) and Debs came yesterday from Lyon (fashion university diploma) so we are all reunited which is the best Christmas present for all of us. Yesterday we celebrated Debs 20th birthday. Clarisse is overjoyed as she has even more attention now. She is crawling all around the house and saying "da da da" with conviction. I am not busy buying presents but wrapping other people presents: the scouts parents (Léah is a scout) do that to raise money for all the activities. Léah's school also needed parents to help with the swimming lessons in April and May (no parents would have meant no swimming) and I had to take a sort of swimming exam in order to get the required authorization.
The KDevelop team released 3.4 RC2 (aka 3.3.94) which sees lots of bug fixes so if you use a 3.3 version you'll be happy to upgrade, it's really worth it. It runs on KDE 3.4.x and 3.5.x.
Christmas holiday has started as my daughter Blandine came last Wednesday from Montréal (she is finishing her Graphics diploma there) and Debs came yesterday from Lyon (fashion university diploma) so we are all reunited which is the best Christmas present for all of us. Yesterday we celebrated Debs 20th birthday. Clarisse is overjoyed as she has even more attention now. She is crawling all around the house and saying "da da da" with conviction. I am not busy buying presents but wrapping other people presents: the scouts parents (Léah is a scout) do that to raise money for all the activities. Léah's school also needed parents to help with the swimming lessons in April and May (no parents would have meant no swimming) and I had to take a sort of swimming exam in order to get the required authorization.
Monday, December 04, 2006
Contributing
People often ask why this or that is not implemented in KDE and why is KDE4 not out yet and so on. Well most developers are individuals working on KDE as a hobby, after their working hours and family care. Only a handfull of people are paid to work on KDE. That means that KDE is what you and I make it. Any tiny contribution builds KDE. Fortunately some people easily understand that. No need to be a C++ guru or to have a PhD in docbook. Recently a user contributed a text about Customizing Your Desktop to be added in the User Guide in kdebase. It was his first contribution and he did it very well. This is then a team work, the text is proof read, marked and committed and then all the translators will work on it to add it in their own languages for KDE 3.5.6.
Thanks for this contribution! This user is now more confident that he is able to work in an Open Source project and indeed he will be an asset to any community he'll be involved with. It's also very nice to know a tiny bit about other people life (I showed my daughter the country he lives in on a map) and to become 'virtual friends'.
My contributions are not up to what I'd like due to a busy family life. Clarisse had had a cold brought by Léah (aged 8) from school. It was only a mild virus but babies are quickly grumpy, not to mention that Clarisse is not your average calm baby but rather intense ;-) I also only use natural medicines for that sort of illness so she can build her immute system but it takes a bit longer to cure than with other medecines.
Thanks for this contribution! This user is now more confident that he is able to work in an Open Source project and indeed he will be an asset to any community he'll be involved with. It's also very nice to know a tiny bit about other people life (I showed my daughter the country he lives in on a map) and to become 'virtual friends'.
My contributions are not up to what I'd like due to a busy family life. Clarisse had had a cold brought by Léah (aged 8) from school. It was only a mild virus but babies are quickly grumpy, not to mention that Clarisse is not your average calm baby but rather intense ;-) I also only use natural medicines for that sort of illness so she can build her immute system but it takes a bit longer to cure than with other medecines.
Thursday, November 30, 2006
Qt love
I have a new laptop and as I now live in France, it has a French keyboard.
[15:10:47] <annma> q kde qpp thqt hqs systrqy cqpqbility
[15:11:21] <Jucato> lots of q's :)
[15:11:39] <annma> yes, i thought i was in french but it was English
[15:11:45] <Jucato> I thought you were just expressing your love for Qt :)
As you can see I don't master touch typing... but I do love Qt!
[15:10:47] <annma> q kde qpp thqt hqs systrqy cqpqbility
[15:11:21] <Jucato> lots of q's :)
[15:11:39] <annma> yes, i thought i was in french but it was English
[15:11:45] <Jucato> I thought you were just expressing your love for Qt :)
As you can see I don't master touch typing... but I do love Qt!
Wednesday, November 22, 2006
A few tips for starting KDE4 development
If you want to start building KDE4, here are a few hints, gathered from the most frequent questions I hear.
Once again, it has to be stressed that neither KDE 3.5 nor KOffice 1.6 build with Qt4. They both need Qt3 only.
To get started with KDE4, just follow exactly this doc: http://developer.kde.org/build/trunk.html.
Use qt-copy instead of your distro qt4 and apply qt-copy patches. This ensures you have the correct qt version.
Set a new user as stated in the doc.
When you update the code, always start with qt-copy then kdelibs then kdepimlibs and the other modules.
If you upgrade your compiler, please rebuild everything, starting with qt-copy.
If you run into a build error, svn up the base modules (qt-copy, kdelibs, kdepimlibs) and retry. If the error persists, use make VERBOSE=1 to get more output.
I already blogged about this but it's often asked as well: Qt Designer in Qt4 does not allow you to include your own custom slots the way Designer from Qt3 did. Please read the Using a component in your application doc and implement your custom signals and slots in the subclass.
If you want to start a new KDE4 application from a template: KDevelop in KDE4 is not in a working stage yet. You can use KDevelop 3.4 and use the Qt4 template. You can also get the kdesdk module in KDE4 and build kapptemplate/ then run kapptemplate (choice 5) to get a nice KDE4 application template.
Hope it helps and have fun coding with Qt 4/KDE 4!
Once again, it has to be stressed that neither KDE 3.5 nor KOffice 1.6 build with Qt4. They both need Qt3 only.
To get started with KDE4, just follow exactly this doc: http://developer.kde.org/build/trunk.html.
Use qt-copy instead of your distro qt4 and apply qt-copy patches. This ensures you have the correct qt version.
Set a new user as stated in the doc.
When you update the code, always start with qt-copy then kdelibs then kdepimlibs and the other modules.
If you upgrade your compiler, please rebuild everything, starting with qt-copy.
If you run into a build error, svn up the base modules (qt-copy, kdelibs, kdepimlibs) and retry. If the error persists, use make VERBOSE=1 to get more output.
I already blogged about this but it's often asked as well: Qt Designer in Qt4 does not allow you to include your own custom slots the way Designer from Qt3 did. Please read the Using a component in your application doc and implement your custom signals and slots in the subclass.
If you want to start a new KDE4 application from a template: KDevelop in KDE4 is not in a working stage yet. You can use KDevelop 3.4 and use the Qt4 template. You can also get the kdesdk module in KDE4 and build kapptemplate/ then run kapptemplate (choice 5) to get a nice KDE4 application template.
Hope it helps and have fun coding with Qt 4/KDE 4!
Wednesday, November 08, 2006
Games ++
As you can have already read here on the Planet, there's a big buzz going on in KDE games! It's amazing how a dormant module somehow got a new life! KDE4 will be something really exciting, there's lots of hard work around. You can join the fun and share the excitement, you don't even need to be a developer. As Johann said, KDE games are small programs and I can assure you that the Games team is very welcoming and helpful. So please don't leave out those unmaintained games and adopt one, you'll never regret it. Artwork is needed as well as testing, writing docs, maintaining websites and so on.
I'll start to port KHangMan pics to svg (the code as I already have svg files for the Sea theme) and I also have to follow kdegames management and to open wiki pages in order to start a roadmap.
I hope to have a bit more time than I had so far. With a baby at home, it's a bit difficult to have a full working brain as there are only short bits of time I can use to work. A good news is that I got myself a new laptop and it was very easy to set it up, even wifi works out of the box. KDE 3 and 4 are running on it. The only clumsy thing for me is the French keyboard as I was used for 11 years to a English one. But some KTouch training should fix that!
To finish this post, have a look at how cute Little Miss Clarisse is (8 months now)! She already likes to randomly hit keys on the keyboard...
I'll start to port KHangMan pics to svg (the code as I already have svg files for the Sea theme) and I also have to follow kdegames management and to open wiki pages in order to start a roadmap.
I hope to have a bit more time than I had so far. With a baby at home, it's a bit difficult to have a full working brain as there are only short bits of time I can use to work. A good news is that I got myself a new laptop and it was very easy to set it up, even wifi works out of the box. KDE 3 and 4 are running on it. The only clumsy thing for me is the French keyboard as I was used for 11 years to a English one. But some KTouch training should fix that!
To finish this post, have a look at how cute Little Miss Clarisse is (8 months now)! She already likes to randomly hit keys on the keyboard...
Friday, October 20, 2006
KDE Games
I took the kdegames survey that Mauricio and Albert set up. Nice survey, I encourage everyone to participate, especially if you use kdegames. Personally I am not a gamer so I could not anwer about the KDE-games quality. I feel however that if the games are not maintained they should be moved out of kdegams for KDE4. My overall impression about kdegames is that they are a bit obsolete. And the website was left out for a long time! Some tutorials about games development would be good, what libs to use, ...
I'd like to move some kdeedu applications in a kdegames/kids category where KTuberling is currently. KHangMan, KAnagram, bliKen are good candidates.
Currently I am compiling KDE on an old PC which had a broken hard drive. It was replaced by a local guy who does hardware and software support. I got a 200Gb drive instead of the previous 80Gb, there's only 20 euros difference from 80 to 200. He looked a bit doubtfull at first when I told him I'd like the disk bare, without any OS installed (I looked like the average IT-clueless mum carrying my Clarisse and not at all like a geek)... But he uses Linux at Uni so I explained him I compile KDE.
I burnt a Mandriva 2007 CD to get a base install and I then used easy-urpmi to set the online sources. I then installed all dependencies as listed on the KDE 3.5 requirements page and now I am in the process of building KDE3. I do it from tty, the CD1 did not install KDE (only kdelibs and qt3 but not kdebase). The pain is to type everything without copy/paste...
No news from the police about my stolen laptop, I guess I can forget about it. I had plenty of TODOs and logs and some mails from friends in Quebec... I am trying to put my brain into high gear to write down (on paper!) some stuff I intented to do in the next weeks, mostly about KDE4 and KDE-Edu.
I'd like to move some kdeedu applications in a kdegames/kids category where KTuberling is currently. KHangMan, KAnagram, bliKen are good candidates.
Currently I am compiling KDE on an old PC which had a broken hard drive. It was replaced by a local guy who does hardware and software support. I got a 200Gb drive instead of the previous 80Gb, there's only 20 euros difference from 80 to 200. He looked a bit doubtfull at first when I told him I'd like the disk bare, without any OS installed (I looked like the average IT-clueless mum carrying my Clarisse and not at all like a geek)... But he uses Linux at Uni so I explained him I compile KDE.
I burnt a Mandriva 2007 CD to get a base install and I then used easy-urpmi to set the online sources. I then installed all dependencies as listed on the KDE 3.5 requirements page and now I am in the process of building KDE3. I do it from tty, the CD1 did not install KDE (only kdelibs and qt3 but not kdebase). The pain is to type everything without copy/paste...
No news from the police about my stolen laptop, I guess I can forget about it. I had plenty of TODOs and logs and some mails from friends in Quebec... I am trying to put my brain into high gear to write down (on paper!) some stuff I intented to do in the next weeks, mostly about KDE4 and KDE-Edu.
Monday, October 16, 2006
Burglary
This week-end we had to drive to Burgundy for 2 family events (1 in my family and 1 in my in-laws). It was great although tiring but when we came back yesterday evening at our new rented house near Toulouse, we found out there has been a burglary. My laptop is gone as well as small other things and our younger kids passports (even Clarisse Canadian Passport). Both my husband and son brought their laptops with them, my husband as he was the previous week in Austria for a meeting and my son to show his cousin some video. So they were lucky. As we drove 14 hours in total and stayed 30 hours only, I did not bring my laptop and did not think of hiding it in the garage (it would have been easy to drop it in one of the numerous boxes we have there)... Everything was properly locked in the house but the thieves managed to get in anyway.
Fortunately they did not take my USB backup drive (attached to the laptop) so I still have all my pictures except the latests which I did not back-up. I did not backup any of my KDE work, mail, log, ... I feel quite low as I already was without internet for all of the summer holiday and now I once again have to suspend my work in KDE...
Fortunately they did not take my USB backup drive (attached to the laptop) so I still have all my pictures except the latests which I did not back-up. I did not backup any of my KDE work, mail, log, ... I feel quite low as I already was without internet for all of the summer holiday and now I once again have to suspend my work in KDE...
Saturday, September 23, 2006
Wiki
I spent the last days in porting (part of) kdesdk/kapptemplate to CMake which was not very easy. kapptemplate is a bash script that generates templates for developing a new KDE application. If you decide to start a new KDE program, you install the kdesdk module and type kapptemplate in Konsole. The script ask you to choose what sort of program you want (normal KDE app, KPart-based app or plugin) and then the script asks the program name and version and checks your identity and email. Then it installs the files for your new program and you can start developing from there.
So it was a mix of bash and CMake commands. As you might know, I am not a developer or a geek and I never studied programming (I did a bit of Pascal part of my 2nd University year though, back in the 80' but that was maybe 10 hours struggling with floppy disks ;) What would take 2 hours only to another KDE developer (or 5 minutes if it's Laurent M ;-) took me the triple and some enquiries and help (thanks for Dirk patience and for Pino help). But kapptemplate did not interest anyone before as it has not been ported yet and having created a kde4 template, aaron suggested I put it there thus I did it.
So at the moment if you get kdesdk/kapptemplate from trunk, you can choose option [5] to create a base KDE4 application.
Maybe I'll code a GUI for it (like the KDevelop New Project wizard). Not sure if it is needed though and it's not on my priority list.
I also have been busy with aKademy preparation and I used (or messed with? ;) the KDE wiki a lot. I won't be at aKademy because my baby Clarisse is only 6 months 1/2 old (and no, bringing her would have been difficult because she does not like new places or new people and she is quite happy to have settled down a bit since mid-August). Pino will lead an edu BoF. I already mentioned in a recent blog the KHotNew Stuff page which I hope will lead to solving problems related to GHNS.
I also started a wiki page to get ideas about Wikipedia Integration in KDE4. Wikipedia is now used as a reference by many people and the translations in many languages are improving very quickly. It is a nice free tool which can be integrated in KDE-Edu programs and other KDE applications to provide the user an easy access to knowledge. I encourage all of you to fill in this page so we can achieve something nice for KDE4.
I wish all people at aKademy a very nice and produktive week!
So it was a mix of bash and CMake commands. As you might know, I am not a developer or a geek and I never studied programming (I did a bit of Pascal part of my 2nd University year though, back in the 80' but that was maybe 10 hours struggling with floppy disks ;) What would take 2 hours only to another KDE developer (or 5 minutes if it's Laurent M ;-) took me the triple and some enquiries and help (thanks for Dirk patience and for Pino help). But kapptemplate did not interest anyone before as it has not been ported yet and having created a kde4 template, aaron suggested I put it there thus I did it.
So at the moment if you get kdesdk/kapptemplate from trunk, you can choose option [5] to create a base KDE4 application.
Maybe I'll code a GUI for it (like the KDevelop New Project wizard). Not sure if it is needed though and it's not on my priority list.
I also have been busy with aKademy preparation and I used (or messed with? ;) the KDE wiki a lot. I won't be at aKademy because my baby Clarisse is only 6 months 1/2 old (and no, bringing her would have been difficult because she does not like new places or new people and she is quite happy to have settled down a bit since mid-August). Pino will lead an edu BoF. I already mentioned in a recent blog the KHotNew Stuff page which I hope will lead to solving problems related to GHNS.
I also started a wiki page to get ideas about Wikipedia Integration in KDE4. Wikipedia is now used as a reference by many people and the translations in many languages are improving very quickly. It is a nice free tool which can be integrated in KDE-Edu programs and other KDE applications to provide the user an easy access to knowledge. I encourage all of you to fill in this page so we can achieve something nice for KDE4.
I wish all people at aKademy a very nice and produktive week!
Sunday, September 17, 2006
Open mind
Yesterday and this morning I wasted some time on what I thought was a bug. I started ported kdesdk/kapptemplate to CMake and as it's a bit complicated I ran it under KDE 3.5 to see how it works. Kapptemplate generates a kde project for you so you can start developing easily. It can generate 4 templates. So I ran KAppTemplate and choose to generate a standard KDE3 program but when compiling it, it failed. Something in the admin dir was wrong. "argh, a bug" I thought and dutifully I tried to fix it. However I did not think too much and started on the false assumption that the admin dir was not the correct one installed by KAppTemplate in the generated project. It's all done in scripts so I digged here and there, tried to analyse the scripts and so on. After some two hours on that I finally had the idea to diff the current used admin with the template admin and what? they were the same! So my assumption was wrong from the start. It was in fact a permission problem. I install KDE as my user and not as root and when I install those files, the permissions change (something with umask I was told on IRC, thanks mornfall). Maybe there's a bit of a bug here or maybe my distro is in cause or my umask but well, it reminded me to keep an open mind instead of a "I know it all" mind. And maybe not to work on Sundays!
So I am back in porting those templates to CMake which is not so easy but will make me better in using CMake.
So I am back in porting those templates to CMake which is not so easy but will make me better in using CMake.
Thursday, September 14, 2006
A KDE4 template for new KDE developers

I decided to make an easy-to-use KDE4 template, based on a KDevelop template, to new comers for KDE4. The template gives you 2 classes with a GUI and a KDE menubar and such. It has CMake support and will allow new developers or KDE3 developers to get familiar with Qt4/KDE4 and to easily start their own project, based on this template.
The background should be black but it seems to be a Qt bug (we use qt-copy for kde4 which is a 4.2.0 snapshot.
All the explanations are here.
I hope it'll help people and don't hesitate to mail me about any problem or question!
Tuesday, September 12, 2006
KDE-Edu for KDE4
Free Educational Software and Free Software in general are definitively gaining popularity in schools. There exists now several Edu Linux Distributions, the latest being Edubuntu which features nearly all KDE-Edu applications (while being Gnome based for the desktop). Skolelinux is spreading and will be present at aKademy, last year we also had a Meduxa representative at aKademy. Of course only few schools use Linux-based networks yet but they are more and more concious about Free Software, thanks to Firefox and Open Office.
Wikipedia also is now widely used and makes the idea of Free Software more prominent. A new project is starting: Wikijunior and offers us new tools.
So it's time to define KDE-Edu objectives for KDE4 and start working on that! A wikipage has been opened by Pino who will lead a Bof at aKademy. Start contributing by adding your ideas and then join the KDE-Edu project to be part of one of the biggest challenge in Free Software for the third millenium: break the schools walls and give the same chance to all kids to reach education using Free tools.
(maybe I could be a politician ;-)
Wikipedia also is now widely used and makes the idea of Free Software more prominent. A new project is starting: Wikijunior and offers us new tools.
So it's time to define KDE-Edu objectives for KDE4 and start working on that! A wikipage has been opened by Pino who will lead a Bof at aKademy. Start contributing by adding your ideas and then join the KDE-Edu project to be part of one of the biggest challenge in Free Software for the third millenium: break the schools walls and give the same chance to all kids to reach education using Free tools.
(maybe I could be a politician ;-)
Sunday, September 10, 2006
"Get Hot New Stuff" rant
Get Hot New Stuff (GHNS) is a dialog that allows you to add more data in some programs like more wallpapers in KControl and such. The idea is splendid but it needs to be improved in order to work more efficiently. The KDE-Edu project uses GHNS in several applications and we are trying to define the current problems for it and how to solve them. In the hope that someone will then code them for KDE4!
If you have some ranting to do about GHNS, you can list it on the wiki where I opened (with difficulty, I spent 30 minutes trying to find a "Create New Page" button on the wiki) a special page for it: GHNS proposal.
(thanks to Bugbuster on IRC who fixed the encoding of the page title)
Update on real life: I did get a fine for speeding on the road the other day...
If you have some ranting to do about GHNS, you can list it on the wiki where I opened (with difficulty, I spent 30 minutes trying to find a "Create New Page" button on the wiki) a special page for it: GHNS proposal.
(thanks to Bugbuster on IRC who fixed the encoding of the page title)
Update on real life: I did get a fine for speeding on the road the other day...
Friday, September 08, 2006
/home
So we're settled in France and after the start of school I at least can breathe a little. Last Saturday I drove to Lyon to get Debs and her boxes in her new student flat. She won't come every week-end so it's like the end of her childhood... I love driving (it was a 1100km trip) although nowadays one has to respect speed limits (I saw a flash once so I am crossing fingers not to get a fine), which I was not used to. It's interesting to meet new people, all of them on the move, sharing a brief instant of their lives while buying a coffee and chatting. And it's thrilling to see how France has so lovely places, full of history.
I went to one of Toulouse LUG on wednesday evening where I met ervin. The LUG is very active and full of projects, centered not only on free software but also on other freedoms such as free music. As all LUGs it was very nice and whatever gender and age, everybody relates easily; plus I was not declared secretary like in my old LUG! (cliché).
I was thrilled by Koffice progression these last 2 months. New developers joined and the team is very solid and brilliant. Everybody must try KOffice 1.6 when it's out because it's just amazing. The beta will be out soon and you have to take the opportunity to test it and report bugs!
I went to one of Toulouse LUG on wednesday evening where I met ervin. The LUG is very active and full of projects, centered not only on free software but also on other freedoms such as free music. As all LUGs it was very nice and whatever gender and age, everybody relates easily; plus I was not declared secretary like in my old LUG! (cliché).
I was thrilled by Koffice progression these last 2 months. New developers joined and the team is very solid and brilliant. Everybody must try KOffice 1.6 when it's out because it's just amazing. The beta will be out soon and you have to take the opportunity to test it and report bugs!
Wednesday, August 30, 2006
Amazing work on kde4!
As you know, I have been away for 2 months due to my family move from Canada to france. Meanwhile, LOTS of work has been done in KDE4, I am simply amazed!
First a great doc at http://developer.kde.org/build/trunk.html allowed me to quickly rebuild KDE4 from scratch.
qt-copy, kdelibs, kdebase and kdeedu compiled like a breeze.
KhangMan in KDE4 got fixed, I did not look yet who fixed it but thanks. As I am at it, thanks to all people who updated languages data for KHangMan and KLettres.
People keep asking about how KDE4 looks like. Here you can see KHAngMan from KDE 3.5:

And this is how it looks like in KDE4:

They are alike for the moment as is the rest of KDE 4 alike KDE 3.5. Lot of work was needed to achieve that and of course kdelibs which you cannot "see" has been reworked a lot.
Moving from one continent to another is not without many small troubles. Changing all electrical adapters is one, well only for 110V-220V devices, we sold all 110V electrical except I kept my 5.1 sound system, I thought the transformer would be 110-220... DVD regions is another. We kept a TV from England with a DVD player to view region 2 DVDs but the VCR is English and won't record in France. The last trouble I did not expect is that 2 out of 3 of our wifi cards in laptops don't work. Because of frequencies I think. Ah, when will we see a world where we'd be free to use what we buy?
First a great doc at http://developer.kde.org/build/trunk.html allowed me to quickly rebuild KDE4 from scratch.
qt-copy, kdelibs, kdebase and kdeedu compiled like a breeze.
KhangMan in KDE4 got fixed, I did not look yet who fixed it but thanks. As I am at it, thanks to all people who updated languages data for KHangMan and KLettres.
People keep asking about how KDE4 looks like. Here you can see KHAngMan from KDE 3.5:

And this is how it looks like in KDE4:

They are alike for the moment as is the rest of KDE 4 alike KDE 3.5. Lot of work was needed to achieve that and of course kdelibs which you cannot "see" has been reworked a lot.
Moving from one continent to another is not without many small troubles. Changing all electrical adapters is one, well only for 110V-220V devices, we sold all 110V electrical except I kept my 5.1 sound system, I thought the transformer would be 110-220... DVD regions is another. We kept a TV from England with a DVD player to view region 2 DVDs but the VCR is English and won't record in France. The last trouble I did not expect is that 2 out of 3 of our wifi cards in laptops don't work. Because of frequencies I think. Ah, when will we see a world where we'd be free to use what we buy?
Subscribe to:
Posts (Atom)