Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package feh for openSUSE:Factory checked in at 2022-07-10 23:15:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/feh (Old) and /work/SRC/openSUSE:Factory/.feh.new.1523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "feh" Sun Jul 10 23:15:38 2022 rev:44 rq:988205 version:3.9 Changes: -------- --- /work/SRC/openSUSE:Factory/feh/feh.changes 2022-05-13 23:03:12.563125192 +0200 +++ /work/SRC/openSUSE:Factory/.feh.new.1523/feh.changes 2022-07-10 23:15:45.180987645 +0200 @@ -1,0 +2,16 @@ +Mon Jul 4 07:12:43 UTC 2022 - Enrico Belleri <ide...@protonmail.com> + +- Update to version 3.9: + * Remove magic byte check before passing an image to Imlib2. + This check was introduced in feh 3.6 to work around an issue with + Imlib2 being slow to determine image loadability in some cases + <https://phab.enlightenment.org/T8739>. By now, an Imlib2 version + without this issue is availble. + * Fix crash (segmentation fault due to null pointer dereference) + when toggling fullscreen mode while moving the cursor. + * feh no longer supplies its own getopt_long function. + getopt_long is provided by a wide range of libc implementations, + so there is no need for feh to duplicate it. +- Add zsh completion + +------------------------------------------------------------------- Old: ---- feh-3.8.tar.bz2 feh-3.8.tar.bz2.asc New: ---- _feh feh-3.9.tar.bz2 feh-3.9.tar.bz2.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ feh.spec ++++++ --- /var/tmp/diff_new_pack.l9ExwV/_old 2022-07-10 23:15:45.700988441 +0200 +++ /var/tmp/diff_new_pack.l9ExwV/_new 2022-07-10 23:15:45.704988447 +0200 @@ -17,7 +17,7 @@ Name: feh -Version: 3.8 +Version: 3.9 Release: 0 Summary: X11 image viewer License: LGPL-2.0-or-later AND MIT @@ -26,6 +26,7 @@ Source1: https://feh.finalrewind.org/%{name}-%{version}.tar.bz2.asc Source2: %{name}.keyring Source3: jpegexiforient.c +Source4: https://git.finalrewind.org/zsh/plain/etc/completions/_feh Source99: feh-rpmlintrc # PATCH-FIX-OPENSUSE feh-makefile_optflags.patch https://github.com/derf/feh/issues/71 pascal.ble...@opensuse.org -- pass OPTFLAGS to make instead of hard-coded -O2 -g Patch1: feh-makefile_optflags.patch @@ -46,8 +47,8 @@ Requires: libjpeg-turbo Requires(post): desktop-file-utils Requires(post): hicolor-icon-theme -Requires(postun):desktop-file-utils -Requires(postun):hicolor-icon-theme +Requires(postun): desktop-file-utils +Requires(postun): hicolor-icon-theme %description feh is an X11 image viewer aimed mostly at console users. It does not @@ -57,6 +58,14 @@ supports the creation of montages as index prints with many user-configurable options. +%package zsh-completion +Summary: ZSH Completion for %{name} +Supplements: (%{name} and zsh) +BuildArch: noarch + +%description zsh-completion +ZSH completion script for %{name} 3. + %prep %autosetup -p1 cp %{SOURCE3} . @@ -84,6 +93,8 @@ install -D -m0755 jpegexiforient %{buildroot}%{_bindir}/jpegexiforient +install -Dm0644 %{SOURCE4} %{buildroot}/%{_datadir}/zsh/site-functions/_%{name} + %files %license COPYING %doc AUTHORS ChangeLog README.md TODO @@ -96,4 +107,7 @@ %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_mandir}/man1/feh.1%{?ext_man} +%files zsh-completion +%{_datadir}/zsh + %changelog ++++++ _feh ++++++ #compdef feh ## completion for feh 3.0, based on feh(1) function _feh_theme { [[ -r ~/.config/feh/themes ]] || return typeset -a themes typeset -i cont=0 typeset cur_theme cur_desc while read theme_name theme_options; do if [[ ${theme_name} == '#'* ]] { continue } if (( ! ${#theme_name} && ! ${#theme_options} )) { continue } themes+="${theme_name}:${theme_options}" done < ~/.config/feh/themes _describe 'theme' themes } function _feh_button { typeset expl _wanted button expl button \ compadd {0..5} } function _feh_background { _alternative \ 'file:file:_files' \ 'mode:mode:(trans)' } function _feh { _arguments -s -S \ '(--action -A)'{-A,--action}'[action to perform on images]:shell command:_cmdstring' \ --action{1..9}'[additional action]:shell command:_cmdstring' \ '--auto-rotate[automatically rotate images based on EXIF data]' \ '(--auto-zoom -Z)'{-Z,--auto-zoom}'[zoom pictures to screen]' \ '(--borderless -x)'{-x,--borderless}'[create borderless windows]' \ '--cache-size[Imlib2 in-memory cache size]:cache size in MiB' \ '(--cache-thumbnails -P)'{--cache-thumbnails,-P}'[cache thumbnails]' \ '(--caption-path -K)'{--caption-path,-K+}'[enable caption mode]:caption directory:_files -/' \ '--conversion-timeout[set ImageMagick conversion timeout for unlodable files]:timeout in seconds (-1 to disable)' \ '(--customlist -L)'{--customlist,-L}'[custom list mode]:feh format string' \ '(--draw-actions -G)'{--draw-actions,-G}'[show defined actions]' \ '--draw-exif[show EXIF data]' \ '(--draw-filename -d)'{--draw-filename,-d}'[show filename]' \ '--draw-tinted[show overlay texts on tinted background]' \ '--edit[change files in-place when using rotate and mirror keys]' \ '(--filelist -f)'{--filelist,-f}'[load from/save to filelist]:filelist:_files' \ '(--font -e)'{--font,-e+}'[set global font]:font' \ '(--fontpath -C)'{--fontpath,-C+}'[set font path]:font path:_files -/' \ '--force-aliasing[disable antialiasing]' \ '(--fullindex -I)'{--fullindex,-I}'[index mode with additional information]' \ '(--fullscreen -F)'{--fullscreen,-F}'[start in fullscreen mode]' \ '(--geometry -g)'{--geometry,-g+}'[set window geometry]:WxH[+X+Y]' \ '(--hide-pointer -Y)'{--hide-pointer,-Y}'[hide pointer]' \ '(--image-bg -B)'{--image-bg,-B+}'[set image background]:background style or X11 colour:(default checks)' \ '(--index -i)'{--index,-i}'[index mode]' \ '--index-info[image info for thumbnail/index mode]:format string' \ '--info[filo info command]:shell command:_cmdstring' \ '--insecure[disable HTTPS certificate checks]' \ '(--keep-http -k)'{--keep-http,-k}'[keep cached HTTP files]' \ '--keep-zoom-vp[keep zoom and viewport when switching images]' \ '(--list -l)'{--list,-l}'[list mode]' \ '(--loadable -U)'{--loadable,-U}'[list loadable images]' \ '--max-dimension[set maximum image dimensions]:WxH' \ '(--menu-font -M)'{--menu-font,-M+}'[set menu font]:menu font' \ '--min-dimension[set minimum image dimensions]:WxH' \ '(--montage -m)'{--montage,-m}'[montage mode]' \ '(--multiwindow -w)'{--multiwindow,-w}'[multiwindow mode]' \ '--no-jump-on-resort[do not jump to first image after resorting]' \ '(--no-menus -N)'{--no-menus,-N}'[disable menus]' \ '--no-screen-clip[disable window size limits]' \ '--no-xinerama[disable Xinerama support]' \ '--on-last-slide[set behaviour when advancing past the last slide]:behaviour:(hold quit resume)' \ '(--output-dir -j)'{--output-dir,-j+}'[set temporary file location]:directory:_files -/' \ '(--preload -p)'{--preload,-p}'[eliminate unloadable images before starting]' \ '(--quiet -q)'{--quiet,-q}'[do not report non-fatal errors]' \ '(--randomize -z)'{--randomize,-z}'[randomize filelist]' \ '(--recursive -r)'{--recursive,-r}'[recurse into subdirectories]' \ '--no-recursive[do not recurse into subdirectories]' \ '(--reload -R)'{--reload,-R+}'[regularly reload filelist and current image]:seconds' \ '(--reverse -n)'{--reverse,-n}'[reverse sort order]' \ '(--scale-down -.)'{--scale-down,-.}'[scale down too large images]' \ '--scroll-step[set scroll granularity]:pixels per scroll step' \ '(--slideshow-delay -D)'{--slideshow-delay,-D+}'[set slideshow delay]:seconds' \ '(--sort -S)'{--sort,-S}'[sort images]:sort key:(name filename dirname mtime width height pixels size format)' \ '(--start-at -|)'{--start-at,-'|'+}'[start slideshow at file]:start file:_files' \ '(--theme -T)'{--theme,-T+}'[set theme]: :_feh_theme' \ '(--thumbnails -t)'{--thumbnails,-t}'[thumbnail mode]' \ '(--thumb-title -~)'{--thumb-title,-'~'+}'[set thumbnail window title]:feh format string' \ '(--title -^)'{--title,-'^'}'[set window title]:feh format string' \ '(--unloadable -u)'{--unloadable,-u}'[list unloadable images]' \ '(--verbose -V)'{--verbose,-V}'[verbose mode]' \ '--version-sort[use natural sorting for --sort]' \ '--zoom[set default zoom level]:percent' \ \ '(--alpha -a)'{--alpha,-a}'[set thumbnail transparency]:alpha level' \ '(--bg -b)'{--bg,-b}'[set montage background]: :_feh_background' \ '(--ignore-aspect -X)'{--ignore-aspect,-X}'[ignore aspect in montage mode]' \ '(--limit-height -H)'{--limit-height,-H}'[limit montage height]:pixels' \ '(--limit-width -W)'{--limit-width,-W}'[limit montage width]:pixels' \ '(--output -o)'{--output,-o}'[save created montage]:output file:_files' \ '(--output-only -O)'{--output-only,-O}'[only save created montage]:output file:_files' \ '(--stretch -s)'{--stretch,-s}'[enlarge too small images in montage mode]' \ '(--thumb-height -E)'{--thumb-height,-E}'[set montage mode thumbnail height]:pixels' \ '(--thumb-width -y)'{--thumb-width,-y}'[set montage mode thumbnail width]:pixels' \ '(--thumb-redraw -J)'{--thumb-redraw,-J}'[set thumbnail mode redraw interval]:interval' \ \ '--bg-center[set centered background]' \ '--bg-fill[set filled background (zoom until filled)]' \ '--bg-max[set maxed background (zoom until image fits)]' \ '--bg-scale[set background without preserving aspect ratio]' \ '--bg-tile[set tiled background]' \ \ '(--title-font -@)'{--title-font,-'@'}'[set title font]:font' \ '*:image, directory or URL:_files' } _feh "$@" ++++++ feh-3.8.tar.bz2 -> feh-3.9.tar.bz2 ++++++ ++++ 1831 lines of diff (skipped) ++++++ feh-fix_pointer_arithmetics.patch ++++++ --- /var/tmp/diff_new_pack.l9ExwV/_old 2022-07-10 23:15:46.500989664 +0200 +++ /var/tmp/diff_new_pack.l9ExwV/_new 2022-07-10 23:15:46.504989670 +0200 @@ -2,10 +2,10 @@ src/menu.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) -Index: feh-2.17.1/src/menu.c +Index: feh-3.9/src/menu.c =================================================================== ---- feh-2.17.1.orig/src/menu.c -+++ feh-2.17.1/src/menu.c +--- feh-3.9.orig/src/menu.c ++++ feh-3.9/src/menu.c @@ -24,6 +24,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE */ @@ -15,7 +15,7 @@ #include "feh.h" #include "thumbnail.h" #include "wallpaper.h" -@@ -931,7 +933,8 @@ void feh_menu_init_main(void) +@@ -938,7 +940,8 @@ void feh_menu_init_main(void) void feh_menu_init_common() { @@ -25,7 +25,7 @@ char buf[30]; feh_menu *m; -@@ -977,7 +980,7 @@ void feh_menu_init_common() +@@ -986,7 +989,7 @@ void feh_menu_init_common() m = feh_menu_new(); m->name = estrdup("TILED"); for (i = 0; i < num_desks; i++) { @@ -34,7 +34,7 @@ if (opt.slideshow || opt.multiwindow) feh_menu_add_entry(m, buf, NULL, CB_BG_TILED, i, NULL); -@@ -989,7 +992,7 @@ void feh_menu_init_common() +@@ -998,7 +1001,7 @@ void feh_menu_init_common() m = feh_menu_new(); m->name = estrdup("SCALED"); for (i = 0; i < num_desks; i++) { @@ -43,7 +43,7 @@ if (opt.slideshow || opt.multiwindow) feh_menu_add_entry(m, buf, NULL, CB_BG_SCALED, -@@ -1002,7 +1005,7 @@ void feh_menu_init_common() +@@ -1011,7 +1014,7 @@ void feh_menu_init_common() m = feh_menu_new(); m->name = estrdup("CENTERED"); for (i = 0; i < num_desks; i++) { @@ -52,7 +52,7 @@ if (opt.slideshow || opt.multiwindow) feh_menu_add_entry(m, buf, NULL, CB_BG_CENTERED, i, NULL); -@@ -1014,7 +1017,7 @@ void feh_menu_init_common() +@@ -1023,7 +1026,7 @@ void feh_menu_init_common() m = feh_menu_new(); m->name = estrdup("FILLED"); for (i = 0; i < num_desks; i++) { ++++++ feh-makefile_app.patch ++++++ --- /var/tmp/diff_new_pack.l9ExwV/_old 2022-07-10 23:15:46.512989682 +0200 +++ /var/tmp/diff_new_pack.l9ExwV/_new 2022-07-10 23:15:46.516989689 +0200 @@ -1,8 +1,8 @@ -diff --git a/config.mk b/config.mk -index b230e3d..e138658 100644 ---- a/config.mk -+++ b/config.mk -@@ -17,7 +17,7 @@ ICON_PREFIX ?= ${DESTDIR}${PREFIX}/share/icons +Index: feh-3.9/config.mk +=================================================================== +--- feh-3.9.orig/config.mk ++++ feh-3.9/config.mk +@@ -19,7 +19,7 @@ ICON_PREFIX ?= ${DESTDIR}${PREFIX}/share # generally supported. So ignore PREFIX and always install icons into # /usr/share/icons if the user wants to install feh on their local machine. ifeq (${app},1) ++++++ feh-makefile_optflags.patch ++++++ --- /var/tmp/diff_new_pack.l9ExwV/_old 2022-07-10 23:15:46.524989701 +0200 +++ /var/tmp/diff_new_pack.l9ExwV/_new 2022-07-10 23:15:46.528989707 +0200 @@ -1,7 +1,8 @@ -diff -Pdru feh-3.3.orig/config.mk feh-3.3/config.mk ---- feh-3.3.orig/config.mk 2020-01-23 13:02:06.447700070 +0100 -+++ feh-3.3/config.mk 2020-01-23 13:08:13.502047086 +0100 -@@ -34,8 +34,8 @@ +Index: feh-3.9/config.mk +=================================================================== +--- feh-3.9.orig/config.mk ++++ feh-3.9/config.mk +@@ -36,8 +36,8 @@ icon_dir = ${ICON_PREFIX}/hicolor scalable_icon_dir = ${icon_dir}/scalable/apps # default CFLAGS @@ -11,11 +12,12 @@ +CFLAGS += -Wall -Wextra -pedantic $(OPTFLAGS) # Settings for glibc >= 2.19 - may need to be adjusted for other systems - CFLAGS += -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -diff -Pdru feh-3.3.orig/src/Makefile feh-3.3/src/Makefile ---- feh-3.3.orig/src/Makefile 2020-01-23 13:02:06.451700139 +0100 -+++ feh-3.3/src/Makefile 2020-01-23 13:06:40.140432705 +0100 -@@ -40,7 +40,7 @@ + CFLAGS += -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_DARWIN_C_SOURCE +Index: feh-3.9/src/Makefile +=================================================================== +--- feh-3.9.orig/src/Makefile ++++ feh-3.9/src/Makefile +@@ -42,7 +42,7 @@ I_SRCS = ${shell echo *.raw} I_DSTS = ${I_SRCS:.raw=.inc} feh: deps.mk ${OBJECTS} ${I_DSTS}