Build your Mer image in few minutes (using MIC)

Creating a new image for a certain embedded device is a boring process that can take a lot of time. For some time I’ve been working with MIC that is a rather easy to use tool for image creation.

MIC allows you to create filesystem tarballs, partitioned raw images, live CD images, etc… and you can create your ready to use Plasma Workspace image 😉

What you need: Mer SDK

How to create the image:

First of all you need to write your KickStart (.ks) file (you can also generate it using a yaml file). A KS file includes the list of repositories that are used to pull the packages, users, groups, misc settings, the list of packages (and patterns) that will be installed inside your image and some commands that are executed during image creation.

Here is an example of KS file:


lang en_US.UTF-8
keyboard us
timezone --utc UTC
part / --size 3000 --ondisk sda --fstype=ext3
rootpw rootpassword
user --name myuser --groups audio,video --password meriscool


repo --name=mer-core --baseurl=http://releases.merproject.org/releases/latest/builds/i586/packages --save --debuginfo --source
repo --name=mer-tools --baseurl=http://repo.merproject.org/obs/mer-tools:/stable/latest_i586/ --save --debuginfo --source


%packages
@Mer Core
openssh-server
%end


%post
echo Hello > /hello
%end


%post --nochroot
#More commands
%end

OK, now you are ready to create your image!

mic create raw mykickstart.ks -o myoutput --record-pkgs=name --pkgmgr=zypp --arch=i686

You will get your Mer image in a couple of minutes. Your image will contain all the packages included in @Mer Core pattern and openssh-server. Anyway it will not be possible to boot your system: you need to use an adaptation to make it fully working. You can easily find community adaptations for several boards and devices including RaspberryPi and x86 PCs.

More resources:

My GSoC Project: Port Plasma Calendar and other widgets to QML

This year I’ve been accepted as a Google Summer of Code student. My project goal is to port some plasma widgets (luna, fifteen puzzle, timer, calculator and notes) and the calendar to QML.

This GSoC project is rather important for several reasons, including:

  • QML will play an important role in Qt5
  • Using QML will allow to switch easily to QML Scene Graph
  • QML makes development and maintenance easier
  • QML plasma widgets much less likely crash the plasma shell

I would like to underline that a plasma widget is ported when there are no regressions so no one will notice the difference (anyway I hope they will behave better).

Timer widgets comparison (left: C++ version, right: QML version)

Timer widgets comparison (left: C++ version, right: QML version). Do you see any difference?

Current Status:

I’ve been working on this GSoC project for nearly a month now and the port of some widgets is almost complete (there are some missing pieces that needs to be addressed but I think they will be ready soon).

I'm going to Akademy 2012

Anyway at the Akademy I will talk more about this GSoC project (Sat. 30 at 10.15/Room 2) 🙂

KDE on mobile phone #0 (building ofono)

Sadly KDE mobile phone stack hasn’t been accepted as google summer of code project (we had other 50 proposals with higher priority).  Personally I don’t agree, so I plan to work on it anyway.

If you want to build a KDE mobile stack that is able to connect to GMS/UMTS/CDMA network you need to build ofono (or any other similar daemon) as first thing. You just need to download phonesim and ofono from here. Then you just have to build both with ./configure && make. If you want you can run both from source directory (but you’ll need to copy src/ofono.conf to /etc/dbus-1/system.d/ofono.conf).

Ofono configuration is rather simple, you just have to copy the following configuration in /usr/local/etc/ofono/phonesim.conf.

[phonesim]
Driver=phonesim
Address=127.0.0.1
Port=12345

Now you are ready to run phonesim and ofono.

Our mobile phone stack depends also on ofono-qt library.

We love fresh wallpapers :)

As usual we would like to see new wallpapers included in the next KDE SC release and we need your help.  So a new wallpaper contest is started!

If you want to participate you must keep to 3 fundamental rules:

  • you must be the author of the photograph, you must provide your full name and you have to state the license (lgpl v3 is better).
  • entries must be at least 1920×1200 resolution and a copy of the photo in RAW format (if available) is apprecitated.
  • you must send your photographs to davide.bettio@kdemail.net before the 13th of june with the word “WALLPAPER” in the subject

Your wallpapers will be evaluted by some of the KDE artists and the best wallpapers will be released with KDE SC 4.7.

git, wallpapers and kdeartworks

Moving artworks to git might be a bad idea: everytime you clone a git repository you are doing a copy of the whole repository including the history. For this reason if you plan to update frequently your artworks you should consider to keep your artworks on a svn server, so users are not forced to clone all the previous artworks.

For this reason  workspace wallpapers (kdebase/workspace/wallpapers) and kdeartwork will not be moved to git. So don’t forget to continue to checkout artworks from SVN!

  • You can get default base wallpapers from /trunk/KDE/kde-wallpapers/
  • You can get kdeartwork from /trunk/KDE/kdeartwork/

KDE SC 4.5 Wallpapers

The wallpaper contest has ended and now I can announce that KDE SC 4.5 will have 12 shiny new wallpapers:
New KDE SC 4.5 Wallpapers

Autumn, Grass, Hanami and Stripes will be part of kdebase, while all the other wallpapers will go into kdeartwork.

Thanks to:

  • Alexandre Courbot (Hanami, Korea)
  • Helena Åšwiderska (Yellow Flowers)
  • Ivan ÄŒukić (Stripes)
  • Jonas Arnfred (Blue Wood)
  • Jorge Sandín (City at Night)
  • Piotr Adamek (Autumn)
  • Risto Saukonpää (Chess, Dragonfly, Field, Grass)
  • Sebastian Schubert (Osterkaktus)
  • and to everyone who has sent photos.

I'm going to Akademy 2010

KDE needs you :)

KDE SC 4.5 will be released soon in August and we would love to see some of your photos beeing part of the KDE SC wallpaper collection 🙂

If you want to participate you must keep to 3 fundamental rules:

  • you must be the author of the photograph, you must provide your full name and you have to state the license (lgpl v3 is better).
  • entries must be at least 1920×1200 resolution and a copy of the photo in RAW format (if available) is apprecitated.
  • you must send your photographs to davide.bettio@kdemail.net before the 13th of june with the word “WALLPAPER” in the subject

Your wallpapers will be evaluted by some of the KDE artists and the best wallpapers will be released with KDE SC 4.5.

more tokamak photos