SHA256
1
0
forked from pool/ddnet

Accepting request 1063930 from games

- Update to version 16.7.2:
  * [Client] Default to Vulkan graphics backend (higher FPS) and
    handle errors
  * [Client] Implement exact matches in search and exclude
    strings using "" in serverbrowser
  * [Client] Render bar below server browser to show loading
    progression
  * [Client] Allow translations to reorder string substitutions
  * [Client] Ignore connecting players in search terms when
    "Filter connecting players" is on
  * [Client] Adjust no weak prediction to updated server code
  * [Client] Copy the demo timeline markers when slicing a demo
  * [Client] Handle ordinal joystick hat keys as combined cardinal
    hat keys
  * [Client] Add support for hot-plugging gamecontrollers
  * [Client] Register application separately to specify its
    displayed name
  * [Client] Fix signed integer overflow on client input message
  * [Client] Fix undefined behavior when unpacking snapshot deltas
  * [Client] Remove possible overflow in str_comp_filenames
  * [Client] Fix edge cases where demo tick seeking did not work
  * [Client] Fix smooth zooming overshooting the target zoom level
  * [Client] Add button that tells you how to save power
  * [Client] Colorify BW & F-DDrace gamemodes
  * [Editor] Add tooltips for the buttons that open directories
    and files
  * [Editor] Add separate ed_limit_max_zoom_level for editor,
    fix editor smooth zooming when joining/reloading game
  * [Editor] Deactivate editor hotkeys while dialog or editbox
    is active
  * [Editor] Fix issues when closing multiple editor popups at
    the same time
  * [Server] Make restart command work
  * [Server] Send laser objects as DDNetLaser with type
  * [Server] Add README.md for the mastersrv, briefly explaining
    the setup
  * [Server] Add tool to manually ping the mastersrv
  * [Server] Persist AFK state of players on map change,
    fix players always being considered AFK with sv_max_afk_time 0
  * [Server] Fix scoreboard showing wrong best time
  * [Server] Swap times should be per player, not per team
  * [Server] Improve move_sqlite script to adapt timezone
- Changes in 16.6:
  * [Tooling] Add support for Rust code in DDNet
  * [Client] Add friend counter in server browser
  * [Client] Add buttons+increased length on demo viewbar
  * [Editor] Improve UI
  * [Editor] Smooth zoom
  * [Server] Add 4 minutes of logs for moderators
  * [Client] Fix crash when cutting a demo opened from
    command line
  * [Client] Fix heap-buffer-overflow in DDNetLaser
    prediction code
  * [Client] Fix incorrect cursor position after exiting
    pause/spec
  * [Client] More confirmation menus
  * [Client] Fix client crash when launching with screenshot
    command
  * [Client] Fix key reader text flashing for one frame
  * [Client] Remove // in ddnet:// url handler
  * [Client] Fix client crash when unpacking a sixup packet
  * [Client] Fix invalid demo cutting, Add slice highlighting
  * [Client] Fix choppy demo seeking when start/end ticks are
    very large
  * [Client] Allow both shift keys to be used for all hotkeys
  * [Client] Switch to Vulkan 1.1
  * [Client] Correct color for Gores gametype in serverbrowser
  * [Client] Fix Ctrl+F hotkey not checking for Ctrl key, minor
    improvement to tile details popup layout
  * [Editor] Add "Tools > Remove unused envelopes"
  * [Editor] Fix large popups being outside of screen, add margin
  * [Editor] Fix incorrect minimum values for tele, speedup and
    switch layers
  * [Editor] Change hotkey Ctrl+A to Ctrl+T for layer/tile details
  * [Editor] Also append sounds when appending a map to
    another map 
  * [Editor] Fix height and margin of sound and image popups
  * [Editor] Search for images/sounds in subfolders when readding
    in editor, show selection dialog if multiple files with the
    same are found, show error popup when file cannot be found
  * [Editor] Add Shift+G editor hotkey to toggle visibility of
    game layers
  * [Editor] Fix editor crash when shifting left/right, fix wrong
    up/down shifting
  * [Editor] Adjust quad point position and texture U/V relatively
  * [Editor] Hex values in info feature
  * [Editor] Fix crashes when scrolling with up/down keys on empty
    sounds/images lists
  * [Editor] Fix text input not working when entering editor with
    bind, fix IME not being deactivated when editor is closed
  * [Server] Fix physics change by weak hook fix
  * [Server] Write log and sqlite files to storage unless given
    as absolute path
  * [Server] Add reason to vote mute, fix vote mute
  * [Server] Reset teams when restarting round 
  * [Server] Report extra player info to master http
  * [Server] Fix CGun::Fire server crash
  * [Tooling] Add an optional vscode workspace
  * [Tooling] Add vim syntax files for config files
  * [Tooling] Add tests for int packer, huffman compression
  * [Tooling] Add more tests for hashing, CSemaphore and
    utf8 confusables
