Package Details: logseq-desktop 0.10.9-1

Git Clone URL: https://aur.archlinux.org/logseq-desktop.git (read-only, click to copy)
Package Base: logseq-desktop
Description: Privacy-first, open-source platform for knowledge sharing and management
Upstream URL: https://github.com/logseq/logseq
Licenses: AGPL-3.0-or-later
Submitter: xuanwo
Maintainer: xiota
Last Packager: xiota
Votes: 25
Popularity: 0.26
First Submitted: 2021-03-28 16:28 (UTC)
Last Updated: 2024-04-30 14:33 (UTC)

Pinned Comments

xiota commented on 2024-01-15 00:17 (UTC) (edited on 2024-01-15 00:19 (UTC) by xiota)

This package sets HOME=${SRCDEST:-$startdir}/node-home to avoid cluttering the user home directory, while allowing data (over 4GB) to be reused between builds. $srcdir is not used for this purpose because it can be wiped between runs.

xiota commented on 2023-09-11 03:34 (UTC) (edited on 2024-01-14 17:37 (UTC) by xiota)

This is interesting. I have different results on two different computers. (AMD vs Intel?) Will go ahead and bump versions. Any users who have the same build failure, try rolling back to 0.9.13 or use the -bin package.

No need to re-report the same issue. I'll update if I find a solution.

Note: No solution as of Jan 2024.

xiota commented on 2023-08-23 07:46 (UTC) (edited on 2023-12-03 06:07 (UTC) by xiota)

Clean chroot. Attempting to build after bumping to 0.9.14 or later results in error. Possibly related to AMD processors. Anyone know how to fix?

[4/4] Building fresh packages...
$ yarn build:amplify
$ parcel build ./src/amplify.ts --no-source-maps
error Command failed with signal "SIGSEGV".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
==> ERROR: A failure occurred in prepare().

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

bader commented on 2022-10-27 18:08 (UTC) (edited on 2022-11-07 16:17 (UTC) by bader)

NOTE: This package currently fails to build due to better-sqlite3 incompatibility with Electron 20,21

PR to add Electron 20 support: https://github.com/WiseLibs/better-sqlite3/pull/870

Github issue: https://github.com/WiseLibs/better-sqlite3/issues/867

vosskaem commented on 2022-10-21 12:34 (UTC)

@xuanwo I had to add:

ln -s /opt/logseq-desktop/resources/app/icons/logseq.png /usr/share/pixmaps/

to have an app icon in Gnome toolbar, etc. Maybe you could add it to the package.

xuanwo commented on 2022-08-17 02:54 (UTC)

logseq-desktop is built from the source, and logseq-desktop-bin is built via the logseq community (from GitHub releases).

LuciferianInk commented on 2022-08-17 02:51 (UTC)

@xuanwo,

I'm sorry, I was mistaken.

I'm not sure what's different about logseq-desktop or logseq-desktop-bin, but its like hardware acceleration is completely broken. Graph view takes 30+ seconds to render, at like 1 FPS. It's very laggy. (GTX 1070, proprietary driver)

If I build from source, and use the AppImage - it works great. So, I'll just keep doing that for now.

Thanks!

xuanwo commented on 2022-08-17 02:25 (UTC)

Hi, @LuciferianInk

Please modify the build.patch customization appropriately.

What customization do you expect to see in build.patch?

Electron 17 has awful performance compared to 19, at least for me (graph view is completely unusable).

In older versions, we patch the electron version during build.

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=logseq-desktop#n27

Now, we have removed this patch and use upstream's version directly.

LuciferianInk commented on 2022-08-17 02:12 (UTC)

Logseq 0.8.1 has officially updated Electron to version 19. Please modify the build.patch customization appropriately. Electron 17 has awful performance compared to 19, at least for me (graph view is completely unusable). Thanks!

pychuang commented on 2022-08-09 21:25 (UTC)

@Dieter_be It should be working now.

Dieter_be commented on 2022-07-30 07:58 (UTC)

Hi. I get this error while trying to install the package with yay:

==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
yarn run v1.22.19
$ clojure -M:cljs release app publishing electron
[:app] Compiling ...
------ WARNING #1 -  -----------------------------------------------------------
 Resource: node_modules/codemirror/mode/forth/forth.js:26
 String continuations are not recommended. See https://google.github.io/styleguide/jsguide.html#features-strings-no-line-continuations
--------------------------------------------------------------------------------
nil
------ WARNING #1 -  -----------------------------------------------------------
 Resource: node_modules/fuse_DOT_js/dist/fuse.common.js:2
 constant module$node_modules$fuse_DOT_js$dist$fuse_common assigned a value more than once.
