Package Details: zeal-git 0.6.1.r86.g9a394d3-1

Git Clone URL: https://aur.archlinux.org/zeal-git.git (read-only)
Package Base: zeal-git
Description: A simple documentation browser
Upstream URL: https://zealdocs.org/
Keywords: api dash docs docset documentation offline
Licenses: GPL3
Conflicts: zeal
Submitter: 5long
Maintainer: trollixx
Last Packager: trollixx
Votes: 68
Popularity: 0.000216
First Submitted: 2013-06-29 09:47
Last Updated: 2019-09-30 13:04

Pinned Comments

trollixx commented on 2017-09-07 18:38

Please do not flag package out of date, unless it doesn't build. It's a Git package, the version is computed during the installation.

Latest Comments

1 2 3 4 5 Next › Last »

brainplot commented on 2019-09-30 14:07

@trollixx I could be wrong but I think that's because ninja has a more sensible default for the number of jobs used. On my six-core machine, it uses 8 parallel jobs (you can see this by running ninja --help) so I'd guess it's two more than the number of available cores. make on the other hand, doesn't use any sort of parallelism if no -j option is passed.

I would guess that make and ninja would perform the same if passed the -j flag with the same argument, but since this is an AUR package that's going to be used by other people, using ninja seems a more logic choice instead of using make and hard-coding the -j flag.

trollixx commented on 2019-09-30 13:13

@brainplot Done! Still uses Ninja, but now invokes cmake --build and cmake --install.

I am not sure if hard-coding Ninja is generally a good idea, but it does build much faster:

makepkg  10.03s user 3.08s system 181% cpu 7.217 total     # ninja
makepkg  128.70s user 11.90s system 466% cpu 30.107 total  # make

I ran rm -rf src/build *.tar.xz before makepkg to avoid fetching the code from GitHub.

brainplot commented on 2019-09-30 11:01

@trollixx Thank you for the edit! I have a further suggestion. I know this is very commonly done across the AUR but I think that invoking the native build system directly kind of defeats the purpose of using CMake. Here's the PKGBUILD I was using.

This has the benefits of: 1) Not relying on whatever the default build system for CMake is. The previous version worked only because CMake uses make by default; but that's been addressed now by specifying -G Ninja explicitly. 2) Using the CMAKE_BUILD_PARALLEL_LEVEL environment variable (if set by the user), which is used by CMake to spawn the specified number of jobs (equivalent to pass the -j <N> flag.

trollixx commented on 2019-09-30 05:29

@brainplot I've updated the build type to RelWithDebInfo, which I think is more appropriate for the pre-release packages.

Also switched to using Ninja instead of make, similarly to the community package.

brainplot commented on 2019-09-26 01:16

Why doesn't the PKGBUILD have the -DCMAKE_BUILD_TYPE=Release flag? I downloaded the PKGBUILD and added it myself but it seems strange since the stable package in the main repos does have it!

trollixx commented on 2017-10-25 07:50

@nipsky the problem has been reported here https://github.com/zealdocs/zeal/issues/802 Seems like a regression in qtwebkit-ng.

nipsky commented on 2017-10-22 19:21

After recent package updates, zeal crashes for me when I open a page:

qt5ct: using qt5ct plugin
zeal.core.applicationsingleton: Singleton ID: 1tpS-antA9oWspU7_bvx4y2s7XVJoOrd68qvgrl6moI
zeal.core.applicationsingleton: Starting as a primary instance. (PID: 32169)
qt5ct: D-Bus global menu: no
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
qt5ct: D-Bus system tray: yes
*** Error in `zeal': free(): invalid pointer: 0x00007fdae97d33c0 ***
[1] 32169 abort (core dumped) zeal

trollixx commented on 2017-09-07 18:38

Please do not flag package out of date, unless it doesn't build. It's a Git package, the version is computed during the installation.

mmoya commented on 2016-07-07 07:22

@trollixx: Can you fix the lenght of revision when using git describe? I have a custom core.abbrev in my system wide .gitconfig and zeal-git is always marked for update.

Instead of using `git describe`, please use `git describe --abbrev=7` in `pkgver()`.

Thanks!

saimn commented on 2016-05-02 08:17

Thanks @Shaikh ! I'm indeed using Anaconda, it works with qmake-qt5.