Apache OpenOffice (AOO) Bugzilla – Issue 34658
languagepack/RPM: empty directories and common files?
Last modified: 2004-12-19 09:32:32 UTC
Hi, today, I'm exploring language packs generated by instsetoo_native. Overall: good work! Really. Now for the details. I'm building with ENUS and CZECH, thus cs language pack is generated. I unpacked it and am looking at files/directories it contains. There are several empty directories that are also in the main packages etc: Empty directories that are part of the main package: ./opt/openoffice1.9.55/program/addin ./opt/openoffice1.9.55/program/plugin ./opt/openoffice1.9.55/share/uno_packages/cache ./opt/openoffice1.9.55/user/Scripts ./opt/openoffice1.9.55/user/autocorr ./opt/openoffice1.9.55/user/backup ./opt/openoffice1.9.55/user/psprint/driver ./opt/openoffice1.9.55/user/psprint/fontmetric ./opt/openoffice1.9.55/user/store ./opt/openoffice1.9.55/user/temp ./opt/openoffice1.9.55/user/template ./opt/openoffice1.9.55/user/uno_packages/cache ./opt/openoffice1.9.55/user/wordbook Czech language pack also contains psprint.conf: ./opt/openoffice1.9.55/share/psprint/psprint.conf This file is also present in en-US package. The only difference is paper size. But this file will conflict resulting in the case where we can't install more than one language pack. And this file is also present in the -core package...
of @ obr: please have a look.
psprint.conf: It looks like someone is trying to do "localization" (paper format) in scp2/source/ooo/file_extra_ooo.scp: File gid_File_Extra_Fontunxpsprint Dir = gid_Dir_Psprint; TXT_FILE_BODY; Styles = (ARCHIVE, SETUPZIP, DONT_OVERWRITE); Name (en-US) = "/letter/fontunxpsprint.zip"; Name (pt) = "fontunxpsprint.zip"; Name (ru) = "fontunxpsprint.zip"; Name (el) = "fontunxpsprint.zip"; I'd personally prefer another way of configuration of the default paper format. Do we have any other way to do that? (Shouldn't this be separated to own issue and assigned to psprint people?) Why? The current approach means that for every new language, we have to add line here. This is IMO unacceptable and makes it hard to maintain. E.g. right now, we use ISO codes and we still have: Name (50) = "fontunxpsprint.zip"; Name (99) = "fontunxpsprint.zip"; there.
Is is on vacation for two weeks. I need to check with our printing experts.
the psprint.conf/papersize thing is a known issue: "i34064 rpm language packs conflict in psprint.conf".
obr -> is: as requested by 'boss', back on your pile.
This was already fixed in my cws langsupporter by removing gid_File_Extra_Fontunxpsprint from language packs (not nice, but a fast solution). The correct solution is in i34064. Therefore I set this task to "fixed".
No conflicts during the language pack installation -> verified (the correct solution is introduced by #i34064#
reopen
reassign
is -> pjanik: There are no more conflicts in the language packs. The empty directories are still created (because of the CREATE flag in scp2). If this is a problem for you, please make a new issue (probably OOo Later).
OK. Verified, closing.