Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: Logseq-0.9.8
@ 2023-06-09 19:36 shnaps
  2023-06-10  7:29 ` [PR PATCH] [Updated] " shnaps
                   ` (43 more replies)
  0 siblings, 44 replies; 45+ messages in thread
From: shnaps @ 2023-06-09 19:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 657 bytes --]

There is a new pull request by shnaps against master on the void-packages repository

https://github.com/shnaps/void-packages Logseq
https://github.com/void-linux/void-packages/pull/44337

New package: Logseq-0.9.8
#### Testing the changes
- I tested the changes in this PR: **briefly**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/44337.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Logseq-44337.patch --]
[-- Type: text/x-diff, Size: 2814 bytes --]

From 9483b3f699de22fcc41381d5da89123483eb9bf4 Mon Sep 17 00:00:00 2001
From: Viachaslau Ravinski <shnapsx@gmail.com>
Date: Fri, 9 Jun 2023 12:24:16 -0700
Subject: [PATCH] New package: Logseq-0.9.8

---
 srcpkgs/Logseq/files/Logseq.desktop | 11 +++++++++++
 srcpkgs/Logseq/files/Logseq.sh      | 15 +++++++++++++++
 srcpkgs/Logseq/template             | 21 +++++++++++++++++++++
 3 files changed, 47 insertions(+)
 create mode 100644 srcpkgs/Logseq/files/Logseq.desktop
 create mode 100644 srcpkgs/Logseq/files/Logseq.sh
 create mode 100644 srcpkgs/Logseq/template

diff --git a/srcpkgs/Logseq/files/Logseq.desktop b/srcpkgs/Logseq/files/Logseq.desktop
new file mode 100644
index 000000000000..c0f64e6dbe97
--- /dev/null
+++ b/srcpkgs/Logseq/files/Logseq.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Logseq
+Exec=/usr/bin/Logseq %u
+MimeType=x-scheme-handler/logseq
+Terminal=false
+Type=Application
+Icon=logseq
+StartupWMClass=logseq
+Comment=Open Source platform for knowledge sharing and management
+Categories=Office
+
diff --git a/srcpkgs/Logseq/files/Logseq.sh b/srcpkgs/Logseq/files/Logseq.sh
new file mode 100644
index 000000000000..28e420474cb1
--- /dev/null
+++ b/srcpkgs/Logseq/files/Logseq.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env sh
+# Launches Logseq with flags specified in $XDG_CONFIG_HOME/logseq-flags.conf
+
+# Make script fail if `cat` fails for some reason
+set -e
+
+# Set default value if variable is unset/null
+XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-${HOME}/.config}"
+
+# Attempt to read a config file if it exists
+if [ -r "${XDG_CONFIG_HOME}/logseq-flags.conf" ]; then
+  LOGSEQ_USER_FLAGS="$(cat "$XDG_CONFIG_HOME/logseq-flags.conf")"
+fi
+
+exec /usr/lib/Logseq/Logseq $LOGSEQ_USER_FLAGS "$@"
diff --git a/srcpkgs/Logseq/template b/srcpkgs/Logseq/template
new file mode 100644
index 000000000000..b6e1ebfb1fb4
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,21 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.8
+revision=1
+archs="x86_64"
+short_desc="Open-source platform for knowledge sharing and management"
+maintainer="shnaps <shnapsx@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/logseq/logseq"
+distfiles="https://github.com/logseq/logseq/releases/download/${version}/logseq-linux-x64-${version}.zip"
+checksum=6ccea0db1c7083c72046fcba80ac2e80cfa16196e10280fcb0438d652ee119d2
+nostrip_files="Logseq"
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "${XBPS_BUILDDIR}/${pkgname}-${version}/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "${XBPS_BUILDDIR}/${pkgname}-${version}" usr/lib/Logseq
+	vlicense "${XBPS_BUILDDIR}/${pkgname}-${version}/LICENSE"
+	vlicense "${XBPS_BUILDDIR}/${pkgname}-${version}/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

^ permalink raw reply	[flat|nested] 45+ messages in thread

end of thread, other threads:[~2024-04-12  0:43 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
2023-06-10  7:29 ` [PR PATCH] [Updated] " shnaps
2023-06-10  7:31 ` shnaps
2023-06-11 10:41 ` unrealjo
2023-06-11 11:17 ` classabbyamp
2023-06-11 16:16 ` unrealjo
2023-06-11 16:31 ` classabbyamp
2023-06-11 22:21 ` unrealjo
2023-06-11 22:25 ` [PR REVIEW] " classabbyamp
2023-06-11 22:25 ` classabbyamp
2023-06-12 17:09 ` shnaps
2023-06-12 17:14 ` shnaps
2023-06-12 19:00 ` classabbyamp
2023-06-12 21:50 ` shnaps
2023-06-19 17:39 ` [PR PATCH] [Updated] [WIP] " shnaps
2023-06-19 18:05 ` [PR REVIEW] [WIP] New package: Logseq-0.9.9 shnaps
2023-06-19 20:06 ` [PR PATCH] [Updated] " shnaps
2023-06-19 20:08 ` shnaps
2023-06-19 20:16 ` shnaps
2023-06-19 20:44 ` [PR PATCH] [Updated] [WIP] New package: Logseq-0.9.8 shnaps
2023-06-19 20:47 ` shnaps
2023-06-20  0:20 ` [PR PATCH] [Updated] " shnaps
2023-06-20  0:23 ` shnaps
2023-06-26  1:42 ` shnaps
2023-08-10  2:52 ` shnaps
2023-08-10  2:53 ` shnaps
2023-08-10  2:55 ` shnaps
2023-08-10  2:57 ` shnaps
2023-08-13 21:01 ` unrealjo
2023-08-13 21:01 ` unrealjo
2023-08-27  4:49 ` [PR PATCH] [Updated] " shnaps
2023-08-27  8:13 ` shnaps
2023-08-27  8:16 ` [PR PATCH] [Updated] New package: Logseq-0.9.15 shnaps
2023-08-27  8:19 ` shnaps
2023-08-27  8:38 ` [PR PATCH] [Updated] " shnaps
2023-09-06 18:04 ` shnaps
2023-09-06 18:07 ` [PR PATCH] [Updated] New package: Logseq-0.9.16 shnaps
2023-09-07 21:33 ` shnaps
2023-10-16 15:32 ` [PR PATCH] [Updated] New package: Logseq-0.9.17 shnaps
2024-01-15  1:48 ` github-actions
2024-01-30  1:44 ` [PR PATCH] [Closed]: " github-actions
2024-03-23 10:19 ` gontcharovd
2024-03-26 23:27 ` shnaps
2024-04-06 12:12 ` gontcharovd
2024-04-12  0:43 ` shnaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).