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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
@ 2023-06-10  7:29 ` shnaps
  2023-06-10  7:31 ` shnaps
                   ` (42 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-10  7:29 UTC (permalink / raw)
  To: ml

[-- 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
+}

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.8
  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
                   ` (41 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-10  7:31 UTC (permalink / raw)
  To: ml

[-- 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: 2827 bytes --]

From efb30b233a7b2da5dc5ff5deaf6d8745cb90b9a2 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..69cebd3541d3
--- /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="Viachaslau Ravinski <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

* Re: New package: Logseq-0.9.8
  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
                   ` (40 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: unrealjo @ 2023-06-11 10:41 UTC (permalink / raw)
  To: ml

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

New comment by unrealjo on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#issuecomment-1586110679

Comment:
@shnaps It still in [Beta Testing](https://github.com/logseq/logseq/releases)  ?!
@classabbyamp  I'm not sure if these packages can be considered stable. The situation may be similar to FreeTube.

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

* Re: New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (2 preceding siblings ...)
  2023-06-11 10:41 ` unrealjo
@ 2023-06-11 11:17 ` classabbyamp
  2023-06-11 16:16 ` unrealjo
                   ` (39 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: classabbyamp @ 2023-06-11 11:17 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#issuecomment-1586120984

Comment:
why ping me specifically?

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

* Re: New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (3 preceding siblings ...)
  2023-06-11 11:17 ` classabbyamp
@ 2023-06-11 16:16 ` unrealjo
  2023-06-11 16:31 ` classabbyamp
                   ` (38 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: unrealjo @ 2023-06-11 16:16 UTC (permalink / raw)
  To: ml

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

New comment by unrealjo on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#issuecomment-1586235399

Comment:
> why ping me specifically?
So I can specify for whom the part of comment is addressed.

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

* Re: New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (4 preceding siblings ...)
  2023-06-11 16:16 ` unrealjo
@ 2023-06-11 16:31 ` classabbyamp
  2023-06-11 22:21 ` unrealjo
                   ` (37 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: classabbyamp @ 2023-06-11 16:31 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#issuecomment-1586240063

Comment:
but why address it to me specifically? all i did was label the pr

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

* Re: New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (5 preceding siblings ...)
  2023-06-11 16:31 ` classabbyamp
@ 2023-06-11 22:21 ` unrealjo
  2023-06-11 22:25 ` [PR REVIEW] " classabbyamp
                   ` (36 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: unrealjo @ 2023-06-11 22:21 UTC (permalink / raw)
  To: ml

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

New comment by unrealjo on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#issuecomment-1586359389

Comment:
> but why address it to me specifically? all i did was label the pr

I thought you were a voidlinux maintainer, so I wanted your opinion.

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

* Re: [PR REVIEW] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (6 preceding siblings ...)
  2023-06-11 22:21 ` unrealjo
@ 2023-06-11 22:25 ` classabbyamp
  2023-06-11 22:25 ` classabbyamp
                   ` (35 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: classabbyamp @ 2023-06-11 22:25 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#discussion_r1225944264

Comment:
this will not be accepted as is, using the binary release when the source is available

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

* Re: [PR REVIEW] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (7 preceding siblings ...)
  2023-06-11 22:25 ` [PR REVIEW] " classabbyamp
@ 2023-06-11 22:25 ` classabbyamp
  2023-06-12 17:09 ` shnaps
                   ` (34 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: classabbyamp @ 2023-06-11 22:25 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#discussion_r1225944153

Comment:
the first argument of most of the v* functions are relative to `$wrksrc`, which is `$XBPS_BUILDDIR/$pkgname-$version`

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

* Re: [PR REVIEW] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (8 preceding siblings ...)
  2023-06-11 22:25 ` classabbyamp
@ 2023-06-12 17:09 ` shnaps
  2023-06-12 17:14 ` shnaps
                   ` (33 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-12 17:09 UTC (permalink / raw)
  To: ml

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

New review comment by shnaps on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#discussion_r1226981879

Comment:
Not sure what you suggest here. Could you tell me more?

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

* Re: [PR REVIEW] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (9 preceding siblings ...)
  2023-06-12 17:09 ` shnaps
@ 2023-06-12 17:14 ` shnaps
  2023-06-12 19:00 ` classabbyamp
                   ` (32 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-12 17:14 UTC (permalink / raw)
  To: ml

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

New review comment by shnaps on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#discussion_r1226988193

Comment:
I haven't considered compiling from sources yet. I'll think about the PR in this case.

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

* Re: [PR REVIEW] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (10 preceding siblings ...)
  2023-06-12 17:14 ` shnaps
@ 2023-06-12 19:00 ` classabbyamp
  2023-06-12 21:50 ` shnaps
                   ` (31 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: classabbyamp @ 2023-06-12 19:00 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#discussion_r1227117144

Comment:
`vlicense "${XBPS_BUILDDIR}/${pkgname}-${version}/LICENSE"` should be `vlicense LICENSE`

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

* Re: [PR REVIEW] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (11 preceding siblings ...)
  2023-06-12 19:00 ` classabbyamp
@ 2023-06-12 21:50 ` shnaps
  2023-06-19 17:39 ` [PR PATCH] [Updated] [WIP] " shnaps
                   ` (30 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-12 21:50 UTC (permalink / raw)
  To: ml

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

New review comment by shnaps on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#discussion_r1226988193

Comment:
I haven't considered compiling from sources yet. I'll think about closing the PR in this case.

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

* Re: [PR PATCH] [Updated] [WIP] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (12 preceding siblings ...)
  2023-06-12 21:50 ` shnaps
@ 2023-06-19 17:39 ` shnaps
  2023-06-19 18:05 ` [PR REVIEW] [WIP] New package: Logseq-0.9.9 shnaps
                   ` (29 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-19 17:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 668 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

[WIP] 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: 3385 bytes --]

From d31808ae868d5658f8afb7e7b956bd07722f01f9 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.9

---
 srcpkgs/Logseq/files/Logseq.desktop | 11 +++++++
 srcpkgs/Logseq/files/Logseq.sh      | 15 ++++++++++
 srcpkgs/Logseq/template             | 45 +++++++++++++++++++++++++++++
 3 files changed, 71 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..4984ea9a7abd
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,45 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.9
+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"
+hostmakedepends="nodejs yarn clojure python3 zip git"
+homepage="https://github.com/logseq/logseq"
+distfiles="https://github.com/logseq/logseq/archive/refs/tags/${version}.zip"
+checksum=9db35ed90df603a54a33daf30a44d6c1422ad4dce3ab187063fb41d79e2baec1
+nostrip_files="Logseq"
+noshlibprovides=yes
+
+do_configure(){
+    # download required js modules
+    yarn install
+
+    # create and sync files to folder `static`
+    yarn gulp:build
+
+    # go to folder `static` and download required js modules in static
+    cd "${XBPS_BUILDDIR}/${pkgname}-${version}/static"
+    yarn install
+
+    # go back to the top-level folder and download clojure dependencies
+    cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+    clojure -P -M:cljs
+}
+
+do_build(){
+	yarn cljs:release
+    cd "${XBPS_BUILDDIR}/${pkgname}-${version}/static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR REVIEW] [WIP] New package: Logseq-0.9.9
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (13 preceding siblings ...)
  2023-06-19 17:39 ` [PR PATCH] [Updated] [WIP] " shnaps
@ 2023-06-19 18:05 ` shnaps
  2023-06-19 20:06 ` [PR PATCH] [Updated] " shnaps
                   ` (28 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-19 18:05 UTC (permalink / raw)
  To: ml

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

New review comment by shnaps on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#discussion_r1234326846

Comment:
Updated this template to compile from sources but seems like it requires openssl 3. 
```
SONAME: libssl.so.3 <-> UNKNOWN PKG PLEASE FIX!
SONAME: libcrypto.so.3 <-> UNKNOWN PKG PLEASE FIX!
```
Is there any way I can fix it until https://github.com/void-linux/void-packages/pull/37681 is merged?

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

* Re: [PR PATCH] [Updated] [WIP] New package: Logseq-0.9.9
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (14 preceding siblings ...)
  2023-06-19 18:05 ` [PR REVIEW] [WIP] New package: Logseq-0.9.9 shnaps
@ 2023-06-19 20:06 ` shnaps
  2023-06-19 20:08 ` shnaps
                   ` (27 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-19 20:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 668 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

[WIP] New package: Logseq-0.9.9
#### 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: 4372 bytes --]

From 5ad65853cfc468f2be2eefb152e30a7ca1745321 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             | 44 +++++++++++++++++++++++++++++
 srcpkgs/sotw/template               | 19 +++++++++++++
 4 files changed, 89 insertions(+)
 create mode 100644 srcpkgs/Logseq/files/Logseq.desktop
 create mode 100644 srcpkgs/Logseq/files/Logseq.sh
 create mode 100644 srcpkgs/Logseq/template
 create mode 100644 srcpkgs/sotw/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..ae0b304929a7
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,44 @@
+# 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"
+hostmakedepends="nodejs yarn clojure python3 zip git"
+homepage="https://github.com/logseq/logseq"
+distfiles="https://github.com/logseq/logseq/archive/refs/tags/${version}.zip"
+checksum=fbd6327d5ac55bcd7b26c54354244d770774c5e3ee17f33cf03bd654c7356409
+nostrip_files="Logseq"
+
+do_configure(){
+    # download required js modules
+    yarn install
+
+    # create and sync files to folder `static`
+    yarn gulp:build
+
+    # go to folder `static` and download required js modules in static
+    cd "${XBPS_BUILDDIR}/${pkgname}-${version}/static"
+    yarn install
+
+    # go back to the top-level folder and download clojure dependencies
+    cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+    clojure -P -M:cljs
+}
+
+do_build(){
+	yarn cljs:release
+    cd "${XBPS_BUILDDIR}/${pkgname}-${version}/static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}
diff --git a/srcpkgs/sotw/template b/srcpkgs/sotw/template
new file mode 100644
index 000000000000..ab0a49a6353c
--- /dev/null
+++ b/srcpkgs/sotw/template
@@ -0,0 +1,19 @@
+# Template file for 'sotw'
+pkgname=sotw
+version=1.5.2
+revision=1
+archs="x86_64"
+hostmakedepends="premake4 xerces-c SDL2 SDL2_image zlib ncurses lua51 boost gtest"
+# makedepeends="libxerces-c"
+# depends="xerces-c"
+short_desc="Shadow Of The Wyrm is a single player, traditional roguelike by Julian Day"
+maintainer="Viachaslau Ravinski <shnapsx@gmail.com>"
+license="MIT"
+homepage="http://www.shadowofthewyrm.org/"
+distfiles="https://github.com/prolog/shadow-of-the-wyrm/archive/refs/tags/release-${version}.zip"
+checksum=bd1350c6fd3858c69845a7f22c614c1f36ba15276252c75ca87bfda518a5e557
+
+do_install(){
+    premake4 --lua_include=/usr/bin/lua-5.1 --lua_link=lua-5.1 gmake    # make config=release
+    make config=release
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: Logseq-0.9.9
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (15 preceding siblings ...)
  2023-06-19 20:06 ` [PR PATCH] [Updated] " shnaps
@ 2023-06-19 20:08 ` shnaps
  2023-06-19 20:16 ` shnaps
                   ` (26 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-19 20:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 668 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

[WIP] New package: Logseq-0.9.9
#### 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: 3365 bytes --]

From 65a48ba5624a366cda523cc943cd9a7107ced368 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             | 44 +++++++++++++++++++++++++++++
 3 files changed, 70 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..ae0b304929a7
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,44 @@
+# 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"
+hostmakedepends="nodejs yarn clojure python3 zip git"
+homepage="https://github.com/logseq/logseq"
+distfiles="https://github.com/logseq/logseq/archive/refs/tags/${version}.zip"
+checksum=fbd6327d5ac55bcd7b26c54354244d770774c5e3ee17f33cf03bd654c7356409
+nostrip_files="Logseq"
+
+do_configure(){
+    # download required js modules
+    yarn install
+
+    # create and sync files to folder `static`
+    yarn gulp:build
+
+    # go to folder `static` and download required js modules in static
+    cd "${XBPS_BUILDDIR}/${pkgname}-${version}/static"
+    yarn install
+
+    # go back to the top-level folder and download clojure dependencies
+    cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+    clojure -P -M:cljs
+}
+
+do_build(){
+	yarn cljs:release
+    cd "${XBPS_BUILDDIR}/${pkgname}-${version}/static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: Logseq-0.9.9
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (16 preceding siblings ...)
  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
                   ` (25 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-19 20:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 668 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

[WIP] New package: Logseq-0.9.9
#### 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: 3324 bytes --]

From 8f850c0f08e33eb0c0488f59a33cae95d561a66f 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             | 44 +++++++++++++++++++++++++++++
 3 files changed, 70 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..964f3aa811bd
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,44 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.8
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 zip git"
+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/archive/refs/tags/${version}.zip"
+checksum=fbd6327d5ac55bcd7b26c54354244d770774c5e3ee17f33cf03bd654c7356409
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}/static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cljs:release
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}/static"
+	electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (17 preceding siblings ...)
  2023-06-19 20:16 ` shnaps
@ 2023-06-19 20:44 ` shnaps
  2023-06-19 20:47 ` shnaps
                   ` (24 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-19 20:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 668 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

[WIP] 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: 3323 bytes --]

