Author: sanda
Date: Tue Dec 6 00:06:36 2011
New Revision: 40386
URL: http://www.lyx.org/trac/changeset/40386
Log:
Add desktop file to tarball and let it install into proper directory.
Bug #2820, thanks Timo Kluck for pointers.
Added:
lyx-devel/trunk/lib/lyx.desktop
Modified:
lyx-devel/trunk/Makefile.am
Modified: lyx-devel/trunk/Makefile.am
==============================================================================
--- lyx-devel/trunk/Makefile.am Mon Dec 5 22:27:05 2011 (r40385)
+++ lyx-devel/trunk/Makefile.am Tue Dec 6 00:06:36 2011 (r40386)
@@ -21,10 +21,18 @@
EXTRA_DIST = ANNOUNCE INSTALL.autoconf RELEASE-NOTES UPGRADING \
INSTALL.Win32 INSTALL.MacOSX INSTALL.scons INSTALL.cmake \
- README.Win32 README.Cygwin README.localization lyx.1in autogen.sh
+ README.Win32 README.Cygwin README.localization lyx.1in \
+ autogen.sh lib/lyx.desktop
man_MANS = lyx.1
+if !INSTALL_WINDOWS
+if !INSTALL_MACOSX
+desktopdir = $(datadir)/applications
+desktop_DATA = lib/lyx.desktop
+endif
+endif
+
#Wait some time for bumping automake 1.11, which can use dist-xz
#directly without this code, which is to be removed.
#xz has low compression by default, but can be affected via
Added: lyx-devel/trunk/lib/lyx.desktop
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ lyx-devel/trunk/lib/lyx.desktop Tue Dec 6 00:06:36 2011 (r40386)
@@ -0,0 +1,14 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=LyX
+GenericName=Document Processor
+Comment=High level LaTeX frontend
+Exec=lyx %F
+TryExec=lyx
+Icon=lyx
+StartupNotify=false
+StartupWMClass=Lyx
+Terminal=false
+Categories=Office;WordProcessor;Qt;
+MimeType=text/x-lyx;application/x-lyx;