Hello community, here is the log from the commit of package teeworlds for openSUSE:Factory checked in at 2019-04-23 14:37:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/teeworlds (Old) and /work/SRC/openSUSE:Factory/.teeworlds.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "teeworlds" Tue Apr 23 14:37:18 2019 rev:4 rq:696969 version:0.7.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/teeworlds/teeworlds.changes 2018-04-19 15:31:08.618982505 +0200 +++ /work/SRC/openSUSE:Factory/.teeworlds.new.5536/teeworlds.changes 2019-04-23 14:37:31.705529423 +0200 @@ -1,0 +2,106 @@ +Mon Apr 22 19:42:57 UTC 2019 - Martin Hauke <[email protected]> + +- Update to version 0.7.3.1 + * fixed using correct array measurements when placing egg doodads + * fixed demo recorder downloaded maps using the sha256 hash + * show correct game release version in the start menu and console + * Fix platform-specific client libraries for Linux + +------------------------------------------------------------------- +Thu Apr 18 20:07:17 UTC 2019 - Martin Hauke <[email protected]> + +- Update to version 0.7.3 +- Use cmake instead of the bam build-system +- Drop not longer needed patches: + * bam-0.5.patch + * desktop.patch + * teeworlds-0.6.0-datadir.patch + * teeworlds-0.6.4-extlibs-optflags.patch +- Changes since 0.7.2 + * advanced scoreboard with game statistics + * joystick support (experimental!) + * copy paste (one-way) + * bot cosmetics (a visual difference between players and NPCs) + * chat commands (type / in chat) + * players can change skin without leaving the server (again) + * live automapper and complete rules for 0.7 tilesets + * audio toggling HUD + * an Easter surprise... +- Changes since 0.7.1 + Features: + * Christmas special update. + * Colorful gametype and level icons in the browser instead of + grayscale. + * Add an option to use raw mouse inputs, revert to (0.6) relative + mode by default. + * Demo list marker indicator. + * Restore ingame Player and Tee menus, add a warning that a + reconnect is needed. + * Emotes can now be cancelled by releasing the mouse in the + middle of the circle. + * Improve add friend text. + * Add a confirmation for removing a filter + * Add a "click a player to follow" hint + * Also hint players which key they should press to set themselves + ready. + Fixes: + * Fixed textures for older graphic cards + * Cancel whisper when target leaves + * Fixed server browser entry text color & close region + * Adjust chat messages to not display UID when option is turned off + * Fix empty vote when joining a server + * Broadcast: parse new line character + * Fix general menu NumOptions + * Fix failure to open configs in absolute paths since 0.7 + * Fix MOTD not always displayed + * Adjust volume label size + * Fix invalid serverinfo + * Fix red UID background in DM + * Fix sorting to sort by real players/clients + * Fix can't remove clan friend + * Fix too small 0.7 server popups + * Fix server browser flickering + * Fix change_map command not always changing map + * Fix round score reset + * Properly blend UID in chat + * Add difficulty info to the ingame menus +- Changes since 0.7.0 + General + * new gametypes: "last man standing" (LMS) and "last team standing" + (LTS). survive by your own or as a team with limited weaponry + * 64 players support. official gametypes are still restricted to 16 + players maximum but allow more spectators + * new skin system. build your own skins based on a variety of + provided parts + * enhanced security. all communications require a handshake and use + a token to counter spoofing and reflection attacks + * new maps: ctf8, dm3, lms1. Click to discover them! + Client + * animated background menu map: jungle, heavens (day/night themes, + customisable in the map editor) + * new design for the menus: added start menus, reworked server + browser, settings + * customisable gametype icons (browser). make your own! + * chat overhaul, whispers (private messages) + * composed binds (ctrl+, shift+, alt+) + * scoreboard remodelled, now shows kills/deaths + * demo markers + * master server list cache (in case the masters are unreachable) + * input separated from rendering (optimisation) + * upgrade to SDL2. support for multiple monitors, non-english + keyboards, and more + * 10 new languages + Server + * broadcasts overhaul, optional colours support + * ready system, for competitive settings + * server difficulty setting (casual, competitive, normal), shown in + the browser + * spectator mode improvements: follow flags, click on players + * bot flags for modified servers: indicate NPCs, can be filtered out + in the server browser + * Graphics + * sharper graphics all around (no more tileset_borderfix and dilate) + * refreshed the HUD, ninja cooldown, new mouse cursor + * mapres update (higher resolution, fixes...) + +------------------------------------------------------------------- Old: ---- bam-0.5.patch desktop.patch teeworlds-0.6.0-datadir.patch teeworlds-0.6.4-extlibs-optflags.patch teeworlds-0.6.4-src.tar.gz New: ---- _service teeworlds-0.7.3.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ teeworlds.spec ++++++ --- /var/tmp/diff_new_pack.p13Ml8/_old 2019-04-23 14:37:33.293530330 +0200 +++ /var/tmp/diff_new_pack.p13Ml8/_new 2019-04-23 14:37:33.293530330 +0200 @@ -1,7 +1,7 @@ # # spec file for package teeworlds # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,47 +12,38 @@ # 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: teeworlds -Version: 0.6.4 +Version: 0.7.3.1 Release: 0 Summary: A retro multiplayer jump-and-swing shooter -License: Zlib and CC-BY-SA-3.0 +License: Zlib AND CC-BY-SA-3.0 Group: Amusements/Games/Action/Arcade -Url: http://www.teeworlds.com -Source: https://downloads.teeworlds.com/%{name}-%{version}-src.tar.gz -# PATCH-FIX-OPENSUSE Allows building with optflags and system libraries. -Patch0: teeworlds-0.6.4-extlibs-optflags.patch -# PATCH-FIX-OPENSUSE teeworlds-0.6.0-datadir.patch -- Set the game asset dir to /usr/share not relative to the binary. -Patch1: %{name}-0.6.0-datadir.patch -# PATCH-FIX-UPSTREAM build with latest bam 0.5 -Patch3: bam-0.5.patch -# PATCH-FEATURE-UPSTREAM https://github.com/teeworlds/teeworlds/pull/1469 -Patch5: desktop.patch +URL: http://www.teeworlds.com +Source: %{name}-%{version}.tar.xz BuildRequires: ImageMagick -BuildRequires: bam >= 0.5.0 +BuildRequires: cmake BuildRequires: dejavu-fonts -BuildRequires: dos2unix -BuildRequires: fdupes BuildRequires: fontpackages-devel BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme +BuildRequires: libopenssl-devel +BuildRequires: pkgconfig BuildRequires: pnglite-devel BuildRequires: python BuildRequires: update-desktop-files BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(glu) -BuildRequires: pkgconfig(sdl) +BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(wavpack) BuildRequires: pkgconfig(zlib) Requires: dejavu-fonts Provides: teewars = %{version} Obsoletes: teewars < 0.4.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Teeworlds is an online multiplayer game. Battles can be played with @@ -60,57 +51,52 @@ Deathmatch and Capture The Flag. Own maps can be designed. %prep -%setup -q -n %{name}-%{version}-src -%patch0 -p1 -%patch1 -%patch3 -p1 -%patch5 -p1 +%setup -q # we use system libs instead -rm -rf src/engine/external +rm -r src/engine/external/{pnglite,wavpack,zlib} # Fix line-endings -dos2unix license.txt readme.txt +sed -i 's/\r$//' readme.md %build -CFLAGS="%{optflags} -std=c++98 -fPIC" bam -v release +%cmake %install -mkdir -p %{buildroot}%{_datadir} -cp -a data %{buildroot}%{_datadir}/%{name} -install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name} -install -D -m 0755 %{name}_srv %{buildroot}%{_bindir}/%{name}_srv - +%cmake_install install -D -m 0644 other/teeworlds.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop index=0 for res in 256 128 48 32 24 16; do - mkdir -p "%{buildroot}%{_datadir}/icons/hicolor/$res"x"$res/apps" - convert -strip "other/icons/Teeworlds.ico[$index]" "%{buildroot}%{_datadir}/icons/hicolor/$res"x"$res/apps/%{name}.png" + install -d "%{buildroot}%{_datadir}/icons/hicolor/$res"x"$res/apps" + convert -strip "other/icons/teeworlds.ico[$index]" "%{buildroot}%{_datadir}/icons/hicolor/$res"x"$res/apps/%{name}.png" index=$((index+1)) done %suse_update_desktop_file %{name} install -D -m 0644 other/teeworlds.appdata.xml %{buildroot}%{_datadir}/appdata/teeworlds.appdata.xml # Unbundle DejaVu font -rm -rf %{buildroot}%{_datadir}/%{name}/fonts/* -ln -s %{_ttfontsdir}/DejaVuSans.ttf %{buildroot}%{_datadir}/%{name}/fonts/DejaVuSans.ttf - -%fdupes %{buildroot}%{_datadir} +rm -rf %{buildroot}%{_datadir}/%{name}/data/fonts/* +ln -s %{_ttfontsdir}/DejaVuSans.ttf %{buildroot}%{_datadir}/%{name}/data/fonts/DejaVuSans.ttf +%if 0%{?suse_version} < 1330 %post %icon_theme_cache_post +%desktop_database_post %postun %icon_theme_cache_postun +%desktop_database_postun +%endif %files -%defattr(-,root,root) -%doc license.txt readme.txt -%{_bindir}/%{name}* +%license license.txt +%doc readme.md +%{_bindir}/teeworlds +%{_bindir}/teeworlds_srv %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %dir %{_datadir}/appdata/ -%{_datadir}/appdata/teeworlds.appdata.xml +%{_datadir}/appdata/%{name}.appdata.xml %changelog ++++++ _service ++++++ <services> <service mode="disabled" name="tar_scm"> <param name="url">https://github.com/teeworlds/teeworlds.git</param> <param name="package-meta">no</param> <param name="revision">master</param> <param name="scm">git</param> <param name="filename">teeworlds</param> <param name="parent-tag">0.7.3.1</param> <param name="versionformat">0.7.3.1</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>
