DEB post-install script.

When Puppy installs a DEB package, if it contains a post-install script it is not executed. Users have found that this breaks some Python DEBs.

pemasu described the problem, and solution, here:
http://www.murga-linux.com/puppy/viewtopic.php?p=674204#674204

The solution is from rcrsn51's 'debbi-1.1.pet' package:
http://www.murga-linux.com/puppy/viewtopic.php?t=42533

I have implemented the fix in /usr/local/petget/installpkg.sh, see Woof commit:
http://bkhome.org/fossil/woof2.cgi/info/ab632db77e


Posted on 12 Jan 2013, 20:14


Comments:

Posted on 12 Jan 2013, 22:38 by pemasu
deb postinst fix works
Tested now and it works. Nicotine still has problem, because it does not place all files to the locations where python searches them. It did not find one module, but that is not the installpkg.sh problem.

It seems that python apps scatters the files to so many locations that I wonder how anyone can understand it.
I fixed it with copying and symlinking nicotine files in so many python locations that at last something went right.
Not very interested of that kind installations.

But installpkg.sh works now great. It might help other apps also.

Thank you very much !!!


Posted on 13 Jan 2013, 5:21 by don570
Extract-debian 1.5

I've just improved Extract-debian so it is
equivalent to my version of Extract-pet and it
is localised using Zigbert method,
but I haven't examined post-install scripts yet.

http://murga-linux.com/puppy/viewtopic.php?t=83169


Posted on 13 Jan 2013, 6:06 by don570
report-video GUI

I made a GUI and localised the report-video
script using Zigbert's method

http://www.murga-linux.com/puppy/viewtopic.php?t=83696


Posted on 14 Jan 2013, 8:57 by vicmz
New gettexted scripts
Sorry for the off-topic, rodin.s has gettexted a lot of scripts for Precise and Slacko (jwmconfig2, xkbconfig, hardinfo, etc. etc.). Note that most of the scripts have TEXTDOMAIN=puppy, meaning that a single 600+ string .po file is built for all of them. For Precise I made a version with different text domains for individual programs.


Posted on 14 Jan 2013, 17:20 by L 18 L
i18n sorry too
Sorry for the off-topic, too

The idea of making one TEXTDOMAIN for many scripts is not bad since momanager can be used.

But I really do not know why making different pets for different official puppies and even versions should be a way to go!

In my understanding a (and my German one and only) language pack is for all woof2 (after 20120228) built puppies.





Posted on 15 Jan 2013, 8:55 by vicmz
re: different pets for woof2 puppies
Actually I thought that too, but when I saw there were separate pets I thought I'd break something if I merged them. Well, as they're meant to be Woof scripts and both Slacko and Precise are made from the latest Woof I finally did merge them into one pet, setting separate text domains just because I feel I can organise translations better that way. I haven't tested in Puppies other than Precise yet (the idea is that it works in all official Puppy builds), but if you want to give it a go, here it is:

http://www.datafilehost.com/download-e54dc8e7.html


Posted on 16 Jan 2013, 8:34 by 01micko
JWM-653, i18n
Hi

JWM is up to revision 653, (not a typo!). Joe has been VERY busy on JWM this holiday period. Lots of bugs are fixed, some features are added. As a consequence some things have changed breaking some stuff in jwmconfig2. I was going to do a full rewrite but since a lot of i18n work has been put into this I have had to rethink. I will add support for new stuff but keep backward compat with old stuff if possible. Checks can be done with jwm -p to parse any configuration, and if it fails for any reason revert to the last config.

Also, Joe has fully i18n'd JWM and would probably appreciate translations before he makes his next stable release. http://joewing.net/projects/jwm/


Posted on 18 Jan 2013, 10:20 by vicmz
Report-Video gettexted by rodin.s
See:

http://www.murga-linux.com/puppy/viewtopic.php?p=678654#678654


Posted on 18 Jan 2013, 19:15 by BarryK
Re report-video
vicmz,
Thanks for the info. That report-video is in TaZoc's PET, isn't it? So he would have to update his PET.

There is another script, /usr/sbin/report-video, in Woof (that TaZoc's script will overwrite if his PET installed):
http://bkhome.org/fossil/woof2.cgi/artifact/253b6dab0d2c06a58684c7358c38bf91edeca564

Note, Precise Puppy 5.4.x does not have TaZoc's script, so has the Woof script (which is not yet internationalised).



Posted on 18 Jan 2013, 24:31 by L 18 L
re JWM-653, i18n
01micko wrote:
Also, Joe has fully i18n'd JWM and would probably appreciate translations before he makes his next stable release. http://joewing.net/projects/jwm/

Sorry, 19 spacves bug still exists



Posted on 19 Jan 2013, 7:07 by aarf
jwm 653
in pemasus precise.
can click in the java box now, but cant shutdown/reboot/exit to prompt.


Posted on 19 Jan 2013, 7:23 by aarf
eggs
oh yes just in case you ever need to teach your gramdma to suck eggs here is lesson 1 http://video.sanook.com/embed/player/488511


Posted on 19 Jan 2013, 8:22 by aarf
jwm 653 take 2
select poweroff/reboot in the menu, then "end process" /usr/local/bin/jwm in Pprocess manager and it will go down