Accepting request 839041 from games
OBS-URL: https://build.opensuse.org/request/show/839041 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cdogs-sdl?expand=0&rev=8
This commit is contained in:
commit
8d30be793d
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0a19a619dd02f647d680b245abc97359e04cdc4231a61b86397a37100907195c
|
||||
size 22333043
|
3
cdogs-sdl-0.9.1.tar.gz
Normal file
3
cdogs-sdl-0.9.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fee87e90371e6c8f679e75a3628d82b863a67250bd822c672a4017f6a078eb56
|
||||
size 23552051
|
@ -1,15 +1,15 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 295c8d2..84fb093 100644
|
||||
index e506aaa..9c14ce4 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -252,12 +252,12 @@ INSTALL(FILES
|
||||
@@ -227,12 +227,12 @@ INSTALL(FILES
|
||||
${CMAKE_SOURCE_DIR}/README.md
|
||||
DESTINATION ${DATA_INSTALL_DIR})
|
||||
IF(UNIX AND NOT APPLE AND NOT BEOS AND NOT HAIKU)
|
||||
- INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/io.github.cxong.cdogs-sdl.desktop DESTINATION ${INSTALL_PREFIX}/share/applications)
|
||||
- INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/io.github.cxong.cdogs-sdl.appdata.xml DESTINATION ${INSTALL_PREFIX}/share/appdata)
|
||||
+ INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/io.github.cxong.cdogs-sdl.desktop DESTINATION ${INSTALL_PREFIX}/share/applications/ RENAME cdogs-sdl.desktop)
|
||||
+ INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/io.github.cxong.cdogs-sdl.appdata.xml DESTINATION ${INSTALL_PREFIX}/share/appdata/ RENAME cdogs-sdl.appdata.xml)
|
||||
- INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/io.github.cxong.cdogs-sdl.appdata.xml DESTINATION ${INSTALL_PREFIX}/share/metainfo)
|
||||
+ INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/io.github.cxong.cdogs-sdl.desktop DESTINATION ${INSTALL_PREFIX}/share/applications RENAME cdogs-sdl.desktop)
|
||||
+ INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/io.github.cxong.cdogs-sdl.appdata.xml DESTINATION ${INSTALL_PREFIX}/share/metainfo RENAME cdogs-sdl.appdata.xml)
|
||||
foreach(RES 16 22 32 48 128)
|
||||
INSTALL(FILES ${CMAKE_SOURCE_DIR}/build/linux/cdogs-icon.${RES}.png
|
||||
DESTINATION ${INSTALL_PREFIX}/share/icons/hicolor/${RES}x${RES}/apps
|
||||
|
@ -1,3 +1,67 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 1 18:35:10 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to 0.9.1:
|
||||
* Fix bugs that spawn player in locked rooms
|
||||
Game
|
||||
* Fix spawning player in locked rooms.
|
||||
* Fix spawning keys inside locked doors.
|
||||
* Add show map powerup in Doom campaign.
|
||||
Editor
|
||||
* Add color highlights for locked rooms.
|
||||
Other
|
||||
* Fix linker issue in gcc10 (fixed by @susnux).
|
||||
- Drop patch:
|
||||
* cdogs-gLog.patch (fixed upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 30 11:12:45 UTC 2020 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||
|
||||
- Update to 0.9.0:
|
||||
* Feature complete Doom campaign
|
||||
Game
|
||||
* Add feet colors
|
||||
* Add new hairs/hats: helmet, donut, hazmat
|
||||
* Add AI wake sounds #651
|
||||
* Fix sound spam at start of maps #605
|
||||
* Improve weapon selection by disabling menus if there are none available #628
|
||||
* Improve pause menu with background overlay #283
|
||||
Editor
|
||||
* Add level warp, multiple exits #451
|
||||
* Add static pickups #644
|
||||
* Add player template editing in editor #495
|
||||
* Add option to skip weapon selection screen #647
|
||||
* Add option for keeping picked up guns across missions #573
|
||||
* Add option for ammo persistence #350
|
||||
* Fix numpad insert/delete in editor #353
|
||||
- Added nanopb.patch from nanopb upstream
|
||||
- Added cdogs-gLog.patch to fix build with new gcc
|
||||
- Rebased cdogs-sdl-fix-desktop-and-appdata.patch
|
||||
- Spec cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 25 17:43:22 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 0.8.0
|
||||
* Custom tile classes and revamped Doom campaign
|
||||
Game
|
||||
* Fix string overflow for long weapon descriptions
|
||||
* Fix players sometimes spawning in locked rooms
|
||||
* Fix missing death animation
|
||||
* Fix leg animation when stationary shooting
|
||||
* Fix some bullet colors
|
||||
* Add button labels for PS3/PS4 controllers
|
||||
* Improve Doom campaign with multiple tile types, walk-through
|
||||
walls
|
||||
Editor
|
||||
* Fix background clearing
|
||||
* Add support for custom tile types for static maps
|
||||
* Add hair editing in char editor
|
||||
* Add native file open/save dialogs
|
||||
* Add support for drag/dropping guide image
|
||||
* Add hardware cursors
|
||||
* Improve guide image rendering speed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 5 19:28:10 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package cdogs-sdl
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,25 +17,31 @@
|
||||
|
||||
|
||||
Name: cdogs-sdl
|
||||
Version: 0.7.3
|
||||
Version: 0.9.1
|
||||
Release: 0
|
||||
Summary: Classic overhead run-and-gun game
|
||||
License: GPL-2.0-only AND BSD-2-Clause AND CC-BY-3.0 AND CC-BY-SA-3.0
|
||||
Group: Amusements/Games/Action/Shoot
|
||||
URL: http://cxong.github.io/cdogs-sdl
|
||||
URL: https://cxong.github.io/cdogs-sdl
|
||||
Source: https://github.com/cxong/cdogs-sdl/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE cdogs-sdl-fix-desktop-and-appdata.patch mardnh@gmx.de -- Fix desktop/appdata filenames.
|
||||
Patch0: cdogs-sdl-fix-desktop-and-appdata.patch
|
||||
BuildRequires: cmake >= 2.8.2
|
||||
# PATCH-FIX-UPSTREAM nanopb.patch -- https://github.com/nanopb/nanopb/issues/521
|
||||
Patch1: nanopb.patch
|
||||
BuildRequires: cmake >= 3.12
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: enet-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3-protobuf
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(SDL2_image)
|
||||
BuildRequires: pkgconfig(SDL2_mixer)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(physfs)
|
||||
BuildRequires: pkgconfig(protobuf)
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
|
||||
%description
|
||||
@ -46,41 +52,31 @@ from up to 11 weapons, and try over 100 user-created campaigns. Have fun!
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
sed -i 's|env python|python3|' src/proto/nanopb/generator/{protoc,nanopb_generator.py}
|
||||
|
||||
# use system enet
|
||||
rm -rf src/cdogs/enet
|
||||
|
||||
dos2unix doc/original_readme.txt
|
||||
#dos2unix doc/original_readme.txt
|
||||
|
||||
# disable -Werror (aborts build on mere warnings)
|
||||
sed 's| -Werror||' -i CMakeLists.txt
|
||||
#sed 's| -Werror||' -i CMakeLists.txt
|
||||
|
||||
%build
|
||||
%cmake -DCDOGS_DATA_DIR=%{_datadir}/%{name}/ -DUSE_SHARED_ENET=ON
|
||||
make %{?_smp_mflags}
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
%fdupes %{buildroot}%{_datadir}
|
||||
|
||||
%if 0%{?suse_version} < 1330
|
||||
%post
|
||||
%desktop_database_post
|
||||
%icon_theme_cache_post
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} < 1330
|
||||
%postun
|
||||
%desktop_database_postun
|
||||
%icon_theme_cache_postun
|
||||
%endif
|
||||
|
||||
%files
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_bindir}/%{name}*
|
||||
%{_datadir}/%{name}/
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
||||
%dir %{_datadir}/appdata/
|
||||
%{_datadir}/appdata/%{name}.appdata.xml
|
||||
%{_datadir}/metainfo/%{name}.appdata.xml
|
||||
|
||||
%changelog
|
||||
|
12
nanopb.patch
Normal file
12
nanopb.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Nur cdogs-sdl-0.9.0/src/proto/nanopb/generator/nanopb_generator.py new/src/proto/nanopb/generator/nanopb_generator.py
|
||||
--- cdogs-sdl-0.9.0/src/proto/nanopb/generator/nanopb_generator.py 2020-09-16 15:27:30.000000000 +0200
|
||||
+++ new/src/proto/nanopb/generator/nanopb_generator.py 2020-09-30 12:35:40.026179442 +0200
|
||||
@@ -1928,7 +1928,7 @@
|
||||
for fdesc in fdescs.values():
|
||||
results = process_file(fdesc.name, fdesc, options, other_files)
|
||||
|
||||
- base_dir = options.output_dir or ''
|
||||
+ base_dir = options.output_dir or '.'
|
||||
to_write = [
|
||||
(os.path.join(base_dir, results['headername']), results['headerdata']),
|
||||
(os.path.join(base_dir, results['sourcename']), results['sourcedata']),
|
Loading…
x
Reference in New Issue
Block a user