Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package stb for openSUSE:Factory checked in at 2022-01-21 01:25:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/stb (Old) and /work/SRC/openSUSE:Factory/.stb.new.1938 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "stb" Fri Jan 21 01:25:33 2022 rev:5 rq:947642 version:20210910 Changes: -------- --- /work/SRC/openSUSE:Factory/stb/stb.changes 2020-11-02 09:43:57.865815523 +0100 +++ /work/SRC/openSUSE:Factory/.stb.new.1938/stb.changes 2022-01-21 01:26:13.150258540 +0100 @@ -1,0 +2,8 @@ +Thu Jan 20 09:27:27 UTC 2022 - Adrian Schr??ter <[email protected]> + +- use a date as version now + (every header file has it's own version now) +- stb_perlin.h got removed, need to apply a build fix for that + (fix-compile.patch) + +------------------------------------------------------------------- Old: ---- stb-2.36.1594640766.b42009b.obscpio New: ---- fix-compile.patch stb-20210910.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ stb.spec ++++++ --- /var/tmp/diff_new_pack.gEan0a/_old 2022-01-21 01:26:13.614255359 +0100 +++ /var/tmp/diff_new_pack.gEan0a/_new 2022-01-21 01:26:13.622255305 +0100 @@ -1,7 +1,7 @@ # # spec file for package stb # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,15 @@ Name: stb -Version: 2.36.1594640766.b42009b +Version: 20210910 Release: 0 Summary: Single-File Public Domain Libraries for C/C++ License: MIT OR Unlicense Group: Development/Libraries/C and C++ URL: https://github.com/nothings/stb Source0: stb-%{version}.tar.xz +# perlin.h got removed in git, breaking build +Patch1: fix-compile.patch BuildRequires: c++_compiler BuildArch: noarch @@ -41,7 +43,6 @@ stb_textedit.h | user interface | guts of a text editor for games etc implementing them from scratch stb_voxel_render.h | 3D graphics | Minecraft-esque voxel rendering "engine" with many more features stb_dxt.h | 3D graphics | Fabian "ryg" Giesen's real-time DXT compressor -stb_perlin.h | 3D graphics | revised Perlin noise (3D input, 1D output) stb_easy_font.h | 3D graphics | quick-and-dirty easy-to-deploy bitmap font for printing frame rate, etc stb_tilemap_editor.h | game dev | embeddable tilemap editor stb_herringbone_wang_tile.h | game dev | herringbone Wang tile map generator @@ -79,9 +80,9 @@ stb.h | misc | helper functions for C, mostly redundant in C++; basically author's personal stuff stb_leakcheck.h | misc | quick-and-dirty malloc/free leak-checking - %prep %setup -q +%patch1 -p1 %build # nothing to do ++++++ _service ++++++ --- /var/tmp/diff_new_pack.gEan0a/_old 2022-01-21 01:26:13.654255085 +0100 +++ /var/tmp/diff_new_pack.gEan0a/_new 2022-01-21 01:26:13.658255058 +0100 @@ -1,11 +1,11 @@ <services> - <service name="obs_scm" mode="disabled"> + <service name="obs_scm" mode="manual"> <param name="url">https://github.com/nothings/stb.git</param> <param name="scm">git</param> -<!-- defined in stb.h file --> - <param name="versionprefix">2.36</param> +<!-- every header has an own version meanwhile. so using last commit time. --> + <param name="version">20210910</param> </service> - <service mode="disabled" name="set_version" /> + <service mode="manual" name="set_version" /> <service mode="buildtime" name="tar" /> <service mode="buildtime" name="recompress"> ++++++ fix-compile.patch ++++++ commit 35f549ac30d4d1694a9887f3812c56daee46e92a gpg: Signatur vom Do 20 Jan 2022 10:43:10 CET gpg: mittels RSA-Schl??ssel D50175CE6FE935BBF28602C5918D8C954C08DB67 gpg: Korrekte Signatur von "Adrian Schroeter (OBS Project Manager) <[email protected]>" [ultimativ] Author: Adrian Schr??ter <[email protected]> Date: Thu Jan 20 10:42:58 2022 +0100 compile fix after removal of stb_perlin.h diff --git a/tests/Makefile b/tests/Makefile index 1782ea6..1a997af 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -6,7 +6,7 @@ CPPFLAGS = -Wno-write-strings -DSTB_DIVIDE_TEST #CFLAGS += -O -fsanitize=address all: - $(CC) $(INCLUDES) $(CFLAGS) ../stb_vorbis.c test_c_compilation.c test_c_lexer.c test_dxt.c test_easyfont.c test_image.c test_image_write.c test_perlin.c test_sprintf.c test_truetype.c test_voxel.c -lm - $(CC) $(INCLUDES) $(CPPFLAGS) -std=c++0x test_cpp_compilation.cpp -lm -lstdc++ + $(CC) $(INCLUDES) $(CFLAGS) ../stb_vorbis.c test_c_compilation.c test_c_lexer.c test_dxt.c test_easyfont.c test_image.c test_image_write.c test_sprintf.c test_truetype.c test_voxel.c -lm +# $(CC) $(INCLUDES) $(CPPFLAGS) -std=c++0x test_cpp_compilation.cpp -lm -lstdc++ $(CC) $(INCLUDES) $(CFLAGS) -DIWT_TEST image_write_test.c -lm -o image_write_test $(CC) $(INCLUDES) $(CFLAGS) fuzz_main.c stbi_read_fuzzer.c -lm -o image_fuzzer diff --git a/tests/stb.dsp b/tests/stb.dsp index ba13ba1..af16faf 100644 --- a/tests/stb.dsp +++ b/tests/stb.dsp @@ -150,10 +150,6 @@ SOURCE=..\stb_malloc.h # End Source File # Begin Source File -SOURCE=..\stb_perlin.h -# End Source File -# Begin Source File - SOURCE=..\stb_rect_pack.h # End Source File # Begin Source File @@ -218,10 +214,6 @@ SOURCE=.\test_packer.c # End Source File # Begin Source File -SOURCE=.\test_perlin.c -# End Source File -# Begin Source File - SOURCE=.\test_sprintf.c # End Source File # Begin Source File diff --git a/tests/test.sbm b/tests/test.sbm index 9465605..f151867 100644 --- a/tests/test.sbm +++ b/tests/test.sbm @@ -53,7 +53,6 @@ main.c test_dxt.c main.c test_easyfont.c main.c test_image.c main.c test_image_write.c -main.c test_perlin.c main.c test_sprintf.c main.c test_vorbis.c ../stb_vorbis.c main.c test_voxel.c diff --git a/tests/test_c_compilation.c b/tests/test_c_compilation.c index 11f6023..27be5d6 100644 --- a/tests/test_c_compilation.c +++ b/tests/test_c_compilation.c @@ -17,7 +17,6 @@ #include "stb_herringbone_wang_tile.h" #include "stb_image.h" #include "stb_image_write.h" -#include "stb_perlin.h" #include "stb_c_lexer.h" #include "stb_divide.h" #include "stb_image_resize.h" @@ -46,4 +45,4 @@ int quicktest(void) char buffer[999]; stbsp_sprintf(buffer, "test%%test"); return 0; -} \ No newline at end of file +} diff --git a/tests/test_cpp_compilation.cpp b/tests/test_cpp_compilation.cpp index fd8c5b6..43ec5a2 100644 --- a/tests/test_cpp_compilation.cpp +++ b/tests/test_cpp_compilation.cpp @@ -6,7 +6,6 @@ #include "stb_truetype.h" #include "stb_image_write.h" #include "stb_c_lexer.h" -#include "stb_perlin.h" #include "stb_dxt.h" #include "stb_divide.h" #include "stb_herringbone_wang_tile.h" @@ -45,7 +44,6 @@ void my_free(void *) { } #include "stb_rect_pack.h" #include "stb_truetype.h" #include "stb_image_write.h" -#include "stb_perlin.h" #include "stb_dxt.h" #include "stb_divide.h" #include "stb_herringbone_wang_tile.h" diff --git a/tests/test_perlin.c b/tests/test_perlin.c deleted file mode 100644 index de702c9..0000000 --- a/tests/test_perlin.c +++ /dev/null @@ -1 +0,0 @@ -#include "stb_perlin.h" \ No newline at end of file ++++++ stb-2.36.1594640766.b42009b.obscpio -> stb-20210910.obscpio ++++++ ++++ 35299 lines of diff (skipped) ++++++ stb.obsinfo ++++++ --- /var/tmp/diff_new_pack.gEan0a/_old 2022-01-21 01:26:13.946253083 +0100 +++ /var/tmp/diff_new_pack.gEan0a/_new 2022-01-21 01:26:13.950253057 +0100 @@ -1,6 +1,5 @@ name: stb -version: 2.36.1594640766.b42009b -mtime: 1594640766 -commit: b42009b3b9d4ca35bc703f5310eedc74f584be58 - +version: 20210910 +mtime: 1631260109 +commit: af1a5bc352164740c1cc1354942b1c6b72eacb8a
