'mageia2ppm'

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"!


Posted on 12 Jun 2011, 17:56


Comments:

Posted on 12 Jun 2011, 18:55 by tronkel
Name for new pup version
How about Pupdrake - as in Mandrake etc?


Posted on 12 Jun 2011, 21:26 by BarryK
Re Pupdrake
Ha ha, yes, that is good!



Posted on 12 Jun 2011, 22:15 by SouthPaws1
Name
MPup?


Posted on 13 Jun 2011, 2:24 by lobster
name
Mangrel


Posted on 13 Jun 2011, 7:58 by 01micko
xorg
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.
gdk-pixbuf-query-loaders --update-cache
http://bkhome.org/blog/?viewDetailed=02143
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).


Posted on 13 Jun 2011, 14:50 by BarryK
PKGS_SPECS_TABLE
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...



Posted on 14 Jun 2011, 3:10 by Angler
new name
What about MaGuppy sort of lie the old McGuffy Readers?


Posted on 14 Jun 2011, 9:46 by BarryK
So slow
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!



Posted on 14 Jun 2011, 21:41 by BarryK
Getting there
I have finished the "r" packages.



Posted on 17 Jun 2011, 7:26 by Straypup
Name
How about Magi-Pup. It not only shows both systems but also thye magic ability of Puppys ability to use other repositories.


Posted on 18 Jun 2011, 8:56 by BarryK
Magepup
Or even "Magepup"



Posted on 22 Jun 2011, 22:02 by Fernando
Pupdrake
Pupdrake sounds good and brings some nostalgy ;)


Posted on 23 Jun 2011, 15:11 by Angler
same here
I like MagePup !


Posted on 4 Feb 2012, 16:07 by scsijon
fyi mageia2ppm ?broken
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 http://murga-linux.com/puppy/viewtopic.php?p=601796#601796

If you find time could you have a quick look please.

thanks
scsijon