Hello community,

here is the log from the commit of package grabpng for openSUSE:Factory checked 
in at 2016-08-05 18:15:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grabpng (Old)
 and      /work/SRC/openSUSE:Factory/.grabpng.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "grabpng"

Changes:
--------
--- /work/SRC/openSUSE:Factory/grabpng/grabpng.changes  2015-08-23 
15:42:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.grabpng.new/grabpng.changes     2016-08-05 
18:15:58.000000000 +0200
@@ -1,0 +2,12 @@
+Sat Jul  2 08:29:04 UTC 2016 - mailaen...@opensuse.org
+
+- add CREDITS file
+- add BSD-3-Clause for included code
+
+-------------------------------------------------------------------
+Thu Jun 30 19:27:42 UTC 2016 - jeng...@inai.de
+
+- Update to new git snapshot 20160630 to fix gcc6 erroring out on
+  narrowing conversions.
+
+-------------------------------------------------------------------

Old:
----
  grabpng-20100910.tar.xz
  index.html

New:
----
  _service
  grabpng-20160630.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ grabpng.spec ++++++
--- /var/tmp/diff_new_pack.szIlCr/_old  2016-08-05 18:15:59.000000000 +0200
+++ /var/tmp/diff_new_pack.szIlCr/_new  2016-08-05 18:15:59.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package grabpng
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -16,20 +16,18 @@
 #
 
 
+%define version_unconverted 20160630
+
 Name:           grabpng
-Version:        20100910
+Version:        20160630
 Release:        0
 Summary:        Sprite position adjuster for PNG files
-License:        GPL-3.0
+License:        GPL-3.0 and BSD-3-Clause
 Group:          Productivity/Graphics/Other
-# The project page (Source2) says GPL3. There is no other reference to it.
-Url:            http://code.google.com/p/grabpng/
+#Url:            http://code.google.com/p/grabpng/ # defunct
+Url:            https://sourceforge.net/p/zdoom/grabpng/ci/master/tree/
 
-#Origin-SVN:   http://grabpng.googlecode.com/svn
-#Git-Clone:    git://git.inai.de/zdoom # grabpng-dev
-#^(extra patches)
-Source:         grabpng-%version.tar.xz
-Source2:        index.html
+Source:         %name-%version.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -44,22 +42,19 @@
 ZDoom.
 
 %prep
-%setup -qn %name
+%setup -q
 
 %build
-if [ ! -e configure ]; then
-       ./autogen.sh || exit 1
-fi
+./autogen.sh
 %configure
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR="%buildroot"
-cp "%_sourcedir/index.html" .
+%make_install
 
 %files
 %defattr(-,root,root)
 %_bindir/*
-%doc index.html
+%doc COPYING CREDITS
 
 %changelog

++++++ _service ++++++
<services>
        <service mode="disabled" name="tar_scm">
                <param name="scm">git</param>
                <param name="url">git://git.code.sf.net/p/zdoom/grabpng</param>
                <param name="revision">grabpng-20160630</param>
                <param name="versionformat">20160630</param>
        </service>
        <service mode="disabled" name="recompress">
                <param name="file">*.tar</param>
                <param name="compression">xz</param>
        </service>
        <service mode="disabled" name="set_version"/>
</services>
++++++ grabpng-20100910.tar.xz -> grabpng-20160630.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grabpng/.gitignore new/grabpng-20160630/.gitignore
--- old/grabpng/.gitignore      2011-08-03 17:22:14.000000000 +0200
+++ new/grabpng-20160630/.gitignore     1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
-*.o
-.deps
-.dirstamp
-Makefile
-Makefile.in
-
-# autogenerated
-/logo.txt.h
-/readme.txt.h
-
-# binaries
-/grabpng
-/grabpng.exe
-/fch
-/fch.exe
-
-# autotools
-/aclocal.m4
-/autom4te.cache
-/compile
-/config.*
-/configure
-/depcomp
-/install-sh
-/missing
-/stamp-h1
Files old/grabpng/COPYING and new/grabpng-20160630/COPYING differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grabpng/CREDITS new/grabpng-20160630/CREDITS
--- old/grabpng/CREDITS 1970-01-01 01:00:00.000000000 +0100
+++ new/grabpng-20160630/CREDITS        2016-06-30 21:26:57.000000000 +0200
@@ -0,0 +1,6 @@
+grabpng originally authored by bagheadspi...@gmail.com and placed
+under GNU GPL v3.
+
+The included pngpp code is under the Modified BSD License (BSD-3-Clause)
+as per https://savannah.nongnu.org/projects/pngpp/ and the notices in
+the source files.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grabpng/grabpng.cpp new/grabpng-20160630/grabpng.cpp
--- old/grabpng/grabpng.cpp     2011-08-03 17:15:25.000000000 +0200
+++ new/grabpng-20160630/grabpng.cpp    2016-06-30 21:26:57.000000000 +0200
@@ -114,8 +114,8 @@
   grabChunk chunk = { 
     {0,0,0,8},
     {'g', 'r', 'A', 'b'}, 
-    byteSwapLong((long)x), 
-    byteSwapLong((long)y) ,
+    static_cast<unsigned char>(byteSwapLong(static_cast<long>(x))),
+    static_cast<unsigned char>(byteSwapLong(static_cast<long>(y))),
     0
   };
   chunk.crc = byteSwapULong(crc((unsigned char*)&chunk+4, 12));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/grabpng/grabpng.h new/grabpng-20160630/grabpng.h
--- old/grabpng/grabpng.h       2011-08-03 17:15:25.000000000 +0200
+++ new/grabpng-20160630/grabpng.h      2016-06-30 21:26:57.000000000 +0200
@@ -65,7 +65,7 @@
   {
     char size[4];
     char name[4];
-    char crc[4];
+    unsigned char crc[4];
   };
   
   // swap bytes for big endian format


Reply via email to