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
Attachment:
pgpVKd2Tnqk6R.pgp
Description: PGP signature