A mate of mine has an N800 that he no longer wants, so I thought I would try put KDE4 on it and play with the new mobile plasma stuff. After installing scratchbox and a bit of futzing around I've figured out OS2008 Diablo only has packages for Qt 4.5, so I can't compile SC4.5 or SC4.4, and even SC4.3 would require manually upgrading a whole bunch of other dependencies. Even if I tried to build my own Qt 4.6 it's not clear what Qt branch I should be using, or even if it would work. Before I waste any more time, has anyone else actually tried to do this lately, or has everyone just switched to the N900? Is there a convenient repo I can just add? Or would I be better off trying Easy Debian or some other solution?
TIA :-)
You might have seen me running around yesterday taking photos and blinding people with my giant flash. There's only one problem with such a big flash, you can catch it on things and the unexpected can happen:

Anyone got any gaffer tape? Gaffer tape can fix anything, it should be able to fix this right???
[Update: Sorted by deleting /etc/resolv.conf and rebooting. I recall now having to do that with the 11.1 -> 11.2 upgrade as well. Thanks for the hint Cyril!]
Just wondering if anyone else is having problems connecting to the wifi in TOAS? I can connect to both the open and WPA networks, but the authentication doesn't seem to work and I just get unknown domain errors. On the open network I don't get redirected to the login page, but I can manually browse to 1.1.1.1/login.html and enter my details, but I still get error pages. It works on my mobile and under OSX, and I've seen a 'buntu user who has it working, so I guess it's distro related.
Damn, knew I shouldn't have upgraded to openSuse 11.3 RC1 and KDE SC 4.5 RC1 so soon before Akademy, but I just gotta have the latest bling :-)
P.S. Do we have a wiki page for posting Akademy/Tampere hints and tips?
Just a quickie to say I arrived in Tampere last night, which is great. What is not so great is that my luggage didn't :-) So if you see a slightly dishevelled and smelly character wandering the halls of TOAS, that would be me. Or one of the other 6 guys whose luggage also didn't make it.
Which is where Douglas Adams comes into it, as TOAS does not supply a towel, you must bring one with you! Don't forget, as without a towel you can't convince strag's to lend you any of the other stuff you need when your luggage has been lost :-)
I'm in room 424 if anyone's looking for me. Perhaps we should all stick our names on the doors?
[Update: It seems this little blog and the weight of PlanetKDE was enough to bring my webhost to its knees and lead them to suspend my account. I've changed the PNG's to JPG's so hopefully that reduces the load enough to keep me on their good side. You should see the bandwidth graph spiking at 7-8pm Europe time :-) ]
I've blogged previously about the changes I've been making to the KHolidays library. The main improvement is the ability to calculate holidays using alternative calendar systems, such as the Hebrew, Hijri/Islamic or Jalali/Persian calendars. The holiday region files are also able to be split into geographical sub-regions such as States and Provinces, and embed metadata such as the language they are available in. Due to restricted time I wasn't able to complete all the new features I wanted, such as holiday classifications and multiple holiday regions, which would have allowed a better means of separating and controlling the display of different holiday types (e.g. civil and religious). Those will have to wait for SC 4.6, but the backend changes I have made are now visible to users so I thought I would show the results so far.
To do so I'll be using the Plasma calendar widget, which has seen some new features of it's own. The two big ones are displaying your PIM Events and To-do's via Akonadi (implemented by Frederick Gladhorn), and a new information pop-up that appears when you mouse-over a date rather than having to click it (implemented by Aaron Seigo). It will also try auto-detecting a default holiday region to use (also by Aaron). You can see the net effect effect here (ignore the plasmoidviewer frame :-):


Here you can see a number of things at a glance:
There's still some polishing work and bug fixing to be done on this for SC 4.5 (e.g. the Event start and end date are not really needed), and we're likely to be looking at the whole appearance of the calendar in SC 4.6, so keep that in mind when commenting on the appearance :-).
The details for today also show up when you hover over the panel clock:

The configuration hasn't changed much, other than displaying the language that the holiday region is available in which is useful for people living in multilingual countries. As already mentioned, in SC 4.6 the config will be a lot more flexible with the ability to choose multiple holiday regions and holiday classifications, and how these will affect the display of the holidays.

New region files have been added for the following:
Looking at some of these will illustrate the new features.
The file format supports optional holidays, which is useful in defining substitute holidays:

Here you can see holidays calculated in alternative calendar systems such as Hebrew, Jalali and Hijri, and displayed on either a Gregorian, Hebrew or Jalali calender:




