aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2023-06-19 21:20:13 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2023-06-19 21:20:13 +0300
commit75533443ecae81d6861bdc1402a0e4b271838979 (patch)
treefb4c8940bcc82d0b397ed31af849b92b000b3bd0 /src
parent60a09132b62c3cae86f5e832830a4490ba5bf712 (diff)
downloadsciteco-75533443ecae81d6861bdc1402a0e4b271838979.tar.gz
distribute sciteco.desktop
* Useful for packaging on platforms where we can only build from tarballs (FreeBSD) * I don't know whether it's always safe and correct to install this file into $DATADIR/applications, so the file is only distributed but not installed yet. * It contains a hardcoded binary name "gsciteco". This could actually differ depending on the concrete --program-prefix and it would be good to include the exact installation path. This however is not possible as long as we do not install this file.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
-rw-r--r--src/sciteco.desktop8
2 files changed, 10 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index f1f073e..b9aca8a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,8 +25,8 @@ BUILT_SOURCES =
dist_noinst_SCRIPTS = symbols-extract.tes
-# Emscripten HTML page:
-EXTRA_DIST = sciteco.html
+# Emscripten HTML page and Unix desktop file:
+EXTRA_DIST = sciteco.html sciteco.desktop
noinst_LTLIBRARIES = libsciteco-base.la
libsciteco_base_la_SOURCES = main.c sciteco.h list.h \
diff --git a/src/sciteco.desktop b/src/sciteco.desktop
new file mode 100644
index 0000000..f2fbd0e
--- /dev/null
+++ b/src/sciteco.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=SciTECO
+Comment=Scintilla-based Text Editor and Corrector
+Exec=gsciteco
+Icon=sciteco
+Type=Application
+Categories=Utility;TextEditor;
+MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;