Monday, July 12, 2010

Sunday, July 11, 2010

KDE 4.5 RC2 on OpenSolaris

Just some screenshots:
It feels much much snappier than KDE 4.4.5, perhaps because it's running on Qt 4.6.3, but the dbus issue is still present.

Saturday, July 10, 2010

Epson Stylus Color 580

Would you expect an inkjet printer that spent 8 years unplugged in a shelf to just work?
Yeah, correct, no way.

I seemed to work correctly, with the minor detail that there was nothing printed on the paper. I put in a replacement black ink cartridge, but there was change, even after running several head cleaning routines. Suspecting clogged nozzles, I followed the guide at,
 and even blown air through the ink needles,
but it did not help either.

Finally, in the hope Epson keeps some secrets for their repairmen, I downloaded the Epson Service Manual
and, after getting used to previously unseen levels of English, went through the Troubleshooting section. I verified the nozzles aren't clogged, there are no airlocks, and ink is passing just fine.
So there remains a bug in the print head itself or the motherboard. For both cases the Manual suggests replacing them with spare parts :-(

I'll disassemble the printer and scavenge reusable parts, like the stepper motors and PSU.
So long, Epson, and thanks for all the fish!

Running two IPS servers on the same machine

We have an IPS server providing the KDE packages for OpenSolaris. There are bits for the stable releases, but as KDE 4.5 is approaching, I'd like to have the pre-release stuff available as well and to keep it separate. So I need to run two servers.

Somehow I thought this could be a bit complicated, but it's indeed dead simple.

First, export the configuration of the existing server:
$ svccfg export svc:/application/pkg/server > pkg.xml

Modify to suit your needs:
$ diff -u pkg.xml.orig pkg.xml
--- pkg.xml.orig 2010-07-10 01:31:21.520139723 +0200
+++ pkg.xml 2010-07-10 01:32:29.530018365 +0200
@@ -1,7 +1,7 @@
<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='export'>
- <service name='application/pkg/server' type='service' version='0'>
+ <service name='application/pkg/server-devel' type='service' version='0'>
<create_default_instance enabled='true'/>
<dependency name='fs' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/system/filesystem/local'/>
@@ -38,8 +38,8 @@
<propval name='ssl_key_file' type='astring' value='none'/>
<propval name='threads' type='count' value='10'/>
<propval name='writable_root' type='astring' value=''/>
- <propval name='port' type='count' value='10000'/>
- <propval name='inst_root' type='astring' value='/export/home/test/repo'/>
+ <propval name='port' type='count' value='10001'/>
+ <propval name='inst_root' type='astring' value='/export/home/test/repo-devel'/>
<property_group name='pkg_secure' type='application'>
<property name='read_authorization' type='astring'/>

And import the new service:

$ pfexec svccfg import pkg.xml

Is it there? Yes it is:

$ svcs -a|grep pkg/server
online Jul_08 svc:/application/pkg/server:default
online 1:40:43 svc:/application/pkg/server-devel:default

Now I only need to initialize it:

pkgsend -s file:/export/home/test/repo-devel create-repository --set-property \
publisher.prefix=kdeips-dev-devel --set-property publisher.alias=kdeips-dev-devel

And I can start publishing into it!

So where are the fresh packages, may you ask? Being uploaded, stay tuned!

Thursday, July 8, 2010

KDE 4.4.5 packages & Korona 4.4.5

KDE 4.4.5 packages for OpenSolaris are available. The primary mirror is known for dropping connections when download speed reaches ~100kB/s, so you might consider using the alternate mirror

As concerns changes from 4.4.4, there's nothing at all on the Solaris side, only the upstream changelog applies (a bunch of bug fixes).

Korona 4.4.5 is being uploaded to - there are also no Solaris specific changes since Korona 4.4.3 (Korona skipped 4.4.4, as I was struggling with a bug in distro-constructor), apart from the KDE update also the following packages were bumped: amarok, boost, icu4c, konversation, libassuan, qimageblitz, qtcreator.

Several applications are starting and sometimes running slowly, most notably konqueror, this seems to be related to dbus - patches welcome.

Wednesday, July 7, 2010

HowTo switch from Cooker to Mandriva 2010 Spring

The release of Mandriva Linux 2010.1 is just behind the corner. I switched from MDV 2010 to Cooker (the development branch) a month ago, since it was already quite stable.
But as soon as 2010.1 is released, Cooker will reopen and become unstable again. So I'll have to return to the stable branch again.
How to do that? Fortunately other people asked that question, and here's the digest:

Once 2010.1 is official, open your Mandriva Control Center > 'Configure media sources...' and remove all from the list.
Then go to and add media '2010.1'. It'll generate a script that handles it all*. It might take zarb a few days before 2010.1 is listed there.

Due to bug #39975 you'll have to run:
urpmi.update -a --force-key
to avoid invalid signing key errors after the rpms are resigned with stable keys.

*or in the command line simply:
urpmi.addmedia --distrib --mirrorlist ''
for x86 or:
urpmi.addmedia --distrib --mirrorlist ''
for x64

HowTo merge two IPS repositories

I wanted to merge a repository with KDE 4.4.4 packages with another one with KDE 4.4.5. First I went through the pkgsend/pkgrecv man pages but only succeeded in the pkgrecv part (pkgsend just stalled without any hint on what's going on). Then I asked at the #opensolaris IRC channel and it turned out to be really simple:
$ export TMPDIR=/var/tmp
$ pkgrecv \
-s file:///export/home/pkgserv/repo445/export/home/test/repo \
-d file:///export/home/pkgserv/repo 'pkg:/*'
Setting TMPDIR properly is quite important, because pkgrecv by default caches the files in /tmp, which is practically your RAM and the repo has ~1.6 GB ...
/export/home/pkgserv/repo445/export/home/test/repo is a directory containing repository with KDE 4.4.5
/export/home/pkgserv/repo contained KDE 4.4.4 and now contains both