From 88adbf32a9127928d6de6cba65764ca6dcfcc90c 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             | 44 +++++++++++++++++++++++++++++
 3 files changed, 70 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..cb49c0fbb3b6
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,44 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.8
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+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/archive/refs/tags/${version}.tar.gz"
+checksum=2dd28a81aaff9436efdd1610c8cb07291b03913ed0541224cac0e5d52b46f208
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}/static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cljs:release
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}/static"
+	electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [WIP] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (18 preceding siblings ...)
  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
                   ` (23 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-19 20:47 UTC (permalink / raw)
  To: ml

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

New comment by shnaps on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#issuecomment-1597739080

Comment:
Confirmed at the IRC that I won't be able to use 0.9.9 unless https://github.com/void-linux/void-packages/pull/37681 is merged into void packages. Stopped at 0.9.8 for now, will come back to update later.

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (19 preceding siblings ...)
  2023-06-19 20:47 ` shnaps
@ 2023-06-20  0:20 ` shnaps
  2023-06-20  0:23 ` shnaps
                   ` (22 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-20  0:20 UTC (permalink / raw)
  To: ml

[-- 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: 3323 bytes --]

From d008c6151308730682b0b4d78f7a315ff12a254c 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             | 44 +++++++++++++++++++++++++++++
 3 files changed, 70 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..cb49c0fbb3b6
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,44 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.8
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+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/archive/refs/tags/${version}.tar.gz"
+checksum=2dd28a81aaff9436efdd1610c8cb07291b03913ed0541224cac0e5d52b46f208
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}/static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cljs:release
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}/static"
+	electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (20 preceding siblings ...)
  2023-06-20  0:20 ` [PR PATCH] [Updated] " shnaps
