Package Details: joplin 3.3.12-1

Git Clone URL: https://aur.archlinux.org/joplin.git (read-only, click to copy)
Package Base: joplin
Description: A note taking and to-do application with synchronization capabilities - CLI App
Upstream URL: https://joplinapp.org/
Keywords: markdown note notetaking productivity
Licenses: AGPL-3.0-or-later
Groups: joplin
Submitter: masterkorp
Maintainer: cuihao
Last Packager: cuihao
Votes: 267
Popularity: 1.12
First Submitted: 2018-04-18 16:33 (UTC)
Last Updated: 2025-05-20 01:38 (UTC)

Pinned Comments

cuihao commented on 2025-05-18 23:40 (UTC)

Thank you dosenpils and masterkorp for supporting the package.

I replaced the PKGBUILD with the version I wrote for the archlinuxcn repo. I will do my best to follow the latest nodejs and electron versions.

Please try to build in a clean chroot (i.e., with extra-x86_64-build from devtools package) if you have problems building the package.

Latest Comments

« First ‹ Previous 1 .. 22 23 24 25 26 27 28 29 30 31 32 .. 59 Next › Last »

nirnakinho commented on 2021-04-20 18:49 (UTC) (edited on 2021-04-20 18:57 (UTC) by nirnakinho)

Edit: I am getting the same build error as mentioned in issue https://github.com/alfredopalhares/arch-pkgbuilds/issues/81 (No need to do a big error log paste, when its in the gh issue already)

hazelnot commented on 2021-04-20 09:21 (UTC) (edited on 2021-04-20 10:29 (UTC) by hazelnot)

Can confirm that this doesn't work anymore because icu was updated to 69.1, and Joplin is looking for 68.x

Edit: re-building the package fixed the error, although now I'm just getting a blank white screen.

Edit: thanks for being so quick with the update! Everything works now.

jcomellas commented on 2021-04-19 14:54 (UTC)

@Frogboy To get Joplin working again you need to modify the PKGBUILD file to use the electron11 package as a dependency instead of electron as I suggested in the comment below yours. Check the diff at the end of my comment.

If you apply those changes and run makepkg -si you will end up with a working application.

Frogboy commented on 2021-04-19 14:46 (UTC)

No longer works after upgrading Electron, even after rebuilding. This porbably needs to be updated as well.

jcomellas commented on 2021-04-19 01:24 (UTC)

After the electron package was upgraded in my system to version 12.x, I started getting the following error when I tried to start joplin-desktop:

$ joplin-desktop
./@joplinapp-desktop: error while loading shared libraries: libicui18n.so.68: cannot open shared object file: No such file or directory

The version of icu I currently have installed is:

local/icu 69.1-1
    International Components for Unicode library

And the versions of electron are:

local/electron 12.0.4-2
    Build cross platform desktop apps with web technologies
local/electron11 11.4.3-2
    Build cross platform desktop apps with web technologies

Now that the default version of the electron package is 12.0.4, the joplin and joplin-desktop packages should probably use the electron11 package as a dependency until Joplin officially supports Electron 12.x.

I initially tried regenerating the packages with the latest electron (12.0.4-2) package but joplin-desktop would not start. To fix the issues I had to modify the electron dependency and set it to electron11. These are the changes I made to the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 0b84f90..c854958 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,11 +11,11 @@ pkgver=1.7.11
 groups=('joplin')
 pkgrel=2
 install="joplin.install"
