Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44944 - localised app-office/openoffice-bin meta bug
Summary: localised app-office/openoffice-bin meta bug
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Office Team
: 58297 (view as bug list)
Depends on:
Blocks: 20609 46949 62821
  Show dependency tree
Reported: 2004-03-17 06:12 UTC by Thomas Raschbacher
Modified: 2005-04-08 14:13 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---

openoffice-bin ebuild for Japanese (openoffice-bin-ja-1.1.0.ebuild,5.67 KB, text/plain)
2004-03-24 05:26 UTC, Takashi Nakamoto
openoffice-bin-1.1.3.ebuild-linguas.diff (openoffice-bin-1.1.3.ebuild-linguas.diff,3.69 KB, patch)
2004-10-30 06:13 UTC, Mamoru KOMACHI (RETIRED)
Details | Diff
openoffice-bin-fontpath-gentoo.diff (openoffice-bin-fontpath-gentoo.diff,354 bytes, patch)
2004-10-30 06:14 UTC, Mamoru KOMACHI (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Raschbacher gentoo-dev 2004-03-17 06:12:47 UTC
i wondered if we can have localized openoffice-bin ebuilds in portage (bug #20609 has a spanish version).

i got a working german version but i'm not sure about commiting it.

this bug is mainly meant for discussion here

Comment 1 Takashi Nakamoto 2004-03-24 05:23:55 UTC
It is impossible to solve this issue with only one ebuild file because doesn't support "locale".
I think the best solution to the localized openoffice-bin problem is to make a localized openoffice-bin ebuild for each language.

This issue seems to be not active. Please discuss this issue immediately, Gentoo OpenOffice Team.
Comment 2 Takashi Nakamoto 2004-03-24 05:26:43 UTC
Created attachment 27914 [details]
openoffice-bin ebuild for Japanese

Example: openoffice-bin ebuild for Japanese.
Comment 3 Thomas Raschbacher gentoo-dev 2004-03-25 01:15:32 UTC
isn't there a 'more or less' standardized location where we could use e.g.:
OOoLANG="de" emerge openoffice-bin style??

Comment 4 Anders Rune Jensen (RETIRED) gentoo-dev 2004-07-06 15:21:09 UTC
I have an czech binary ebuild contributed by someone on irc, and I could contribute a danish ebuild. It would be great if some kind of consensus could be reached regarding this as there seems to be a lot of open bugs. And as pointed out, some of then are quite old.

What Thomas proposes seems like a good solution, given that the ebuilds are very similar, and it seems the case.
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-30 02:19:57 UTC
*** Bug 58297 has been marked as a duplicate of this bug. ***
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-30 02:30:52 UTC
See also bug #40896 and #42512. (They are for app-office/openoffice though)
Comment 7 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-30 06:13:00 UTC
Created attachment 42903 [details, diff]

This is a diff to openoffice-bin-1.1.3.ebuild.
It uses LINGUAS environment to support
Czech, Danish, German, French, Italian,
Japanese, Dutch, Chinese(simplified) and
Chinese(Traditional). I tested it with Japanese,
Chinese(simplified) and Chinese(traditional).
Comment 8 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-10-30 06:14:05 UTC
Created attachment 42904 [details, diff]

Patch to add /usr/share/fonts/* to fontpath.
Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-21 03:48:46 UTC
@usata: Your fonts-patch doesn't do anything for me, I guess all the fonts in /usr/share/fonts should be autoadded, but they don't show up for me, I still have to add them manually. Is there something I am missing? Does it work for you?
Comment 10 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-23 02:15:54 UTC
I've now added the automatic font detection to the wrapper, better place to put it, there it even works ;)
Comment 11 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-23 11:11:51 UTC
I really would like to get this into portage, but there are some issues with it that need to be resolved first, which are non-trivial:

*) Atm, the ebuild downloads all variants in your LINGUAS + the english one, this is a blocker for me, it should only download one.

*) Also: How to handle upgrades? The translated version are not released at the same time, some even skip versions. So people happily using - let's say - a japanese version of 1.1.3 are automatically upgraded to an english 1.1.4.

The alternative - to use different ebuilds for each and every localized version - is a way I don't want to go (and won't). This would introduce a lot of new packages in the portage dir, which will be obsolete anyway, when 2.0 arrives (which should support language packs), also all of this packages would have to block each other, which would be quite a mess.

Comments? Ideas?
Comment 12 Andreas Proschofsky (RETIRED) gentoo-dev 2005-04-08 14:13:19 UTC
After looking for a working solution, I can quite safely say, there is no satisfying one for OOo 1.1.x, so won't do this for this series. BUT: I've just put a new 2.0-pre version into portage (openoffice-bin-1.9.91-r1) which has LINGUAS support. Still hard masked, but thanks to the new language packs, this closes this bug :)