@ 2023-06-20  0:23 ` shnaps
  2023-06-26  1:42 ` shnaps
                   ` (21 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-20  0:23 UTC (permalink / raw)
  To: ml

[-- 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: 3255 bytes --]

From 4f97ce67fa17cd59fa6db10545a48a2ca7e5c57f 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             | 44 +++++++++++++++++++++++++++++
 3 files changed, 70 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..9732c3b9ae91
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,44 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.8
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+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/archive/refs/tags/${version}.tar.gz"
+checksum=2dd28a81aaff9436efdd1610c8cb07291b03913ed0541224cac0e5d52b46f208
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	yarn cljs:release
+	cd "static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (21 preceding siblings ...)
  2023-06-20  0:23 ` shnaps
@ 2023-06-26  1:42 ` shnaps
  2023-08-10  2:52 ` shnaps
                   ` (20 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-06-26  1:42 UTC (permalink / raw)
  To: ml

[-- 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: 3255 bytes --]

From 4f97ce67fa17cd59fa6db10545a48a2ca7e5c57f 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             | 44 +++++++++++++++++++++++++++++
 3 files changed, 70 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..9732c3b9ae91
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,44 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.8
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+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/archive/refs/tags/${version}.tar.gz"
+checksum=2dd28a81aaff9436efdd1610c8cb07291b03913ed0541224cac0e5d52b46f208
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	yarn cljs:release
+	cd "static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (22 preceding siblings ...)
  2023-06-26  1:42 ` shnaps
