Home Home > Packaging
Sign up | Login

Deprecation notice: openSUSE Lizards user blog platform is deprecated, and will remain read only for the time being. Learn more...

Archive for the ‘Packaging’ Category

Preparation for Mounting /var/run as tmpfs

May 3rd, 2010 by

Feature #303793 proposes to mount /var/run as tmpfs.

(more…)

Build your own Google Earth rpm

March 9th, 2010 by

The last days I’ve spent some time to investigate how to package Google Earth into an rpm. There was already a script called make-google-package available on the internet, but this one creates a debian package only. However, it was a good start to get me going to create a Google Earth (GE) rpm. Although I met quite some obstacles, which is not to uncommon in package building, I was still able to come up with a procedure a get GE packaged. The biggest problem I encountered were incorrect library dependencies, for which I opened issue 702 in the Google Earth issue tracker. Anyway to make a long story short: the rpm installs Google Earth system wide, corrects file permissions, for openSUSE_11.2 it takes care that the font is rendered correctly, the rpm takes care that Google Earth integrates nicely with the rest of the openSUSE system.

The procedure to build the rpm can be found in the openSUSE wiki. One word of caution about the procedure, you need to be an experienced linux user and you need to have access to the openSUSE Build Service (OBS) to be able to build the rpm. This is due to library dependency problem, which prevents it to build without modification to the base system.

If you like and you have the knowledge how to build an rpm with the tool ‘build’, it would be great if you can extend the howto with steps how to do this (build a GE rpm with ‘build’) to the before mentioned page. The same is valid for a procedure that uses VirtualBox to build the rpm.

Last but not last; a procedure or even a script, that uses ”’rpmbuild -ba”’ to build the rpm, would be very welcom as well.

openSUSE-LXDE development status

March 1st, 2010 by

Ok people… openSUSE 11.3 Milestone2 has been released and quite soon we will have the Milestone3.

So now, after lot’s of promises, what is the status now?

IT’S DONE!

yes… it’s done… openSUSE 11.3 allow now to install LXDE directly from installation DVD or Net install. I’m sure all of you reading this post wants to try it, but for lazy people (and i know there are a lot of them outside), just click here and watch some pictures.

Can that be all? No of course not!

Just today i announced to opensuse-lxde and opensuse-factory mailing lists that we switched finally to pcmanfm2.

Even if that one is not yet stable, and even if it’s still on alpha release stage, it’s already feature rich and stable enoguht for daily usage. Of course bugs exist and you report is welcome, so we can fix them.

But it’s not enough, thanks to sidux lxde community we have a couple of nice tools: lxdm-conf and lxcc.

lxdm-conf as name suggest, it is a simple and powerful tool that helps you to edit lxdm settings without take care to manually edit /etc/lxdm/lxdm.conf file. This tool is already into repos.

lxcc instead is a small control center, written using python-gtk. It’s based on an idea of PCLinuxOS Community that wrote lxdecc using gtkdialog. Instead to port original lxdecc to openSUSE we choose to cooperate with Sidux on lxcc simply because gtkdialog looks to be a dead project. Lxcc is not yet into repos, so here a screenshot:

Schermata

And to finish a very good news. We are working on live cds. Yes, it’s taking looong time, but now we should be able to provide you better ISOs in shorter time since we moved from suse-studio to OBS kiwi system. Preliminary images can be downloaded from here:  X11:lxde (login required).

Most probably, a preliminary image will be published soon for a testing (based on openSUSE 11.2), in the same way, a Factory based live CD should be ready soon. Of course, i can’t forget, all that work on ISOs couldn’t be possible without the Dmitry serpokryl help (The author of SOAD).

I hope you’ll enjoy openSUSE-LXDE experience. So please, test test test and test it again. We have to provide the best LXDE ever!

Having trouble with vmware-console & your keyboard mouse

January 22nd, 2010 by

If you are like me, looking around for a fix to get your keyboard & mouse working like before the 11.2 release with your vmware console. Try this fix :

Uncomment the line in /etc/X11/xorg.conf
option “AutoAddDevices” “off”

