[blockattack] 20/32: Add install-path.patch

Markus Koschany apo at moszumanska.debian.org
Sun Jun 5 18:57:43 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository blockattack.

commit 8973c91b4c48b9c4210e088c5e9d8f8285741aed
Author: Markus Koschany <apo at debian.org>
Date:   Sun Jun 5 19:47:45 2016 +0200

    Add install-path.patch
---
 debian/patches/install-path.patch | 29 +++++++++++++++++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 30 insertions(+)

diff --git a/debian/patches/install-path.patch b/debian/patches/install-path.patch
new file mode 100644
index 0000000..226f806
--- /dev/null
+++ b/debian/patches/install-path.patch
@@ -0,0 +1,29 @@
+From: Markus Koschany <apo at debian.org>
+Date: Sun, 5 Jun 2016 19:43:37 +0200
+Subject: install path
+
+Forwarded: not-needed
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4cc2e37..754cdd5 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -9,7 +9,7 @@ set(INSTALL_DATA_DIR "${CMAKE_INSTALL_PREFIX}/share/blockattack" CACHE STRING "I
+ set(INSTALL_MAN_DIR "/usr/share/man/man6" CACHE STRING "Install the man page to this directory")
+ set(INSTALL_APPLICATIONS_DIR "/usr/share/applications" CACHE STRING "Install the .desktop file to this directory")
+ set(INSTALL_ICONS_DIR "/usr/share/icons/hicolor" CACHE STRING "Install the icon in a subfolder in this directory")
+-set(INSTALL_LOCALE_DIR "${INSTALL_DATA_DIR}/locale/" CACHE STRING "Install translation to this dir")
++set(INSTALL_LOCALE_DIR "/usr/share/locale/" CACHE STRING "Install translation to this dir")
+ 
+ # This sets up the exe icon for windows under mingw.
+ # Taken from https://hansonry.wordpress.com/2010/12/15/windows-application-icon-using-mingw-and-cmake/
+@@ -80,4 +80,4 @@ install(FILES source/misc/icons/blockattack128.xpm DESTINATION "${INSTALL_ICONS_
+ install(FILES source/misc/icons/blockattack256.xpm DESTINATION "${INSTALL_ICONS_DIR}/256x256/apps" RENAME blockattack.xpm )
+ install(FILES source/misc/icons/blockattack64.xpm DESTINATION "${INSTALL_ICONS_DIR}/64x64/apps" RENAME blockattack.xpm )
+ install(FILES source/misc/icons/blockattack32.xpm DESTINATION "${INSTALL_ICONS_DIR}/32x32/apps" RENAME blockattack.xpm )
+-install(DIRECTORY source/misc/translation/locale/ DESTINATION "${INSTALL_LOCALE_DIR}")
+\ No newline at end of file
++install(DIRECTORY source/misc/translation/locale/ DESTINATION "${INSTALL_LOCALE_DIR}")
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..31f7921
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+install-path.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/blockattack.git



More information about the Pkg-games-commits mailing list