File: bug

package info (click to toggle)
blockattack 2.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 11,672 kB
  • sloc: cpp: 42,378; sh: 143; pascal: 109; xml: 81; makefile: 14
file content (52 lines) | stat: -rw-r--r-- 2,484 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 blockattack (2.9.0-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream version
   * Standards-Version: 4.7.0 (routine-update)
   * Rules-Requires-Root: no (routine-update)
Author: Alexandre Detiste <tchet@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2024-10-16

--- blockattack-2.9.0.orig/CMakeLists.txt
+++ blockattack-2.9.0/CMakeLists.txt
@@ -16,7 +16,7 @@ set(INSTALL_DATA_DIR "share/blockattack"
 set(INSTALL_MAN_DIR "share/man/man6" CACHE STRING "Install the man page to this directory")
 set(INSTALL_APPLICATIONS_DIR "share/applications" CACHE STRING "Install the .desktop file to this directory")
 set(INSTALL_ICONS_DIR "share/icons/hicolor" CACHE STRING "Install the icon in a subfolder in this directory")
-set(INSTALL_LOCALE_DIR "/usr/share/locale/" CACHE STRING "Install translation to this dir")
+set(INSTALL_LOCALE_DIR "${INSTALL_DATA_DIR}/locale/" CACHE STRING "Install translation to this dir")
 set(INSTALL_METAINFO_DIR "share/metainfo" CACHE STRING "Install appstream matedata to this directory")
 
 option(BLOCKATTACK_USE_EMBEDDED_FMT "Use the embedded version of {fmt}" ON)
@@ -71,11 +71,8 @@ find_package(SDL2 REQUIRED)
 #Setup things that use pkg-config
 find_package(PkgConfig REQUIRED)
 pkg_search_module(SDL2MIXER REQUIRED SDL2_mixer)
-include_directories(${SDL2MIXER_INCLUDE_DIRS})
 pkg_search_module(SDL2IMAGE REQUIRED SDL2_image)
-include_directories(${SDL2IMAGE_INCLUDE_DIRS})
 pkg_search_module(SDL2TTF REQUIRED SDL2_ttf)
-include_directories(${SDL2TTF_INCLUDE_DIRS})
 
 
 find_package(Intl REQUIRED)