Partview rewritten

I posted recently about a patch created by Karl Godt for Partview:
http://bkhome.org/blog/?viewDetailed=02632

That version of Partview is a Perl script, created by Forum member ecube. Ecube contacted me, also unsure what Karl's patch does, and ecube sent an alternative modification. I have applied it and the PET is now 'partview-2.2-2.pet'.

I used ecube's Partview in Wary and Racy, however, Woof does already have /usr/sbin/partview, an Ash script that generates an xpm image and uses gtkdialog. Using ecube's PET replaces that. There were some other guys who also had a go at writing a Partview.

I want to have another look at removing Perl from the base Puppy system, so I have removed ecube's PET from the Wary/Racy package list. I checked the package-lists for some other Woof puplets, they use the internal partview.

I have also rewritten the internal Woof partview, it now generates a nice SVG image. It was technosaurus who got me thinking about this, as he created 'text2xpm' and in the Forum also suggested that it might be easier/simpler/nicer to use SVG to generate bar graphs with text in them. Yes indeed, it is very nice.

Woof commit:
http://bkhome.org/fossil/woof2.cgi/info/d738537e7f


Posted on 19 Jan 2012, 15:09


Comments:

Posted on 21 Jan 2012, 8:44 by 8-bit
Karl's Patch
Karl is trying to add udf support to Puppy for the reading of udf formatted optical disks.
He is progressing and trying to get a udf format optical disk to be automatically recognized and mounted when one clicks on the optical disk icon.
The underlying support is in puppy.
It just has never been implemented to the extent Karl wants to take it to.



Posted on 21 Jan 2012, 18:42 by 01micko
svg is nice
svg is very nice! (I guess you know ;) )

I have made a couple of tray icons (GtkStatusIcons)using svg, they work well. Big thanks to technosaurus!

I have also been toying with a splash message prog using svg images (coded in C), it's nice and fast but very raw at the moment. Supports all fonts, that's the big advantage. Still have to work out what libraries are most efficient. I started using gtk but I reckon I can chop that out of it.


Posted on 23 Jan 2012, 5:35 by ecube
minor modification
For those who prefer to calculate free space in mounted drives as default, I have modified the new partview script slightly so it may be run in two modes
partview => Mounted Drives
partview all => All Drives

Details can be found at
http://www.murga-linux.com/puppy/viewtopic.php?p=598553#598553


Posted on 26 Jan 2012, 16:57 by ecube
partview.pet
Partview.pet installs a partview version with the same function as the Perl based version (Partview-2.2)

http://www.murga-linux.com/puppy/viewtopic.php?p=599455&sid=efbd23302da12a369d5777b60c185127#599455

http://www.afi-vasteras.se/misc/pm.jpg