Package Details: zettlr-git 3.1.0.beta.3.r18.g60600cd-1

Git Clone URL: https://aur.archlinux.org/zettlr-git.git (read-only, click to copy)
Package Base: zettlr-git
Description: A Markdown Editor for the 21st century
Upstream URL: https://www.zettlr.com
Licenses: GPL-3.0-only
Conflicts: zettlr
Provides: zettlr
Submitter: alerque
Maintainer: alerque
Last Packager: alerque
Votes: 3
Popularity: 0.048913
First Submitted: 2020-03-12 21:17 (UTC)
Last Updated: 2024-05-04 10:23 (UTC)

Latest Comments

MarsSeed commented on 2024-02-27 16:24 (UTC)

Though please don't feel any pressure from me about this. I can use the stable zettlr from repo. I tried this out only for curiosity's sake, not as a necessity. :)

MarsSeed commented on 2024-02-27 16:21 (UTC)

Thank you for the quick update!

Mostly as an FYI, and I'm not sure if this excerpt is useful to you or not, but I am getting a build failure in clean chroot:

==> Starting build()...
[STARTED] Checking your system
[STARTED] Checking git exists
[STARTED] Checking node version
[STARTED] Checking packageManager version
[TITLE] Found git@2.44.0
[SUCCESS] Found git@2.44.0
[TITLE] Found node@20.11.1
[SUCCESS] Found node@20.11.1
[TITLE] Found yarn@3.3.1
[SUCCESS] Found yarn@3.3.1
[SUCCESS] Checking your system
[STARTED] Preparing to package application
[SUCCESS] Preparing to package application
[STARTED] Running packaging hooks
[STARTED] Running generateAssets hook
[STARTED] Running generateAssets hook from forgeConfig
[SUCCESS] Running generateAssets hook from forgeConfig
[SUCCESS] Running generateAssets hook
[STARTED] Running prePackage hook
[STARTED] [plugin-webpack] Preparing webpack bundles
[STARTED] Preparing native dependencies for x64
[TITLE] Preparing native dependencies
[TITLE] Preparing native dependencies: 0 / 1
[SUCCESS] Preparing native dependencies: 0 / 1
[STARTED] Building webpack bundles
[SUCCESS] Building webpack bundles
[SUCCESS] [plugin-webpack] Preparing webpack bundles
[SUCCESS] Running prePackage hook
[SUCCESS] Running packaging hooks
[STARTED] Packaging application
[DATA] Determining targets...
[STARTED] Packaging for x64 on linux
[STARTED] Copying files
[SUCCESS] Copying files
[STARTED] Preparing native dependencies

An unhandled rejection has occurred inside Forge:
Error: Trying to configure GrantFileProtocolExtraPrivileges but the fuse wire in this version of Electron is not long enough
at buildFuseV1Wire (/build/zettlr-git/src/zettlr-git/node_modules/@electron/fuses/dist/index.js:40:15)
    at setFuseWire (/build/zettlr-git/src/zettlr-git/node_modules/@electron/fuses/dist/index.js:80:22)
    at async flipFuses (/build/zettlr-git/src/zettlr-git/node_modules/@electron/fuses/dist/index.js:124:28)
    at async /build/zettlr-git/src/zettlr-git/node_modules/@electron-forge/plugin-fuses/dist/FusesPlugin.js:31:21
    at async PluginInterface.triggerHook (/build/zettlr-git/src/zettlr-git/node_modules/@electron-forge/core/dist/util/plugin-interface.js:57:25)
    at async runHook (/build/zettlr-git/src/zettlr-git/node_modules/@electron-forge/core/dist/util/hook.js:20:5)
    at async getTargetKey.platform (/build/zettlr-git/src/zettlr-git/node_modules/@electron-forge/core/dist/api/package.js:155:25)
==> ERROR: A failure occurred in build().
    Aborting...

MarsSeed commented on 2024-02-22 15:53 (UTC)

An old, broken, unbuildable version of nodejs-lts-gallium has been uploaded to AUR by Pellegrino Prevete (@tallero/@truocolo).

But Zettlr's upstream now seems to require newer nodejs (at least 18.19.3 atm).

alerque commented on 2023-06-17 20:13 (UTC)

I think yarn must have changed here, I'm seeing similar errors but this used to work. We'll need to figure this out by the time 3 releases so I can package it for [extra]! If anybody figures it out I'm open to patches.

tkna commented on 2023-04-20 04:19 (UTC)

Below. Is this a problem with my environment?

While running --cache-folder '/cache' --link-folder '/link' install --frozen-lockfile --ignore-scripts
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'zettlr-git-2.3.0.r206.ga1b78bb-1': 

alerque commented on 2022-02-04 11:22 (UTC)

My appologies, I fixed that less/handlebars stuff a long time ago (2020!) but for some reason my repo wasn't pushed here. I just pushed what I had that was old and will look into getting this synced a bit with the stable build.

Baytars commented on 2022-02-04 08:37 (UTC)

@dkumor From commit 7ae71b6 on, the script commands "less" and "handlebar" have been removed from package.json. Just remove below two lines from PKGBUILD file:

yarn less
yarn handlebars

dkumor commented on 2020-10-27 16:54 (UTC)

The build fails for me (on two separate machines) with the following error:

error Command "less" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
==> ERROR: A failure occurred in build().
    Aborting...
error making: zettlr-git

It appears that it's not finding the less command, which is installed.

alerque commented on 2020-05-20 16:21 (UTC) (edited on 2020-05-20 16:22 (UTC) by alerque)

@n3f Pretty much the same as for any $pkgname{,-bin,-git} set of packages. One is built from and installs the last stable release, one just wraps and installs prebuilt binaries built upstream, and one fetches and tries to build the latest commits from the master branch upstream — which may or may not be in working order at any given moment.

n3f commented on 2020-05-20 06:30 (UTC) (edited on 2020-05-20 06:31 (UTC) by n3f)

What's the difference between zettlr, zettlr-bin, and zettlr-git?