diff --git a/_service b/_service
new file mode 100644
index 0000000..95e5719
--- /dev/null
+++ b/_service
@@ -0,0 +1,5 @@
+
+
+ ddnet-16.7.2
+
+
diff --git a/cargo_config b/cargo_config
new file mode 100644
index 0000000..6fb4ff4
--- /dev/null
+++ b/cargo_config
@@ -0,0 +1,5 @@
+[source.crates-io]
+replace-with = "vendored-sources"
+
+[source.vendored-sources]
+directory = "vendor"
\ No newline at end of file
diff --git a/ddnet-16.5.tar.gz b/ddnet-16.5.tar.gz
deleted file mode 100644
index ac737c1..0000000
--- a/ddnet-16.5.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:483692b8612a58af58d5de79259f210d2fd22ec89a16f206795272e7cbc2b2f9
-size 35864109
diff --git a/ddnet-16.7.2.tar.gz b/ddnet-16.7.2.tar.gz
new file mode 100644
index 0000000..1c9715e
--- /dev/null
+++ b/ddnet-16.7.2.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:448bb4c4fa6720a4a13c3b89412c53bed27b65b8c14b0732da22e1fb6cc60ae9
+size 35917634
diff --git a/ddnet.changes b/ddnet.changes
index 9d9631d..89de334 100644
--- a/ddnet.changes
+++ b/ddnet.changes
@@ -1,3 +1,112 @@
+-------------------------------------------------------------------
+Mon Feb 6 18:43:49 UTC 2023 - Carsten Ziepke
+
+- 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
diff --git a/ddnet.spec b/ddnet.spec
index 372affd..4d989a2 100644
--- a/ddnet.spec
+++ b/ddnet.spec
@@ -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 <