-depends=('electron' 'gtk3' 'libexif' 'libgsf' 'libjpeg-turbo' 'libwebp' 'libxss' 'nodejs'
+depends=('electron11' 'gtk3' 'libexif' 'libgsf' 'libjpeg-turbo' 'libwebp' 'libxss' 'nodejs'
          'nss' 'orc' 'rsync' )
 optdepends=('libappindicator-gtk3: for tray icon')
 arch=('x86_64' 'i686')
-makedepends=('git' 'npm' 'python' 'rsync' 'jq' 'electron')
+makedepends=('git' 'npm' 'python' 'rsync' 'jq' 'electron11')
 url="https://joplinapp.org/"
 license=('MIT')
 source=("joplin.desktop" "joplin-desktop.sh" "joplin.sh"
@@ -137,7 +137,7 @@ package_joplin() {

 package_joplin-desktop() {
   pkgdesc="A note taking and to-do application with synchronization capabilities - Desktop"
-  depends=('electron' 'gtk3' 'libexif' 'libgsf' 'libjpeg-turbo' 'libwebp' 'libxss' 'nodejs'
+  depends=('electron11' 'gtk3' 'libexif' 'libgsf' 'libjpeg-turbo' 'libwebp' 'libxss' 'nodejs'
          'nss' 'orc')
   optdepends=('libappindicator-gtk3: for tray icon')
   conflicts=('joplin-desktop-electron')
@@ -149,8 +149,8 @@ package_joplin-desktop() {
   msg2 "Building Desktop with packaged Electron..."
   mkdir -p "${pkgdir}/usr/share/joplin-desktop"
   cd "${srcdir}/joplin-${pkgver}/packages/app-desktop"
-  electron_dir="/usr/lib/electron"
-  electron_version=$(cat /usr/lib/electron/version)
+  electron_dir="/usr/lib/electron11"
+  electron_version=$(cat /usr/lib/electron11/version)
   msg2 "Using Electron Version ${electron_version}"
   USE_HARD_LINKS=false npm run dist -- --publish=never  --linux  --x64 \
     --dir="dist/" -c.electronDist=$electron_dir -c.electronVersion=$electron_version

welovelain commented on 2021-04-18 21:48 (UTC)

➜ joplin-desktop ./@joplinapp-desktop: error while loading shared libraries: libicui18n.so.68: cannot open shared object file: No such file or directory

The icu is 69 now (nice), so the repo is out of date?

txtsd commented on 2021-04-18 07:20 (UTC)

I get this error while building, and it leaves several npm install processes running and maxing out my bandwidth.

==> Starting build()...
  -> npm cache directory: /home/txtsd/.cache/yay/joplin/src/npm-cache
  -> Installing dependencies through Lerna

> postinstall
> npm run bootstrap --no-ci && npm run build


> bootstrap
> lerna bootstrap --no-ci

lerna notice cli v3.22.1
lerna info versioning independent
lerna info Bootstrapping 9 packages
lerna info Installing external dependencies
lerna ERR! npm install --cache /home/txtsd/.cache/yay/joplin/src/npm-cache exited 1 in '@joplin/turndown'
lerna ERR! npm install --cache /home/txtsd/.cache/yay/joplin/src/npm-cache stderr:
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! errno ERR_SOCKET_TIMEOUT
npm ERR! request to https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.0.tgz failed, reason: Socket timeout

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/txtsd/.cache/yay/joplin/src/npm-cache/_logs/2021-04-18T07_18_49_739Z-debug.log

lerna ERR! npm install --cache /home/txtsd/.cache/yay/joplin/src/npm-cache exited 1 in '@joplin/turndown'
lerna WARN complete Waiting for 7 child processes to exit. CTRL-C to exit immediately.
npm ERR! code 1
npm ERR! path /home/txtsd/.cache/yay/joplin/src/joplin-1.7.11
npm ERR! command failed
npm ERR! command sh -c npm run bootstrap --no-ci && npm run build

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/txtsd/.cache/yay/joplin/src/npm-cache/_logs/2021-04-18T07_18_49_894Z-debug.log
==> ERROR: A failure occurred in build().
    Aborting...
error making: joplin (joplin-desktop)

galvez_65 commented on 2021-04-17 15:25 (UTC)

Tried to rebuild this package this morning and I'n now getting the same error reported by @trumee. Any other workaround other than installing python2?