Neil Williams: Experimenting with TDebs
This is a short summary of how I'm currently experimenting with dpkg to generate, check and install TDebs in a pbuilder chroot. Do NOT use my modified version of dpkg outside a chroot!. Also, I don't expect any of this to be useful or usable by anyone not running Debian sid. If you're reading this via an aggregator other than planet.debian.org, please don't try this on your own systems. (Comments complaining that it breaks Ubuntu will be deleted - I'll have good fun laughing at you but the comments will still be deleted.)The code (such as it is) lives at git.debian.org and it's safe to build the package on the normal system, as long as you install it in the chroot. I actually use a --prefix to allow
sudo make installto copy the executables into the right places in the chroot. I find that quite simple to do via the terminal plugin in Anjuta.
Building a TDeb for the first time:
I expect lots of comments here, this probably won't be entirely workable initially, but the idea is to get the source for a package that has translations, that is easy and quick to build, few build dependencies and one with which you are already familiar. Adapt that package to support a TDeb by adding the relevant Package: to debian/control. All you need to include is: XC-Package-Type: tdeb and ensure that the new package is Architecture: all. Current convention is to call it $sourcepkg-tdeb. (Yes, although TDebs are initially going to be for debconf support in Squeeze+1, initial experimentation is with program translations because it's easier.)
/usr/share/emdebian-tools/dh_gentdeb (from the emdebian-tdeb package in Debian) can help prepare the translation files by creating the debian/$sourcepkg-tdeb/ directory hierarchy but you could also do the same by installing all /usr/share/locale/ content in the tdeb package in debian/rules or debian/foo.install. Remember to remove the translation files from any other package.
Building the TDeb should be as simple as:
dpkg-deb --tdeb -b debian/pilot-qof-tdeb ../pilot-qof-tdeb_0.1.7-1_all.tdeb
You do not need to build the source itself but you may want to do that for other reasons. You can then view the contents using:
dpkg-deb -c ../pilot-qof-locale_0.1.7-1_all.tdeb
or
ar -t ../pilot-qof-locale_0.1.7-1_all.tdeb
Install (dpkg -i ../pilot-qof-locale_0.1.7-1_all.tdeb --lang vi) used to work but I've messed up something there, so any ideas on what I've done wrong would be appreciated.
Subverting git with subversion
Yes, I'm a git phobe. Don't flame me and any comments about my git foo by the git fanboy contingent will also be deleted.
I have to use git for this because the dpkg maintainers like git. That doesn't mean I have to like it or even use it. So, I use a local SVN repository. I do all my development work against that (because it's more friendly) and make local commits to it. Then, when I'm reasonably happy with the results, I copy the files across into git, fake a git commit message that more or less covers the real changes and use a script to "push" git to do what I intended. If (more likely, when) git decides to be all unfriendly and throw a completely unintelligible error message, I simply rm -rf git/path/, check out a fresh git, copy the real stuff from SVN and send the lot back as a single commit to git. Hah!
(For those who are not so blinded by their git obsession that they may actually care about my process, I can only say that local SVN is blisteringly fast and never, ever, fails.)
In case you last tapping with your touchpad with the latest X.org update
in sid, you might want to read
This week seems like ugly fonts week.
First, KDE4 was uploaded to unstable. Now I'm not a KDE user, but I
do cherry-pick a few KDE applications which I find useful or
interesting, and use them in my IceWM environment; these are mainly
korganizer (with konsolekalendar in my .bashrc), kdebluetooth, and
digikam.
First thing I noticed is that something went horribly bad with the
fonts -- see
I just read that
It's been a long time since I've done any reasonable work on X stuff, so it's also been a long time since I've blogged. But Julien
I finally got around to pushing out a new version of
So, following the recent announcement that kde4 was uploaded to unstable, and following the positive feedback from Christian Perrier, I decided to give kde 4 a try.. Ironically, I am exactly in the same context as when I opened this blog, to complain about the state of kde 4 back at that time... So, I am quite satisfied by the current state. Clearly, it is usable, and most of the criticisms I had in the previous try are resolved now. Only the IRC plugin is still missing for Kopete. To me (...)
-
Since we uploaded Xfce 4.6 into Debian Sid, last week, not much
have happened to most people. We had some bug reports, but mostly
from amd64 users, because i386 and ppc packages are not yet
available. The aren't all built at the moment. You can follow the
build status
I bought a new machine recently; for the flat at present with the aim of it becoming an upgrade for the media box once my lease is up. Nothing spectacular;
With the new kernel-package hitting Sid today, and the fact that
it no longer does symlink handling by default, I thought it was
time that we had an example script that shows how to do that. This
is a fairly full featured script, feel free to cull down to use
just what you want.
I ll post a couple of ther scripts, if there is interest in
this. BTW, this script does far more than the old
Of course, the book is not actually about the painting that hangs in the
Art Institute of Chicago -- although it will certainly teach you more
than you probably ever wanted to know about that painting, its subjects,
its settings, etc. The book is really the story of how that paining has
been received, understood, and used. Nearly half of the book focuses on
examples of people who have remixed, reworked, reimagined, and
reproduced the painting in myriad forms, formats, settings, and ways.
The book contains scores of photographs of celebrities posing in
American Gothic style settings, dozens of political cartoons based on
the paintings, images of talk shows, magazine covers, Broadway plays,
product advertisements, toys, gifts, kitch, and more, done up in
recognizeable representations of the basic American Gothic form. There
is a very incomplete of references to