site  contact  subhomenews


June 12, 2011 — BarryK
I have written a script 'mageia2ppm' in Woof, to convert a Mageia 'synthesis.hdlist' package database file into Puppy package format (ppm).

It is an Ash script and it is abysmally slow. Right now I am running script '0setup', which downloads the Mageia "core", "nonfree" and "tainted" db files and calls 'mageia2ppm' to convert them to Puppy format.

However, I am not worried about the slowness for now, as I am most familiar with Bash/Ash and was able to knock together the script very quickly. Later on, if I reckon that the Mageia-Puppy is a "good thing" then I plan to translate it to BaCon code.

After the download and conversion, I will have to fix variable PKGS_SPECS_TABLE in file DISTRO_PKGS_SPECS-mageia-1, and that is going to be a lot of fun and games to get right.

I need a code-name for this pup, and I suggest "Puppia". Nothing brilliant about it, but it does suggest both Puppy and Mageia heritage. So Puppia it is, unless someone can suggest another name that is very short and clever -- don't suggest "pupia" or "pupeia", as they can be pronounce as in "poop"!


Name for new pup version

Re Pupdrake
Username: BarryK
"Ha ha, yes, that is good!

Username: 01micko
"Hi Barry It's likely Xorg will cause you the most amount of 'fun and games'! Also remember that gdk-pixbuf thing I mentioned? That is likely to be needed. [i]gdk-pixbuf-query-loaders --update-cache[/i] But of course I do it now in /etc/rc.d/rc.update (didn't know better before). It should be in there twice, once for the first boot and once for the full install. I do a test for the presence of /usr/lib/gdk-pixbuf-* directory. BTW, Natty was a complete fail. :( (for me).

Username: BarryK
"Oh man, this is a big job! Variable PKGS_SPECS_TABLE has 653 entries, and each one has to be manually checked. We are not talking about hours here, rather, days. Once it has been properly setup for a distro, then tweaking it for a version change is relatively easy, like when I bumped Debian Lenny to Squeeze. Oh well, nose to the grind-stone again...

So slow
Username: BarryK
"I have only just done the "h" packages in PKGS_SPECS_TABLE. Oh so slow. What is slowing things down considerably is chasing up how Mageia/Mandriva have split up packages. They like to do this just as much as Debian/Ubuntu do, except they split the original packages differently, with different names. I'll need a reward when I get to the end of this!

Getting there
Username: BarryK
"I have finished the "r" packages.

Username: BarryK
"Or even "Magepup"

fyi mageia2ppm ?broken
Username: scsijon
"Hi, decided to put some time in a mageia 2 alpha/beta build. I think the convertor is broken as it's missing field3 and field2 is incomplete? I've put a request for help in If you find time could you have a quick look please. thanks scsijon

Tags: woof