From 719caa8075b7da6531b75f9e2d21d299f21dc7ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Apestegu=C3=ADa?= Date: Tue, 24 Mar 2020 17:48:45 +0000 Subject: [PATCH] games/devilutionX: Update to 1.0.1 ChangeLog: https://github.com/diasurgical/devilutionX/releases/tag/1.0.1 PR: 244722 Submitted by: benny.goemans@gmail.com (maintainer) --- games/devilutionX/Makefile | 2 +- games/devilutionX/distinfo | 6 +++--- .../patch-3rdParty_StormLib_src_StormPort.h | 10 +++++++++- games/devilutionX/files/patch-CMakeLists.txt | 11 +++++++---- ...patch-Packaging_fedora_devilutionx.desktop | 19 ++++++++----------- 5 files changed, 28 insertions(+), 20 deletions(-) diff --git a/games/devilutionX/Makefile b/games/devilutionX/Makefile index 2a6dd3aea914..0091d3f62f81 100644 --- a/games/devilutionX/Makefile +++ b/games/devilutionX/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= devilutionX -PORTVERSION= 1.0.0 +PORTVERSION= 1.0.1 CATEGORIES= games MAINTAINER= benny.goemans@gmail.com diff --git a/games/devilutionX/distinfo b/games/devilutionX/distinfo index 01598271b6b5..70a1b9f92a25 100644 --- a/games/devilutionX/distinfo +++ b/games/devilutionX/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1577908977 -SHA256 (diasurgical-devilutionX-1.0.0_GH0.tar.gz) = fafb0bac935bbbee8e261d7fbd2d4ea769b88bbc78ba1affef74064a2cc77779 -SIZE (diasurgical-devilutionX-1.0.0_GH0.tar.gz) = 1798349 +TIMESTAMP = 1583844955 +SHA256 (diasurgical-devilutionX-1.0.1_GH0.tar.gz) = 165564fefdbfd0b4fbf74688ea1beb1d811eb1d8e200b9faad5b70ae2ac7564e +SIZE (diasurgical-devilutionX-1.0.1_GH0.tar.gz) = 2005920 diff --git a/games/devilutionX/files/patch-3rdParty_StormLib_src_StormPort.h b/games/devilutionX/files/patch-3rdParty_StormLib_src_StormPort.h index d47645519a46..7d42de6b9427 100644 --- a/games/devilutionX/files/patch-3rdParty_StormLib_src_StormPort.h +++ b/games/devilutionX/files/patch-3rdParty_StormLib_src_StormPort.h @@ -1,4 +1,4 @@ ---- 3rdParty/StormLib/src/StormPort.h.orig 2019-10-11 11:58:58 UTC +--- 3rdParty/StormLib/src/StormPort.h.orig 2020-03-10 14:00:26 UTC +++ 3rdParty/StormLib/src/StormPort.h @@ -165,6 +165,7 @@ #include @@ -6,5 +6,13 @@ #include + #include + #ifndef __BIG_ENDIAN__ + #define PLATFORM_LITTLE_ENDIAN +@@ -193,6 +194,7 @@ + #include + #include + #include ++ #include + #ifndef __BIG_ENDIAN__ #define PLATFORM_LITTLE_ENDIAN diff --git a/games/devilutionX/files/patch-CMakeLists.txt b/games/devilutionX/files/patch-CMakeLists.txt index 76d3e8f6fbec..6511be2d25f9 100644 --- a/games/devilutionX/files/patch-CMakeLists.txt +++ b/games/devilutionX/files/patch-CMakeLists.txt @@ -1,6 +1,6 @@ ---- CMakeLists.txt.orig 2019-12-27 15:25:22 UTC +--- CMakeLists.txt.orig 2020-03-10 14:00:26 UTC +++ CMakeLists.txt -@@ -326,7 +326,7 @@ if(WIN32) +@@ -491,7 +491,7 @@ if(WIN32) endif() endif() @@ -9,7 +9,7 @@ # Enable POSIX extensions such as `readlink` and `ftruncate`. add_definitions(-D_POSIX_C_SOURCE=200809L) endif() -@@ -337,8 +337,8 @@ endif() +@@ -502,8 +502,8 @@ endif() if(NOT CMAKE_CXX_COMPILER_ID MATCHES "MSVC") # Change __FILE__ to only show the path relative to the project folder @@ -20,7 +20,7 @@ if(DEBUG) # Note: For Valgrind suppor. -@@ -399,3 +399,9 @@ if(APPLE) +@@ -564,6 +564,12 @@ if(APPLE) include(CPack) endif() @@ -30,3 +30,6 @@ +install(FILES Packaging/resources/16.png DESTINATION ${CMAKE_INSTALL_SHAREDIR}/icons/hicolor/16x16/apps RENAME devilutionx.png) +install(FILES Packaging/resources/Diablo_32.png DESTINATION ${CMAKE_INSTALL_SHAREDIR}/icons/hicolor/32x32/apps RENAME devilutionx.png) +install(FILES Packaging/resources/Diablo_48.png DESTINATION ${CMAKE_INSTALL_SHAREDIR}/icons/hicolor/48x48/apps RENAME devilutionx.png) + + if(SWITCH) + set(APP_TITLE "DevilutionX") diff --git a/games/devilutionX/files/patch-Packaging_fedora_devilutionx.desktop b/games/devilutionX/files/patch-Packaging_fedora_devilutionx.desktop index 1701e566bf25..a54778ba4390 100644 --- a/games/devilutionX/files/patch-Packaging_fedora_devilutionx.desktop +++ b/games/devilutionX/files/patch-Packaging_fedora_devilutionx.desktop @@ -1,18 +1,15 @@ ---- Packaging/fedora/devilutionx.desktop.orig 2019-12-27 16:29:35 UTC +--- Packaging/fedora/devilutionx.desktop.orig 2020-03-09 00:37:54 UTC +++ Packaging/fedora/devilutionx.desktop -@@ -1,11 +1,11 @@ +@@ -1,9 +1,9 @@ [Desktop Entry] --Name=devilutionX -+Name=DevilutionX + Name=devilutionX GenericName=DevilutionX -Comment=Play Diablo I on Linux +-Comment[da]=Spil Diablo I på Linux +-Comment[hr]=Igrajte Diablo I na Linuxu +Comment=Play Diablo I ++Comment[da]=Spil Diablo I ++Comment[hr]=Igrajte Diablo I Exec=devilutionx --Icon=devilutionx.png -+Icon=devilutionx + Icon=devilutionx.png Terminal=false - Type=Application - X-DCOP-ServiceType=Multi - X-KDE-StartupNotify=true --Categories=Qt;Game;RolePlaying; -+Categories=Game;RolePlaying;