Up to now 65.40% of the votes have been cast.
So if you’re a member or franchise voter -> now it’s time to cast your vote !
Here’s the link to users.opensuse.org .
In part 1 we installed and tested libyui and its python binding and part 2 was about constructing the GUI. Now its time for the libzypp-bindings – of course for python ;). So far the GUI looks like:
We will import a repository’s metadata and list its content. But let’s move on …
I assume you have already installed the software from part 1. Then we’ll just donwload the missing parts.
zypper in prefix-opt-python-zypp prefix-opt-libzypp
In a small series of posts I’ll describe some tips and tricks for developing with libyui and libzypp in python.
Thanks to the YaST developers and Klaus Kaempf, there are bindings to libyui the Yast User Interface library for python.
For libzypp there are also python-bindings done by Duncan Mac-Vicar Prett and Arvin Schnell.
Both are generated with the swig code generator and are not perfect yet, but as we’ll see they’re pretty usable.
One big problem we need to solve is: libyui and libzypp are part of your base-system/YaST. If we would update them in the main system,
we would probably screw up zypper and YaST – which is bad.
Therefore I compiled libyui and libzypp and all other needed packages with an custom –prefix (/opt/yuitest) inside the openSUSE Buildservice.
Thus we can easily install the latest version without breaking our system.
In this first part we’ll install and test libyui.
Today I played with it and got a i586 worker to build for arm.
Here’s a summary what I did:
'i586' => ['i586', 'armv4l'],
'i686' => ['i586', 'i686', 'armv4l'],
Now the worker gets a job assigned and does the same magic arm-build as shown in Martin’s posts.
An enhancement would be to let the workers advertise their “cando”-archs and assign the jobs according to the info recieved by the workers.
Tnx to Andreas Jaeger I could join the Hackweek crew for the cross-obs on Tuesday and also talk to several others on Wednesday. E.g. me and Beineri visited Andreas Bauer got him to include the link to the Monitor-page on “My Projects” (r4789).
Atm I’m looking at how kiwi can/could work with cross-obs.
And for all – Here’s a collage of some of AJ’s pictures from Tuesday:
For some days now I’m working on a GUI written in python. I needed X and konsole, so I gave python-yui (python-binding of libyui) a try.
Libyui is the YaST2 User Interface library and python-yui is part of openSUSE 11.0.
If you want to have a quick look you can try my (demo-) widgets.py. It shows some, but not all widgets available. Klaus Kaempf uploaded it to the svn (tnx!).
zypper in python-yui
wget -nd "http://svn.opensuse.org/svn/yast/trunk/libyui-bindings/swig/python/examples/widgets.py"
a) with GTK/QT GUI:
b) with ncurses/konsole GUI:
export DISPLAY2 = $DISPLAY; unset DISPLAY; python widget.py ; export DISPLAY=$DISPLAY2 ; unset DISPLAY2
Here’s a screenshot,
Tim and I updated the Amateur radio (hamradio) packages and made them ready for 11.0 .
Amateur radio (also Hamradio) is both a hobby and a service in which participants, called “hams”, use various types of radio communications equipment (also homebrew) to communicate with other radio amateurs for public service, recreation and self-training.
The repository is available at http://download.opensuse.org/repositories/hamradio/ .
You can also install single packages via the 1-click-Installer of the software-search-portal at http://software.opensuse.org/search or add the repository to YaST2/zypper.
Open the repository editor and add http://download.opensuse.org/repositories/hamradio/<your distribution version>
10.1: zypper ar -r http://download.opensuse.org/repositories/hamradio/SUSE_Linux_10.1/hamradio.repo
10.2: zypper ar -r http://download.opensuse.org/repositories/hamradio/openSUSE_10.2/hamradio.repo
10.3: zypper ar -r http://download.opensuse.org/repositories/hamradio/openSUSE_10.3/hamradio.repo
11.0 zypper ar -r http://download.opensuse.org/repositories/hamradio/openSUSE_11.0/hamradio.repo
Here’s a list of available packages:
Thats > 80 packages in our repository.
I you find a bug you can report it HERE .
vy 73 es 55 de
DG7GT es DL9PF
I’ll be in Berlin on Thursday and Friday. As this is my first LinuxTag i’m really excited and looking forward to meet as many people from the “openSUSE universe” as I can find 😀 .
See you at the openSUSE booth!
Together with Tim Fischer I’m packaging hamradio-related software in the “hamradio”-repository in openSUSE Build Service. We are now prepairing updates and start of packaging for upcoming openSUSE 11.0 .
If you are interested in helping us, feel free to contact us! Also if you miss a package in our repo.
I’ll blog on the progress here …
Edit: The repository is http://download.opensuse.org/repositories/hamradio/