Package Details: boostnote 0.8.9-1

Git Clone URL: https://aur.archlinux.org/boostnote.git (read-only)
Package Base: boostnote
Description: Open source note-taking app for programmers
Upstream URL: https://boostnote.io/
Keywords: electron productivity
Licenses: GPL3
Submitter: rokt33r
Maintainer: clone1612
Last Packager: clone1612
Votes: 22
Popularity: 10.854014
First Submitted: 2016-04-11 13:01
Last Updated: 2017-04-29 14:23

Latest Comments

clone1612 commented on 2017-04-08 14:55

Thanks for the helpful advice @tensor5! Incorporated it in this next package release, which fixes all warnings related to npm (save one about an advice of installing with -g), grunt and namcap. If any issues arise feel free to post it.

tensor5 commented on 2017-04-08 11:24

Hi everyone,

The new package looks good and it's working. Just a couple of cosmetic suggestions:

1. The line `cp resources/app.png ../app.png` could be removed and line 54 changed to `install -Dm644 resources/app.png "$pkgdir/usr/share/pixmaps/${pkgname}.png".

2. I use the `find` command at the end of the file to remove all the useless stuff installed by npm until I get 0 namcap warnings.

clone1612 commented on 2017-04-06 07:26

With the great help of @NicoHood a complete redesign of the way this package is build was done, with now time for a first release. With such a big overhaul bugs/errors might pop up so if you encounter any issues feel free to comment. It might ask you once for your note storage location, this due the move of the cache to a more proper location.

Package size is down by 66% and we now make use of electron provided by arch itself.

NicoHood commented on 2017-04-05 14:16

I asked tensor5 for some help. See the email below:

Hi Nico,
Building an electron app requires sometimes a little bit of black art.
Ideally it should be enough to run `npm install --production`, and then
running `electron .` inside the root of the project should to start the
app. Try that first and see if it works.
Most apps however include build scripts (usually grunt or gulp) that:

1. run build tasks (coffee, babel, etc.)

2. download a binary version of Electron and package the app with the
binary. This step is usually done with devDependencies such as
electron-packager and electron-prebuilt + some tasks in gulp or grunt
that moves files around.

In order to package your app with Arch's electron you should eliminate
step 2 above, and it usually involves patching package.json and/or the
build scripts. Start from package.json, read the "scripts" section and
see what it does during the build process. Then read the relevant build
scripts, and remove the parts that involve downloading the binary
electron. At the end your package should consist of the project root
with the transformation done grunt or gulp.


I install apps in /usr/lib/<name of app> and I launch it through a
wrapper script called <name of app>.js that I install in /usr/bin/<name
of app>.

Check the following packages for reference:

https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/
min

https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/
caprine

https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/
messengerfordesktop

If you still have troubles, I can take a look at the specific package
next weekend.

Nicola

clone1612 commented on 2017-04-05 07:53

@gromain Updated the PKGBUILD. Also looking at a more proper build and will try to contribute to the issue opened by @NicoHood.

gromain commented on 2017-04-05 07:33

@clone1612, can you update the PKGBUILD here?

Also, I agree with @NicoHood concerning the proper package build.

NicoHood commented on 2017-04-03 17:06

Can anyone provide a PKGBUILD which builds the package using npm and not with extracting the debian package? I could possibly move this package to community ones a convenient way to package it was found.

Contribute here:
https://github.com/BoostIO/Boostnote/issues/375

clone1612 commented on 2017-04-03 14:54

Currently even at version 0.8.7, an update would be appreciated. Installation of this version possible with https://gist.githubusercontent.com/clone1612/4b7c234b97fc74bd430a017e79cc47ca/raw/d8e2355a04b70f53e2d7e8d6e936fd758f4a1150/PKGBUILD and a `makepkg -si` install like @mnciitbhu first mentioned.

gerson commented on 2017-04-03 02:14

Thanks @mnciitbhu!! The initial submitter does not seem interested in keeping this updated. Could someone else take over? I'm new to Manjaro/Arch, so I don't know what are the proper AUR rules.

mnciitbhu commented on 2017-04-02 18:51

For version 0.8.6, download this PKGBUILD File : https://gist.github.com/mafiya69/3340bb831797d8586ee75375a1845603/raw/a7a62e19b4d8df4bc0b5fb5e4692b84d2a025795/PKGBUILD and do `makepkg -si` to install.

All comments