Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package goatattack for openSUSE:Factory checked in at 2021-05-11 23:04:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/goatattack (Old) and /work/SRC/openSUSE:Factory/.goatattack.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "goatattack" Tue May 11 23:04:35 2021 rev:2 rq:892253 version:0.4.5 Changes: -------- --- /work/SRC/openSUSE:Factory/goatattack/goatattack.changes 2017-01-25 23:36:00.256204194 +0100 +++ /work/SRC/openSUSE:Factory/.goatattack.new.2988/goatattack.changes 2021-05-11 23:04:46.460793931 +0200 @@ -1,0 +2,25 @@ +Tue May 4 20:02:28 UTC 2021 - Ferdinand Thiessen <[email protected]> + +- Update to version 0.4.5 + * ctf1 fixed (hidden tiles removed) + * Fixed: In some circumstances, decrementing mun can do a + flip from 0 to 255. + * netcode: Better traffic shaping + * Improved chat message text style + * Added translations english, german, french and portuguese + * fontsystem completely rewritten (changed to freetype) + * flag icon support + * new tiles + * new maps dm8, dm9, dm10 + * lagometer shows network traffic and lag + * option: grenades and bombs can be shot + * option: prevent pick items, if inventory full + * now you can do an "/op" on a local hosted server + * new server admin commands "/list" and "/stats" + * able to create and load user defined player characters + * GUI mousewheel support + * better text clipping in GUI subsystem + * copy & paste in map editor +- Add find-freetype.patch + +------------------------------------------------------------------- Old: ---- 0.4.4.tar.gz New: ---- find-freetype.patch goatattack-0.4.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ goatattack.spec ++++++ --- /var/tmp/diff_new_pack.s5f0Bw/_old 2021-05-11 23:04:47.364790200 +0200 +++ /var/tmp/diff_new_pack.s5f0Bw/_new 2021-05-11 23:04:47.364790200 +0200 @@ -1,7 +1,7 @@ # # spec file for package goatattack # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,18 +12,20 @@ # 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: goatattack -Version: 0.4.4 +Version: 0.4.5 Release: 0 Summary: Fast-paced multiplayer pixel art shooter game -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Amusements/Games/Action/Shoot -Url: http://www.goatattack.net -Source: https://github.com/goatattack/goatattack/archive/%{version}.tar.gz +URL: http://www.goatattack.net +Source: https://github.com/goatattack/goatattack/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-OPENSUSE find-freetype.patch -- Use pkgconfig to find freetype +Patch0: find-freetype.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: desktop-file-utils @@ -32,6 +34,7 @@ BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(SDL2_mixer) +BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(sdl2) @@ -58,45 +61,33 @@ %prep %setup -q - +%patch0 -p1 rm -rf src/shared/zlib %build autoreconf -vfi - # TODO build the dedicated server as well %configure \ --bindir=%{_bindir} \ --datadir=%{_datadir} \ --enable-map-editor - -make %{?_smp_mflags} +%make_build %install %make_install -%post -%desktop_database_post -%icon_theme_cache_post - -%postun -%desktop_database_postun -%icon_theme_cache_postun - %files -%defattr(-,root,root) -%doc AUTHORS ChangeLog README.md COPYING +%license COPYING +%doc AUTHORS ChangeLog README.md %{_bindir}/%{name} %{_bindir}/%{name}-mapeditor -%{_mandir}/man6/%{name}.6* -%{_mandir}/man6/%{name}-mapeditor.6* +%{_mandir}/man6/%{name}.6%{?ext_man} +%{_mandir}/man6/%{name}-mapeditor.6%{?ext_man} %{_datadir}/icons/hicolor/scalable/apps/%{name}*.svg -%dir %{_datadir}/appdata/ %{_datadir}/appdata/%{name}*.appdata.xml %{_datadir}/applications/%{name}*.desktop %files data -%defattr(-,root,root) %{_datadir}/%{name}/ %changelog ++++++ find-freetype.patch ++++++ diff -Nur goatattack-0.4.5/configure.ac new/configure.ac --- goatattack-0.4.5/configure.ac 2017-09-14 19:58:38.000000000 +0200 +++ new/configure.ac 2021-05-04 22:15:46.711648530 +0200 @@ -14,14 +14,13 @@ AC_HEADER_STDC AM_SILENT_RULES([yes]) -# --- check headers --- -AC_CHECK_HEADERS([ft2build.h], [], [missing_headers="$missing_headers ft2build.h"]) - # --- check libraries --- AC_CHECK_LIB([pthread], [pthread_create], [], [missing_libraries="$missing_libraries libpthread"]) AC_CHECK_LIB([rt], [clock_gettime], [], [missing_libraries="$missing_libraries librt"]) AC_CHECK_LIB([png], [png_init_io], [], [missing_libraries="$missing_libraries libpng"]) -AC_CHECK_LIB(freetype, FT_Init_FreeType, [], [missing_libraries="$missing_libraries libfreetype"]) +PKG_CHECK_MODULES([FREETYPE], [freetype2], [], [ + AC_CHECK_LIB(freetype, FT_Init_FreeType, [], [missing_libraries="$missing_libraries libfreetype"]) +]) # --- compile args --- AC_ARG_ENABLE([build-pak], [ --disable-build-pak Disable building base.pak [[default=no]]], [], [BUILD_PAK="yes"]) diff -Nur goatattack-0.4.5/src/Game/Makefile.am new/src/Game/Makefile.am --- goatattack-0.4.5/src/Game/Makefile.am 2017-09-14 19:58:38.000000000 +0200 +++ new/src/Game/Makefile.am 2021-05-04 23:26:26.003224112 +0200 @@ -3,8 +3,8 @@ bin_PROGRAMS = goatattack goatattack_SOURCES = $(sources) -goatattack_CXXFLAGS = $(cxxflags) -DPNG_SKIP_SETJMP_CHECK -pedantic -Wextra -Wno-unused-parameter -Wno-unused-result -goatattack_LDADD = $(ldadd) -lGL -lSDL2 -lSDL2_mixer -lfreetype +goatattack_CXXFLAGS = $(cxxflags) -DPNG_SKIP_SETJMP_CHECK -pedantic -Wextra -Wno-unused-parameter -Wno-unused-result $(FREETYPE_CFLAGS) +goatattack_LDADD = $(ldadd) -lGL -lSDL2 -lSDL2_mixer $(FREETYPE_LIBS) iconsdir = $(datarootdir)/icons/hicolor/scalable/apps dist_icons_DATA = ../../packages/linux/goatattack.svg desktopdir = $(datarootdir)/applications diff -Nur goatattack-0.4.5/src/MapEditor/Makefile.am new/src/MapEditor/Makefile.am --- goatattack-0.4.5/src/MapEditor/Makefile.am 2017-09-14 19:58:38.000000000 +0200 +++ new/src/MapEditor/Makefile.am 2021-05-06 13:34:35.740819020 +0200 @@ -4,8 +4,8 @@ goatattack_mapeditor_SOURCES += src/CompileThreadBlock.cpp src/CompileThread.cpp src/CompileThreadPixel.cpp src/EditableLight.cpp src/EditableMap.cpp src/EditableObject.cpp src/MapEditor.cpp src/MapEditorLightmap.cpp goatattack_mapeditor_CXXFLAGS = -I./include -I../shared/include -pedantic -Wextra -Wno-unused-parameter -Wno-unused-result -goatattack_mapeditor_CXXFLAGS += -DDATA_DIRECTORY=$(targetdatadir) -DPNG_SKIP_SETJMP_CHECK -goatattack_mapeditor_LDADD = -L../shared -lshared -lpng -lGL -lSDL2 -lSDL2_mixer -lfreetype +goatattack_mapeditor_CXXFLAGS += -DDATA_DIRECTORY=$(targetdatadir) -DPNG_SKIP_SETJMP_CHECK $(FREETYPE_CFLAGS) +goatattack_mapeditor_LDADD = -L../shared -lshared -lpng -lGL -lSDL2 -lSDL2_mixer $(FREETYPE_LIBS) if INTERNAL_ZLIB goatattack_mapeditor_SOURCES += ../shared/zlib/adler32.c ../shared/zlib/crc32.c ../shared/zlib/inffast.c ../shared/zlib/inflate.c ../shared/zlib/inftrees.c ../shared/zlib/zutil.c diff -Nur goatattack-0.4.5/src/shared/Makefile.am new/src/shared/Makefile.am --- goatattack-0.4.5/src/shared/Makefile.am 2017-09-14 19:58:38.000000000 +0200 +++ new/src/shared/Makefile.am 2021-05-06 13:34:04.676589212 +0200 @@ -3,7 +3,8 @@ libshared_a_SOURCES += ../shared/i18n/I18NEnglish.cpp ../shared/i18n/I18NGerman.cpp ../shared/i18n/I18NFrench.cpp ../shared/i18n/I18NPortuguese.cpp ../shared/i18n/I18NSpanish.cpp -libshared_a_CXXFLAGS = -I./include -I../shared/include -pedantic -Wextra -Wno-unused-parameter -Wno-unused-result -DPNG_SKIP_SETJMP_CHECK +libshared_a_CXXFLAGS = $(FREETYPE_CFLAGS) -I./include -I../shared/include -pedantic -Wextra -Wno-unused-parameter -Wno-unused-result -DPNG_SKIP_SETJMP_CHECK +libshared_a_LIBS = $(FREETYPE_LIBS) if DEDICATED_SERVER libshared_a_CXXFLAGS += -DDEDICATED_SERVER
