Bug 358021
| Summary: | pt_BR version of OpenOffice.org needs to be called BrOffice.org | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Davidson Paulo <davidsonpaulo> | ||||||
| Component: | openoffice.org | Assignee: | Caolan McNamara <caolanm> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | rawhide | CC: | caillon, diegobz | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 3.0.0-0.12.1 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2008-05-16 15:36:01 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 430427 | ||||||||
| Attachments: |
|
||||||||
|
Description
Davidson Paulo
2007-10-30 11:47:45 UTC
We can probably provide a package that a) at install time config-imports the new name for Ooo and on de-install removes the name. b) renames and replaces the splashsceen on install and de-install hacks around remaining stuff. I have no idea how much of a struggle would be required to make this packaging compliant, but I'd hope for a separate package that do this required magic that can live outside of OOo and be maintained separately. Follows the URL for for Debian broffice.org post-install script, it can be useful. http://zyklop.dyndns.org/~rene/broffice-target-debian-rules Here is the steps. Try to reproduce them and you will have a
BrOffice.org installation:
# yum install openoffice.org-langpack-pt_BR
# for file in program/bootstraprc program/versionrc
share/registry/data/org/openoffice/Setup.xcu
program/resource/ooo680pt-BR.res ; do sed -i -e 's/OpenO/BrO/' -e
's/openo/bro/' /usr/lib/openoffice.org/${file} ; done
# for file in /usr/share/applications/openoffice*.desktop ; do sed -i
-e 's/ooff/broff/' -e 's/OpenO/BrO/' $file ; mv $file $(echo $file |
sed 's/openo/bro/') ; done
# ln -sf /usr/bin/ooffice /usr/bin/broffice
# (copy bootsplash and other BrOffice.org images)
Open any of OpenOffice.org programs and you'll see 'OpenOffice.org'
replaced by 'BrOffice.org' in all strings.
Any chance to get this stuff done until Fedora 9 release? If you need something, please tell me. Created attachment 292547 [details]
SRPM of broffice.org package that converts OpenOffice.org into BrOffice.org and vice versa
I've built a RPM, a meta-package that contais only to files:
* /usr/lib/openoffice.org/program/intro.bmp.broo (boot splash)
* /usr/lib/openoffice.org/program/about.bmp.broo (image)
* /usr/lib/openoffice.org/program/oo2bro (BASH Script)
That package requires openoffice.org-langpack-pt_BR. When installed, it does:
* Moves intro.bmp e about.bmp to intro.bmp.ooo and about.bmp.ooo
* Copy files from package to the system
* Execute /usr/lib/openoffice.org/program/oo2bro which does:
- Change all references to "OpenOffice.org" to "BrOffice.org
in both program and .desktop files;
- Create 2 symlinks named intro.bmp and about.bmp refering to
intro.bmp.broo and about.bmp.broo images;
When uninstalled, the inverse happens, so BrOffice.org turns back into
OpenOffice.org.
Tha SRPM is attached.
Created attachment 292801 [details]
Patch for fixing a bug in /usr/lib/openoffice.org/program/oo2bro script
This patch fixes a bug in the /usr/lib/openoffice.org/program/oo2bro script
installed by broffice.org RPM (built from the SRPM attached previously) that
makes ODF documents lose their associations with BrOffice.org programs so they
cannot be opened with a double click.
Updated SRPM that provides broffice.org-core, writer, calc, base, math, impress and draw. Just a proof of concept: http://dpaulo.fedorapeople.org/usr/src/redhat/SRPMS/broffice.org-2.3.0-3.src.rpm OpenOffice.org 3.0.0 introduces a "brand layer" (i.e. http://wiki.services.openoffice.org/wiki/ODF_Toolkit/Efforts/Three-Layer_OOo) specifically introduced to resolve this sort of issue. I've been packing 3.0 for F-10 and have beaten it into submission to create a thin broffice.org set of brand rpms which can be installed instead of the thin "openoffice.org" brand rpms with the underlying common bits shoved into "core" rpms So I propose to tackle this that way for F-10 ->modified as checked into cvs and will be available for testing once F-10 rawhide is buildable again Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Landed in rawhide as 3.0.0 using the brand layer split of 3.0.0, might be a little rough for a week or two |