Ian Donnelly: Week 4: New Release Work
Hi All,
Team Elektra recently released version 0.8.6 to download, more information on that here: http://sourceforge.net/p/registry/mailman/message/32418614/
However, since I am working with Debian, and the Debian package isn t ready yet I have spent a large chunk of the week working on that. Namely I fixed a few minor lintian errors and worked on packaging the lua and python bindings for Elektra. These two packages, libelektra-python4 and libelektra-lua4 uses a tool called SWIG. SWIG allows C and C++ programs to connect to programs written in higher-level languages such as Python. So these two packages use the power of SWIG to bring the features of the Elektra API (which is written in C) to Python and Lua developers. I personally think it is a really neat feature and allows Elektra to be used more widely than ever before. As our project develops Elektra will support more languages and we are even moving to allowing Developers to write Elektra plugins using other languages.
Additionally, I worked on improving the MergeTools library for Elektra. This library just contains the necessary functions to allow developers to complete a three-way merge of KeySets. This library also serves as the backbone of the kdb merge command. First, the KeySetMerge command now returns an empty KeySet if its unsuccessful. I added operator overloads for == and != to the KeySet.hpp class so developers can tell if the returned keyset is empty. I created a new function that takes in 3 KeySets, their parent keys (for the purposes of merging), and a merge_root key which will be where the merged keys are stored under. The prototype for this function is KeySet(KeySet base, Key base_root, KeySet ours, Key our_root, KeySet theirs, Key their_root, Key merge_root). A function still exists that just takes in 3 KeySets and a key, merge_root. That function attempts to find each root key and then calls the previously mentioned function. Why?
This week I finalized the kdb merge command (not including options). This command takes in 4 root keys, one for base, one for ours, one for theirs, and one for where the merged keys should be stored. The merge command now uses the new function to be able to handle more complex KeySets and so far it works great! In this case we don t need to make any assumptions about the KeySet since the user needs to pass in the root keys (this is how the kdb commands typically work) so we make good use of this information. Now the kdb merge command only appends the merge KeySet to the database upon successful merge, otherwise it tells you what went wrong.
Also, looking into the main feature of my GSoC project, automatic conffile merging, it seems that it will require patching dpkg. Originally I though package maintainers would have to edit their packages to not define their conffiles as such in order to use the automatic merge. However this is obviously a messy workaround. Patching dpkg however would allow very clean integration of this feature. If this project is successful and the patch makes its way upstream, all Debian packages that utilize conffiles (most of them) will basically allow automatic merging practically overnight. dpkg would attempt a merge on the conffiles during an upgrade and if unsuccessful would just prompt the user like it does now. In most situations however, because of the features of Elektra, conffiles should merge fine. This would make Debian much more user-friendly and could save users a lot of time manually merging conffiles.
Oh, and look for a little tutorial and explanation of the kdb mount command in the next few days. I will post it here.
Until Then,
Ian S. Donnelly
Ian S. Donnelly
Since about a month, I've been working for a customer whose customer is
FedICT, and am now helping out with maintaining the official software
for the Belgian electronic ID card (eID). One of the first things I did
was revamp the way in which the official Linux binaries are built and
distributed, and also made work of the (somewhat overdue) new release
for Linux.
Previously, the
When I gave my Haskell Bytes talk on the runtime representation of Haskell values the first time,
When you type 





KDE
We will ship with at least KDE Applications 4.13, maybe some 4.14 things as well (if we are lucky, since Tanglu will likely be in feature-freeze when this stuff is released). The other KDE parts will remain on their latest version from the 4.x series. For Tanglu 3, we might update KDE SC 4.x to KDE Frameworks 5 and use Plasma 5 though.
GNOME
Due to the lack manpower on the GNOME flavor, GNOME will ship in the same version available in Debian Sid maybe with some stuff pulled from Experimental, where it makes sense. A GNOME flavor is planned to be available.
Common infrastructure
We currently run with systemd 208, but a switch to 210 is planned. Tanglu 2 also targets the X.org server in version 1.16. For more changes, stay tuned. The kernel release for Bartholomea is also not yet decided.
Artwork
Work on the default Tanglu 2 design has started as well any artwork submissions are most welcome!
Tanglu joins the OIN
The Tanglu project is now a proud member (licensee) of the
Maybe someone else is using iDataPlex HW, so this might come in helpful...
TL, DR: Dear Hardware Vendors! Please don't force people to use specific Linux distributions when a simple unzip command would do the same.
At work we run (amongst others) an HPC system consisting of 120 
So, it seems that for a lot of people using unstable,
hardware-related permissions (shutdown/reboot, suspend/hibernate,
devices mount/umount etc.) have been broken since some times.
That's usually the case for people using GNOME with lightdm
display manager, Xfce with either gdm or lightdm.
It seems that recently, policykit (which is used by GNOME and
Xfce) switched from consolekit backend to logind backend
(yeah, systemd-logind). So applications using policykit
needs to handle that correctly, and that means beeing sure a logind
session is correctly setup, which is done by installing the package
libpam-systemd.
For now, it's still possible to not switch to systemd as init
system, by installing the systemd-shim package before
libpam-systemd. Be aware that (at least with the current state of
affairs), this is only true with logind before 204. When systemd
maintainers start transitionning to a later version, only
systemd-sysv (so, systemd as init system) will work.
For people reluctant to switch to systemd, they can use
systemd-shim for now. Then when systemd 205+ enters the archive,
either lose those hardware permissions, or try to improve
systemd-shim to handle that situation.
There's not much we (Xfce/LightDM maintainers) can do about
that.