[Open Office] Keep 2.0 prefix for OOo-2.1?

Petr Mladek pmladek at suse.cz
Fri Jan 5 09:05:36 EST 2007


Hi,

the upstream changed the install prefix for OOo-2.1:

	/opt/openoffice.org2.0 -> /opt/openoffice.org2.1

It has already used the minor-version-independent prefix for the user 
configuration:

	~/.openoffice.org2


We could do something similar in ooo-build:

	/usr/lib/ooo-2.0 -> /usr/lib/ooo2
	/usr/share/ooo-2.0 -> /usr/share/ooo2
	/usr/include/ooo-2.0 -> /usr/include/ooo2
	/usr/lib/pkgconfig/mono-ooo-2.0.pc -> /usr/lib/pkgconfig/mono-ooo2.pc
	~/.ooo-2.0 -> ~/.ooo2


Though, I vote to keep the 2.0 paths because:

1. If we switch to ~/.ooo2, users would "lost" their older setting.
2. If we keep ~/.ooo-2.0 and change only other prefixes, it would be 
inconsistent.
3. We could add a symlink ~/.ooo2 -> ~/.ooo-2.0 from the program/soffice 
wrapper but I do not like this hack.
4. The prefix change would be used to create FHS-compatible package (config 
files below /etc, arch independent files below /usr/share, ...). This change 
is not easy and I do not have time to work on it now. Note that it must be 
done together with the prefix change because RPM does not allow to replace a 
directory with a compat symlink.
5. The wrappers ooffice, oowriter... are already version-independent. The 
other paths are hidden to the normal users, so they are less important.


What do you think?

Does anybody complain if we keep the 2.0 paths as they are?


Best Regards,
Petr


More information about the Openoffice mailing list