[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:03:23 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=c89254d

The following commit has been merged in the master branch:
commit c89254da8ae23ae96eebb9ba62162fd13ba68352
Author: Daniele E. Domenichelli <ddomenichelli at kde.org>
Date:   Wed Mar 6 01:32:53 2013 +0100

    Set version in CMakeLists.txt
---
 CMakeLists.txt                 | 2 ++
 src/CMakeLists.txt             | 2 ++
 src/kcm-telepathy-accounts.cpp | 3 ++-
 src/version.h.in               | 1 +
 4 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a69fbef..1f72a7f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,7 @@
 project (ktp-accounts-kcm)
 
+set(KTP_ACCOUNTS_KCM_VERSION "0.5.3")
+
 # Add the modules we ship to the module path
 SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" ${CMAKE_MODULE_PATH})
 
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5672469..6ad7d6f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -2,6 +2,8 @@ include_directories (${CMAKE_CURRENT_BINARY_DIR}
                      ${CMAKE_CURRENT_SOURCE_DIR}
 )
 
+configure_file(version.h.in ${CMAKE_CURRENT_BINARY_DIR}/version.h)
+
 add_subdirectory (KCMTelepathyAccounts)
 
 project (ktp-accounts-kcm)
diff --git a/src/kcm-telepathy-accounts.cpp b/src/kcm-telepathy-accounts.cpp
index 2a6a1af..7080410 100644
--- a/src/kcm-telepathy-accounts.cpp
+++ b/src/kcm-telepathy-accounts.cpp
@@ -20,6 +20,7 @@
  */
 
 #include "kcm-telepathy-accounts.h"
+#include "version.h"
 
 #include "ui_main-widget.h"
 
@@ -74,7 +75,7 @@ KCMTelepathyAccounts::KCMTelepathyAccounts(QWidget *parent, const QVariantList&
    m_currentListView(0)
 {
     //set up component data.
-    KAboutData *aboutData = new KAboutData(I18N_NOOP("telepathy_accounts"), 0, ki18n("Instant Messaging and VOIP Accounts"), "0.5.3", KLocalizedString(), KAboutData::License_GPL);
+    KAboutData *aboutData = new KAboutData(I18N_NOOP("telepathy_accounts"), 0, ki18n("Instant Messaging and VOIP Accounts"), KTP_ACCOUNTS_KCM_VERSION, KLocalizedString(), KAboutData::License_GPL);
 
     aboutData->addAuthor(ki18n("George Goldberg"), ki18n("Developer"),"grundleborg at googlemail.com");
     aboutData->addAuthor(ki18n("David Edmundson"), ki18n("Developer"), "david at davidedmundson.co.uk");
diff --git a/src/version.h.in b/src/version.h.in
new file mode 100644
index 0000000..7812e39
--- /dev/null
+++ b/src/version.h.in
@@ -0,0 +1 @@
+#define KTP_ACCOUNTS_KCM_VERSION "@KTP_ACCOUNTS_KCM_VERSION@"

-- 
ktp-accounts-kcm packaging



More information about the pkg-kde-commits mailing list