A number of other regions have been reviewed for accuracy with the help of the i18n teams, and this is where you can also help. If you have SC 4.5 Beta 2, you can check your national holidays in the Plasma calender for the next few years and raise a bug under kdepimlibs/KHolidays if you find any mistakes (you could also browse the region rule files at websvn). If your country, region or language isn't supported, also raise a wish requesting support. Please try include a link to a definitive source for your holiday rules, preferably in English so I can read it, otherwise I'll need your help in translating.
In particular, the Iran files are entirely a copy-and-paste from Wikipedia, I'd be grateful if someone could check them. Note that the Islamic holidays are calculated using the Civil version of the calendar so may differ by 1 day from the actual lunar calculations. I'd also welcome lists of holidays for any other countries using alternative calendars to ensure the code works in as many cases as possible.
#include <KDE/KLongTimeNoBlog>
It's been a quiet few months on the blogging and KDE front, with very little time to achieve what I wanted for SC 4.5. I've spent a fair amount of time away from home on some archaeology projects, with limited connectivity and after a day in the field little energy left for hacking. The last couple of weeks I've been trying to catch up and make sure what I did get it into SC 4.5 actually works :-) I'll post a couple of blogs in quick order about what I did get finished. I really need to clear out my draft e-mail folder, there's a few offline replies there I forgot to send :-)
One consequence of being away is my blog got overwhelmed with more than 12,000 spam comments in about 2 months! I guess the Drupal captcha has been defeated, so I've upgraded to the latest Drupal and installed reCaptcha which hopefully will fix that problem.
I've just booked my tickets and accomodation for Tampere, so:

