From 1e7995f5b77c0ffbba9460cfcb02a91f8a57b4bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lien=20Sell=C3=A6g?= Date: Tue, 17 Nov 2015 18:25:40 +0100 Subject: [PATCH 1/2] Fix to broken debian stable package xdg-desktop-menu https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730621 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 59e1e52..20e43d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,5 +11,6 @@ add_subdirectory("src") find_program(XDG_DESKTOP_MENU_EXECUTABLE xdg-desktop-menu) if(XDG_DESKTOP_MENU_EXECUTABLE) + install(DIRECTORY DESTINATION "/usr/share/desktop-directories") install(CODE "execute_process(COMMAND ${XDG_DESKTOP_MENU_EXECUTABLE} install --novendor share/juci.desktop)") endif() From 2ff983119d23502ac4dbc42b400a8311b0120300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lien=20Sell=C3=A6g?= Date: Tue, 17 Nov 2015 18:55:18 +0100 Subject: [PATCH 2/2] Add more mimetypes and correct execute --- share/juci.desktop | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/share/juci.desktop b/share/juci.desktop index b249322..270114b 100644 --- a/share/juci.desktop +++ b/share/juci.desktop @@ -1,9 +1,10 @@ [Desktop Entry] +Version=1.0 Name=juCi++ Comment=A lightweight IDE -Exec=juci %F +Exec=/usr/local/bin/juci %F Terminal=false Type=Application StartupNotify=true -MimeType=text/plain; +MimeType=text/plain;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-c;text/x-c++; Categories=Utility;Development;TextEditor;