Home Home
Sign up | Login

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

Author Archive

Cast your vote !

October 21st, 2008 by

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 !

Geeko Vote!

Because of the power outage the deadline has been extended and ballots will close 1200UTC Saturday 25th October .

Here’s the link to users.opensuse.org .

Developing with libyui/libzypp & python – part3

October 3rd, 2008 by

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

(more…)

Developing with libyui/libzypp & python – part2

September 23rd, 2008 by

In part 1 we installed and tested libyui and its python binding. Now let’s take a closer look at its usage.


(more…)

Developing with libyui/libzypp & python – part1

September 14th, 2008 by

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.
(more…)

arm worker on i586 host

September 1st, 2008 by

Last week I joined the obs-cross “task-force” 😉 and Martin Mohring posted two nice articles about it ([1] [2]).

Today I played with it and got a i586 worker to build for arm.

Here’s a summary what I did:

  • Installed a cross-obs, as done in Martin’s article
  • Copied init_basesystem and build from /usr/lib/build/ to /usr/obs/server/build (to have the same changes as for ‘osc build’ for the worker)
  • search for “my %cando” in bs_dispatch, bs_repserver and bs_worker and change 2 lines to:

  • 'i586' => ['i586', 'armv4l'],
    'i686' => ['i586', 'i686', 'armv4l'],

  • (note: this is just a hack to get it running – our obs-experts are already working on a smarter solution)
  • update: not needed anymore!: added BUILD_USER=root at line 1201 in file /usr/obs/server/build/build to make dh_testroot happy (HACK!)
  • update: use this! Edit /usr/lib/obs/server/build/build , uncomment line with “-rfakeroot” and comment out next line. Also replace “-rfakeroot” with “-rfakeroot-tcp”
  • run sh /usr/sbin/qemu-binfmt-conf.sh
  • start the worker (on the same machine! – otherwise at least install the mentioned qemu!)
  • 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.

    Hackweek review

    September 1st, 2008 by

    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:
    collage

    GUI with python and libyui

    August 7th, 2008 by

    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!).
    Dependency:
    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:
    python widget.py

    b) with ncurses/konsole GUI:
    export DISPLAY2 = $DISPLAY; unset DISPLAY; python widget.py ; export DISPLAY=$DISPLAY2 ; unset DISPLAY2

    Have Phun!
    Edit:
    Here’s a screenshot,
    Screenshot

    Hamradio packages ready !

    June 19th, 2008 by

    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.

    YaST2:

    Open the repository editor and add http://download.opensuse.org/repositories/hamradio/<your distribution version>

    Example: http://download.opensuse.org/repositories/hamradio/openSUSE_11.0/

    zypper:

    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:

    7plus
    acfax
    aldo
    aprsd
    as296-tty
    ax25-apps
    ax25-doc
    ax25spyd
    ax25-tools
    axssh
    axw3
    baken
    baycomepp
    conlogv
    cwdaemon
    digi_ned
    dpbox
    dxc
    fbbdoc
    fbbsrv
    fldigi
    fltk
    fpac
    glfer
    gmfsk
    gnuradio
    gpredict
    gpsk31
    gpsman
    gpsmanshp
    grig
    HamFax
    hamlib
    hamlog
    hf
    ibp
    kamplus
    klog
    kpsk
    kptc
    ktrack
    libax25
    libgdal
    libgeos
    libgeotiff
    libhdf4
    libproj4
    linkt
    linrad
    minimuf
    mtrack
    multimon
    node
    qgrid
    qrq
    qsstv
    rspfd
    sdcc
    shapelib
    soundmodem
    spandsp
    splat
    svxlink
    tfkiss
    tkconv
    tlf
    tnt
    twpsk
    unixcw
    wxapt
    xastir
    xcall
    xcircuit
    xconvers
    xdemorse
    xdx
    xfhell
    xlog
    xoscope
    xsmc-calc
    xwxapt
    yfklog
    z8530drv-utils

    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’m going to LinuxTag ;)

    May 28th, 2008 by

    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!

    Hamradio packages for openSUSE 11.0

    May 13th, 2008 by

    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/