3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/office
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
..
abiword abiword: update from 2.8.6 to 3.0.0 and adopt it 2014-09-26 22:26:32 +02:00
antiword Some description fixes 2013-10-05 19:36:23 +02:00
basket Rename buildNativeInputs -> nativeBuildInputs 2012-12-28 19:20:09 +01:00
calligra Update Calligra to 2.8.6. 2014-11-24 16:26:37 +01:00
eventlist Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
gnucash gnucash: delete icon theme cache 2014-09-27 13:48:09 +02:00
gnumeric Update gnumeric 2014-12-03 09:12:39 +01:00
hledger-interest Re-generate Haskell expressions with latest cabal2nix. 2014-08-09 13:49:24 +02:00
hledger-irr Re-generate Haskell expressions with latest cabal2nix. 2014-08-09 13:49:24 +02:00
homebank Updating homebank to 4.6.3. 2014-09-01 12:59:34 +02:00
impressive Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
kbibtex Add kbibtex 2012-06-09 13:09:45 +00:00
keepnote Revert "keepnote: add myself as a maintainer" 2014-09-18 10:44:01 +02:00
kmymoney kde4.kmymoney: update from 4.6.2 to 4.6.4, add documentation 2014-02-13 19:09:47 +02:00
ledger ledger3: Update to 3.1 2014-11-07 16:29:15 +01:00
libreoffice libreoffice: fix Exec= in .desktop files 2014-12-14 18:05:24 +01:00
mmex Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
pinpoint Add Pinpoint presentation software 2014-11-06 20:50:40 -07:00
scribus scribus: update from 1.4.3 to 1.4.4 2014-11-05 23:59:11 +00:00
skrooge skrooge: update from 1.3.2 to 1.10.0 2014-12-02 19:28:11 +01:00
tagainijisho tagainijisho: new derivation 2014-10-14 01:42:23 +01:00
todo.txt-cli Add todo.txt-cli, a cli todo list manager 2014-01-15 19:44:37 -05:00
zanshin zanshin-0.2.1, fix advertised version 2012-06-13 07:09:07 +00:00
zim zim: update from 0.61 to 0.62 2014-11-26 13:08:01 +00:00
zotero zotero: use private firefox and xulrunner 2014-12-04 09:40:57 -06:00