From 623ee73d661e5ed8475cb264511f683407d87365 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Apr 2020 03:41:30 +0100 Subject: gentoo Easter resync : 12.04.2020 --- .../files/commandergenius-2.3.1-desktop.patch | 52 ------------ .../files/commandergenius-2.3.1-minizip.patch | 93 ---------------------- 2 files changed, 145 deletions(-) delete mode 100644 games-arcade/commandergenius/files/commandergenius-2.3.1-desktop.patch delete mode 100644 games-arcade/commandergenius/files/commandergenius-2.3.1-minizip.patch (limited to 'games-arcade/commandergenius/files') diff --git a/games-arcade/commandergenius/files/commandergenius-2.3.1-desktop.patch b/games-arcade/commandergenius/files/commandergenius-2.3.1-desktop.patch deleted file mode 100644 index 4d2c246e5b76..000000000000 --- a/games-arcade/commandergenius/files/commandergenius-2.3.1-desktop.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 84243052d0b9409b4d5b28e751e598287b00bab9 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot -Date: Sun, 24 Feb 2019 21:26:38 +0000 -Subject: [PATCH 1/2] Remove deprecated "Application" entry from desktop - categories - -The desktop-file-validate tool says it is deprecated. ---- - share/cgenius.desktop | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/share/cgenius.desktop b/share/cgenius.desktop -index 8d0771522..b7b39ffef 100644 ---- a/share/cgenius.desktop -+++ b/share/cgenius.desktop -@@ -6,4 +6,4 @@ Icon=/usr/share/icons/hicolor/512x512/apps/CGLogo.png - Terminal=false - Type=Application - StartupNotify=true --Categories=Application;Game;ArcadeGame; -+Categories=Game;ArcadeGame; --- -2.20.1 - -From e9d6157210015b4aa5efcb9ba0c57842ae4ef266 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot -Date: Sun, 24 Feb 2019 21:31:28 +0000 -Subject: [PATCH 2/2] Remove unnecessary absolute icon path from desktop entry - -We should not assume that the game has been installed to /usr and -there is no need to specify an absolute path for the icon anyway as -the standard says that bare icon names should be looked up. ---- - share/cgenius.desktop | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/share/cgenius.desktop b/share/cgenius.desktop -index b7b39ffef..9b09ec9fc 100644 ---- a/share/cgenius.desktop -+++ b/share/cgenius.desktop -@@ -2,7 +2,7 @@ - Name=Commander Genius - Comment=Play natively Commander Keen Games - Exec=CGeniusExe --Icon=/usr/share/icons/hicolor/512x512/apps/CGLogo.png -+Icon=CGLogo - Terminal=false - Type=Application - StartupNotify=true --- -2.20.1 - diff --git a/games-arcade/commandergenius/files/commandergenius-2.3.1-minizip.patch b/games-arcade/commandergenius/files/commandergenius-2.3.1-minizip.patch deleted file mode 100644 index ca2553b5f7d3..000000000000 --- a/games-arcade/commandergenius/files/commandergenius-2.3.1-minizip.patch +++ /dev/null @@ -1,93 +0,0 @@ -From 04f776e73248d19d9beaf4ea8d407b7c85ecc9c9 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot -Date: Sun, 24 Feb 2019 20:25:34 +0000 -Subject: [PATCH] Allow use of external minizip library instead of linking just - zlib - -Some distributions package the minizip part of zlib, as well as zlib -itself, so allow that to be used with help from pkg-config. ---- - src/engine/unzip/CMakeLists.txt | 42 +++++++++++++++++++++------------ - src/engine/unzip/miniunz.c | 4 ++-- - 2 files changed, 29 insertions(+), 17 deletions(-) - -diff --git a/src/engine/unzip/CMakeLists.txt b/src/engine/unzip/CMakeLists.txt -index 5f2b8a959..24833abb7 100644 ---- a/src/engine/unzip/CMakeLists.txt -+++ b/src/engine/unzip/CMakeLists.txt -@@ -1,23 +1,35 @@ --find_package( ZLIB REQUIRED ) --if ( ZLIB_FOUND ) -- include_directories( ${ZLIB_INCLUDE_DIRS} ) --else ( ZLIB_FOUND ) -- Message(FATAL_ERROR "Zlib development packages not found!") --endif( ZLIB_FOUND ) -+find_package(PkgConfig) - -+if ( PKGCONFIG_FOUND ) -+ pkg_check_modules(ZLIB minizip) -+else ( PKGCONFIG_FOUND ) -+ unset(ZLIB_FOUND) -+endif ( PKGCONFIG_FOUND ) - -+if ( ZLIB_FOUND ) -+ set(CXXSRC miniunz.c) -+ unset(HSRC) -+else ( ZLIB_FOUND ) -+ find_package(ZLIB REQUIRED) -+ include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ) - -+ set(CXXSRC -+ miniunz.c -+ ioapi.c -+ iowin32.c -+ unzip.c) - --set(CXXSRC -- miniunz.c -- ioapi.c -- iowin32.c -- unzip.c) -+ set(HSRC -+ ioapi.h -+ iowin32.h -+ unzip.h) -+endif ( ZLIB_FOUND ) - --set(HSRC -- ioapi.h -- iowin32.h -- unzip.h) -+if ( ZLIB_FOUND ) -+ include_directories( ${ZLIB_INCLUDE_DIRS} ) -+else ( ZLIB_FOUND ) -+ Message(FATAL_ERROR "Zlib development packages not found!") -+endif( ZLIB_FOUND ) - - add_library(unzip ${CXXSRC} ${HSRC}) - -diff --git a/src/engine/unzip/miniunz.c b/src/engine/unzip/miniunz.c -index 694aa8e60..0f289c96c 100644 ---- a/src/engine/unzip/miniunz.c -+++ b/src/engine/unzip/miniunz.c -@@ -56,7 +56,7 @@ - #endif - - --#include "unzip.h" -+#include - - #define CASESENSITIVITY (0) - #define WRITEBUFFERSIZE (8192) -@@ -64,7 +64,7 @@ - - #ifdef _WIN32 - #define USEWIN32IOAPI --#include "iowin32.h" -+#include - #endif - /* - mini unzip, demo of unzip package --- -2.20.1 - -- cgit v1.2.3