分类: LINUX
2013-08-17 15:06:04
After 2 years using the bundlesystem to reach a Gtk free filesystem hierarchy, we managed to create a distribution Gtk free by default.
Allmost all our packages in the rest of repositories are Gtk free but a little bunch (flash, gtk itself, pygtk)
However the BundleSystem has a big complexity so now we come with another implementation, so we can reach the same goal, in a quite easier solution, way more KISS code wise, and quite more flexible.
The EXTRA HIERARCHY, is a complete new hierarchy and a set of config files, allowing us to enjoy Gtk applicattions and many other packages, without installing a single file inside the natural FSH paths, but KDE components. Es axample, aMule installs now a Plasmoid, PlasmAmule, in the normal KDE path and FlashPlugin install it's KCM for systemsettings.
This is a quick draft of the extra hierarchy:
/extra
/extra/etc
/extra/bin
/extra/lib
/extra/usr
/extra/opt
Basically all the packages in this repository get installed inside /extra, leaving the natural filesystem intact. We keep out main repository free of Gtk packages, and the extra repository will not be enabled by default in a Chakra installation.
How to use it?
Basically the easier way is enabling the extra repository at /etc/pacman.conf by adding it in the end, above unstable. You also need to enable the testing repository, which should be added above all others. Then run
sudo pacman -Sy filesystem-extra
After this first step, a reboot is mandatory, and you can start installing packages from there.
Currently the repo is in a testing state. Don't expect there Gnome or Enlightenment or Banshee, the goal of the extra repository is replacing the bundlesystem in a way more elegant and flexible way, so you will have for now the same packages as in the bundles repository or even less.
Chrome has been discarded, our Choice for extra is Chromium, you can find there Gimp, Firefox-KDE, Inkscape, aMule, FileZilla, wxMaxima, Thuderbird, Bluegriffon, Ardour, Audacity, Gcompris, and Pidgin for now.
We will add more as needed, when there's none replacement for a package in Qt/KDE as with the bundles, so don't expect there music payers as we have VLC; CLementime, Amarok, etc the Chakra team will decide if we add someday more packages to this repository.
Use this thread for reporting issues.
Possible issues and workarounds:
* After installing a package, it's desktop doesn't show.
Solution: run kbuildsycoca4 (and report here so we can fix)
* A package tells me it does not finds a library
Solution: run sudo ldconfig (and report here so we can fix)
* Flashplugin from extra doesn't work
Solution: ensure we have the last mozilla-common package from platform mozilla-common 1.4-2
else, install it and reboot
* Oxygen-Gtk2 engine from /extra does not works
Solution; export GTK_PATH="/extra/usr/lib/gtk-2.0/2.10.0/"
(next reboot, after updating filesystem-extra it will work as expected)
* Firefox / Thunderbird / Bluegriffon are not using my Gtk theme
Go to systemsettings > applications appearance.> gtk , select another icons theme, apply,
select back oxygen, apply.
* Gtk applications running with SUDO are unable to use themes.
Solution: use KDESU to launch the application as SU.
Let's hope you like this new approach. Enjoy!