Package Details: sxiv-git 2016.08.08-1

Git Clone URL: https://aur.archlinux.org/sxiv-git.git (read-only)
Package Base: sxiv-git
Description: Simple (or small or suckless) X Image Viewer
Upstream URL: https://github.com/muennich/sxiv
Licenses: GPL2
Conflicts: sxiv
Provides: sxiv
Submitter: None
Maintainer: jasonwryan
Last Packager: jasonwryan
Votes: 31
Popularity: 0.000001
First Submitted: 2011-01-23 13:55
Last Updated: 2016-08-10 07:16

Required by (2)

Sources (1)

Latest Comments

1 2 3 4 5 6 Next › Last »

DrTebi commented on 2018-03-24 00:45

I should have... sorry, no hard feelings ;)

jasonwryan commented on 2018-03-24 00:44

Yes, it is your responsibility to check for changes in config.def.h

DrTebi commented on 2018-03-23 21:17

To add to my previous comment... it appears that in config.def.h "PAN_FRACTION" is declared, but not in config.h.

Copying the definition from config.def.h into config.h solved the problem for me.

jasonwryan commented on 2018-03-23 21:14

@DrTebi I can't reproduce. It builds fine in a clean chroot for me.

DrTebi commented on 2018-03-23 21:00

I am having a problem building this package...:

==> Starting build()... CC autoreload_inotify.o CC commands.o CC image.o image.c: In function ‘img_pan’: image.c:620:34: error: ‘PAN_FRACTION’ undeclared (first use in this function) x = img->win->w / (d < 0 ? 1 : PAN_FRACTION); ^~~~~~~~~~~~ image.c:620:34: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:53: image.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

jasonwryan commented on 2017-02-02 20:01

cutuchiqueno I just create a separate branch that contains my config.h and then I can git pull from here without overwriting that file, checkout that branch and then build against head and my customisations are applied.

cutuchiqueno commented on 2017-02-02 09:40

can you explain quickly how to use a custom config.h while using this PKGBUILD? I had a log at the file but did not understand it enough to get the information out of it and also searched the corresponding forum without finding the necessary information. Thx.

jasonwryan commented on 2016-08-10 07:19

Thanks sekret: updated.

sekret commented on 2016-08-10 05:48

Hey Jason, please make some changes to the PKGBUILD:

Remove the install file. It's not needed anymore, because it does, what now hooks do. Namcap will show you this aswell.

Please change the depends line to

depends=('imlib2' 'libexif' 'libxft' 'hicolor-icon-theme')

This was done by reading namcap's output. Especially libxft is absolutely required, the package doesn't even build without it!

mkoskar commented on 2014-10-24 11:25

@jasonwryan: I see, I've missed that info in man page. Good to know. Ok no problem, I maintain my clone anyway because of 'config.h', just wanted to minimize tweaks I do. Still though, I'm wondering if there is another, more suitable way how to do this. Probably is not very common use case. Thanks ;)