Junichi Uekawa: Debconf ticket.
Debconf ticket.
Finally my schedules are fixed, I'm now looking for a ticket to EZE.
It's looking less easy to get a ticket but it's still doable at this point.
Debconf ticket.
Finally my schedules are fixed, I'm now looking for a ticket to EZE.
It's looking less easy to get a ticket but it's still doable at this point.
I've setup several repositories for apt-get in the past, usually using reprepro as the backend. Each time I've come up with a different scheme to maintain them.
Time to make things consistent with a helper tool:
skx@gold:~/hg/rapt$ ls input/ spambayes-threaded_0.1-1_all.deb spambayes-threaded_0.1-1.dsc spambayes-threaded_0.1-1_amd64.build spambayes-threaded_0.1-1.dsc.asc spambayes-threaded_0.1-1_amd64.changes spambayes-threaded_0.1-1.tar.gzSo we have an input directory containing just the package(s) we want to be in the repository. We have an (empty) output directory:
skx@gold:~/hg/rapt$ ls output/ skx@gold:~/hg/rapt$Now lets run the magic:
skx@gold:~/hg/rapt$ ./bin/rapt --input=./input/ --output=./output/ Data seems not to be signed trying to use directly... Data seems not to be signed trying to use directly... Exporting indices...What do we have now?
skx@gold:~/hg/rapt$ tree output/
output/
-- dists
-- etch
-- Release
-- main
-- binary-amd64
-- Packages
-- Packages.bz2
-- Packages.gz
-- Release
-- source
-- Release
-- Sources
-- Sources.bz2
-- Sources.gz
-- index.html
-- pool
-- main
-- s
-- spambayes-threaded
-- spambayes-threaded_0.1-1.dsc
-- spambayes-threaded_0.1-1.tar.gz
-- spambayes-threaded_0.1-1_all.deb
neat.
Every time you run the rapt tool the output pool and dists directories are removed and then rebuilt to contain only the packages located in the incoming/ directory. (More correctly only *.changes are processed. Not *.deb.)
This mode of operation might strike some people as odd - but I guess it depends on whether you view "incoming" to mean "packages to be added to the exiting pool", or "packages to take as the incoming input to the pool generation process".
Anyway if it is useful to others feel free to clone it from the mercurial repository. There is no homepage yet, but it should be readable code and there is a minimum of supplied documentation in the script itself ..
ObQuote: Buffy. Again.
Late last year, I spent some time disentangling
aptitude's internal UI library and packaging it as a
separate library, which I named cwidget. This article
is the first in what will hopefully become a series describing the
basic concepts and APIs of cwidget. It applies to the versions of
cwidget currently available in Debian sid and lenny, 0.5.11-1 and
0.5.12-1. Autogenerated documentation of cwidget can be found
here (but beware that as of this writing it is
somewhat incomplete).
The first thing to do is to include the portions of cwidget that our
program will use. Most importantly, we need the top levelcwidget routines. These are the global routines that initialize cwidget, shut it down, and control its main loop (among other things).
cwidget comes with a collection of stock#include <cwidget/toplevel.h>
dialog boxesfor things like displaying messages to the user. To access the routines that build these dialogs, we write:
All the symbols provided by the cwidget library are in the#include <cwidget/dialogs.h>
cwidget
namespace. Using the full library name means that there's a
reasonable chance that its names will not conflict with the names
provided by other libraries; however, it's a real pain to type
cwidget over and over. Since this is the only namespaced library we
are using in this program, it's handy to define cw as an alias for
cwidget:
Now we're ready to write the main routine. The first interaction of client code with the cwidget library is to initialize it. This will initialize the ncurses library and put the terminal into a mode suitable for a full-screen curses program.namespace cw = cwidget;
Next, we create a dialog box that will be displayed to the user. There are two things to note about this code:cw::toplevel::init();
ok() routine expects the
message string to be a wide-character string. In this case, that
means that we need to pass in a wide-character string (indicated
by typing L in front of the string).okbutton is pressed. The expression
sigc::ptr_fun(cw::toplevel::exitmain);
creates a slot using libsigc++. Briefly, a slot is a
reference to a function or to a method of a class instance.
When invoked, this particular slot will call
cwidget::toplevel::exitmain(), which causes the main cwidget
loop to exit. The slot is wrapped in cwidget::util::arg, a
utility function that handles passing slots as optional
arguments.Now that we have a widget, the next step is to arrange for it to appear on the terminal. In cwidget, control of the terminal is assigned to a singlecw::widgets::widget_ref dialog = cw::dialogs::ok(L"Hello, world!", cw::util::arg(sigc::ptr_fun(cw::toplevel::exitmain)));
top-levelwidget: whatever it displays is what gets displayed on the terminal, and all user input is passed directly to it. In a real program this widget will typically manage a collection of sub-widgets and assign each one a screen region, but for now let's just display the dialog box we created:
With everything initialized, we're ready to start the main loop.cw::toplevel::settoplevel(dialog);
mainloop() will keep the display up-to-date and dispatch incoming
events (for instance, keystrokes and mouse presses) until exitmain()
is invoked.
When the user presses Enter or clicks on the Ok button in the dialog,cw::toplevel::mainloop();
exitmain() will be invoked by the binding that we set up earlier.
Once this happens, we need to shut down cwidget in order to restore
the terminal to its original state. If you skip this step, the
terminal will be garbled and will not work properly when your program
exits.
And that's it! To compile the program, change to the directory containing hello.cc and run:cw::toplevel::shutdown();
Of course, you'll need to have the g++ and libcwidget-dev packages installed for this to work!$ g++ -o hello hello.cc $(pkg-config --cflags --libs cwidget)
About a month ago, I bought me a Samsung
YP-T10 media player. I didn't want a device for which the Linux
and/or Ogg Vorbis support was against the explicit wishes of the
device's manufacturer, such as in the case of the iPod; because the more
devices such manufacturers sell, the more they're encouraged to keep
their systems closed. Definately not something I'd like to see.
In that regard, the YP-T10 is pretty okayish. It supports Ogg Vorbis
out of the box, and it has a reasonable set of features for a portable
media player. It's not perfect, but it goes a long way. The set of
features on the device is simply astonishing; apart from the obvious
music playback stuff, it sports an FM radio, a text file reader, a voice
recorder, a picture viewer, and a movie player. Given the size and
clarity of the screen, this is actually a useful way to view a movie
clip, too, although not a very comfortable one. Apart from the obvious
USB cable, the device also has bluetooth connectivity which can be used
to send and receive files, or to connect a bluetooth
headset—especially interesting if you consider the modern stereo
headphones that sound just like 'normal' headphones. Once you upgrade
the firmware, the device gains the ability to play a few games, and to
store vCard files. Very impressive, for such a small device.
Unfortunately, not all is well. There's an RSS reader thingy on the
device, which could be interesting; but it only works in companion with
a Windows program, which obviously doesn't run on my (powerpc) laptop.
There's only one way to charge the battery, and that's by connecting the
device to a USB port. Unfortunately, that also means you cannot use the
device while it's charging, since it switches to the MTP mode in which
to receive files. That also goes for bluetooth, BTW -- if you're playing
something, and the device receives bluetooth data, the playback is
paused until receiving that data is finished.
The USB cable is a nonstandard one. Given my track record of losing
cables and stuff, I'm sure I'll get in trouble at some point.
Hopefully Samsung will still sell those at that point. If not, well, I
guess I'll see what happens then. Another point of this cable is that
it's impossible to remove it from the device while the headphones are
connected; you have to push a button which is physically placed in the
direction of the headphone connector, about a millimeter away from
it—not very interesting if I just want to connect the device to
store one or two media files on there...
The headphones that came with the device were not too bad, but the
protective sleeves that came with it were too loose; after about a week
or so, I'd lost both of them and had to buy me a new set of headphones.
Luckily, that involves a simple standard headphone connector,
so no problem there.
All these are just minor annoyances, however. I don't really
need an RSS reader, anyway. What really is a problem
is the lack of tag support in Ogg files; while I can at least play them,
the display will show 'Unknown' for artist, album, or title for any Ogg
file—which is a real PITA.
Altogether, however, I don't think the disadvantages of the device
outweigh the advantages, and I've had quite some fun with it already.
Having said that, given the lack of tag support in Ogg files, I don't
feel I can really recommend it, at least not if you want to use it to
play your Ogg Vorbis collection.
$ kill -l 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2 13) SIGPIPE 14) SIGALRM 15) SIGTERM 16) SIGSTKFLT 17) SIGCHLD 18) SIGCONT 19) SIGSTOP 20) SIGTSTP 21) SIGTTIN 22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ 26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGIO 30) SIGPWR 31) SIGSYS 34) SIGRTMIN 35) SIGRTMIN+1 36) SIGRTMIN+2 37) SIGRTMIN+3 38) SIGRTMIN+4 39) SIGRTMIN+5 40) SIGRTMIN+6 41) SIGRTMIN+7 42) SIGRTMIN+8 43) SIGRTMIN+9 44) SIGRTMIN+10 45) SIGRTMIN+11 46) SIGRTMIN+12 47) SIGRTMIN+13 48) SIGRTMIN+14 49) SIGRTMIN+15 50) SIGRTMAX-14 51) SIGRTMAX-13 52) SIGRTMAX-12 53) SIGRTMAX-11 54) SIGRTMAX-10 55) SIGRTMAX-9 56) SIGRTMAX-8 57) SIGRTMAX-7 58) SIGRTMAX-6 59) SIGRTMAX-5 60) SIGRTMAX-4 61) SIGRTMAX-3 62) SIGRTMAX-2 63) SIGRTMAX-1 64) SIGRTMAXSee the man pages for init(8), kill(1), and especially signal(7) for more info on this topic. Syndicated from Craig Sanders' Errata: Tech Notes and Miscellaneous Thoughts Introduction to Linux Signals 101
debian/rules file. This upload is targeted lenny. Highlights of that upload include:
ffmpeg-doc 438369ffmpeg-debianDEB_BUILD_OPTIONS=noopt now compiles the package with -O0 (and works!)debian/rules file was refactored so that flavors can easily be added. The flavors are architecture specific. All architectures support a static and a dynamic flavor. The following architectures support the following flavors:
wget
http://download.geofabrik.de/osm/europe/italy.osm.bz2bunzip2 italy.osm.bz2 (this might not be
needed)osm2pgsql -c /store/italy.osm (you should not use
-m with gpsdrive)~/.gpsdrive/osm.xml.
I just uploaded belpic 2.6.0-4, with a few minor changes, and one
major one.
The minor changes are, first, a fix to beid-register-pkcs11.html so
that it tries to install libbeidpkcs11.so.2, rather
than just the .so file, into iceweasel; otherwise you have to install
the -dev package (or manually install the library, or change the .html
file) to be able to use beid in your browser. Second, there were some
typo fixes of which a bugreport had been open embarrasingly long.
Oops.
The major change, however, is the fact that the debian packages now
no longer have support for OpenCT as an alternative to PC/SC Lite. This
isn't actually supported by the belpic upstream; and while the Debian
packages did include support for such cardreaders, I do have a feeling
that it was causing some problems.
So why did I include it in the first place, you ask? Well, because my
very own cardreader wasn't supported by PC/SC Lite. You see, when I
originally packaged the eID software back in 2004, most people didn't
have an eID yet, let alone a cardreader; and the fairly common
ACR38U-based smartcard readers that are thrown to people's heads these
days were nowhere to be found yet. So, I googled for a smartcard
manufacturer, found Gemplus who
claimed Linux support for (at least some of) their models, found the
distributor for Belgium, and ordered a smartcardreader. It did work with
Linux allright—but OpenCT, only. Only later on did I find that
belpic expects PC/SC Lite.
In itself, this was no problem; the first versions of belpic (up to
and including 2.3.13) did have the OpenCT and other reader drivers still
compiled in, anyway; only with 2.5 and later did Zetes choose to remove
them. That's when I started patching, and that's when I discovered that
problems began...
So, anyway. No more
An hour ago the ttf-liberation package finally migrated to Lenny, yay! In case this doesn't ring a bell for you, check out wikipedia or the original announcement. Those are free fonts with the same metrics as Times, Arial and Courier.
Now that Tim Connors has taken the lid off
it, I feel I should opine on the matter.
Microblogging is just not terribly exciting for the reader. I don't see the
point in aggregating it.
I don't particularly find Mikal's
blatherings terribly exciting reading. I don't find Stewart's twitterings much fun
either. I think Facebook's status updates are a better way to poll such
things, myself, and it's where I confine my "microblogging" to.
I think one of the things that used to make reading blogs more worthwhile
than reading mailing lists was the high signal-to-noise ratio. Back in the
day, there was a bit of a "cost" or barrier to entry for writing a blog
post. For most blogs, it wasn't as easy as writing an email. I still
hand-craft my blog posts in HTML, so for me to write something, I have to
have enough inclination to fire up an editor and write the words. Often I
run out of motivation half way through a blog post, and just end up
scrapping it. I'm sitting on a few more lengthy posts that I haven't managed
to summon up the energy to write at all yet.
I think some of the "push-button publishing" out there is rapidly
commoditising blogging, to the point where it becomes as easy or easier than
writing an email. And we all know what happened to email...
Blogging for me is essentially a journal. I like to use it to refer back to.
To share what I'm doing with others. Occasionally it can be cathartic. Often
it's a substitute for going to work and telling my co-workers about what
crazy geeky thing I've done in my spare time. Mostly it's for me. The fact
that I choose to share it with the world is not really a primary
motivating factor for me, it just makes it more accessible for me, and
sometimes helpful for others.

