[Bug 327023] New: factory twinkle-1.1-20.src.rpm. Obsolete patches and german language file not up to date
https://bugzilla.novell.com/show_bug.cgi?id=327023 Summary: factory twinkle-1.1-20.src.rpm. Obsolete patches and german language file not up to date Product: openSUSE 10.3 Version: RC 1 Platform: Other URL: http://groups.yahoo.com/group/twinklephone/messages OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: reisenweber@web.de QAContact: qa@suse.de Found By: Development Created an attachment (id=173788) --> (https://bugzilla.novell.com/attachment.cgi?id=173788) Qt translation source _de. Fix for hotkey problems Source package contains two really obsolete 0.8.1 patches. This is V1.1! The src/gui/lang/twinkle_de.ts german translation included in src tarball at twinklephone.com is a prerelease version - see notice in FAQ newsgroup: http://tech.groups.yahoo.com/group/twinklephone/message/1423 Please include the file attached to this report into GM twinkle version; this is a translation bugfix (hotkeys now ok) for a support file, which does not introduce any new source of bugs to the program itself. The file also is downloadable at the above mentioned FAQ group: http://tech.groups.yahoo.com/group/twinklephone/message/1813 jOERG (C) german translation -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=327023
Stephan Binner
https://bugzilla.novell.com/show_bug.cgi?id=327023
joerg reisenweber
https://bugzilla.novell.com/show_bug.cgi?id=327023#c1
--- Comment #1 from Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023
Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023#c2
--- Comment #2 from Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023#c3
--- Comment #3 from Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023#c5
--- Comment #5 from Michael Skibbe
it's to late for 10.3. =( But sure you can't delay GM internal for this minor "bugfix". I'm waiting for public rekease too.
only for better understanding: the .qm is "compiled" from the .ts, or not? Yep. Compressed might be the better word. Qt's lrelease via cmdline, or "release" menu entry in linguist .ts "editor". It's _not_ "linked" against any external info, so just drop in into any system is just fine (not tested for differing charsets and endian-ness). The make creates all the .qm files with lrelease *.ts, without test whether
https://bugzilla.novell.com/show_bug.cgi?id=327023#c6
--- Comment #6 from joerg reisenweber
https://bugzilla.novell.com/show_bug.cgi?id=327023#c7
Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023#c8
joerg reisenweber
i updated the buildservice, too
in buildservice, http://download.opensuse.org/repositories/network:/telephony/openSUSE_10.3/i... there's no twinkle_de.ts at all?! The other files: twinkle_cs.qm │ 235755│-rw-r--r-- twinkle_fr.qm │ 229725│-rw-r--r-- twinkle_nl.qm │ 221727│-rw-r--r-- The twinkle executable is ~45Mb!! Compare to http://www.xs4all.nl/~mfnboer/twinkle/download/twinkle-1.1-0.suse102.mdb1.i5... twinkle_cs.qm │ 152178│-rw-rw-rw- In http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/SL-OSS-factory/ins... twinkle │4256932│-rwxr-xr-x ELF seems ok, but the /usr/share/twinkle/lang/twinkle_de.qm way too large twinkle_de.qm │ 252211│-rw-r--r-- compare to my own system and *1.1-0.suse102.mdb1.i586.rpm: twinkle_de.qm │ 171324│21. Jul 22.44 twinkle_de.qm-1.0 │ 156281│ 22. Jan 2007 Today i installed a 10.3-factory network download version at a client's PC, and the twinkle _de translation was TOTALLY broken: e.g there's "file" instead of "Datei" menu; half the translations missing! Though there were some newest de_strings like for IM etc, clearly of V1.1 (Yes i know Factory is instable. But there never has been such a translation. There also NEVER were *.qm >200KB) Sorry i can't report a simple bug description, but i don't get it what's going on there. greetings jOERG -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=327023#c9
--- Comment #9 from joerg reisenweber
https://bugzilla.novell.com/show_bug.cgi?id=327023#c10
joerg reisenweber
https://bugzilla.novell.com/show_bug.cgi?id=327023#c11
--- Comment #11 from joerg reisenweber
https://bugzilla.novell.com/show_bug.cgi?id=327023
joerg reisenweber
https://bugzilla.novell.com/show_bug.cgi?id=327023#c12
Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023#c13
--- Comment #13 from Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023
Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023#c14
Michael Skibbe
if i build twinkle per hand i get a file size of 27M(!!!) for the executable. A ELF filesize of ~4.5M is correct. 20 plus a few Meg is size with debug symbols IIRC. The file in buildservice1.1-08 was ~47Meg!!! Or i missed my glasses ;-). Seems you're running a different configure job there...*)
mhh - i saw another bug: lrelease warning: Met no 'TRANSLATIONS' entry in project file 'twinkle_de.ts' This is a totally screwed up ErrMsg! lrelease --help, or man lrelease, for my Qt3 system shows you either feed it
https://bugzilla.novell.com/show_bug.cgi?id=327023#c15
joerg reisenweber
could this be the cause of the huge twinkle file?
Nope - this is debug, as mentioned before. *.ts and *.qm have *no relation* at all to ELF, other than *.qm being opened at run-time, for a translation database. The problem with the *.qm is: THESE files are "too big", and they don't work. In manpage i seen today the "-nocompress" option, and i did a short test and it yielded same "too big" size like Novells *.qm! *)So my suspicion is: Your configure/make is somehow messed up, so it makes ELF with 45Meg and *.qm via "-nocompress" option. And -to make things worse- this option isn't documented at least for purpose of it, and it seems to wreck the *.qm, so twinkle (or the Qt QTranslator) can't find all the correct translation strings in it. If you have installed 10.3GM with twinkle, just start it $> LANG=de_DE.UTF-8 twinkle and click OK till mainwin. You see File instead of Datei menu, and much more missing strings - it should be 99.5% translated, but isn't. now stop twinkle, copy twinkle_de.qm from one of the places i pointed to in above comments, to /usr/share/twinkle/lang, replacing the "too big" one. Start twinkle - et voila, everything fine. take the *.ts attached to this report, run against it a lrelease *.ts and copy the now derivd *.qm to above place - same result, all ok. now it's up to you to test lrelease -nocompress *.ts.... I bet with this qm, xltn will be broken again. Sorry for long comment, didn't know how to shorten it. cheers jOERG Alas i'm sitting in front of a CF27 toughbook now - means i can't compile or anything here, so i can't provide precise info regarding filesizes, manpages etc. But i hope the sketch is clear. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
cat Makefile.am
https://bugzilla.novell.com/show_bug.cgi?id=327023#c16
--- Comment #16 from joerg reisenweber
https://bugzilla.novell.com/show_bug.cgi?id=327023#c17
Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023#c18
joerg reisenweber
you are right. there are some translations missing but i have no clue why half of the tranlation is correct and the other broken. It's a bug of Qt (see comment #16), triggered by uncompressed *.qm file. Please note that uncompressed *.qm files are a new feature with Qt3.2 ! Maybe this helps to figure out what's going wrong. See bottom line at http://doc.trolltech.com/qq/qq08-swedish-chef-sequel.html
is it possible that your file from comment #1 is broken? Nope! i downloaded this file and did the test described in comment #15 and comment #16 with it. The bug is triggered by the parameter "-nocompress" for lrelease call (=bug in buildservice make process). Or lrelease is generating uncompressed files despite no such parameter is present (=bug in lrelease itself).
to the buildservice. it's correct that the file size is to huge there and if i build the rpm on my machine the file size is correct. i take a closer look on that.
Yes, there the parameter "nocompress" seems to sneak in somehow. No idea how, it's not to be found in *any* of the scripts or config files for Make. But i bet it's the source of the bug (well, no bug in itself - more an inadvertised use of a buggy Qt-option). cheers jOERG -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=327023#c19
--- Comment #19 from joerg reisenweber
https://bugzilla.novell.com/show_bug.cgi?id=327023#c20
--- Comment #20 from joerg reisenweber
https://bugzilla.novell.com/show_bug.cgi?id=327023#c21
--- Comment #21 from joerg reisenweber
generated from 1. attachment (*.ts) with lrelease /home/jr/Desktop/twinkle-1.1/src/gui/lang/twinkle_de.ts__V1.1_20070721-2231.qm must read: $> lrelease \ /home/jr/Desktop/twinkle-1.1/src/gui/lang/twinkle_de.ts__V1.1_20070721-2231.ts
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=327023#c22
--- Comment #22 from joerg reisenweber
------------ 425 # Note that we use -nocompress in lrelease to avoid stripping comments and 426 # other information from .qm files. If we don't do that, we get .qm files two 427 # times smaller, but QTranslator::findMessage() will start searching for 428 # translations in all existing contexts in case if it cannot find it in the 429 # original context (which is of course not acceptable, no matter if it's a 430 # special Qt "feature" or just a bug). <------------- from: http://www.virtualbox.org/browser/trunk/src/VBox/Frontends/VirtualBox/Makefi...
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=327023#c23
Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023#c24
--- Comment #24 from Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023#c25
--- Comment #25 from joerg reisenweber
hmm. did you see following?
# lrelease -h Usage: [...] Options: [...] -compress Compress the .qm files [...]
this looks for me like the nocompress option changed to default and you have to especially tell lrelease that you want to compress, now.
WTF!? jr@panzermine:~/Desktop/twinkle-1.1/src/gui/lang> lrelease -version lrelease version 4.1.0 jr@panzermine:~/Desktop/twinkle-1.1/src/gui/lang> lrelease -h Usage: lrelease [options] project-file lrelease [options] ts-files [-qm qm-file] Options: -help Display this information and exit -nocompress Do not compress the .qm files -nounfinished Do not include unfinished translations -verbose Explain what is being done -version Display the version of lrelease and exit jr@panzermine:~/Desktop/twinkle-1.1/src/gui/lang> seems Trolltech has a troll's kinda humor... :-( Is this their way of fixing a glitch (see #22) Anyway i'll try to check if twinkle's context is allways correct for tr() Thanks for fixing this one! jOERG -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=327023#c26
--- Comment #26 from Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023#c27
--- Comment #27 from joerg reisenweber
https://bugzilla.novell.com/show_bug.cgi?id=327023#c28
Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023
Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023#c29
joerg reisenweber
https://bugzilla.novell.com/show_bug.cgi?id=327023#c30
--- Comment #30 from joerg reisenweber
https://bugzilla.novell.com/show_bug.cgi?id=327023#c31
--- Comment #31 from Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023#c32
--- Comment #32 from joerg reisenweber
Instead of `lrelease -h 2>&1 | grep nocompress` i'd suggest !`lrelease -compress /dev/null -qm /dev/null 1>/dev/null 2>&1`
just in case the help text changes...
to speak more detailed: replace ---------------------------- +LRELEASEOPTION=`lrelease -h 2>&1 | grep nocompress` + +if test x"$LRELEASEOPTION" = "x" +then +AC_MSG_RESULT([compress]) +LRELEASEOPTION="-compress" +else +AC_MSG_RESULT([nocompress]) +LRELEASEOPTION="" +fi ----------------------------- in patch with ---------------------------- +if lrelease -compress /dev/null -qm /dev/null 1>/dev/null 2>&1 +then +AC_MSG_RESULT([compress]) +LRELEASEOPTION="-compress" +else +AC_MSG_RESULT([nocompress]) +LRELEASEOPTION="" +fi ----------------------------- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=327023#c33
--- Comment #33 from Dirk Mueller
the -compress option was readded with Qt 4.2.0. What does "readded" mean? To me it seems there only was a nocompress option
https://bugzilla.novell.com/show_bug.cgi?id=327023#c34
--- Comment #34 from joerg reisenweber
does it make sense to require Qt 4.2.0? No way! Besides stupid change of default behaviour and valid option for lrelease, there is NO dependency on 4.2.0 version whatsoever.
The patch discussed above is a perfect fix for the issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=327023#c35
--- Comment #35 from joerg reisenweber
https://bugzilla.novell.com/show_bug.cgi?id=327023#c36
--- Comment #36 from Michael Skibbe
https://bugzilla.novell.com/show_bug.cgi?id=327023#c37
--- Comment #37 from Michael Skibbe
participants (1)
-
bugzilla_noreply@novell.com