Package Details: abricotine 0.7.0-1

Git Clone URL: (read-only)
Package Base: abricotine
Description: A markdown editor with inline preview
Upstream URL:
Licenses: GPL3
Submitter: heddson
Maintainer: seifferth
Last Packager: seifferth
Votes: 14
Popularity: 0.674449
First Submitted: 2016-02-24 09:47
Last Updated: 2019-07-09 17:48

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

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

heddson commented on 2017-01-22 00:58

Yeah, I couldn't get --devdir to work.. but NODE_GYP_BUILD_DIR looks promising!

Updated the PKGBUILD.

dhead666 commented on 2017-01-21 16:54

@heddson use --cache command switch as it's specific npm variable, and doesn't affect/seeping to the built package. $HOME is too generic and might have undesired effect (though probably not but it's not a good packaging practice in my taste)

in theory --devdir flag should set the .npm-gyp folder but it doesn't seem to work correctly.

another related gh pr that worth keeping an eye on is

heddson commented on 2017-01-20 18:55

dhead666: Thanks for that tip! --cache works great.

I tried to find a good way to remove the other dot-folders (.electron...). The only way I found was setting HOME="${srcdir}/cache" in the PKGBUILD. I suppose that's not very good packaging practice either, but it's effective :) . Removes everything. I acually don't get why makepkg uses the users home-dir..

What do you think would be best, --cache or setting HOME?

dhead666 commented on 2017-01-19 11:44

please add --cache "${srcdir}/npm-cache" flag so as default the package won't let npm to litter $HOME with unnecessary thousand of files.

we can manually set ~/.npmrc but I think it's a bad packaging practice to leave it like that.

p.s. this still leaves ~/{.electron,.electron-gyp,.node-gyp}

heddson commented on 2016-09-18 21:54

gnacho: I updated the .desktop file. Reinstall the pkg and it should work.

z3ntu: I read the comments on the github issue. Stange. Works fine here.. But I'm glad you found a workaround!

gnacho commented on 2016-09-16 15:37

How to use by default to open .md files? Gnome 3.22 doesn't show it in the list of programs... :(

z3ntu commented on 2016-07-08 08:32

python2 is a (build) dependency!

gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at failNoPython (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:449:14)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:353:11
gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:16)
gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)

EDIT: After manually installing python2 (NOT python(3)!) I get the error in a completely clean chroot (where every build should work):
See for more info.

EDIT 2: I have found a workaround for now! Install (or "npm install -g electron-rebuild") and build this!

heddson commented on 2016-07-02 23:34

JohnRobson: Sorry I can't reproduce your issue. I'm running npm v3.10.3 and Linux 4.6.2-1-ARCH, but don't know if that makes any difference..

Abricotine just updated to 0.3.3, maybe that works for you.

JohnRobson commented on 2016-07-02 12:06

npm ERR! Linux 4.6.3-1-ARCH
npm ERR! argv "/usr/bin/node" "/sbin/npm" "install"
npm ERR! node v6.2.2
npm ERR! npm v3.10.2

npm ERR! nslog@3.0.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nslog@3.0.0 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nslog package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs nslog
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls nslog
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /tmp/yaourt-tmp-us/aur-abricotine/src/Abricotine-0.3.2/npm-debug.log
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build abricotine.

z3ntu commented on 2016-05-02 20:15

Builds now for me. Weird... EDIT: Maybe the /tmp partition was too small on my server and I expanded it... But probably not...