@ 2023-08-10  2:52 ` shnaps
  2023-08-10  2:53 ` shnaps
                   ` (19 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-08-10  2:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 673 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
[ci skip]
#### 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: 3306 bytes --]

From 18a6e358cdf2d5eb01f7ca81ba03e14c422ef5d0 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             | 45 +++++++++++++++++++++++++++++
 3 files changed, 71 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 0000000000000..c0f64e6dbe971
--- /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 0000000000000..28e420474cb12
--- /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 0000000000000..cf00403f94789
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,45 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.8
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+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/archive/refs/tags/${version}.tar.gz"
+checksum=2dd28a81aaff9436efdd1610c8cb07291b03913ed0541224cac0e5d52b46f208
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	yarn cljs:release
+	cd "static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (23 preceding siblings ...)
  2023-08-10  2:52 ` shnaps
@ 2023-08-10  2:53 ` shnaps
  2023-08-10  2:55 ` shnaps
                   ` (18 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-08-10  2:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 673 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
[ci skip]
#### 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: 3306 bytes --]

From 18a6e358cdf2d5eb01f7ca81ba03e14c422ef5d0 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             | 45 +++++++++++++++++++++++++++++
 3 files changed, 71 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 0000000000000..c0f64e6dbe971
--- /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 0000000000000..28e420474cb12
--- /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 0000000000000..cf00403f94789
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,45 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.8
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+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/archive/refs/tags/${version}.tar.gz"
+checksum=2dd28a81aaff9436efdd1610c8cb07291b03913ed0541224cac0e5d52b46f208
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	yarn cljs:release
+	cd "static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (24 preceding siblings ...)
  2023-08-10  2:53 ` shnaps
