Github messages for voidlinux
 help / color / mirror / Atom feed
From: shnaps <shnaps@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: Logseq-0.9.8
Date: Sat, 10 Jun 2023 09:29:14 +0200	[thread overview]
Message-ID: <20230610072914.Fj1RI1BTkQoTHqKJ2DLMZy3uNilKFy6B267QaG__52k@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44337@inbox.vuxu.org>

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

There is an updated 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 67afd8475b2f33798995ef9ab7b5cd362ddd945c 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
+}

  reply	other threads:[~2023-06-10  7:29 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-09 19:36 [PR PATCH] " shnaps
2023-06-10  7:29 ` shnaps [this message]
2023-06-10  7:31 ` [PR PATCH] [Updated] " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230610072914.Fj1RI1BTkQoTHqKJ2DLMZy3uNilKFy6B267QaG__52k@z \
    --to=shnaps@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).