[prev in list] [next in list] [prev in thread] [next in thread]
List: klik-devel
Subject: [klik-devel] New klikutils version
From: Lionel Tricon <lionel.tricon () free ! fr>
Date: 2007-03-09 15:05:33
Message-ID: 200703091605.33806.lionel.tricon () free ! fr
[Download RAW message or body]
New version of the klikutils bundle which brings some interresting features :
- You can now relocate the /opt/klikutils directory : You need to specify it
into the -u parameter (so you can put the zAppRun script where you want)
- All the wrapper scripts are now located outside the cmg file and then can be
modify more easily (/opt/klikutils/sh directory)
For the moment, the informations which are used to specify what binary should
be run are available in plain text inside the cmg file.
# cat /etc/klik.conf
export KLIK_APPNAME="/opt/kde3/bin/kdissert"
export KLIK_APPRUN="/opt/kde3/bin/kdissert"
export KLIK_APPPATH=":/opt/kde3/bin"
export KLIK_APPLIBRARY=":/opt/kde3/lib/kde3"
The job of the /opt/klikutils/sh/wrapper.env script is to parse this file to
export all these variables.
If the format of the /etc/klik.conf file change in the futur (for example, for
an xml file), we just have to modify this script to parse in a different way
the klik.conf file (or an another name if you have a better idea).
For example, we could reuse the following :
http://linuxfromscratch.org/pipermail/alfs-discuss/2006-January/007537.html
Important to know that the path of the klikutils bundle is added on the fly by
fuseiso at the end of the wrapper.env script to export the KLIK_BASENAME
variable.
lionel@linux:~> cat /opt/klikutils/sh/wrapper.env
test -f /etc/klik.conf && . /etc/klik.conf
lionel@linux:~> cat /tmp/app/1/mnt/wrapper.env
test -f /etc/klik.conf && . /etc/klik.conf
export KLIK_BASENAME=/opt/klikutils
To test it, please go to http://lionel.tricon.free.fr/KLIK/ as usual.
I this version, the zAppRun script is available directly into
the /opt/klikutils/sh directory.
To test the kdissert cmg file in a graphical way under kde, change the
~/.kde/share/applnk/.hidden/AppRun.desktop file to change the manner how
zAppRun is calling (Exec=/opt/klikutils/sh/zAppRun %U).
The klikutils bundle contains now the following :
/opt/klikutils/
/opt/klikutils/sh
/opt/klikutils/sh/wrapper.chroot
/opt/klikutils/sh/wrapper.env
/opt/klikutils/sh/zAppRun
/opt/klikutils/sh/wrapper
/opt/klikutils/bin
/opt/klikutils/bin/chroot
/opt/klikutils/bin/fuseiso
/opt/klikutils/bin/fusermount
/opt/klikutils/lib
/opt/klikutils/lib/fakechroot
/opt/klikutils/lib/fakechroot/libfakechroot.so
If you have any questions or suggestions, don't hesitate to contact me.
Lionel
_______________________________________________
klik-devel mailing list
klik-devel@kde.org
https://mail.kde.org/mailman/listinfo/klik-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic