File: ubuntu_gettext_domain.patch

package info (click to toggle)
evolution-data-server 3.56.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 46,656 kB
  • sloc: ansic: 365,352; xml: 578; cpp: 482; perl: 297; sh: 62; makefile: 61; python: 35; javascript: 29
file content (24 lines) | stat: -rw-r--r-- 772 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Sebastien Bacher <seb128@ubuntu.com>
Date: Thu, 25 Jul 2019 15:54:50 +0100
Subject: Ubuntu's dh-translations can't handle variables for GETTEXT_PACKAGE

Bug: https://bugzilla.gnome.org/784877
Forwarded: https://bugzilla.gnome.org/784877
Applied-upstream: no, rejected upstream
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8cac10e..1d1f936 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,7 @@ set(API_VERSION 1.2)
 set(CAL_API_VERSION 2.0)
 
 # Required for FindIntltool module
-set(GETTEXT_PACKAGE ${PROJECT_NAME})
+set(GETTEXT_PACKAGE "evolution-data-server")
 set(GETTEXT_PO_DIR ${CMAKE_SOURCE_DIR}/po)
 
 # Required for 'disttest' and 'distcheck' of DistTarget module