[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:25:03 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=d494687

The following commit has been merged in the master branch:
commit d494687b02c83193aa78b96cd42436c074ee3930
Author: Martin Klapetek <mklapetek at kde.org>
Date:   Wed Jan 7 17:02:17 2015 +0100

    [image-sharer] Change the export macro to not use kdemacros.h
---
 image-sharer/imagesharer_export.h | 34 +++++++++++++++++++++++++---------
 1 file changed, 25 insertions(+), 9 deletions(-)

diff --git a/image-sharer/imagesharer_export.h b/image-sharer/imagesharer_export.h
index 28009af..9bc0c3b 100644
--- a/image-sharer/imagesharer_export.h
+++ b/image-sharer/imagesharer_export.h
@@ -1,21 +1,37 @@
+/*  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 IMAGESHARER_EXPORT_H
 #define IMAGESHARER_EXPORT_H
 
-// needed for KDE_EXPORT and KDE_IMPORT macros
-#include <kdemacros.h>
+#include <QtCore/QtGlobal>
 
 #ifndef IMAGESHARER_EXPORT
-# if defined(MAKE_IMAGESHARER_LIB)
-// We are building this library
-#  define IMAGESHARER_EXPORT KDE_EXPORT
+/* We are building this library */
+#  define IMAGESHARER_EXPORT __attribute__((visibility("default")))
 # else
-// We are using this library
-#  define IMAGESHARER_EXPORT KDE_IMPORT
-# endif
+/* We are using this library */
+#  define IMAGESHARER_EXPORT __attribute__((visibility("default")))
 #endif
 
 # ifndef IMAGESHARER_EXPORT_DEPRECATED
-#  define IMAGESHARER_EXPORT_DEPRECATED KDE_DEPRECATED IMAGESHARER_EXPORT
+#  define IMAGESHARER_EXPORT_DEPRECATED Q_DECL_DEPRECATED IMAGESHARER_EXPORT
 # endif
 
 #endif

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list