- Add _service file to create the cargo_vendor tarball
- Add BuildRequires cargo and rust to use rust for building
- Fix branding-requires-unversioned hicolor-icon-theme warning

OBS-URL: https://build.opensuse.org/request/show/1063930
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ddnet?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2023-02-09 15:23:09 +00:00 committed by Git OBS Bridge
commit 73a016a786
7 changed files with 161 additions and 17 deletions

5
_service Normal file
View File

@ -0,0 +1,5 @@
<services>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">ddnet-16.7.2</param>
</service>
</services>

5
cargo_config Normal file
View File

@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:483692b8612a58af58d5de79259f210d2fd22ec89a16f206795272e7cbc2b2f9
size 35864109

3
ddnet-16.7.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:448bb4c4fa6720a4a13c3b89412c53bed27b65b8c14b0732da22e1fb6cc60ae9
size 35917634

View File

@ -1,3 +1,112 @@
-------------------------------------------------------------------
Mon Feb 6 18:43:49 UTC 2023 - Carsten Ziepke <kieltux@gmail.com>
- Update to version 16.7.2:
* [Client] Default to Vulkan graphics backend (higher FPS) and
handle errors
* [Client] Implement exact matches in search and exclude
strings using "" in serverbrowser
* [Client] Render bar below server browser to show loading
progression
* [Client] Allow translations to reorder string substitutions
* [Client] Ignore connecting players in search terms when
"Filter connecting players" is on
* [Client] Adjust no weak prediction to updated server code
* [Client] Copy the demo timeline markers when slicing a demo
* [Client] Handle ordinal joystick hat keys as combined cardinal
hat keys
* [Client] Add support for hot-plugging gamecontrollers
* [Client] Register application separately to specify its
displayed name
* [Client] Fix signed integer overflow on client input message
* [Client] Fix undefined behavior when unpacking snapshot deltas
* [Client] Remove possible overflow in str_comp_filenames
* [Client] Fix edge cases where demo tick seeking did not work
* [Client] Fix smooth zooming overshooting the target zoom level
* [Client] Add button that tells you how to save power
* [Client] Colorify BW & F-DDrace gamemodes
* [Editor] Add tooltips for the buttons that open directories
and files
* [Editor] Add separate ed_limit_max_zoom_level for editor,
fix editor smooth zooming when joining/reloading game
* [Editor] Deactivate editor hotkeys while dialog or editbox
is active
* [Editor] Fix issues when closing multiple editor popups at
the same time
* [Server] Make restart command work
* [Server] Send laser objects as DDNetLaser with type
* [Server] Add README.md for the mastersrv, briefly explaining
the setup
* [Server] Add tool to manually ping the mastersrv
* [Server] Persist AFK state of players on map change,
fix players always being considered AFK with sv_max_afk_time 0
* [Server] Fix scoreboard showing wrong best time
* [Server] Swap times should be per player, not per team
* [Server] Improve move_sqlite script to adapt timezone
- Changes in 16.6:
* [Tooling] Add support for Rust code in DDNet
* [Client] Add friend counter in server browser
* [Client] Add buttons+increased length on demo viewbar
* [Editor] Improve UI
* [Editor] Smooth zoom
* [Server] Add 4 minutes of logs for moderators
* [Client] Fix crash when cutting a demo opened from
command line
* [Client] Fix heap-buffer-overflow in DDNetLaser
prediction code
* [Client] Fix incorrect cursor position after exiting
pause/spec
* [Client] More confirmation menus
* [Client] Fix client crash when launching with screenshot
command
* [Client] Fix key reader text flashing for one frame
* [Client] Remove // in ddnet:// url handler
* [Client] Fix client crash when unpacking a sixup packet
* [Client] Fix invalid demo cutting, Add slice highlighting
* [Client] Fix choppy demo seeking when start/end ticks are
very large
* [Client] Allow both shift keys to be used for all hotkeys
* [Client] Switch to Vulkan 1.1
* [Client] Correct color for Gores gametype in serverbrowser
* [Client] Fix Ctrl+F hotkey not checking for Ctrl key, minor
improvement to tile details popup layout
* [Editor] Add "Tools > Remove unused envelopes"
* [Editor] Fix large popups being outside of screen, add margin
* [Editor] Fix incorrect minimum values for tele, speedup and
switch layers
* [Editor] Change hotkey Ctrl+A to Ctrl+T for layer/tile details
* [Editor] Also append sounds when appending a map to
another map
* [Editor] Fix height and margin of sound and image popups
* [Editor] Search for images/sounds in subfolders when readding
in editor, show selection dialog if multiple files with the
same are found, show error popup when file cannot be found
* [Editor] Add Shift+G editor hotkey to toggle visibility of
game layers
* [Editor] Fix editor crash when shifting left/right, fix wrong
up/down shifting
* [Editor] Adjust quad point position and texture U/V relatively
* [Editor] Hex values in info feature
* [Editor] Fix crashes when scrolling with up/down keys on empty
sounds/images lists
* [Editor] Fix text input not working when entering editor with
bind, fix IME not being deactivated when editor is closed
* [Server] Fix physics change by weak hook fix
* [Server] Write log and sqlite files to storage unless given
as absolute path
* [Server] Add reason to vote mute, fix vote mute
* [Server] Reset teams when restarting round
* [Server] Report extra player info to master http
* [Server] Fix CGun::Fire server crash
* [Tooling] Add an optional vscode workspace
* [Tooling] Add vim syntax files for config files
* [Tooling] Add tests for int packer, huffman compression
* [Tooling] Add more tests for hashing, CSemaphore and
utf8 confusables
- Add _service file to create the cargo_vendor tarball
- Add BuildRequires cargo and rust to use rust for building
- Fix branding-requires-unversioned hicolor-icon-theme warning
-------------------------------------------------------------------
Tue Nov 8 17:43:00 UTC 2022 - Carsten Ziepke <kieltux@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ddnet
#
# Copyright (c) 2022 SUSE LLC
# 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
@ -17,15 +17,19 @@
Name: ddnet
Version: 16.5
Version: 16.7.2
Release: 0
Summary: DDraceNetwork, a cooperative racing mod of Teeworlds
License: Apache-2.0 AND CC-BY-SA-3.0 AND Zlib AND MIT AND SUSE-Public-Domain
Group: Amusements/Games/Action/Race
URL: https://ddnet.org/
Source: https://github.com/ddnet/ddnet/archive/%{version}/%{name}-%{version}.tar.gz
Source0: https://github.com/ddnet/ddnet/archive/%{version}/%{name}-%{version}.tar.gz
Source1: vendor.tar.xz
Source2: cargo_config
BuildRequires: Mesa-libGLESv3-devel
BuildRequires: appstream-glib
BuildRequires: cargo
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: fdupes
@ -36,6 +40,8 @@ BuildRequires: libminiupnpc-devel
BuildRequires: pkgconfig
BuildRequires: pnglite-devel
BuildRequires: python3
BuildRequires: rust
BuildRequires: rust-std
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(glew)
BuildRequires: pkgconfig(gtest)
@ -63,7 +69,6 @@ own maps, or run your own server.
%package data
Summary: Data files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: hicolor-icon-theme
BuildArch: noarch
%description data
@ -77,21 +82,38 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Standalone server for DDraceNetwork (DDNet).
%prep
%autosetup -p1
%setup -qa1
mkdir cargo-home
cat >cargo-home/config <<EOF
[source.crates-io]
registry = 'https://github.com/rust-lang/crates.io-index'
replace-with = 'vendored-sources'
[source."https://github.com/selaux/android-ndk-rs"]
git = "https://github.com/selaux/android-ndk-rs"
replace-with = "vendored-sources"
[source.vendored-sources]
directory = './vendor'
EOF
%build
%cmake \
-DPREFER_BUNDLED_LIBS=OFF \
-DAUTOUPDATE=OFF \
-DANTIBOT=ON \
-DUPNP=ON \
-DSTEAM=OFF \
-DVIDEORECORDER=OFF
%cmake_build
export CARGO_HOME=`pwd`/cargo-home/
mkdir -p build && cd build
# NOTE that %%cmake macro breaks linking.
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DPREFER_BUNDLED_LIBS=OFF \
-DAUTOUPDATE=OFF \
-DANTIBOT=ON \
-DUPNP=ON \
-DSTEAM=OFF \
-DVIDEORECORDER=OFF
%install
export CARGO_HOME=`pwd`/cargo-home/
%cmake_install
install -Dp -m 0644 man/DDNet.6 %{buildroot}%{_mandir}/man6/DDNet.6
install -Dp -m 0644 man/DDNet-Server.6 %{buildroot}%{_mandir}/man6/DDNet-Server.6

3
vendor.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e30835034b8f3aff524938e0268c386aec4309cac8c3c8987caedad19e89b87
size 497380