Original definition at externs.shadow.js:41
--------------------------------------------------------------------------------
nil
[:app] Build completed. (1180 files, 1010 compiled, 0 warnings, 64.04s)
[:publishing] Compiling ...
------ WARNING #1 -  -----------------------------------------------------------
 Resource: node_modules/codemirror/mode/forth/forth.js:26
 String continuations are not recommended. See https://google.github.io/styleguide/jsguide.html#features-strings-no-line-continuations
--------------------------------------------------------------------------------
nil
------ WARNING #1 -  -----------------------------------------------------------
 Resource: node_modules/fuse_DOT_js/dist/fuse.common.js:2
 constant module$node_modules$fuse_DOT_js$dist$fuse_common assigned a value more than once.
Original definition at externs.shadow.js:40
--------------------------------------------------------------------------------
nil
[:publishing] Build completed. (1175 files, 1005 compiled, 0 warnings, 48.87s)
[:electron] Compiling ...
------ WARNING #1 -  -----------------------------------------------------------
 Resource: electron/utils.js:23:24
 variable readdir is undeclared
--------------------------------------------------------------------------------
------ WARNING #2 -  -----------------------------------------------------------
 Resource: electron/utils.js:43:28
 variable lstat is undeclared
--------------------------------------------------------------------------------
nil
[:electron] Build completed. (109 files, 42 compiled, 0 warnings, 5.85s)
Done in 128.07s.
yarn run v1.22.19
$ /home/dieter/.cache/yay/logseq-desktop/src/logseq-0.7.9/static/node_modules/.bin/electron-forge package
✔ Checking your system
⠹ Preparing to Package Application for arch: x64WARNING: Found 'electron' but not as a devDependency, pruning anyway
✔ Preparing to Package Application for arch: x64
⠹ Preparing native dependencies: 1 / 2gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp
✖ Preparing native dependencies: 1 / 2

An unhandled error has occurred inside Forge:
node-gyp failed to rebuild '/tmp/electron-packager/linux-x64/Logseq-linux-x64/resources/app/node_modules/electron-deeplink'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".

Error: `gyp` failed with exit code: 1


Error: node-gyp failed to rebuild '/tmp/electron-packager/linux-x64/Logseq-linux-x64/resources/app/node_modules/electron-deeplink'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".

Error: `gyp` failed with exit code: 1


    at NodeGyp.rebuildModule (/home/dieter/.cache/yay/logseq-desktop/src/logseq-0.7.9/static/node_modules/@electron-forge/core/node_modules/electron-rebuild/lib/src/module-type/node-gyp.js:117:19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async ModuleRebuilder.rebuildNodeGypModule (/home/dieter/.cache/yay/logseq-desktop/src/logseq-0.7.9/static/node_modules/@electron-forge/core/node_modules/electron-rebuild/lib/src/module-rebuilder.js:98:9)
    at async ModuleRebuilder.rebuild (/home/dieter/.cache/yay/logseq-desktop/src/logseq-0.7.9/static/node_modules/@electron-forge/core/node_modules/electron-rebuild/lib/src/module-rebuilder.js:128:14)
    at async Rebuilder.rebuildModuleAt (/home/dieter/.cache/yay/logseq-desktop/src/logseq-0.7.9/static/node_modules/@electron-forge/core/node_modules/electron-rebuild/lib/src/rebuild.js:149:13)
    at async Rebuilder.rebuild (/home/dieter/.cache/yay/logseq-desktop/src/logseq-0.7.9/static/node_modules/@electron-forge/core/node_modules/electron-rebuild/lib/src/rebuild.js:112:17)
    at async /home/dieter/.cache/yay/logseq-desktop/src/logseq-0.7.9/static/node_modules/@electron-forge/core/dist/util/rebuild.js:30:9
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
==> ERROR: A failure occurred in build().
    Aborting...

jzacsh commented on 2022-06-03 23:53 (UTC) (edited on 2022-06-03 23:54 (UTC) by jzacsh)

2022-06-01 pkg update seems to fail for me with:

error /home/me/.cache/yay/logseq-desktop/src/logseq-0.7.1/node_modules/playwright: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /home/me/.cache/yay/logseq-desktop/src/logseq-0.7.1/node_modules/playwright
Output:
/home/me/.cache/yay/logseq-desktop/src/logseq-0.7.1/node_modules/playwright/install.js:1



SyntaxError: Invalid or unexpected token
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1033:15)
    at Module._compile (node:internal/modules/cjs/loader:1069:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)

shinanqu commented on 2022-05-06 19:58 (UTC)

@ddlsak Worked perfectly, you are my hero of the week. Thank you very much!