I’ve tried this in xfce & kde4 desktop, and now don’t have any strange grabbing off keyboard & mouse.
I can now easily send the ctrl+alt+del evil sequence to some windows vms.

If it works for you, please send a reply to these bugs :
https://bugzilla.novell.com/show_bug.cgi?id=558780
and
https://bugzilla.novell.com/show_bug.cgi?id=551929#c17

Many ubuntu 9.10 guys are also hit by this problem !

A stable repository for kolab

January 17th, 2010 by

During the X-mas holidays Kolab, the groupware server got a stable repository for 11.1 and 11.2 on the openSUSE build service (OBS). All packages that are not provided by the openSUSE base distribution have been copied (using osc copypac) to the STABLE repository. Another possiblity to achieve the same result could be by making a fixed link to the unstable package using osc linkpac -r <rev>. Once the unstable package works again the link could be updated with osc setlinkrev -r <newrev> to point to the working revision or updated revision.

The stable repository already shows its benefits, as cyrus-imapd was updated from version 2.3.14 to 2.3.16 in the server:mail, being the cyrus-imapd development repository for Factory. As the cyrus-imapd package in kolab:UNSTABLE links to the server:mail one, it no longer builds as the kolab patches no longer apply. Unfortunately my computer went South, and real package development is at the moment not possible. A good thing to mention here is, that cyrus-imapd-2.3.16 includes patches that are needed for Kolab and which have been in the review queue for multiple years!

Just before X-mas Kolab-2.2.3 was announced. This version is not used in the openSUSE packages, as we package the version from trunk. After the 2.2.3 release the kolab development, moved back to trunk and the next version will be from trunk.

During the 8th annual KDE PIM meeting in Osnabrück, Northern Germany Kolab got some attention as well, with the following exciting announcement: KDAB and Intevation will be working on making a functional PIM suite and Kolab Groupware client based on Kontact for mobile platforms.

LXDE: Mission (almost) Accomplished

January 15th, 2010 by

Sorry if i missed to inform you since September but i passed a very bad period, (including a breakage of my hand and with my ex-girlfriend), but now i’m definetly better, so here i am to inform you about some wonderful progress.

first of all:

LXDM has been released

exactly, LXDE Desktop Manager has been released and looks to be fully working 🙂

2nd) Upgrades, upgrades and more upgrades

several new package version has been released, including lxappereance, lxmusic, lxpanel and so on.

3rd)  We are going to fix a small not-portable issue due to X-KDE-SubstituteUID

check bugzilla #540627 for more informations, what you want to know any way, is that we fixed .desktop files to allow to run applications as root even outside GNOME or KDE

4th) Factory, factory, factory

LXDE is into openSUSE_Factory now! yes, that means lxde will be installable on 11.3 from OSS repo, and probably from DVD.  I actually submitted lxde pattern request and yast2 pattern icons are already into yast svn. So people.. PLEASE TEST AND REPORT!!

5th) OPENSUSE-LXDE MAILING LIST

yes people, we have a new opensuse-lxde mailing list now! Please subscribe to opensuse-lxde@opensuse.org for help, support and development… i’m waiting for you!!

6th) Not official support on openSUSE <= 11.1

That’s not my choice but it’s due to gtk changes, because of that X11:lxde will no more take care of failures on suse <= 11.1. new lxde packages requires gtk2 >= 2.16.0 and backport is impossible (see lxappereance for example).

I think that’s all, if not i’ll write a new blog post, but now i must go to my work or i’ll be fired!!

Regards

Andrea (your favourite openSUSE-LXDE admin!)

Quick tip: Novell Bugzilla and Klipper

December 22nd, 2009 by

Klipper from KDE has a set of predefined actions triggered by content of the clipboard. So when you have it enabled, it show up the popup menu with all available browsers when you copy the URL. In my job I open many bugs and the bug numbers have the well defined format bnc#number. So why don’t define automatic action triggered by this regular expression?

Because Klipper expects only oneliner as an action, I wrote the short bash script obug.sh which expects one argument with a bugzilla string.

