nixpkgs-suyu/pkgs
Bjørn Forsman 64661f0597 libreoffice: fix Exec= in .desktop files
Before we do substitutions, the Exec= line is (currently)
"Exec=libreofficedev4.3 --some-arg". Our substitution logic doesn't handle
that, resulting in broken "Exec=$out/bin/sofficedev4.3 --some-arg"
($out/bin/sofficedev4.3 doesn't exist).

Looking at libreoffice source, the .desktop files refer to a UNIXBASISROOTNAME
variable which come from instsetoo_native/util/openoffice.lst.in. Currently, it
can have one of two values, presumably depending on whether the build is
"normal" or "development":

  libreoffice${major}.${minor}

  libreofficedev${major}.${minor}

Handle both these cases, and also leave the old non-versioned substitution
around, just in case.

Fixes issue #3463.
2014-12-14 18:05:24 +01:00
..
applications libreoffice: fix Exec= in .desktop files 2014-12-14 18:05:24 +01:00
build-support gnat: make it build again (close #5307) 2014-12-14 16:24:31 +01:00
data dina-font: fix the installPhase 2014-12-09 17:11:29 -05:00
desktops Some fixes to the polari irc client 2014-12-12 15:24:23 +01:00
development gcc-4.6: bump to 4.6.4 2014-12-14 16:24:31 +01:00
games gltron: mark as broken 2014-12-12 18:39:01 +01:00
misc alock: update the package 2014-12-10 17:16:38 +01:00
os-specific broadcom_sta: fix build with kernel 3.18 (close #5315) 2014-12-14 10:51:31 +01:00
servers fix builds for rest of kernel modules on 3.18 2014-12-11 02:03:43 +01:00
shells Merge branch 'master' into staging 2014-12-07 14:02:48 +01:00
stdenv
test
tools Merge pull request #5327 from k0ral/moreutils 2014-12-14 13:33:11 +01:00
top-level apitrace: New expression 2014-12-14 15:41:51 +00:00