Package Details: abricotine 1.1.4-1

Git Clone URL: https://aur.archlinux.org/abricotine.git (read-only, click to copy)
Package Base: abricotine
Description: A markdown editor with inline preview
Upstream URL: http://abricotine.brrd.fr
Licenses: GPL3
Submitter: heddson
Maintainer: None
Last Packager: seifferth
Votes: 15
Popularity: 0.000000
First Submitted: 2016-02-24 09:47 (UTC)
Last Updated: 2022-06-09 18:24 (UTC)

Latest Comments

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

heddson commented on 2017-01-22 00:58 (UTC)

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 (UTC)

@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. https://github.com/nodejs/node-gyp/pull/916 another related gh pr that worth keeping an eye on is https://github.com/nodejs/node-gyp/pull/919

heddson commented on 2017-01-20 18:55 (UTC)

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 (UTC) (edited on 2017-01-19 11:53 (UTC) by dhead666)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2016-07-08 10:34 (UTC) by z3ntu)

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): http://pastebin.com/4htppbXX See https://github.com/brrd/Abricotine/issues/63#issuecomment-231308863 for more info. EDIT 2: I have found a workaround for now! Install https://aur.archlinux.org/packages/nodejs-electron-rebuild/ (or "npm install -g electron-rebuild") and build this!

heddson commented on 2016-07-02 23:34 (UTC) (edited on 2016-07-02 23:47 (UTC) by heddson)

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 (UTC)

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! code ELIFECYCLE 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(). Aborting... ==> ERROR: Makepkg was unable to build abricotine.

z3ntu commented on 2016-05-02 20:15 (UTC) (edited on 2016-05-02 20:17 (UTC) by z3ntu)

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