[Libreoffice-commits] "Do not hard code /usr"

Baptiste Daroussin bapt at FreeBSD.org
Thu Jun 12 02:14:45 PDT 2014


On Thu, Jun 12, 2014 at 10:52:54AM +0200, Stephan Bergmann wrote:
> The below breaks e. g. Linux --with-package-format=rpm builds (cf. 
> <http://tinderbox.libreoffice.org/cgi-bin/gunzip.cgi?tree=MASTER&full-log=1402500005.29267>), 
> because e. g. sysui/desktop/freedesktop/freedesktop-menus.spec still 
> assumes *.desktop files at /usr/share/applications while 
> sysui/desktop/share/create_tree.sh now assumes them at 
> ${PREFIXDIR}/share/applications, where configure.ac gives 
> PREFIXDIR=/usr/local at least for me.
> 
> No idea what the right fix is, whether the sysui/desktop/ *.specs need 
> to be adapted to PREFIXDIR or whether those /usr/share paths should be 
> left hardcoded.

Won't a patch like this just do the trick ?
http://people.freebsd.org/~bapt/attempt-to-fix-rpm.diff

imho this is important to have the less possible hardcoded path not only for non
linux targets but also for linux distributions that does not install everything
in /usr

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140612/794d850f/attachment.sig>


More information about the LibreOffice mailing list