[SCM] QCA2 library packaging branch, master, updated. debian/2.0.2-1-17-gb6b3613
Felix Geyer
debfx-guest at alioth.debian.org
Sun May 29 20:35:33 UTC 2011
The following commit has been merged in the master branch:
commit 394966ed069c45c3f7adf74a6fef6ff82f8c8e11
Author: Felix Geyer <debfx-pkg at fobos.de>
Date: Sun May 29 19:38:44 2011 +0200
Build with -fvisibility=hidden.
Add define_qca_export.diff to define QCA_EXPORT as Q_DECL_EXPORT.
---
debian/changelog | 2 ++
debian/patches/define_qca_export.diff | 16 ++++++++++++++++
debian/patches/series | 1 +
debian/rules | 4 ++--
4 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 4b255c7..aefc552 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,8 @@ qca2 (2.0.3-1) UNRELEASED; urgency=low
* Fix short description of libqca2-dbg.
* Add missing ${misc:Depends}.
* libqca2-dbg: recommend libqt4-dbg.
+ * Build with -fvisibility=hidden.
+ - Add define_qca_export.diff to define QCA_EXPORT as Q_DECL_EXPORT.
-- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Sun, 29 May 2011 17:30:46 +0200
diff --git a/debian/patches/define_qca_export.diff b/debian/patches/define_qca_export.diff
new file mode 100644
index 0000000..6bfafb6
--- /dev/null
+++ b/debian/patches/define_qca_export.diff
@@ -0,0 +1,16 @@
+Description: Define QCA_EXPORT as Q_DECL_EXPORT on non-Windows systems so we
+ can build with -fvisibility=hidden.
+Author: Felix Geyer <debfx-pkg at fobos.de>
+
+diff -Nur qca2-2.0.3.orig/include/QtCrypto/qca_export.h qca2-2.0.3/include/QtCrypto/qca_export.h
+--- qca2-2.0.3.orig/include/QtCrypto/qca_export.h
++++ qca2-2.0.3/include/QtCrypto/qca_export.h
+@@ -44,6 +44,8 @@
+ # define QCA_EXPORT Q_DECL_IMPORT
+ # endif
+ # endif
++#else
++# define QCA_EXPORT Q_DECL_EXPORT
+ #endif
+ #ifndef QCA_EXPORT
+ # define QCA_EXPORT
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0437354
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+define_qca_export.diff
diff --git a/debian/rules b/debian/rules
index b9873c0..9e19a36 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
-CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
-CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
+CFLAGS := $(shell dpkg-buildflags --get CFLAGS) -fvisibility=hidden
+CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) -fvisibility=hidden
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
include /usr/share/pkg-kde-tools/qt-kde-team/2/debian-qt-kde.mk
--
QCA2 library packaging
More information about the pkg-kde-commits
mailing list