site  contact  subhomenews

'gxmessage' PET

February 18, 2012 — BarryK
I have compiled this in Wary and put it into the 'common' repo (10KB):
http://distro.ibiblio.org/quirky/pet_packages-common/gxmessage-2.12.4-1-w5c.pet

The post-install script of this PET creates a symlink of 'xmessage' to 'gxmessage', thus overwriting any existing xmessage in /usr/bin.

I have modified all of the (x86) package lists in Woof to use gxmessage, as this is needed for internationalization. All (x86) builds should be able to use this PET.

Comments

gxmessage
Username: rodin.s
Yes. It's good. I have tested new Racy. It's also good I think. I don't see big problems. I'm working on update for ru langpack. Will post it later. Boot messages are translated as well as desktop. In my first SSS translation of desk_strings I didn't notice quotes so after restart of X my desktop was a mess. But it woks OK with correct translation. MoManager starts poedit. It's also good. One small thing. I would like it to start not in LANG=C but in current locale.

LANG of momanager
Username: L18L
">[i]start not in LANG=C but in current locale[/i] I have tested the difference in speed. [b]HOW[/b] Inserted 1 line: time for dummy in 999; do before yaf-splash -close never -bg orange -text "Please wait, scanning files..." & yPID=$! and another line: done # test time before #echo "$MM2_DLG" > /tmp/xxx #TEST kill $yPID [b]TEST CASES[/b] - export LANG=C (original) - #export LANG=C (change in line 30) [b]RESULT[/b] copied from urxvt [code]# momanager real 0m50.024s user 0m7.316s sys 0m28.228s /usr/sbin/momanager: line 631: 6903 Terminated yaf-splash -close never -bg orange -text "Please wait, scanning files..." EXIT="Exit on timeout" real 0m36.500s user 0m10.143s sys 0m19.045s /usr/sbin/momanager: line 631: 13864 Terminated yaf-splash -close never -bg orange -text "Please wait, scanning files..." EXIT="Exit on timeout" real 0m36.698s user 0m10.193s sys 0m18.985s /usr/sbin/momanager: line 631: 20662 Terminated yaf-splash -close never -bg orange -text "Please wait, scanning files..." ^C # # now TEST CASE line 30: "#export LANG=C" # momanager real 1m46.457s user 1m2.456s sys 0m25.658s /usr/sbin/momanager: line 631: 29023 Terminated yaf-splash -close never -bg orange -text "Please wait, scanning files..." EXIT="Exit on timeout" real 1m50.048s user 1m5.929s sys 0m27.828s /usr/sbin/momanager: line 631: 4003 Terminated yaf-splash -close never -bg orange -text "Please wait, scanning files..." [/code] A difference in speed is well known but this amount is drastic. More than 1 minute!

sorry
Username: L18L
"Sorry, did not see your comment LANG [b]In[/b] MoManager

Re LANG=C
Username: BarryK
"Yeah, I have done timings before with and without LANG=C at start of script, big differences. There are some scripts where I have recently taken out the LANG=C, petget scripts for example, due to internationalization issues. I am going to look at those scripts again.


Tags: puppy