@ 2023-08-10  2:55 ` shnaps
  2023-08-10  2:57 ` shnaps
                   ` (17 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-08-10  2:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 673 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
[ci skip]
#### 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: 3306 bytes --]

From 18a6e358cdf2d5eb01f7ca81ba03e14c422ef5d0 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             | 45 +++++++++++++++++++++++++++++
 3 files changed, 71 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 0000000000000..c0f64e6dbe971
--- /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 0000000000000..28e420474cb12
--- /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 0000000000000..cf00403f94789
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,45 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.8
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+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/archive/refs/tags/${version}.tar.gz"
+checksum=2dd28a81aaff9436efdd1610c8cb07291b03913ed0541224cac0e5d52b46f208
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	yarn cljs:release
+	cd "static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (25 preceding siblings ...)
  2023-08-10  2:55 ` shnaps
@ 2023-08-10  2:57 ` shnaps
  2023-08-13 21:01 ` unrealjo
                   ` (16 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-08-10  2:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 673 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
[ci skip]
#### 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: 3306 bytes --]

From fffc33361459dc9c4f9dd98b5a99f885fc7c14e2 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             | 45 +++++++++++++++++++++++++++++
 3 files changed, 71 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 0000000000000..c0f64e6dbe971
--- /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 0000000000000..28e420474cb12
--- /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 0000000000000..cf00403f94789
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,45 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.8
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+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/archive/refs/tags/${version}.tar.gz"
+checksum=2dd28a81aaff9436efdd1610c8cb07291b03913ed0541224cac0e5d52b46f208
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	yarn cljs:release
+	cd "static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (26 preceding siblings ...)
  2023-08-10  2:57 ` shnaps
@ 2023-08-13 21:01 ` unrealjo
  2023-08-13 21:01 ` unrealjo
                   ` (15 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: unrealjo @ 2023-08-13 21:01 UTC (permalink / raw)
  To: ml

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

New comment by unrealjo on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#issuecomment-1586359389

Comment:
> but why address it to me specifically? all i did was label the pr

I thought you were a voidlinux maintainer, so I wanted your opinion.

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

* Re: New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (27 preceding siblings ...)
  2023-08-13 21:01 ` unrealjo
@ 2023-08-13 21:01 ` unrealjo
  2023-08-27  4:49 ` [PR PATCH] [Updated] " shnaps
                   ` (14 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: unrealjo @ 2023-08-13 21:01 UTC (permalink / raw)
  To: ml

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

New comment by unrealjo on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#issuecomment-1586235399

Comment:
> why ping me specifically?
So I can specify for whom the part of comment is addressed.

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (28 preceding siblings ...)
  2023-08-13 21:01 ` unrealjo
