Hello community, here is the log from the commit of package sxiv for openSUSE:Factory checked in at 2018-03-20 22:00:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sxiv (Old) and /work/SRC/openSUSE:Factory/.sxiv.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sxiv" Tue Mar 20 22:00:26 2018 rev:2 rq:588703 version:24 Changes: -------- --- /work/SRC/openSUSE:Factory/sxiv/sxiv.changes 2018-03-18 21:44:33.210343009 +0100 +++ /work/SRC/openSUSE:Factory/.sxiv.new/sxiv.changes 2018-03-20 22:00:51.692598669 +0100 @@ -1,0 +2,16 @@ +Mon Mar 19 15:05:44 UTC 2018 - [email protected] + +- xorg-x11-devel --> pkgconfig(x11, xft) +- Make build verbose +- Respect %optflags (fixes debuginfo too) +- sxiv.makefile.patch: Update, do not force -std=c99, pick + the compiler's default which is the sanest option nowadays. + + +------------------------------------------------------------------- +Wed Mar 14 14:07:17 UTC 2018 - [email protected] + +- Drop "goals" from descriptions. Remove build-time "features" + (hotkeys), packages are delivered built to the end user. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sxiv.spec ++++++ --- /var/tmp/diff_new_pack.yjVbH2/_old 2018-03-20 22:00:52.632564826 +0100 +++ /var/tmp/diff_new_pack.yjVbH2/_new 2018-03-20 22:00:52.636564682 +0100 @@ -22,7 +22,7 @@ Summary: Simple X Image Viewer License: GPL-2.0-only Group: Productivity/Graphics/Viewers -URL: https://github.com/muennich/sxiv +Url: https://github.com/muennich/sxiv Source: https://github.com/muennich/sxiv/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: sxiv.desktop.patch Patch1: sxiv.makefile.patch @@ -30,33 +30,32 @@ BuildRequires: giflib-devel BuildRequires: imlib2-devel BuildRequires: libexif-devel -BuildRequires: xorg-x11-devel +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xft) Requires(post): desktop-file-utils Requires(post): hicolor-icon-theme Requires(postun): desktop-file-utils Requires(postun): hicolor-icon-theme %description -The primary goal of sxiv is to create an image viewer, -which only has the most basic features required for fast image viewing -(the ones I want). It has vi key bindings and works nicely with -tiling window managers. Its code base should be kept small and -clean to make it easy for you to dig into it and customize it for your needs. +sxiv is an image viewer which only has the most basic features +for image viewing. It has vi key bindings and works with +tiling window managers. -Features +Features: - Basic image operations, e.g. zooming, panning, rotating -- Customizable key and mouse button mappings (in config.h) - Thumbnail mode: grid of selectable previews of all images - Ability to cache thumbnails for fast re-loading - Basic support for multi-frame images -- Load all frames from GIF files and play GIF animations -- Display image information in status bar +- Loads all frames from GIF files and plays GIF animations +- Displays image information in status bar %prep %autosetup -p1 %build -make %{?_smp_mflags} +export CFLAGS="%optflags" +make %{?_smp_mflags} V=1 %install %make_install PREFIX=%{_prefix} ++++++ sxiv.makefile.patch ++++++ --- /var/tmp/diff_new_pack.yjVbH2/_old 2018-03-20 22:00:52.692562666 +0100 +++ /var/tmp/diff_new_pack.yjVbH2/_new 2018-03-20 22:00:52.696562522 +0100 @@ -1,6 +1,26 @@ ---- a/Makefile 2017-09-02 19:19:43.398683153 +0200 -+++ b/Makefile 2017-09-02 20:00:01.172376427 +0200 -@@ -73,6 +73,7 @@ +Index: sxiv-24/Makefile +=================================================================== +--- sxiv-24.orig/Makefile ++++ sxiv-24/Makefile +@@ -7,7 +7,7 @@ PREFIX = /usr/local + MANPREFIX = $(PREFIX)/share/man + + CC = cc +-DEF_CFLAGS = -std=c99 -Wall -pedantic ++DEF_CFLAGS = -Wall + DEF_CPPFLAGS = -I/usr/include/freetype2 + + # autoreload backend: inotify/nop +@@ -20,7 +20,7 @@ HAVE_GIFLIB = 1 + HAVE_LIBEXIF = 1 + + ALL_CFLAGS = $(DEF_CFLAGS) $(CFLAGS) +-REQ_CPPFLAGS = -I. -D_XOPEN_SOURCE=700 -DVERSION=\"$(VERSION)\" \ ++REQ_CPPFLAGS = -I. -D_GNU_SOURCE -DVERSION=\"$(VERSION)\" \ + -DHAVE_GIFLIB=$(HAVE_GIFLIB) -DHAVE_LIBEXIF=$(HAVE_LIBEXIF) + ALL_CPPFLAGS = $(REQ_CPPFLAGS) $(DEF_CPPFLAGS) $(CPPFLAGS) + +@@ -73,6 +73,7 @@ install: all mkdir -p $(DESTDIR)$(PREFIX)/share/sxiv/exec cp exec/* $(DESTDIR)$(PREFIX)/share/sxiv/exec/ chmod 755 $(DESTDIR)$(PREFIX)/share/sxiv/exec/*
