Drop patch out-of-place-build.patch, present upstream.
Debian Janitor
1 year, 7 months ago
0 | 0 |
nautilus-admin (1.1.9+git20220514.1.b4cb69f-1) UNRELEASED; urgency=low
|
1 | 1 |
|
2 | 2 |
* New upstream snapshot.
|
|
3 |
* Drop patch out-of-place-build.patch, present upstream.
|
3 | 4 |
|
4 | 5 |
-- Debian Janitor <janitor@jelmer.uk> Wed, 07 Sep 2022 21:55:20 -0000
|
5 | 6 |
|
debian/patches/out-of-place-build.patch
less
more
0 | |
From: Carlos Maddela <e7appew@gmail.com>
|
1 | |
Date: Tue, 12 Feb 2019 12:11:51 +1100
|
2 | |
Subject: Allow translations to be built out-of-place.
|
3 | |
|
4 | |
Description: Allow translations to be built out-of-place.
|
5 | |
Author: Carlos Maddela <e7appew@gmail.com>
|
6 | |
Origin: vendor
|
7 | |
Forwarded: https://github.com/brunonova/nautilus-admin/pull/52
|
8 | |
Last-Update: 2019-02-12
|
9 | |
---
|
10 | |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
11 | |
---
|
12 | |
CMakeLists.txt | 9 +++++++--
|
13 | |
1 file changed, 7 insertions(+), 2 deletions(-)
|
14 | |
|
15 | |
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
16 | |
index 9a64829..c3cd22b 100644
|
17 | |
--- a/CMakeLists.txt
|
18 | |
+++ b/CMakeLists.txt
|
19 | |
@@ -11,8 +11,13 @@ configure_file(extension/nautilus-admin.py
|
20 | |
extension/nautilus-admin.py)
|
21 | |
|
22 | |
# Update and compile the translations
|
23 | |
-file(GLOB PO_FILES "po/*.po")
|
24 | |
-gettext_create_translations(po/nautilus-admin.pot ALL ${PO_FILES})
|
25 | |
+file(GLOB TRANSLATION_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "po/*")
|
26 | |
+foreach(trans_file ${TRANSLATION_FILES})
|
27 | |
+ configure_file(${trans_file} ${trans_file} COPYONLY)
|
28 | |
+endforeach()
|
29 | |
+file(GLOB PO_FILES "${CMAKE_CURRENT_BINARY_DIR}/po/*.po")
|
30 | |
+gettext_create_translations("${CMAKE_CURRENT_BINARY_DIR}/po/nautilus-admin.pot"
|
31 | |
+ ALL ${PO_FILES})
|
32 | |
|
33 | |
# Install target
|
34 | |
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/extension/nautilus-admin.py"
|
0 | |
out-of-place-build.patch
|
1 | 0 |
update-german-translation.patch
|
2 | 1 |
new-python-compat.patch
|
3 | 2 |
compatibility-with-nautilus-43.patch
|