Julian Andres Klode: apt-show-versions rewrite in C++ (more than 10 times faster)
Please also note that support for allversions is not 100% implemented yet, but it should work for most uses. Now, go testing and report back!
Filed under: Debian
Finally, finally, I've got a car. I had this grand plan of using a
friend of a friend who was a car buyer to source me a car and have it ready
for me at the airport when I arrived. That didn't work out so well, so I
resorted to carsales.com.au and
found something very quickly. I could have bought it last Friday, if I'd
wanted to forego the RACQ
inspection, but I hate used cars at the best of times, and so I want to do
what I can do avoid buying a lemon, so I had to wait until Monday for the
inspection.
I got the report in the early afternoon on Monday, and the only thing it
highlighted was a bit of oil on the front differential housing. I contacted
the dealer and he said he'd get it looked at. I got an SMS from him on
Tuesday morning saying the car would be ready after 3pm, but by the time I
could arrange with Kristy for a ride, we just missed the bank, so I couldn't
get the bank cheque to pay for it, so we rescheduled for this morning.
The shipping container was delivered to Sarah's place on Monday, and there's
been a steady stream of boxes arriving at my place. It was good to be able
to transport some of those myself today, and there'll be more to move
tomorrow. I need to sort out storage options, because one thing I don't want
is for there to be too much clutter in my home. I think there'll be another
trip to IKEA in my near future. At least I can do that all on my own now.
It's so great to have independent mobility again.
I bought a ScanJet N6350 a few years back, in the belief that it
would work. After all, you write free Linux drivers for all your
printers, and when those printers are multifunctional printers with
scanners, you do make sure the scanner bits of those printers work too.
So it shouldn't be too hard to write a Linux driver for that scanner
too, right?
Apparently it is. For some reason that I can't imagine, you decided
that my money is worth more than my stress levels.
| Artist: | Gahan Wilson |
| Publisher: | Subterranean |
| Copyright: | 2009 |
| Printing: | 2012 |
| ISBN: | 1-59606-479-X |
| Format: | Kindle |
| Pages: | 32 |
I like it very much
Working with dak is not exactly fun. The documentation is not that awesome, and dak contains many hardcoded stuff for Debian, e.g. it often expects the unstable suite to be present. Also, running dak on Debian Wheezy turned out to be a problem, as the Python module apt_pkg changed the API and dak naturally had problems with that. But with the great help of some Debian ftpmasters (many thanks to that!), dak is now working for Tanglu, managing the whole archive. There are still some quirks which need to be fixed, but the archive is in an usable state, accepting and integrating packages.
The work on dak is also great for Debian: I resolved many issues with non-Debian dak installations, and made many parts of dak Wheezy-proof. Also, I added a few functions which might also be useful for Debian itself. All patches have of course been submitted to upstream-dak.
This is also nearly finished
The Tanglu metapackages have been published in a first alpha version. We will support GNOME-3 and KDE4, as long as this is possible (= enough people working on the packaging). The Tanglu packages will also depend on systemd, which we will need in GNOME anyway, and which also allows some great new features in KDE.
Side-effect of using systemd is at least for the start that Tanglu boots a bit slow, because we haven t done any systemd adjustments, and because systemd is very old. We will have to wait for the systemd and udev maintainers to merge the packages and release a new version first, before this will improve. (I don t want to do this downstream in Tanglu, because I don t know the plans for that at Debian (I only know the information Tollef Fog Heen & Co. provided at FOSDEM))
The community
The community really surprised me! We got an incredible amount of great feedback on Tanglu, and most of the people liked the idea of Tanglu. I think we are one of the less-flamed new distributions ever started
Something else
I am involved in Debian for a very long time now, first as Debian Maintainer and then as Debian Developer and I never thought much about the work the Debian system administrators do. I didn t know how dak worked or how Wanna-build handles the buildds and what exactly the ftpmasters have to do. By not knowing, I mean I knew the very basic theory and what these people do. But this is something different than experiencing how much work setting up and maintaining the infrastructure is and what an awesome job the people do for Debian, keeping it all up and running and secure! Kudos for that, to all people maintaining Debian infrastructure! You rock! (And I will never ever complain about slow buildds or packages which stay in NEW for too long
)
I've occasionally used KPhotoAlbum for a few years and eventually added many tags to the pictures.
But I've decided I wanted to try other tools, and digiKam seems to be the best option from the many reviews I've read.
Still, there's apparently no automatic feature to import into digiKam the tags set in KPhotoAlbum.
Fortunately, some smart people have implemented Perl tools allowing to overcome this issue.
The process involves modifying the pictures to save the tags inside the files, using the IPTC standard. Then, digiKam will be able to load the tags from the modified files.
Here's a copy of the (translated) kphotoalbum2iptc.pl script (the original as in french) I copied from this blog post (in french too).
I've been able to generate .deb packages for the required 2 perl libs dependencies using the method described in the referenced post , with : dh-make-perl --build --cpan Image::Kimdaba and dh-make-perl --build --cpan Image::IPTCInfo
I'd decided ahead of time that I wanted to use Internode as my ISP, and had ordered a
Naked DSL service from them and also decided to bundle my mobile phone with
them as well. For reasons that only made sense to me 7 years ago, I've been
paying Telstra to keep my mobile number going, but I've long since lost the
SIM. My current phone has a micro-SIM anyway, so I needed a replacement SIM.
My grand plan had been to order the SIM, order the number port from Telstra
to Internode, and then, well, profit from the moment I stuck the SIM in my
phone. Unfortunately the port didn't go through as planned, and I was left
incommunicado for the better part of two and a half days. I felt like I had
my hands tied behind my back not having a mobile data service. It was also
mildly annoying not being able to call people or be contactable, given the
amount of running around I was doing. But it got resolved and is fast
becoming a distant memory.
The DSL service required a Telstra technician to come out (I'm not actually
sure why) and that was scheduled for Thursday. I happened to catch him while
he was at my building's MDF, and had a bit of a chat with him. He was a
Scotsman, and I didn't get all the details, but he was going on about how he
was only there to operate on the exchange side of the MDF, and I'd have to
get someone else to jumper it up to my apartment.
This wasn't what I expected from an installation service, but sure enough
when I finally got around to plugging the ADSL modem in on Saturday morning,
there was no line sync to be had. A call to Internode confirmed that he'd
only jumpered it up to exchange side of the MDF.
What was even more annoying was I'm pretty sure I saw him yanking out jumper
wires from the MDF when he was working on it. Jumper wires that connected
the exchange side of the MDF to my apartment.
I was not thrilled with the idea of waiting (and paying) for a cabling
contractor to come out and hook up a couple of bits of jumper wire, so I put
out a call on Facebook for a Krone tool and a tone generator, and Brent was
able to come through for me. He dropped the gear around while I was out
shopping with Kristy, and when we got back, I located the pair for my unit,
and rejumpered the existing jumper wire that I'm pretty sure the Telstra
technician had disconnected. Lo and behold, my ADSL started working. I felt
pretty proud of myself. It's fun operating at Layer 1 every now and then.
The FRITZ!Box
Fon WLAN 7270 is quite the beast of a box. Not only is it an ADSL modem,
it's a wireless router, DECT base station, VoIP thingy and an answering
machine! I've managed to connect my Engin account up to it, so once I get a
DECT handset, I'll be able to make VoIP calls through it. I don't need to
run Asterisk any more.
On Monday I took part in my first triathlon, a "sprint" distance race organised by Thames Turbo Triathlon Club.
(Full results)
I was really not doing well by yesterday, I had developed quite the runny
nose. I've discovered that it's neigh on impossible (from my sample set of
two pharmacies) to get pseudoephedrine over the counter in this country. In
the US, you have to provide ID and they report all purchases to the
government and if you start buying too much, they come and kick down the
door of your meth lab. Here, you seem to need a prescription. One pharmacy
told me that 1 in 10 pharmacies will sell it over the counter. I ended up
with the Australian equivalent of Afrin, which I
don't particularly like, but it at least dried up my nose. Discussions on
Facebook suggest that I may have been dealing with second-rate pharmacies,
and the "big ones" would be more useful. I was also advised to try begging
and pleading for Claritin-D. The damn meth labs have ruined it for
everybody. It's too bad they can't come up with an additive that is safe to
ingest, but would fuck up the meth cooking process.
Not content with only two marathon shopping days, Kristy came back for a
third day of driving me all around town, as my quest for a sofa bed and a
dining table continued.
It turns out that one does not simply walk into a furniture store and walk
out with a sofa bed (or a dining table, for that matter). These things all
seem to be on boats from China, or at best interstate warehouses, and most
places can sell you something they know is in transit at best, but they're
loathe to sell floor stock (for obvious reasons), and they seem to not have
anything in a Brisbane warehouse (plenty of stuff was in Sydney or Melbourne
and they'd ship it up). Plushhad a
chaise sofa bed that had a nice sprung mattress, and was due in late this
month or early next, and they would lend me something in the meantime, so
they got my business. I look forward to having something to sit on.
We then had an epic time at Bunnings getting all sorts of random household
stuff, with the obligatory sausage sizzle before and after. Oh, how I have
missed proper sausages! It turns out I'm looking for something that doesn't
seem to exist over here, Rubbermaid don't seem to make the plastic "shed"
cupboards in Australia, so I'll have to look elsewhere (Clark
Rubber seems to make something approximately like what I'm looking for).
Then I picked up some towels from Westfield Chermside and resumed the
search for a dining table. I was really liking the idea of at least one
bench seat, and we finally found a matching table, a bench seat, some
shelving and a coffee table that would work as an entertainment unit, at OZ Design Furniture. They
had a 20% off sale that made it all fairly reasonable. The entertainment
unit was available immediately, and the rest of the stuff should be
delivered in a couple of weeks. That just leaves finding some dining chairs
that will go with it.
OZ Design Furniture had the most unusual delivery charging system. They
charge by the flight of stairs. Living on the 2nd floor does have its
disadvantages. At least I won't be moving out of here any time soon.
By the end of the day, I was totally done, but very happy to have finally
sorted out the elusive remaining bits of furniture. I had my first night
sleeping in my new home.
According to the update here, the signing keys are supposed to be replaced by the hardware vendor. If vendors do that, this ends up being uninteresting from a security perspective - you could generate a signed image, but nothing would trust it. It should be easy enough to verify, though. Just download a firmware image from someone using AMI firmware, pull apart the capsule file, decompress everything and check whether the leaked public key is present in the binaries.
Not content with just one day of driving all over town, Kristy came back for
another day of it.
I decided that rather than specifically shopping, I needed to do some of the
more bureaucratic stuff, so that I could ensure things like the electricity
could get put on in my name. I determined that in order to get the
electricity in my name, I'd need to provide either a driver's licence number
or Medicare card number. Unfortunately I remember separating my expired ACT
licence and Medicare cards from my other random cards while I was packing up
my temporary apartment in the US, but I can't for the life of me recall what
I did with them, so our first port of call was the Department of Transport
in Zillmere to get a new licence.
Talk about a painless experience. The most annoying thing was that on
Wednesdays they open at 9:30am instead of 8:30am. We got there at 9:10am. I
had Zoe with me, and Kristy had her daughter, and they happily played while
we waited outside.
I just had to fill out a fairly simple form, and I was called up promptly
and there were no problems at all. In under 30 minutes of walking in the
door, we were driving away with a temporary licence. Vastly different from
my experience with the DMV. I'll
get the genuine article in the mail in a few weeks.
Then we headed over to Westfield Chermside to go
to Medicare,
Medibank Private, and as I was
growing frustrated with how long my mobile phone number was taking to port
from Telstra to Internode, a Telstra Shop to try and get a replacement
Telstra SIM.
This is where I ran into more of a bureaucratic brick wall.
For Medicare, I wanted to get my own Medicare card (and number) again,
instead of a shared one, and so I essentially had to re-apply. They wanted
more than just a passport entry stamp and something with an address on it.
They wanted specific documents with an address on it, and an offer letter to
show I was employed, so I had to leave there empty handed.
Medibank Private was even worse. In a "shut up and take my money!" kind of
moment, they told me to prematurely unsuspend a suspended policy, I needed
to request a document from the Department of Immigration that showed my
international movements to confirm that I was indeed back in the country.
I've always found this somewhat ironic, given I'm sitting in front of a
Medibank Private employee when they're telling me this, and I'm trying to
give them money.
So I left there empty handed as well.
I grabbed some cutlery and crockery from Big W.
The Telstra Shop had a 45 minute wait, and as I didn't want to over-stretch
Zoe, we headed back to my parents. I took the opportunity to open an
electricity account with AGL, now that I had a driver's licence number. Zoe
declined to take a nap, and was having a good time playing with Kristy's
daughter, and they both wanted to stay at my parent's place, so we left them
there and dashed over to Ikea to rectify the bed slat issue.
While we were at Ikea, my number finally ported across and my phone started
working, which was a huge relief. Being uncontactable during a period of
many interactions with random people was highly frustrating for me. Not
having mobile Internet access for a few days of extreme mobility showed how
much my phone is an extension of my brain.
I also picked up a bunch of other random stuff from Ikea, stools that hadn't
been in stock the day before, drinking glasses, that sort of thing. We then
dropped all that off at the apartment before heading back to my parents'
place.
So it was another busy day of running all over town, and again, I'm very
grateful to Kristy for volunteering her time to make it happen. Most notable
accomplishments: complete bed for Zoe, electricity, and a working mobile
phone.
Seeing what has been posted recently in planet.d.o, I would like to share as well my thoughts and work-flow, and tell that I do agree with Joey Hess on many of his arguments. Especially when he tells that Debian fetishises upstream tarballs. We re in 2013, at the age of Internet, and more and more upstream authors are using Git, and more and more they don t care about releasing tarballs. I ve seen some upstream authors who simply stopped doing so completely, as a Git tag is really enough. I also fully agree than disk space and network speed isn t much of a problem these days.
When there are tags available, I use the following debian/gbp.conf:
[DEFAULT] upstream-branch = master debian-branch = debian upstream-tag = %(version)s compression = xz [git-buildpackage] export-dir = ../build-area/On many of my packages, I now just use Git tags from upstream if they are available. To make it more easy, I now nearly always use the following piece of code in my debian/rules files:
DEBVERS ?= $(shell dpkg-parsechangelog sed -n -e 's/^Version: //p')
VERSION ?= $(shell echo '$(DEBVERS)' sed -e 's/^[[:digit:]]*://' -e 's/[-].*//')
DEBFLAVOR ?= $(shell dpkg-parsechangelog grep -E ^Distribution: cut -d" " -f2)
DEBPKGNAME ?= $(shell dpkg-parsechangelog grep -E ^Source: cut -d" " -f2)
DEBIAN_BRANCH ?= $(shell cat debian/gbp.conf grep debian-branch cut -d'=' -f2 awk ' print $1 ')
GIT_TAG ?= $(shell echo '$(VERSION)' sed -e 's/~/_/')
get-upstream-sources:
git remote add upstream git://git.example.org/proj/foo.git true
git fetch upstream
if ! git checkout master ; then \
echo "No upstream branch: checking out" ; \
git checkout -b master upstream/master ; \
fi
git checkout $(DEBIAN_BRANCH)
make-orig-file:
if [ ! -f ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] ; then \
git archive --prefix=$(DEBPKGNAME)-$(GIT_TAG)/ $(GIT_TAG) xz >../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ; \
fi
[ ! -e ../build-area ] && mkdir ../build-area true
[ ! -e ../build-area/$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] && cp ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ../build-area true
Packaging a new upstream VERSION now means that I only have to edit the debian/changelog, do ./debian/rules get-upstream-source so that I get new commits and tags, then git merge -X theirs VERSION to import the changes, then finally invoke ./debian/rules make-orig-file to create the orig.tar.xz. My debian branch is now ready for git-buildpackage. Note that the sed with the GIT_TAG thing is there because unfortunately, Git doesn t support the ~ char in tags, and that most of the time, upstream do not use _ in version numbers. Let s say upstream is releasing version 1.2.3rc1, then I simply do git tag 1.2.3_rc1 1.2.3rc1 so that I have a new tag which points to the same commit as 1.2.3rc1, but that can be used for the Debian 1.2.3~rc1-1 release and the make-orig-file.
All this might looks overkill at first, but in fact it is really convenient and efficient. Also, even though there is a master branch above, it isn t needed to build the package. Git is smarter than this, so even if you haven t checked out upstream master branch from the upstream remote, make-orig-file and git-buildpackage will simply continue to work. Which is cool, because this means you can store a single branch on Alioth (which is what I do).
phpMyAdmin 4.0-rc1 is out and it's really time to work on translations if you want them to be ready for final release..
So let's look at which translations are at 100% right now (new ones are bold):
Filed under: English Phpmyadmin 0 comments Flattr this!
Today Thursday April 4th I give a talk at Distro-recipes in Paris
about Debian Pure Blends.
Slides and sources for them.
Next.