void-packages/srcpkgs/texstudio/patches/31-fix-desktop.patch

24 lines
785 B
Diff

#based on debian's patch by Tom Jampen <tom@cryptography.ch>
# Description:
# Patches texstudio.desktop to add important keywords. It also removes the
# useless categories and no longer needed encoding entry.
--- a/utilities/texstudio.desktop
+++ b/utilities/texstudio.desktop
@@ -1,5 +1,5 @@
[Desktop Entry]
-Categories=Office;Publishing;Qt;X-SuSE-Core-Office;X-Mandriva-Office-Publishing;X-Misc;
+Categories=Office;Publishing;
Exec=texstudio %F
GenericName=LaTeX Editor
GenericName[de]=LaTeX Editor
@@ -8,7 +8,7 @@
Comment[de]=LaTeX Entwicklungsumgebung
Comment[fr]=Environnement de développement LaTeX
Icon=texstudio
-Keywords=LaTeX;TeX;editor;
+Keywords=LaTeX;TeX;editor;pdflatex;xelatex;lualatex;context;bibtex;
MimeType=text/x-tex;
Name=TeXstudio
StartupNotify=false