(and as a bonus to Estonia too, seeing as it's only a 2 hour ferry from Helsinki)
Which has got me to thinking about what I want to achieve while there. Code is good, but it's facetime that is the true value of Akademy. There's quite a few topics I'd like to talk to various people about, a couple of which probably deserve a full BoF session. I'll try blog about them in the next few weeks, but here's a short list for now:
Good thing Akademy lasts a whole week, eh? :-)
After a pleasant break during KDE 4.4 when I worked on stuff I wanted to do, I guess it's time to drag myself back to my penance, err I mean Printing, and trying to get the needed features up-streamed into Qt. This primarily means taking the big mess of code I did last year, adding support across all the official Qt platforms and automated unit tests, and breaking it up into nice small bite-sized pieces to feed to the Trolls via Gitorious merge requests.
My first merge request for the Current Page option in the print dialog has already been accepted and will be in Qt 4.7. This was a very simple change to do, but was a good way to test out the process as to took a few iterations to change it to how Qt wanted it. Note that any apps that wish to use the feature will need to enable the option as it can't be turned on by default.
My next merge request, just submitted, is for Multiple Page Ranges (e.g. "1,3-5,7-9"). The 'fun' and time-consuming part here was to set up a Virtualbox Windows development environment to compile and test the code on that platform (eventually I'll have to set up a Mac one too, but for now I'm not bothering as OS X doesn't support these features). If it survives the merge review and the Nokia lawyers, it should be in Qt 4.8 (sorry, no sooner than that).
The next few feature submissions in fairly short order should be:
After that I'll take a break to go back to some coding on KHolidays, KLocale, Calendar Systems, and the Plasma Clock for KDE 4.5, before moving onto the biggie: saving and restoring print settings.
Right now, however, I'm looking for some help on the Page Set code on Windows, so any Windows hackers out there keep reading!
Windows does not provide a built-in option for Page Set, so I need to add a new combo control to their print dialog. From reading MSDN it appears I need to define a new custom template for the standard Print Properties Sheet:
I think the required steps are:
That's the theory, but I have no idea how to actually do this. It's probably elementary to a Windows hacker, but I'm over my head here :-)
I've coded up what I can and pushed it to Gitorious. Commit f55cd14a is for the common framework and other platforms, and commit f73119eb sketches out where I think the Windows dialog code needs implementing. All you need to do is fill in the TODO items :-)
Once this is done, it should then be easy to add support for the Page Order feature by adding a tickbox for "Reverse pages".
It should also help with using the PRINTDLGEX lphPropertyPages feature to implement the QAbstractPrintDialog::setOptionTabs() feature. Bonus points for figuring out how to make that happen!
So if this looks like something you'd like to help with, drop me a line, I'm john (squiqly thingy) layt (dotty thingy) net.
Oh, and if you do send code, it should be stating the obvious that you must be willing to agree to Nokia's contribution agreement.
I've just made a change to the CUPS detection code in the print dialog that should now always match when Qt is using CUPS (it detects a specific behaviour of QPrinter when running CUPS as a heuristic, rather than trying to find a CUPS server for itself). This is to solve the current bug of not detecting when Qt is printing to a remote CUPS server. I've tested it still works for local servers, but I don't have a real-world remote CUPS server/printer floating around to test on. If you have a trunk or 4.4 branch checkout and a remote CUPS set-up, could you give this a test for me? Just make sure you have no local CUPS server running, call up a print dialog, and confirm the odd/even page selector is there and the page selection prints OK.
(Yes, I could fake it using a virtualbox session, but a real-world test would be more reassuring).
Thanks!
I'm home from my first ever trip to FOSDEM and I'm pleased to say had a great time there, most of all because of the chance to meet up with so many fantastic KDE people. I've never been to a conference with so many different FOSS groups involved and the vibe from so many geeks was incredible. It was especially refreshing to see so many female contributors there and so actively involved in their communities. I had planned to blog more about my impressions while there, but my laptop was quickly expropriated as the booth demo machine, and there was no free wifi at the hotel, so here's a long brain-dump of some random thoughts. You can see a few photos here.
I spent most of my time manning the KDE booth, more than I had planned and I missed a few talks I had wanted to see, but it was a pleasure to be able to interact with so many people, almost all of whom were overwhelmingly positive about KDE4. I had only one "Amarok 2 sucks" (he didn't have the guts to tell Sven on the 'rok booth to his face though...), and one "I stopped using KDE after 4.0" but who was very keen to give 4.4 a go as he believes our technology is on the right track. Much of my time seemed to be spent directing traffic. There was the guy who wanted to get involved with the Windows port who I demo'ed stuff to in Virtualbox and referred to the Windows team. Several people were eager to point out bugs they had found (directed them to bko). Others wanted to know if an obscure bug was fixed (err, I may be a dev, but I don't know every bug or feature). Someone wanted help with the openBSD packaging (hmm, dunno, Sune wasn't about, try Ade or the freeBSD guys?). Someone else wanted to know how to get the latest version of their app packaged by all the distros (talk to them at their booths just along the hall, or attend the OBS talk in 5 minutes time...). Someone demanded to know why KDevelop had made certain design choices (palmed off on Milian, sorry!). Someone else wanted to recruit some KDE devs to work on some desktop stuff (company business cards were quickly produced and handed over). Someone wanted to know about colour management in KDE, so they got Boud's e-mail address :-) An openSUSE developer wanted to check if a patch of his worked on my install (it didn't). And the guy wanting to interview a Dutch-speaker for a podcast was directed towards Jos (poor soul ;-).
The best chat I had was with a guy from the Netherlands who walked up to the table and loudly declared "I Love KDE!" (no, not Paul). He explained he was asked by a friend to help their mother with some PC problems. He visited her at her retirement village and replaced Windows with Kubuntu. A while later she asked him to visit again as some of the other residents wanted this Linux stuff too. He refused to install it himself but instead he taught them to do it themselves. Long story short, it spread like wildfire, last time he visited to give a talk there were over 80 very happy users aged 60 to 90 who had their own support community going. They love Linux for how fast and stable it is, but also because they can play with it. The beige box is no longer some mystery machine, but something they understand and control, and they are now contributing back to projects like OpenStreetMap and doing translations. Inspirational stuff.
For all the positives however, I think we can do some things better next time.
I know it's been talked about before, but we really do need a small demo machine with nicely pre-configured demo users that can easily be restored once messed up. The obvious tricks we missed this time were to have an open-pc as our demo machine (cross promotion and sales opportunity there), an N900 running Qt/KDE stuff (the one on the Gnome table was constantly being pawed at), and a netbook to show off the new Plasma Netbook containment (I had planned to bring my eee but it died last week). And the biggest screen we can lay our hands on, with some kind of very flashy demo program running to draw people in (could we steal one from the openSUSE booth???).
We also need to give more thought beforehand to what we want to achieve with the booth. Are we just there to sell t-shirts? Or something more? It's a decision we need to make for each event, and for FOSDEM I don't think the traditional "attract new users with a flashy demo" mode is going to work. I think we need to focus on attracting new community members and interacting with upstream/downstream projects. People mostly either wanted swag, or wanted to talk about technical stuff, there were no "What is KDE?" style questions. These people are either already involved in a FOSS community and wanted to know how we can interact with them, or were looking to get involved. Saying "visit the website" or "Google it" just doesn't cut it. The "KDE Handbook" was hugely popular and we need more handouts like it. We need to have "How can I help? / How to get involved?" handouts pointing potential contributors to the main participation entry points (wiki, mailing list, irc etc). We may need some kind of (private?) KDE directory to know which person or mailing list project X needs to talk to about problem Y. Knowing the areas of expertise of each KDE attendee would also be useful so you can grab an expert when needed.
There probably wouldn't be room, but rather than a table cutting us off from the people who wanted to talk, I think a "KDE Kafe" could work well at this sort of event. Several chairs or beanbags, a few developers/translators/packagers/etc, a few demo workstations and laptops, free coffee for those who stop to talk, and lots of time to talk, network, bug triage and collect brainstorm ideas.
FOSDEM itself is impressively well organised, as you need to be with 5000+ visitors. I'll just highlight two points, firstly their signage was very good, there was lots of it and it was very big, no getting lost here. That's something I've always thought we could improve on at Akademy/Desktop Summit. Not so good was the room allocation, where each project/stream got one room to use regardless of the size of audience each talk was likely to generate. So talks about "What's in the KDE 4.4 Release" and "What's new in Drupal 7" in smaller lecture rooms were massively overcrowded and had to turn people away while bigger auditoriums next door on obscure topics were sparsely populated. While staying in one room is good for a stream's more specialised topics, each major stream's keynote talk aimed at the mainstream could be given an auditorium slot.
Free foot massages for booth volunteers would be a welcome feature :-)
Fingers crossed, I'll be back next year, if only for the chance to eat waffles and drink beer at 11am while listening to a talk!
I haven't seen it mentioned anywhere else KDE related, but in Madrid you can now take a uni course in KDE and Gnome programming. I wonder if there will be guest lectures by Professor Faure and Dr Seigo? ;-)