Hello community, here is the log from the commit of package sffview for openSUSE:Factory checked in at 2017-02-02 15:46:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sffview (Old) and /work/SRC/openSUSE:Factory/.sffview.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sffview" Changes: -------- --- /work/SRC/openSUSE:Factory/sffview/sffview.changes 2016-08-15 10:31:43.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.sffview.new/sffview.changes 2017-02-03 20:01:44.170833143 +0100 @@ -1,0 +2,14 @@ +Fri Jan 27 18:31:50 UTC 2017 - [email protected] + +- use wxWidgets-3_0 +- import man page from debian project +- delete sffview-gcc43.diff since it is included in the new version +- delete not longer applying sffview-0.4.diff patch +- add sffview-0.5.diff patch to use RPM_OPT_FLAGS and unicode + +------------------------------------------------------------------- +Fri Jan 27 15:53:03 UTC 2017 - [email protected] + +- Update to version 0.5 + +------------------------------------------------------------------- Old: ---- sffview-0.4.diff sffview-0.4.tar.bz2 sffview-gcc43.diff New: ---- sffview-0.5.diff sffview-0.5.tar.xz sffview.1 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sffview.spec ++++++ --- /var/tmp/diff_new_pack.SdVZpe/_old 2017-02-03 20:01:44.646766153 +0100 +++ /var/tmp/diff_new_pack.SdVZpe/_new 2017-02-03 20:01:44.646766153 +0100 @@ -1,7 +1,7 @@ # # spec file for package sffview # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,18 +22,18 @@ BuildRequires: gcc-c++ BuildRequires: libtiff-devel BuildRequires: update-desktop-files -BuildRequires: wxWidgets-devel +BuildRequires: wxWidgets-3_0-devel BuildRequires: xorg-x11 -Version: 0.4 +Version: 0.5 Release: 0 Summary: Simple viewer for Structured Fax Files (.sff) used by ISDN applications License: MIT Group: Hardware/ISDN -Source: %{name}-%{version}.tar.bz2 +Source: %{name}-%{version}.tar.xz +Source2: %{name}.1 Url: http://sfftools.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: %{name}-%{version}.diff -Patch1: %{name}-gcc43.diff %define _use_internal_dependency_generator 0 %define __find_requires %wx_requires @@ -49,7 +49,6 @@ %prep %setup %patch0 -p1 -%patch1 %build make %{?_smp_mflags} @@ -59,10 +58,13 @@ install sffview "%buildroot/%_bindir/" install -d "%buildroot/%_defaultdocdir/sffview" install -pm0644 doc/readme doc/copying testfax.sff "%buildroot/%_defaultdocdir/sffview/" +install -d "%{buildroot}/%{_mandir}/man1" +install -pm0644 %{S:2} "%{buildroot}/%{_mandir}/man1/" %files %defattr(-,root,root,-) /usr/bin/sffview %doc %{_defaultdocdir}/sffview +%doc %{_mandir}/man1/sffview.1.gz %changelog ++++++ sffview-0.4.diff -> sffview-0.5.diff ++++++ --- /work/SRC/openSUSE:Factory/sffview/sffview-0.4.diff 2011-09-23 12:46:06.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.sffview.new/sffview-0.5.diff 2017-02-03 20:01:44.098843276 +0100 @@ -1,39 +1,22 @@ -Index: sffview-0.4/Makefile +Index: sffview-0.5/Makefile =================================================================== ---- sffview-0.4.orig/Makefile -+++ sffview-0.4/Makefile -@@ -19,10 +19,10 @@ PROGRAM = sffview +--- sffview-0.5.orig/Makefile ++++ sffview-0.5/Makefile +@@ -18,14 +18,14 @@ CC = g++ + PROGRAM = sffview OBJECTS = $(PROGRAM).o common.o codes.o decoder.o sfffile.o sffapp.o sffdoc.o - #WXCONFIG_CPP = `wxgtk2-2.5-config --cflags` -WXCONFIG_CPP = `wx-config --cflags` +WXCONFIG_CPP = `wx-config --unicode=yes --cflags` - #WXCONFIG_LD = `wxgtk2-2.5-config --libs --static` -WXCONFIG_LD = `wx-config --libs` +WXCONFIG_LD = `wx-config --unicode=yes --libs` - # /usr/lib/libglib-2.0.a \ - # /usr/lib/libgobject-2.0.a \ -@@ -53,7 +53,7 @@ WXCONFIG_LD_STATIC = -L/usr/X11R6/lib \ .SUFFIXES: .o .cpp .cpp.o : -- $(CC) -g -march=i686 -Os -c $(WXCONFIG_CPP) -o $@ $< -+ $(CC) -g $(RPM_OPT_FLAGS) -fno-strict-aliasing -c $(WXCONFIG_CPP) -o $@ $< +- $(CC) -g -Os -c $(WXCONFIG_CPP) -o $@ $< ++ $(CC) -g $(RPM_OPT_FLAGS) -fno-strict-aliasing -c $(WXCONFIG_CPP) -o $@ $< all: $(PROGRAM) -Index: sffview-0.4/sffview.cpp -=================================================================== ---- sffview-0.4.orig/sffview.cpp -+++ sffview-0.4/sffview.cpp -@@ -205,7 +205,7 @@ SffCanvas::SffCanvas(wxView *v, wxFrame - wxScrolledWindow(frame, -1, pos, size, wxSUNKEN_BORDER) - { - view = v; -- SetBackgroundColour("WHITE"); -+ SetBackgroundColour(_T("WHITE")); - } - - // Define the repainting behaviour ++++++ sffview-0.4.diff -> sffview.1 ++++++ --- /work/SRC/openSUSE:Factory/sffview/sffview-0.4.diff 2011-09-23 12:46:06.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.sffview.new/sffview.1 2017-02-03 20:01:44.142837083 +0100 @@ -1,39 +1,43 @@ -Index: sffview-0.4/Makefile -=================================================================== ---- sffview-0.4.orig/Makefile -+++ sffview-0.4/Makefile -@@ -19,10 +19,10 @@ PROGRAM = sffview - OBJECTS = $(PROGRAM).o common.o codes.o decoder.o sfffile.o sffapp.o sffdoc.o - - #WXCONFIG_CPP = `wxgtk2-2.5-config --cflags` --WXCONFIG_CPP = `wx-config --cflags` -+WXCONFIG_CPP = `wx-config --unicode=yes --cflags` - - #WXCONFIG_LD = `wxgtk2-2.5-config --libs --static` --WXCONFIG_LD = `wx-config --libs` -+WXCONFIG_LD = `wx-config --unicode=yes --libs` - - # /usr/lib/libglib-2.0.a \ - # /usr/lib/libgobject-2.0.a \ -@@ -53,7 +53,7 @@ WXCONFIG_LD_STATIC = -L/usr/X11R6/lib \ - .SUFFIXES: .o .cpp - - .cpp.o : -- $(CC) -g -march=i686 -Os -c $(WXCONFIG_CPP) -o $@ $< -+ $(CC) -g $(RPM_OPT_FLAGS) -fno-strict-aliasing -c $(WXCONFIG_CPP) -o $@ $< - - all: $(PROGRAM) - -Index: sffview-0.4/sffview.cpp -=================================================================== ---- sffview-0.4.orig/sffview.cpp -+++ sffview-0.4/sffview.cpp -@@ -205,7 +205,7 @@ SffCanvas::SffCanvas(wxView *v, wxFrame - wxScrolledWindow(frame, -1, pos, size, wxSUNKEN_BORDER) - { - view = v; -- SetBackgroundColour("WHITE"); -+ SetBackgroundColour(_T("WHITE")); - } - - // Define the repainting behaviour +.\" This manpage has been automatically generated by docbook2man +.\" from a DocBook document. This tool can be found at: +.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> +.\" Please send any bug reports, improvements, comments, patches, +.\" etc. to Steve Cheng <[email protected]>. +.TH "SFFVIEW" "1" "27 Januar 2017" "" "" + +.SH NAME +sffview \- X11 viewer for structured fax files (SFF) +.SH SYNOPSIS + +\fBsffview\fR + +.SH "DESCRIPTION" +.PP +This manual page documents briefly the +\fBsffview\fR command. +.PP +This manual page was written for the Debian distribution +because the original program does not have a manual page. +.PP +\fBsffview\fR is a tool to view +"structured fax files" in X11. +"Structured fax file" (SFF) is the file format that ISDN +cards with CAPI interface expect and create. +.SH "OPTIONS" +.PP +NONE +.SH "BUGS" +.PP +Only German localisation +.SH "SEE ALSO" +.PP +sfftobmp (1). +.SH "AUTHOR" +.PP +This manual page was written by Achim Bohnet <[email protected]> for +the Debian system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GNU Free Documentation +License, Version 1.1 or any later version published by the Free +Software Foundation; with no Invariant Sections, no Front-Cover +Texts and no Back-Cover Texts.
