Package Details: abricotine 0.7.0-3

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: seifferth
Last Packager: seifferth
Votes: 14
Popularity: 0.075986
First Submitted: 2016-02-24 09:47
Last Updated: 2019-11-21 13:10

Dependencies (4)

Required by (0)

Sources (2)

Latest Comments

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

gho-st commented on 2018-05-12 23:00

please add libxss as a dependency

MatteoCampinoti9 commented on 2018-05-10 01:10

There is a small mistake in the .desktop file. It uses Category= instead of Categories=. This causes the program to be always categorized as 'Other' in app menus.

heddson commented on 2017-07-15 22:25

Thanks! Added gconf as a dependency.

MatteoCampinoti9 commented on 2017-07-01 16:42

'gconf' should be added as dependency. Didn't have it installed and it outputted "abricotine: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory"

dhead666 commented on 2017-01-22 08:17

@heddson you need to use the assignment operator with --devdir (e.g. --devdir="${srcdir}/devdir" ) in contrast to the --cache switch which requires space between variable to key, but it partially works, only for .electron-gyp while it supposed to put also the headers from.node-gyp there.

I haven't confirmed it with the code but I remember reading in some pr comment that anything that npm doesn't understand it just pass and doesn't parse by itself, so I guess it is why the assignment sign is needed, to follow the variable passing format required by node-gyp (see Command Options in https://github.com/nodejs/node-gyp/blob/master/README.md ).

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.
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

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!