I've been working hard on a new project for the last couple of months, which I'm glad to be able to share with you now. For the impatient: today my company Control Yourself, Inc. is launching Identi.ca, a new microblogging service. (There's a press release on the Control Yourself site). Users can post short messages about themselves to Identi.ca, which are then broadcast to friends in their social network using instant messages (IM), RSS feeds, and the Web.
The difference between Identi.ca and other services like Twitter, Jaiku, or Pownce is that it is Open Source software. I tried to meet the requirements of the Open Service Definition -- Free Software and Free Data. In the same spirit, Identi.ca supports open standards like OpenID and OpenMicroBlogging, to integrate with other Web sites and services.
A little background: in March of this year, I was privileged to take part in a summit at the Free Software Foundation about open network services. The summit brought together a number of people involved in Open Source and Open Content to discuss problems with "software as a service" and how to solve them.
More and more, people are depending on Web sites and other network services "in the cloud" to do much of their computing tasks. Examples: using Yahoo! Maps instead of a desktop mapping application, or using Google Docs instead of Microsoft Word. Software-as-a-service can be extremely convenient -- data on remote servers stays up-to-date, software gets updated regularly, and you can use different computers or mobile devices to get at the same data.
The sacrifice, however, is user autonomy. If you decide that Google Docs doesn't work the way you want, you can't tinker with the software and fix it. If you want to share a map on your Web site, you need Yahoo!'s permission. If you want to use a new social networking site, you have to re-enter all your personal data and re-invite all your friends. The data and code belong to someone else, and they're hidden behind servers that you, the user, aren't allowed to touch.
There aren't a lot of clear answers to this. But our loosely-organized summit group is moving forward to promote and support Free/Open Network Services. These are Web sites (or other services) that use Free/Open Source software (with the source available) and provide Open Content data (except for data that users mark as private). There are a lot of them popping up -- like OpenStreetMap and Wikipedia. Others are close on the software side, although the data side is a little less clear -- like Wordpress.com, Reddit, or LiveJournal.
After the summit, I wanted to try to see what I could do personally to further this mission. I think several of the sites I work on now -- like Vinismo and Keiki -- would qualify. But I also wanted to break some new ground and challenge people's assumptions about software services. And the services I was using, and getting invited to, the most were microblogging sites. Clearly that was the area to dig into further.
To do it, I started Laconica, the software underlying Identi.ca. It's AGPL'd PHP using MySQL as a backend -- probably the most accessible platform on the planet right now. I used lots of existing libraries to make development easier, and I hired a great designer (Montreal's Marie-Claude Doyon) to give the site a professional look.
Almost as important as the Open Source and Open Content is the distributed nature of Identi.ca. I designed an open protocol called OpenMicroBlogging, based on OAuth, to make it easy for users on one Laconica server to subscribe to notices by users on another server. I hope this will make the service more robust, develop a rich and diverse social network, and stimulate innovation.
Because in the end, that's the Internet that we all want to be part of. As a society we rejected "walled gardens" like AOL, Compuserve, and MSN in the early 90s in favor of the distributed, open nature of the World Wide Web. And I think that the new walled gardens like Facebook and Google, need to be replaced with open protocols and standards. Will Open Network Services be the basis of "Web 3.0", the next stage of Web culture? I truly think so, but that's still an open question.
People have been using Identi.ca for a few weeks now, although I've asked that folks wait until the software was more mature before posting public links. Today I'm lifting that embargo and asking friends and colleagues to join and participate in the conversation.
I hope that people who are sympathetic with the ideals of Identi.ca will take the time to blog about it, invite their friends, and start using the site regularly. And of course I'd love to get feedback on bugs, requested features, and ideas for the future. Please also subscribe to me on the site -- see http://identi.ca/evan -- so I can see who's out there.
There are still so many standard services on the Web that I'd like to see open sourced, open content, and distributed -- advertising, storage, image and file sharing, comments, portal pages, social news, social bookmarks, search engines. There's a real business potential for taking the lead in these areas, and I hope more people jump in.
Decklin,
hjkl has saved my butt several times when I was sitting at a thoroughly broken terminal. While I don't generally use it in daily life, it is good to have a fallback that works really everywhere.
(Email? Who needs email?)
I already mentioned a few
times in the blog that I’m working on a Debian package of the
Conkeror web browser. And now, after a lot of fine-tuning (and I still
further new ideas how to improve the package ;-) Conkeror is finally in the NEW queue and hopefully will hit
unstable in a few days. (Update Thursday, 03-Jul-2008, 18:13
CEST: The package has been accepted by Jörg and should be
included on most architectures in tonight’s updates.)
Those who could hardly await it can fetch Conkeror .debs from http://noone.org/debian/. The
conkeror package itself is a non-architecture specific package (but
needs xulrunner-1.9 to be available), and its small C-written helper
program spawn-process-helper is available as package
conkeror-spawn-process-helper for i386, amd64, sparc, alpha, powerpc,
kfreebsd-i386 and kfreebsd-amd64. There are no backported packages for
Etch available, though, since I don’t know of anyone yet, who has
successfully backported xulrunner-1.9 to Etch.
Interestingly the interest in Conkeror seems to have risen in the
Debian community independently of its Debian packaging. Luca Capello, who sponsored
the upload of my Conkeror package, pointed me to two blog post on
Planet Debian, written by people being fed up with Firefox 3 already
and are looking for a more lean, but still Gecko based web browser: Decklin Foster is fed up with Firefox’ -eh- Iceweasel’s
arrogance and MJ Ray is fed up with Firefox 3 and its SSL problems.
Since my previously favourited Gecko based web browser Kazehakase
never became really stable but instead became slow and leaking memory
(and therefore not much better than Firefox 2), I can imagine that
it’s no more an candidate for people seaking for a lean and fast web
browser.
Conkeror has some “strange” concepts of which the primary one is that
it looks and feels like Emacs:
C-x C-cC-x C-fC-x C-bC-x C-vC-x 5 2C-x 5 0C-x kC-h iC-sC-rC-glgC-u and the M-x
command-line are there. E.g. C-u g lets you open a web
page in a new buffer, too.
f for following or c for
copying links and then all links on the currently shown part of the
page show a small number attached to it. Then you just enter the
number (and additionally press enter if the number is ambigous) and
the link is either opened or copied to the clipboard.
A funny anecdote about how this concept grew over the time: Early
versions of Conkeror (back in the days when it just was a Firefox
externsion as vimperator) numbered all links on the page, not
only the visible ones. On large pages with many links or buttons (e.g.
my blog ;-), this took minutes to complete. The idea to just number
the visible links is so simple and important – but someone first
needed to have it. :-)
Next.