bakkeby / sxiv-flexipatch

Simple X Image Viewer
GNU General Public License v2.0
35 stars 7 forks source link

This sxiv (now un)stable version 26 (1d28627, 2020-01-16) side project has a different take on sxiv patching. It uses preprocessor directives to decide whether or not to include a patch during build time. Essentially this means that this build, for better or worse, contains both the patched and the original code. The aim being that you can select which patches to include and the build will contain that code and nothing more.

For example to include the image-mode-cycle patch then you would only need to flip this setting from 0 to 1 in patches.h:

#define IMAGE_MODE_CYCLE_PATCH 1

So if you have ever been curious about trying out sxiv patches then this may be a good starting point. Once you have found out what works for you and what doesn't then you should be in a better position to choose patches should you want to start patching from scratch.

Refer to https://github.com/muennich/sxiv for the original version and further details on sxiv, how to install it and how it works.


Changelog:

2021-09-07 - Added the fifo patch

2021-06-11 - Added the alpha patch

2021-06-10 - Added the "allow escape key in external key handler" patch (for the lack of a better name), dmenu-like behaviour, the navigate if not scroll, the start from file, the set title and separate bar colors patches

2021-06-09 - Added the marks count, marks border, window title and swap bar colors patches

2021-06-08 - Added the thumb paddings and the libcurl patches

2021-05-25 - Added fill scale mode

2021-04-12 - Added animated WebP support

2021-04-09 - Added svg image support, WM hints and _NET_WM_PID and WM_CLIENT_MACHINE EWMH properties

2021-04-08 - Added image-mode-cycle, square-thumbnails and window-fit-image patches

Patches included: