[SCM] Kingston update notifier (update-notifier-kde) branch, master, updated. 8bff4c81bc85e329794bb7d57fb4e035b8a68d88

Kai Wasserbäch curan at alioth.debian.org
Mon Jan 31 17:48:42 UTC 2011


The following commit has been merged in the master branch:
commit 321b6fef743fab167f10ea653114dee7aa1ff6e2
Author: Kai Wasserbäch <curan at debian.org>
Date:   Mon Jan 31 18:45:17 2011 +0100

    Actually build the translations in the po directory.
---
 CMakeLists.txt    |    5 ++++-
 debian/changelog  |    1 +
 po/CMakeLists.txt |    2 ++
 3 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 10eeefc..99e8853 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,4 +5,7 @@ include (KDE4Defaults)
 
 include_directories( ${KDE4_INCLUDES} ${QT_INCLUDES} )
 
-add_subdirectory( src )
\ No newline at end of file
+find_package(Gettext REQUIRED)
+
+add_subdirectory( src )
+add_subdirectory(po)
diff --git a/debian/changelog b/debian/changelog
index 2319a28..25404eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ kingston-update-notifier (1.2.1) UNRELEASED; urgency=low
   [ Kai Wasserbäch ]
   * Regenerate POT.
   * Updated German translation.
+  * Actually build the translations in the po directory.
 
  -- Sune Vuorela <sune at debian.org>  Sat, 29 Jan 2011 13:29:23 +0100
 
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
new file mode 100644
index 0000000..806832d
--- /dev/null
+++ b/po/CMakeLists.txt
@@ -0,0 +1,2 @@
+file(GLOB pofiles "${CMAKE_CURRENT_SOURCE_DIR}/*.po")
+GETTEXT_CREATE_TRANSLATIONS(kingston_update_notifier.pot ALL ${pofiles})

-- 
Kingston update notifier (update-notifier-kde)



More information about the pkg-kde-commits mailing list