Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 456066 - app-office/openoffice-bin: oo* executables don't pass parameters
Summary: app-office/openoffice-bin: oo* executables don't pass parameters
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-07 18:51 UTC by Hanno Böck
Modified: 2013-07-23 22:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2013-02-07 18:51:33 UTC
The openoffice-bin package uses small shell scripts instead of symlinks for the oowriter/oocalc/oo* calls.

However, it doesn't pass any parameters. So opening files with, e.g., oowriter [filename] doesn't work. Neither does calling openoffice with any parameters.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-02-07 20:14:11 UTC
Actually /usr/bin/ooffice does pass parameters. I inherited those scripts from the former maintainer so I am not fully sure what is their purpose. Possibly they are just meant to open a new instance with an empty writer/calc/etc. document.
Comment 2 Hanno Böck gentoo-dev 2013-02-07 20:18:46 UTC
well, I've used them for ages to open files and it always worked.

For libreoffice, they look just like this:
melee portage # cat /usr/bin/lowriter 
#!/bin/sh
/usr/lib64/libreoffice/program/soffice --writer "$@"

I think this can pretty much be re-used for openoffice, should work the same with adapted path.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-02-07 21:04:49 UTC
That is precisely what the /usr/bin/ooffice script does.

I guess there is no real reason to not have the others conform to this.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-07-23 22:44:15 UTC
Fixed in openoffice-bin-4.0.0