#!/bin/bash

[ -z "${1}" ] && {
  echo "bug number required"
  exit 1
}

regex='^(bnc|bug)?#[0-9]+$'
[[ "${1}" =~ ${regex} ]] || {
  echo "${1} did not match ${regex}"
  exit 2
}

firefox https://bugzilla.novell.com/show_bug.cgi?id=${1#*#}

It’s obvious how it works – it checks if the argument exists and if matches the pattern and then opens a firefox (it’d be a xdg-open, but I use firefox for Novell Bugzilla). There should be only one strange expression – ${1#*#}. It is a Shell Parameter Expansion. This expression removes all characters from the beginning of the string including first #, so it convert bnc#1234 to 1234.

Then I defined a new action in Klipper triggered by ^(bnc|bug)?#[0-9]+$, which calls obug.sh %s, where %s is the content of clipboard.
Klipper config

And after that all I selected the bnc#1234 by mouse and then the following popup appeared.

One disadvantage of this method is that Klipper opens popup window only near its status icon in systemtray. It would be more useful to show it near current mouse position.

openSUSE 11.2 is out

November 12th, 2009 by

The openSUSE Project is pleased to announce the release of openSUSE 11.2. After a couple of month good work towards the 11.2 we’re enjoying a very nice distribution which I already like very much. It is running on most of my machines for a few weeks now. I have already seen some SUSE Linux distros going gold over the time I spent with SUSE and my personal gut feeling tells me this is one of the more remarkable versions.

As usual it comes with tons of new up to date software and also the installation runs smoothly, please read the announcement for all the details, but what for me the most remarkable with 11.2 is that it is a real community openSUSE distro.

There is so much effort visible in 11.2 which was achieved through our growing community rather than just the SUSE people. We had a lots of requests in openFATE suggesting features, we discussed some of them quite heated, others were no-brainer. We again had lots of testers who hammered the alphas and betas and reported big and small bugs. On the openSUSE Conference many discussions about the upcoming distribution took place which were inspiring. We were able to utilize the powerful openSUSE Buildservice to build the distro together with all packagers very effectively. That improved the quality of our packages again. Another very visible thing for me personally is the desktop artwork which was done in best cooperation with upstream – and it looks so great that I hesitate to start applications which cover the desktop all day 😉

It is really exciting to see how things come together on the way to community distribution, and how far we got with openSUSE 11.2. I am happy about that and I am proud to be part of this and like to say thank you for every little bit you might have contributed. I believe that the message that openSUSE is your community distribution has arrived.

Of course openSUSE continues to be open for your ideas, the distribution can be the vehicle to power up ideas from a little application to huge software projects. The openSUSE project is the powerful community behind which helps to make ideas reality. And all that based on the principles of free software! I am really happy today and very excited about what future will bring 🙂

I hope to see you on the release event here in Nürnberg soon 🙂

Branching Contrib for 11.2

October 21st, 2009 by

As you might know, Contrib is a universal repository for third-party packages. Branching of this repository to openSUSE:11.2:Contrib is going to happen on October, 30, so if you want to have your favorite application or tool included in openSUSE:11.2:Contrib, please submit your request as soon as possible.

If you already maintain some package(s) in Contrib, please spend a few minutes by checking that the package builds fine, has properly set metadata (maintainer, bugowner) etc.

openSUSE-LXDE : improvments to PCManFM

September 30th, 2009 by

lxde

That picture talks… your quest is to find the news!!!

BTW on the screen you can see the work in progress openSUSE-LXDE for openSUSE-Factory (the next 11.2).  Notice how LXDE use only 108MB RAM and 5% CPU with:

* Firefox 3.5.3

* OpenOffice.org (writer) 3.1.1

* Pidgin

* LXTask

that’s amazing isn’t it?  (Don’t focus on red  lines… The background is nice but THIS IS NOT the new, check the ICONS)

Thanks to Miguel Albalat Aquila for the patch

Thanks to me for changing on the patch to allow it to work with trash support patch

Andrea 😉