'gxmessage' PET

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.


Posted on 18 Feb 2012, 7:27


Comments:

Posted on 18 Feb 2012, 7:44 by rodin.s
gxmessage
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.


Posted on 18 Feb 2012, 19:46 by L18L
LANG of momanager
>start not in LANG=C but in current locale

I have tested the difference in speed.

HOW
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

TEST CASES
- export LANG=C (original)
- #export LANG=C (change in line 30)

RESULT copied from urxvt
# 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..."


A difference in speed is well known
but this amount is drastic. More than 1 minute!







Posted on 18 Feb 2012, 19:52 by L18L
sorry
Sorry, did not see your comment LANG In MoManager



Posted on 19 Feb 2012, 7:29 by BarryK
Re LANG=C
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.