summaryrefslogtreecommitdiff
path: root/textproc/logseq/files
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/logseq/files')
-rw-r--r--textproc/logseq/files/Logseq.desktop8
-rw-r--r--textproc/logseq/files/Logseq.in10
-rw-r--r--textproc/logseq/files/patch-resources_app_node__modules__logseq_rsapi-linux-x64-gnu_package.json26
3 files changed, 44 insertions, 0 deletions
diff --git a/textproc/logseq/files/Logseq.desktop b/textproc/logseq/files/Logseq.desktop
new file mode 100644
index 000000000000..ce9de84399ef
--- /dev/null
+++ b/textproc/logseq/files/Logseq.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Logseq
+Comment=Open Source platform for knowledge sharing and management
+Icon=Logseq
+Exec=Logseq %u
+Categories=Office;
+MimeType=x-scheme-handler/logseq
diff --git a/textproc/logseq/files/Logseq.in b/textproc/logseq/files/Logseq.in
new file mode 100644
index 000000000000..a90f154a941e
--- /dev/null
+++ b/textproc/logseq/files/Logseq.in
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# workaround Chromium bug https://bugs.chromium.org/p/chromium/issues/detail?id=918234
+if [ "$DBUS_SESSION_BUS_ADDRESS" = "" ]; then
+ export DBUS_SESSION_BUS_ADDRESS="autolaunch:"
+fi
+
+export GIT_EXEC_PATH=%%LOCALBASE%%/bin/git
+
+exec %%DATADIR%%/Logseq "$@"
diff --git a/textproc/logseq/files/patch-resources_app_node__modules__logseq_rsapi-linux-x64-gnu_package.json b/textproc/logseq/files/patch-resources_app_node__modules__logseq_rsapi-linux-x64-gnu_package.json
new file mode 100644
index 000000000000..52b4847e3dd4
--- /dev/null
+++ b/textproc/logseq/files/patch-resources_app_node__modules__logseq_rsapi-linux-x64-gnu_package.json
@@ -0,0 +1,26 @@
+--- resources/app/node_modules/@logseq/rsapi-linux-x64-gnu/package.json.orig 2025-05-25 10:25:54 UTC
++++ resources/app/node_modules/@logseq/rsapi-linux-x64-gnu/package.json
+@@ -1,19 +1,19 @@
+ {
+- "name": "@logseq/rsapi-linux-x64-gnu",
++ "name": "@logseq/rsapi-freebsd-x64",
+ "private": false,
+ "publishConfig": {
+ "access": "public"
+ },
+ "version": "0.0.92",
+ "os": [
+- "linux"
++ "freebsd"
+ ],
+ "cpu": [
+ "x64"
+ ],
+- "main": "rsapi.linux-x64-gnu.node",
++ "main": "rsapi.freebsd-x64.node",
+ "files": [
+- "rsapi.linux-x64-gnu.node"
++ "rsapi.freebsd-x64.node"
+ ],
+ "license": "MIT",
+ "engines": {