Hello community, here is the log from the commit of package feh for openSUSE:Factory checked in at 2016-09-07 11:44:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/feh (Old) and /work/SRC/openSUSE:Factory/.feh.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "feh" Changes: -------- --- /work/SRC/openSUSE:Factory/feh/feh.changes 2016-08-10 19:56:13.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.feh.new/feh.changes 2016-09-07 11:44:51.000000000 +0200 @@ -1,0 +2,20 @@ +Thu Sep 1 20:05:51 UTC 2016 - mimi...@gmail.com + +- update to 2.17.1 +- added feh-makefile_app.patch -- fix install location of icons +- refreshed feh-makefile_optflags.patch +* Install feh icon (both 48x48 and scalable SVG) to /usr/share/icons + when running "make install app=1" +* Fix --sort not being respected after the first reload when used in + conjunction with --reload +* All key actions can now also be bound to a button by specifying them + in .config/feh/buttons. However, note that button actions can not be + bound to keys. +* Rename "menu" key action to "toggle_menu", "prev" to "prev_img" and + "next" to "next_img". The old names are still supported, but no longer + documented. +* feh now also sets the X11 _NET_WM_PID and WM_CLIENT_MACHINE window + properties +* Fix compilation on systems where HOST_NAME_MAX is not defined + +------------------------------------------------------------------- Old: ---- feh-2.16.2.tar.bz2 feh-2.16.2.tar.bz2.asc feh.desktop feh.png New: ---- feh-2.17.1.tar.bz2 feh-2.17.1.tar.bz2.asc feh-makefile_app.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ feh.spec ++++++ --- /var/tmp/diff_new_pack.VmAFfp/_old 2016-09-07 11:44:52.000000000 +0200 +++ /var/tmp/diff_new_pack.VmAFfp/_new 2016-09-07 11:44:52.000000000 +0200 @@ -17,35 +17,38 @@ Name: feh -Version: 2.16.2 +Version: 2.17.1 Release: 0 Summary: Fast and Lightweight Image Viewer License: MIT and LGPL-2.0+ Group: Productivity/Graphics/Viewers Url: http://feh.finalrewind.org/ Source: http://feh.finalrewind.org/feh-%{version}.tar.bz2 -Source1: %{name}.desktop -Source2: %{name}.png -Source3: %{name}-%{version}.tar.bz2.asc -Source4: %{name}.keyring -Source5: jpegexiforient.c +Source1: http://feh.finalrewind.org/%{name}-%{version}.tar.bz2.asc +Source2: %{name}.keyring +Source3: jpegexiforient.c # 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 # PATCH-FIX-UPSTREAM feh-fix_pointer_arithmetics.patch https://github.com/derf/feh/issues/69 pascal.ble...@opensuse.org -- fix compiler warnings on casting pointers as ints Patch2: feh-fix_pointer_arithmetics.patch # PATCH-FIX-UPSTREAM feh-fix_sighandler.patch https://github.com/derf/feh/issues/70 tog...@opensuse.org -- bad prototype for a sighandler_t and a funky unportable pointer cast Patch5: feh-2.12-fix_sighandler.patch +# PATCH-FIX-UPSTREAM feh-makefile_app.patch mimi...@gmail.com -- fix ICON_PATH +Patch6: feh-makefile_app.patch BuildRequires: curl-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel +BuildRequires: pkgconfig BuildRequires: xorg-x11-devel BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(imlib2) +BuildRequires: pkgconfig(libexif) Requires: imlib2-loaders +Requires(post): desktop-file-utils +Requires(post): hicolor-icon-theme +Requires(postun): desktop-file-utils +Requires(postun): hicolor-icon-theme BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif %description feh is a versatile and fast image viewer using imlib2, the @@ -59,7 +62,9 @@ %patch1 -p1 %patch2 -p1 %patch5 -p1 -cp %{SOURCE5} . +%patch6 -p1 + +cp %{SOURCE3} . %build make %{?_smp_mflags} \ @@ -67,25 +72,28 @@ help=1 \ xinerama=1 \ debug=0 \ + exif=1 \ PREFIX="%{_prefix}" \ OPTFLAGS="%{optflags} -Wall -Wextra" -%{__cc} %{optflags} jpegexiforient.c -o jpegexiforient +gcc %{optflags} jpegexiforient.c -o jpegexiforient %install make \ PREFIX="%{buildroot}%{_prefix}" \ - install cam=1 + install cam=1 app=1 examples=0 rm -rf "%{buildroot}%{_datadir}/doc" -%{__install} -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/feh.desktop" -%{__install} -D -m0644 "%{SOURCE2}" "%{buildroot}%{_datadir}/pixmaps/feh.png" -%{__install} -D -m0755 jpegexiforient %{buildroot}%{_bindir}/jpegexiforient - -%if 0%{?suse_version} -%suse_update_desktop_file -r feh Graphics Viewer -%endif +install -D -m0755 jpegexiforient %{buildroot}%{_bindir}/jpegexiforient + +%post +%desktop_database_post +%icon_theme_cache_post + +%postun +%desktop_database_postun +%icon_theme_cache_postun %files %defattr(-, root, root) @@ -97,7 +105,8 @@ %dir %{_datadir}/%{name} %{_datadir}/%{name}/* %{_datadir}/applications/%{name}.desktop -%{_datadir}/pixmaps/%{name}.png +%{_datadir}/icons/hicolor/48x48/apps/%{name}.png +%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_mandir}/man1/feh.1%{ext_man} %{_mandir}/man1/feh-cam.1%{ext_man} %{_mandir}/man1/gen-cam-menu.1%{ext_man} ++++++ feh-2.12-fix_sighandler.patch ++++++ --- /var/tmp/diff_new_pack.VmAFfp/_old 2016-09-07 11:44:52.000000000 +0200 +++ /var/tmp/diff_new_pack.VmAFfp/_new 2016-09-07 11:44:52.000000000 +0200 @@ -4,10 +4,10 @@ src/wallpaper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -Index: feh-2.16.2/src/wallpaper.c +Index: feh-2.17.1/src/wallpaper.c =================================================================== ---- feh-2.16.2.orig/src/wallpaper.c -+++ feh-2.16.2/src/wallpaper.c +--- feh-2.17.1.orig/src/wallpaper.c ++++ feh-2.17.1/src/wallpaper.c @@ -765,10 +765,10 @@ void enl_ipc_send(char *str) return; } ++++++ feh-2.16.2.tar.bz2 -> feh-2.17.1.tar.bz2 ++++++ ++++ 1614 lines of diff (skipped) ++++++ feh-fix_pointer_arithmetics.patch ++++++ --- /var/tmp/diff_new_pack.VmAFfp/_old 2016-09-07 11:44:53.000000000 +0200 +++ /var/tmp/diff_new_pack.VmAFfp/_new 2016-09-07 11:44:53.000000000 +0200 @@ -2,10 +2,10 @@ src/menu.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) -Index: feh-2.16.2/src/menu.c +Index: feh-2.17.1/src/menu.c =================================================================== ---- feh-2.16.2.orig/src/menu.c -+++ feh-2.16.2/src/menu.c +--- feh-2.17.1.orig/src/menu.c ++++ feh-2.17.1/src/menu.c @@ -24,6 +24,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE */ ++++++ feh-makefile_app.patch ++++++ Index: feh-2.17.1/config.mk =================================================================== --- feh-2.17.1.orig/config.mk +++ feh-2.17.1/config.mk @@ -14,7 +14,7 @@ PREFIX ?= /usr/local ICON_PREFIX ?= ${DESTDIR}${PREFIX}/share/icons ifeq (${app},1) - ICON_PREFIX = /usr/share/icons + ICON_PREFIX = ${PREFIX}/share/icons endif # Directories for manuals, executables, docs, data, etc. ++++++ feh-makefile_optflags.patch ++++++ --- /var/tmp/diff_new_pack.VmAFfp/_old 2016-09-07 11:44:53.000000000 +0200 +++ /var/tmp/diff_new_pack.VmAFfp/_new 2016-09-07 11:44:53.000000000 +0200 @@ -3,12 +3,12 @@ src/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) -Index: feh-2.16.2/config.mk +Index: feh-2.17.1/config.mk =================================================================== ---- feh-2.16.2.orig/config.mk -+++ feh-2.16.2/config.mk -@@ -15,8 +15,8 @@ example_dir = ${main_dir}/share/doc/feh/ - desktop_dir = ${main_dir}/share/applications +--- feh-2.17.1.orig/config.mk ++++ feh-2.17.1/config.mk +@@ -31,8 +31,8 @@ icon_dir = ${ICON_PREFIX}/hicolor + scalable_icon_dir = ${icon_dir}/scalable/apps # default CFLAGS -CFLAGS ?= -g -O2 @@ -16,12 +16,12 @@ +OPTFLAGS = -g -O2 +CFLAGS += -Wall -Wextra -pedantic $(OPTFLAGS) - cam ?= 0 - curl ?= 1 -Index: feh-2.16.2/src/Makefile + ifeq (${curl},1) + CFLAGS += -DHAVE_LIBCURL +Index: feh-2.17.1/src/Makefile =================================================================== ---- feh-2.16.2.orig/src/Makefile -+++ feh-2.16.2/src/Makefile +--- feh-2.17.1.orig/src/Makefile ++++ feh-2.17.1/src/Makefile @@ -7,7 +7,7 @@ I_SRCS = ${shell echo *.raw} I_DSTS = ${I_SRCS:.raw=.inc}