[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:18:47 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=0ecff72
The following commit has been merged in the master branch:
commit 0ecff72fb7207cb0f4b761799ec05dbeecdbd0d3
Author: Dominik Schmidt <dev at dominik-schmidt.de>
Date: Fri Feb 4 02:15:58 2011 +0100
Make the chatlib a shared lib
---
lib/CMakeLists.txt | 11 +++++++++--
lib/adiumthemecontentinfo.h | 4 +++-
lib/adiumthemeheaderinfo.h | 4 +++-
lib/adiumthememessageinfo.h | 4 +++-
lib/adiumthemestatusinfo.h | 3 ++-
lib/adiumthemeview.h | 3 ++-
lib/chatstyleplistfilereader.h | 4 +++-
lib/chatwidget.h | 4 +++-
lib/chatwindowstyle.h | 3 ++-
lib/chatwindowstylemanager.h | 3 ++-
lib/kdetelepathychat_export.h | 40 ++++++++++++++++++++++++++++++++++++++++
11 files changed, 72 insertions(+), 11 deletions(-)
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index d0b88a4..f4e46aa 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -17,9 +17,16 @@ set(telepathy_chat_handler_lib_UI
kde4_add_ui_files(telepathy_chat_handler_lib_SRCS ${telepathy_chat_handler_lib_UI})
-kde4_add_library(ktelepathy_chat_lib ${telepathy_chat_handler_lib_SRCS})
+kde4_add_library(ktelepathy_chat_lib SHARED ${telepathy_chat_handler_lib_SRCS})
-target_link_libraries(ktelepathy_chat_lib ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} ${TELEPATHY_QT4_LIBRARIES} ${QT_QTWEBKIT_LIBRARY} ${KDE4_KUTILS_LIBS} )
+target_link_libraries(ktelepathy_chat_lib
+ ${KDE4_KDECORE_LIBS}
+ ${KDE4_KIO_LIBS}
+ ${KDE4_KDEUI_LIBS}
+ ${TELEPATHY_QT4_LIBRARIES}
+ ${QT_QTWEBKIT_LIBRARY}
+ ${KDE4_KUTILS_LIBS}
+)
install(TARGETS ktelepathy_chat_lib ${INSTALL_TARGETS_DEFAULT_ARGS})
install( FILES ktelepathy.notifyrc DESTINATION ${DATA_INSTALL_DIR}/ktelepathy)
diff --git a/lib/adiumthemecontentinfo.h b/lib/adiumthemecontentinfo.h
index 5142cb3..168b0da 100644
--- a/lib/adiumthemecontentinfo.h
+++ b/lib/adiumthemecontentinfo.h
@@ -23,10 +23,12 @@
#include "adiumthememessageinfo.h"
+#include "kdetelepathychat_export.h"
+
class QString;
class AdiumThemeContentInfoPrivate;
-class AdiumThemeContentInfo : public AdiumThemeMessageInfo
+class KDE_TELEPATHY_CHAT_EXPORT AdiumThemeContentInfo : public AdiumThemeMessageInfo
{
public:
explicit AdiumThemeContentInfo(AdiumThemeMessageInfo::MessageType);
diff --git a/lib/adiumthemeheaderinfo.h b/lib/adiumthemeheaderinfo.h
index b8cb815..da25633 100644
--- a/lib/adiumthemeheaderinfo.h
+++ b/lib/adiumthemeheaderinfo.h
@@ -24,11 +24,13 @@
#include <QtCore/QUrl>
#include <QtCore/QDateTime>
+#include "kdetelepathychat_export.h"
+
/** Containts all the information needed for the header generation from the Adium/Kopete templates */
class AdiumThemeHeaderInfoPrivate;
-class AdiumThemeHeaderInfo
+class KDE_TELEPATHY_CHAT_EXPORT AdiumThemeHeaderInfo
{
public:
AdiumThemeHeaderInfo();
diff --git a/lib/adiumthememessageinfo.h b/lib/adiumthememessageinfo.h
index 8781044..97d9352 100644
--- a/lib/adiumthememessageinfo.h
+++ b/lib/adiumthememessageinfo.h
@@ -20,11 +20,13 @@
#ifndef ADIUMTHEMEMESSAGEINFO_H
#define ADIUMTHEMEMESSAGEINFO_H
+#include "kdetelepathychat_export.h"
+
class QString;
class QDateTime;
class AdiumThemeMessageInfoPrivate;
-class AdiumThemeMessageInfo
+class KDE_TELEPATHY_CHAT_EXPORT AdiumThemeMessageInfo
{
public:
enum MessageType {
diff --git a/lib/adiumthemestatusinfo.h b/lib/adiumthemestatusinfo.h
index dc9244b..4dd109f 100644
--- a/lib/adiumthemestatusinfo.h
+++ b/lib/adiumthemestatusinfo.h
@@ -22,11 +22,12 @@
#define ADIUMTHEMESTATUSINFO_H
#include "adiumthememessageinfo.h"
+#include "kdetelepathychat_export.h"
class QString;
class AdiumThemeStatusInfoPrivate;
-class AdiumThemeStatusInfo : public AdiumThemeMessageInfo
+class KDE_TELEPATHY_CHAT_EXPORT AdiumThemeStatusInfo : public AdiumThemeMessageInfo
{
public:
explicit AdiumThemeStatusInfo();
diff --git a/lib/adiumthemeview.h b/lib/adiumthemeview.h
index 04d9280..a412295 100644
--- a/lib/adiumthemeview.h
+++ b/lib/adiumthemeview.h
@@ -25,13 +25,14 @@
#include <QtWebKit/QWebView>
#include <KEmoticons>
+#include "kdetelepathychat_export.h"
class AdiumThemeContentInfo;
class AdiumThemeHeaderInfo;
class AdiumThemeMessageInfo;
class AdiumThemeStatusInfo;
-class AdiumThemeView : public QWebView
+class KDE_TELEPATHY_CHAT_EXPORT AdiumThemeView : public QWebView
{
Q_OBJECT
public:
diff --git a/lib/chatstyleplistfilereader.h b/lib/chatstyleplistfilereader.h
index 39bc920..23e4c46 100644
--- a/lib/chatstyleplistfilereader.h
+++ b/lib/chatstyleplistfilereader.h
@@ -20,7 +20,9 @@
#ifndef CHATSTYLEPLISTFILEREADER_H
#define CHATSTYLEPLISTFILEREADER_H
+
#include <QtCore/QMap>
+#include "kdetelepathychat_export.h"
class QString;
class QFile;
@@ -28,7 +30,7 @@ class QVariant;
class QDomDocument;
-class ChatStylePlistFileReader
+class KDE_TELEPATHY_CHAT_EXPORT ChatStylePlistFileReader
{
public:
enum Status { Ok = 0, CannotOpenFileError, ParseError, UnknownError };
diff --git a/lib/chatwidget.h b/lib/chatwidget.h
index 62c6a0c..c4b3945 100644
--- a/lib/chatwidget.h
+++ b/lib/chatwidget.h
@@ -26,9 +26,11 @@
#include <TelepathyQt4/ReceivedMessage>
+#include "kdetelepathychat_export.h"
+
class ChatWidgetPrivate;
-class ChatWidget : public QWidget
+class KDE_TELEPATHY_CHAT_EXPORT ChatWidget : public QWidget
{
Q_OBJECT
diff --git a/lib/chatwindowstyle.h b/lib/chatwindowstyle.h
index 3d41151..8401c0c 100644
--- a/lib/chatwindowstyle.h
+++ b/lib/chatwindowstyle.h
@@ -20,13 +20,14 @@
#define CHATWINDOWSTYLE_H
#include <QtCore/QHash>
+#include <kdetelepathychat_export.h>
/**
* This class represent a single chat window style.
*
* @author Michaël Larouche <larouche at kde.org>
*/
-class ChatWindowStyle : public QObject
+class KDE_TELEPATHY_CHAT_EXPORT ChatWindowStyle : public QObject
{
public:
/**
diff --git a/lib/chatwindowstylemanager.h b/lib/chatwindowstylemanager.h
index 0e1db75..1c6ab9a 100644
--- a/lib/chatwindowstylemanager.h
+++ b/lib/chatwindowstylemanager.h
@@ -23,6 +23,7 @@
#include <KFileItem>
+#include "kdetelepathychat_export.h"
class ChatWindowStyle;
/**
@@ -42,7 +43,7 @@ class ChatWindowStyle;
*
* @author Michaël Larouche <larouche at kde.org>
*/
-class ChatWindowStyleManager : public QObject
+class KDE_TELEPATHY_CHAT_EXPORT ChatWindowStyleManager : public QObject
{
Q_OBJECT
public:
diff --git a/lib/kdetelepathychat_export.h b/lib/kdetelepathychat_export.h
new file mode 100644
index 0000000..ce5ce56
--- /dev/null
+++ b/lib/kdetelepathychat_export.h
@@ -0,0 +1,40 @@
+/* This file is part of the KDE project
+ Copyright (C) 2007 David Faure <faure at kde.org>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
+*/
+
+#ifndef KDETELEPATHYCHAT_EXPORT_H
+#define KDETELEPATHYCHAT_EXPORT_H
+
+/* needed for KDE_EXPORT and KDE_IMPORT macros */
+#include <kdemacros.h>
+
+#ifndef KDE_TELEPATHY_CHAT_EXPORT
+# if defined(MAKE_KTELEPATHY_CHAT_LIB_LIB)
+ /* We are building this library */
+# define KDE_TELEPATHY_CHAT_EXPORT KDE_EXPORT
+# else
+ /* We are using this library */
+# define KDE_TELEPATHY_CHAT_EXPORT KDE_IMPORT
+# endif
+#endif
+
+# ifndef KDE_TELEPATHY_CHAT_EXPORT_DEPRECATED
+# define KDE_TELEPATHY_CHAT_EXPORT_DEPRECATED KDE_DEPRECATED KDE_TELEPATHY_CHAT_EXPORT
+# endif
+
+#endif
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list