@ 2023-08-27  4:49 ` shnaps
  2023-08-27  8:13 ` shnaps
                   ` (13 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-08-27  4:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 673 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
[ci skip]
#### 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: 3306 bytes --]

From 56e0b19186f0bb468854881a537a8527e677889a 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             | 45 +++++++++++++++++++++++++++++
 3 files changed, 71 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 0000000000000..c0f64e6dbe971
--- /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 0000000000000..28e420474cb12
--- /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 0000000000000..cf00403f94789
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,45 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.8
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+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/archive/refs/tags/${version}.tar.gz"
+checksum=2dd28a81aaff9436efdd1610c8cb07291b03913ed0541224cac0e5d52b46f208
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	yarn cljs:release
+	cd "static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.8
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (29 preceding siblings ...)
  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
                   ` (12 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-08-27  8:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 673 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
[ci skip]
#### 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: 3307 bytes --]

From e8fc4d4d5b0c3c9f59d336f84b8b4c63217200e2 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             | 45 +++++++++++++++++++++++++++++
 3 files changed, 71 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 0000000000000..c0f64e6dbe971
--- /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 0000000000000..28e420474cb12
--- /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 0000000000000..c58d60292dedb
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,45 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.15
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+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/archive/refs/tags/${version}.tar.gz"
+checksum=c9a3d352483ee0f4f95c8397c752c7830f7b7c2cade5bfba29a3254191b8c4bf
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	yarn cljs:release
+	cd "static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.15
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (30 preceding siblings ...)
  2023-08-27  8:13 ` shnaps
@ 2023-08-27  8:16 ` shnaps
  2023-08-27  8:19 ` shnaps
                   ` (11 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-08-27  8:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 674 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.15
[ci skip]
#### 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: 3308 bytes --]

From cd14cfe208cf7ed7b08dd35f61324461e7aa993b 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.15

---
 srcpkgs/Logseq/files/Logseq.desktop | 11 +++++++
 srcpkgs/Logseq/files/Logseq.sh      | 15 ++++++++++
 srcpkgs/Logseq/template             | 45 +++++++++++++++++++++++++++++
 3 files changed, 71 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 0000000000000..c0f64e6dbe971
--- /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 0000000000000..28e420474cb12
--- /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 0000000000000..c58d60292dedb
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,45 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.15
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+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/archive/refs/tags/${version}.tar.gz"
+checksum=c9a3d352483ee0f4f95c8397c752c7830f7b7c2cade5bfba29a3254191b8c4bf
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	yarn cljs:release
+	cd "static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: New package: Logseq-0.9.15
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (31 preceding siblings ...)
  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
                   ` (10 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-08-27  8:19 UTC (permalink / raw)
  To: ml

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

New comment by shnaps on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#issuecomment-1694603747

Comment:
@classabbyamp pr is ready for review again 

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.15
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (32 preceding siblings ...)
  2023-08-27  8:19 ` shnaps
@ 2023-08-27  8:38 ` shnaps
  2023-09-06 18:04 ` shnaps
                   ` (9 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-08-27  8:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 663 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.15
#### 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: 3321 bytes --]

From 49a99a9c32b3e291803f5c40a933efb0fc51e0cd 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.15

---
 srcpkgs/Logseq/files/Logseq.desktop | 11 +++++++
 srcpkgs/Logseq/files/Logseq.sh      | 15 ++++++++++
 srcpkgs/Logseq/template             | 45 +++++++++++++++++++++++++++++
 3 files changed, 71 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 0000000000000..c0f64e6dbe971
--- /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 0000000000000..28e420474cb12
--- /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 0000000000000..a044fdba90659
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,45 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.15
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+short_desc="Open-source platform for knowledge sharing and management"
+maintainer="Viachaslau Ravinski <shnapsx@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/logseq/logseq"
+distfiles="https://github.com/logseq/logseq/archive/refs/tags/${version}.tar.gz"
+checksum=c9a3d352483ee0f4f95c8397c752c7830f7b7c2cade5bfba29a3254191b8c4bf
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	yarn cljs:release
+	cd "static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.15
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (33 preceding siblings ...)
  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
                   ` (8 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-09-06 18:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 663 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.15
#### 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: 3321 bytes --]

From 86fac8380e7a9c0870af90aebb1144d28e90abdb 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.15

---
 srcpkgs/Logseq/files/Logseq.desktop | 11 +++++++
 srcpkgs/Logseq/files/Logseq.sh      | 15 ++++++++++
 srcpkgs/Logseq/template             | 45 +++++++++++++++++++++++++++++
 3 files changed, 71 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 0000000000000..c0f64e6dbe971
--- /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 0000000000000..28e420474cb12
--- /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 0000000000000..42cd7d1e655f6
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,45 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.16
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+short_desc="Open-source platform for knowledge sharing and management"
+maintainer="Viachaslau Ravinski <shnapsx@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/logseq/logseq"
+distfiles="https://github.com/logseq/logseq/archive/refs/tags/${version}.tar.gz"
+checksum=9af0300f1d68b81fd71687a94f8072d98fcced7240135b266ab08ae15afc44b3
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	yarn cljs:release
+	cd "static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.16
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (34 preceding siblings ...)
  2023-09-06 18:04 ` shnaps
@ 2023-09-06 18:07 ` shnaps
  2023-09-07 21:33 ` shnaps
                   ` (7 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-09-06 18:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 663 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.16
#### 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: 3321 bytes --]

From 6df4cdc86f34281e480c7debecbe2b8337b7a203 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.16

---
 srcpkgs/Logseq/files/Logseq.desktop | 11 +++++++
 srcpkgs/Logseq/files/Logseq.sh      | 15 ++++++++++
 srcpkgs/Logseq/template             | 45 +++++++++++++++++++++++++++++
 3 files changed, 71 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 0000000000000..c0f64e6dbe971
--- /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 0000000000000..28e420474cb12
--- /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 0000000000000..42cd7d1e655f6
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,45 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.16
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+short_desc="Open-source platform for knowledge sharing and management"
+maintainer="Viachaslau Ravinski <shnapsx@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/logseq/logseq"
+distfiles="https://github.com/logseq/logseq/archive/refs/tags/${version}.tar.gz"
+checksum=9af0300f1d68b81fd71687a94f8072d98fcced7240135b266ab08ae15afc44b3
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	yarn cljs:release
+	cd "static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.16
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (35 preceding siblings ...)
  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
                   ` (6 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-09-07 21:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 663 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.16
#### 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: 3321 bytes --]

From 33528ca69475fe7255ad8ad121264d02934479c3 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.17

---
 srcpkgs/Logseq/files/Logseq.desktop | 11 +++++++
 srcpkgs/Logseq/files/Logseq.sh      | 15 ++++++++++
 srcpkgs/Logseq/template             | 45 +++++++++++++++++++++++++++++
 3 files changed, 71 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 0000000000000..c0f64e6dbe971
--- /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 0000000000000..28e420474cb12
--- /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 0000000000000..05496af528822
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,45 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.17
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+short_desc="Open-source platform for knowledge sharing and management"
+maintainer="Viachaslau Ravinski <shnapsx@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/logseq/logseq"
+distfiles="https://github.com/logseq/logseq/archive/refs/tags/${version}.tar.gz"
+checksum=6495e0208a427d9c24d0dc9f6f78590e71e57a0a9e3f71442d4363d63ccb1de0
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	yarn cljs:release
+	cd "static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: [PR PATCH] [Updated] New package: Logseq-0.9.17
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (36 preceding siblings ...)
  2023-09-07 21:33 ` shnaps
@ 2023-10-16 15:32 ` shnaps
  2024-01-15  1:48 ` github-actions
                   ` (5 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2023-10-16 15:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 663 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.17
#### 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: 3321 bytes --]

From 22e7348551074f8a9d77d2feeef02c2c14e50b12 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.19

---
 srcpkgs/Logseq/files/Logseq.desktop | 11 +++++++
 srcpkgs/Logseq/files/Logseq.sh      | 15 ++++++++++
 srcpkgs/Logseq/template             | 45 +++++++++++++++++++++++++++++
 3 files changed, 71 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 0000000000000..c0f64e6dbe971
--- /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 0000000000000..28e420474cb12
--- /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 0000000000000..fd8c8fc6aa192
--- /dev/null
+++ b/srcpkgs/Logseq/template
@@ -0,0 +1,45 @@
+# Template file for 'Logseq'
+pkgname=Logseq
+version=0.9.19
+revision=1
+archs="x86_64"
+hostmakedepends="nodejs yarn clojure python3 git"
+short_desc="Open-source platform for knowledge sharing and management"
+maintainer="Viachaslau Ravinski <shnapsx@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/logseq/logseq"
+distfiles="https://github.com/logseq/logseq/archive/refs/tags/${version}.tar.gz"
+checksum=254145fd0fc472145f5bf6f4d636d4720b222fc1920cca2aa0b1bc2591b88f8f
+nostrip_files="Logseq"
+
+do_configure() {
+	# download required js modules
+	yarn install
+
+	# create and sync files to folder `static`
+	yarn gulp:build
+
+	# go to folder `static` and download required js modules in static
+	cd "static"
+	yarn install
+
+	# go back to the top-level folder and download clojure dependencies
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	clojure -P -M:cljs
+}
+
+do_build() {
+	cd "${XBPS_BUILDDIR}/${pkgname}-${version}"
+	yarn cljs:release
+	cd "static"
+	yarn electron-forge package
+}
+
+do_install() {
+	vinstall "${FILESDIR}/Logseq.desktop" 644 usr/share/applications
+	vinstall "static/out/Logseq-linux-x64/resources/app/icons/logseq.png" 644 usr/share/pixmaps logseq.png
+	vcopy "static/out/Logseq-linux-x64/" usr/lib/Logseq
+	vlicense "static/out/Logseq-linux-x64/LICENSE"
+	vlicense "static/out/Logseq-linux-x64/LICENSES.chromium.html"
+	vbin "${FILESDIR}/Logseq.sh" Logseq
+}

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

* Re: New package: Logseq-0.9.17
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (37 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: github-actions @ 2024-01-15  1:48 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#issuecomment-1891178472

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Closed]: New package: Logseq-0.9.17
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (38 preceding siblings ...)
  2024-01-15  1:48 ` github-actions
@ 2024-01-30  1:44 ` github-actions
  2024-03-23 10:19 ` gontcharovd
                   ` (3 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: github-actions @ 2024-01-30  1:44 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: Logseq-0.9.17
https://github.com/void-linux/void-packages/pull/44337

Description:
#### 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)


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

* Re: New package: Logseq-0.9.17
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (39 preceding siblings ...)
  2024-01-30  1:44 ` [PR PATCH] [Closed]: " github-actions
@ 2024-03-23 10:19 ` gontcharovd
  2024-03-26 23:27 ` shnaps
                   ` (2 subsequent siblings)
  43 siblings, 0 replies; 45+ messages in thread
From: gontcharovd @ 2024-03-23 10:19 UTC (permalink / raw)
  To: ml

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

New comment by gontcharovd on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#issuecomment-2016439148

Comment:
Hello,  @shnaps is the work to get Logseq into the Void packages repository still ongoing? Is there anything I can do to help?

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

* Re: New package: Logseq-0.9.17
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (40 preceding siblings ...)
  2024-03-23 10:19 ` gontcharovd
@ 2024-03-26 23:27 ` shnaps
  2024-04-06 12:12 ` gontcharovd
  2024-04-12  0:43 ` shnaps
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2024-03-26 23:27 UTC (permalink / raw)
  To: ml

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

New comment by shnaps on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#issuecomment-2021634635

Comment:
> Hello, @shnaps is the work to get Logseq into the Void packages repository still ongoing? Is there anything I can do to help?

Yeah, I keep my local template updated. I waited for the pr to be reviewed, but no one did that, so it went stale and closed. I can update it if needed.

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

* Re: New package: Logseq-0.9.17
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (41 preceding siblings ...)
  2024-03-26 23:27 ` shnaps
@ 2024-04-06 12:12 ` gontcharovd
  2024-04-12  0:43 ` shnaps
  43 siblings, 0 replies; 45+ messages in thread
From: gontcharovd @ 2024-04-06 12:12 UTC (permalink / raw)
  To: ml

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

New comment by gontcharovd on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#issuecomment-2041066076

Comment:
Yes, I'd like the update please. I don't want to use the Flatpak logseq

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

* Re: New package: Logseq-0.9.17
  2023-06-09 19:36 [PR PATCH] New package: Logseq-0.9.8 shnaps
                   ` (42 preceding siblings ...)
  2024-04-06 12:12 ` gontcharovd
@ 2024-04-12  0:43 ` shnaps
  43 siblings, 0 replies; 45+ messages in thread
From: shnaps @ 2024-04-12  0:43 UTC (permalink / raw)
  To: ml

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

New comment by shnaps on void-packages repository

https://github.com/void-linux/void-packages/pull/44337#issuecomment-2050772508

Comment:
> Yes, I'd like the update please. I don't want to use the Flatpak logseq

Maybe one of the maintainers could open this PR again. The branch itself is up to date and could be used for PR at any moment. @oreo639 @cinerea0 pinging you just in case, maybe you could help us.

^ 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).