Package Details: jfbview-git r415.f46b487-1

Git Clone URL: https://aur.archlinux.org/jfbview-git.git (read-only, click to copy)
Package Base: jfbview-git
Description: PDF and image viewer for the Linux framebuffer
Upstream URL: https://github.com/jichu4n/jfbview
Licenses: Apache
Conflicts: jfbpdf, jfbview
Replaces: jfbpdf, jfbview
Submitter: jichu4n
Maintainer: jichu4n
Last Packager: jichu4n
Votes: 1
Popularity: 0.000000
First Submitted: 2020-05-20 06:45 (UTC)
Last Updated: 2020-09-25 06:17 (UTC)

Latest Comments

m040601 commented on 2021-05-24 20:20 (UTC)

About the size of the download that is needed. Apologies for complaining, and not giving any solution. I noticed that "jfbview-git" pull more than 600 MEGAS. This is insane ! Why is it ? Is it only because of "mupdf" ? I know that mupdf is a big one, but still ...

installing jfbview :

  • during compilation pulls more than 150 megabytes, lots of "ttf's", "vendor" this and that.

  • Ends up with a 35 MB size package.

    $ pacman -Qi jfbview

Name            : jfbview
Version         : 0.6.0-2
Description     : PDF and image viewer for the Linux framebuffer
Architecture    : x86_64
URL             : https://github.com/jichu4n/jfbview
...
Depends On      : ncurses  imlib2  libjpeg-turbo
....
Installed Size  : 35.53 MiB

installing jfbview-git:

  • during compilation pulls more than 600 megabytes !!! in ".git" submodules and "vendor.
  • Also ends up with a 35 MB size package.

    $ pacman -Qi jfbview-git

Name            : jfbview-git
Version         : r415.f46b487-1
....
Depends On      : ncurses  libjpeg-turbo  harfbuzz  freetype2  zlib  openjpeg2
....
Installed Size  : 34.95 MiB
....

Is it really necessary to pull all this megabytes just to build it ?

Is there any way this PKGBUILD could be optimized to reduce the download size ?

I'm not git or PKGBUILD expert but is there anything possible to optimize ?

git submodule update --init --recursive

I know that one can do :

git clone --depth=1 xyz ?

to reduce the size of the repo pulled

If this is not possible, couldnt you create a

jfbview-bin

as an alternative ? The github repo, https://github.com/jichu4n/jfbview/releases provides compiled binaries for many architectures. It would only be needed to pull 26 megabytes.

m040601 commented on 2021-05-24 19:39 (UTC) (edited on 2021-05-24 19:40 (UTC) by m040601)

Just curious about the difference in "depends".

jfbview-git has:

depends=('ncurses' 'libjpeg-turbo' 'harfbuzz' 'freetype2' 'zlib' 'openjpeg2')

and jfbview has:

depends=('ncurses' 'imlib2' 'libjpeg-turbo')

Why this difference ?

m040601 commented on 2021-05-24 19:25 (UTC)

Please remove the

conflicts=('jfbpdf')

There is no jfbpdf anymore. It only confuses users. The only conflict should be with "jfbview".

jichu4n commented on 2020-09-25 06:17 (UTC)

@caltlgin Added!