Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libresprite for openSUSE:Factory 
checked in at 2023-04-17 17:41:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libresprite (Old)
 and      /work/SRC/openSUSE:Factory/.libresprite.new.2023 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libresprite"

Mon Apr 17 17:41:58 2023 rev:2 rq:1079959 version:1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libresprite/libresprite.changes  2022-01-03 
10:50:09.679597493 +0100
+++ /work/SRC/openSUSE:Factory/.libresprite.new.2023/libresprite.changes        
2023-04-17 17:42:11.474534303 +0200
@@ -1,0 +2,5 @@
+Mon Apr 17 14:13:23 UTC 2023 - Dirk Stoecker <opens...@dstoecker.de>
+
+- fix build with newest GCC (LibreSprite-1.0_includes.patch)
+
+-------------------------------------------------------------------
@@ -10 +14,0 @@
-

New:
----
  LibreSprite-1.0_includes.patch

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

Other differences:
------------------
++++++ libresprite.spec ++++++
--- /var/tmp/diff_new_pack.NUpOQE/_old  2023-04-17 17:42:12.010537436 +0200
+++ /var/tmp/diff_new_pack.NUpOQE/_new  2023-04-17 17:42:12.014537459 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package aseprite
+# spec file for package libresprite
 #
-# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,42 +12,45 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 Name:           libresprite
 Version:        1.0
 Release:        0
 Summary:        Animated sprite editor & pixel art tool
-License:        GPL-2.0+ and MIT
+License:        GPL-2.0-or-later AND MIT
 Group:          Productivity/Graphics/Bitmap Editors
 Source:         LibreSprite-%{version}.tar.bz2
-Url:            https://libresprite.github.io/
+URL:            https://libresprite.github.io/
 BuildRequires:  cmake >= 3.4
+# PATCH-FIX-UPSTREAM add missing includes for newer gcc 
https://github.com/LibreSprite/LibreSprite/issues/399
+Patch1:         LibreSprite-1.0_includes.patch
 %if 0%{?suse_version} <= 1500
 BuildRequires:  gcc10-c++
 %else
 BuildRequires:  gcc-c++
 %endif
-BuildRequires:  glibc-devel
-BuildRequires:  pkgconfig(libcurl)
-BuildRequires:  pkgconfig(freetype2)
+BuildRequires:  fdupes
 BuildRequires:  giflib-devel >= 5.1.0
-BuildRequires:  pkgconfig(SDL2_image)
-BuildRequires:  libjpeg-devel
+BuildRequires:  glibc-devel
 BuildRequires:  googletest-devel
-BuildRequires:  update-desktop-files
-BuildRequires:  pkgconfig(libpng)
-BuildRequires:  tinyxml-devel
-BuildRequires:  pkgconfig(pixman-1)
-BuildRequires:  pkgconfig(x11)
-BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
-BuildRequires:  shared-mime-info
-BuildRequires:  pkgconfig(lua5.3)
+BuildRequires:  libjpeg-devel
 BuildRequires:  nodejs-devel-default
+BuildRequires:  shared-mime-info
+BuildRequires:  tinyxml-devel
+BuildRequires:  update-desktop-files
+BuildRequires:  pkgconfig(SDL2_image)
 BuildRequires:  pkgconfig(duktape)
+BuildRequires:  pkgconfig(freetype2)
+BuildRequires:  pkgconfig(libcurl)
+BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libwebp)
+BuildRequires:  pkgconfig(lua5.3)
+BuildRequires:  pkgconfig(pixman-1)
+BuildRequires:  pkgconfig(x11)
 
 %description
 LibreSprite is an open source program to create animated sprites
@@ -55,6 +58,7 @@
 
 %prep
 %setup -q -n LibreSprite-%{version}
+%patch1 -p1
 
 %build
 %cmake .. -DWITH_DESKTOP_INTEGRATION=ON \
@@ -78,7 +82,8 @@
 
 %files
 %defattr(-,root,root)
-%doc README.md LICENSE.txt
+%doc README.md
+%license LICENSE.txt
 %{_bindir}/%{name}
 %{_bindir}/%{name}-thumbnailer
 %{_datadir}/appdata/%{name}.appdata.xml

++++++ LibreSprite-1.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/LibreSprite-1.0/.gitignore 
new/LibreSprite-1.0/.gitignore
--- old/LibreSprite-1.0/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/LibreSprite-1.0/.gitignore      2021-11-17 00:10:41.000000000 +0100
@@ -0,0 +1,23 @@
+*.a
+*.o
+*.lib
+*.obj
+*.pdb
+*.dll
+*.ilk
+*.suo
+*.exe
+*.exe.manifest
+*.log
+*.res
+*.vs
+
+# CMake output
+build
+
+# Snap related
+/parts
+/prime
+/stage
+/*.snap
+/snap/.snapcraft/

++++++ LibreSprite-1.0_includes.patch ++++++
diff -ur LibreSprite-1.0/src/base/convert_to.h 
LibreSprite-1.0_fix/src/base/convert_to.h
--- LibreSprite-1.0/src/base/convert_to.h       2021-11-17 00:10:41.000000000 
+0100
+++ LibreSprite-1.0_fix/src/base/convert_to.h   2023-04-17 16:02:31.311262668 
+0200
@@ -7,6 +7,7 @@
 #pragma once
 
 #include "base/base.h"
+#include <cstdint>
 #include <string>
 
 namespace base {
diff -ur LibreSprite-1.0/src/base/sha1.h LibreSprite-1.0_fix/src/base/sha1.h
--- LibreSprite-1.0/src/base/sha1.h     2021-11-17 00:10:41.000000000 +0100
+++ LibreSprite-1.0_fix/src/base/sha1.h 2023-04-17 16:09:25.324892832 +0200
@@ -6,6 +6,7 @@
 
 #pragma once
 
+#include <cstdint>
 #include <vector>
 #include <string>
 

Reply via email to