nixpkgs-suyu/pkgs/applications
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
..
audio Add cava, console-based Audio Visualizer for Alsa 2014-12-12 00:09:32 +01:00
backup/crashplan crashplan: 3.6.3 -> 3.6.4 2014-11-18 12:40:57 +00:00
display-managers fix sha for a slim's theme 2014-11-08 22:40:36 +03:00
editors pycharm: Update to 4.0.1 2014-12-01 18:27:51 +01:00
gis saga: update from 2.1.2 to 2.1.4 and re-enable build on x86_64-linux 2014-11-18 14:50:01 +01:00
graphics apitrace: New expression 2014-12-14 15:41:51 +00:00
inferno Add missing 's' in remaining meta.maintainer(s) attrs 2014-07-22 23:49:21 +02:00
misc k3b: fix audio cd ripping 2014-12-14 16:14:12 +01:00
networking Fix Firefox wrapper set-as-default functionality 2014-12-12 22:03:06 +03:00
office libreoffice: fix Exec= in .desktop files 2014-12-14 18:05:24 +01:00
science root: fix build by upstream patch 2014-12-10 13:03:01 +01:00
search Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
taxes Add aangifte-2013 2014-03-01 16:54:16 +01:00
version-management Merge pull request #5323 from offlinehacker/gitlab_i686_fix 2014-12-14 09:48:44 +01:00
video dvdauthor: fix building against glibc 2.20 2014-12-13 21:17:27 +01:00
virtualization Update/Fix OVMF 2014-12-11 08:46:13 +03:00
window-managers i3: make i3-save-workspace work 2014-11-30 18:40:03 +01:00