summaryrefslogtreecommitdiffstats
path: root/libraries/qt-assistant-compat/debian_patches_01_build_system.diff
diff options
context:
space:
mode:
author Petar Petrov <ppetrov@paju.oulu.fi>2011-10-19 23:08:30 -0200
committer Niels Horn <niels.horn@slackbuilds.org>2011-10-21 15:59:18 -0200
commit5327d32896781d21b2bfcafd262edf3378e54554 (patch)
treed84c4d70655db299c592ac1772a82974ac81d251 /libraries/qt-assistant-compat/debian_patches_01_build_system.diff
parentebd7439e5fc39e564516d4b7e76ca5be2533c3fd (diff)
downloadslackbuilds-5327d32896781d21b2bfcafd262edf3378e54554.tar.gz
slackbuilds-5327d32896781d21b2bfcafd262edf3378e54554.tar.xz
libraries/qt-assistant-compat: Added (Qt Assistant compatibility)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/qt-assistant-compat/debian_patches_01_build_system.diff')
-rw-r--r--libraries/qt-assistant-compat/debian_patches_01_build_system.diff48
1 files changed, 48 insertions, 0 deletions
diff --git a/libraries/qt-assistant-compat/debian_patches_01_build_system.diff b/libraries/qt-assistant-compat/debian_patches_01_build_system.diff
new file mode 100644
index 0000000000..3266ced61c
--- /dev/null
+++ b/libraries/qt-assistant-compat/debian_patches_01_build_system.diff
@@ -0,0 +1,48 @@
+Description: several workarounds for the build system which is completely broken
+Author: Fathi Boudra <fabo@debian.org>
+
+--- a/compat.pro
++++ b/compat.pro
+@@ -66,8 +66,6 @@ TRANSLATIONS = translations/assistant_ad
+ translations/assistant_adp_zh_CN.ts \
+ translations/assistant_adp_zh_TW.ts
+
+-unix:!contains(QT_CONFIG, zlib):LIBS += -lz
+-
+ contains(CONFIG, static): {
+ win32 {
+ exists($$[QT_INSTALL_PLUGINS]/imageformats/qjpeg.lib) {
+@@ -81,3 +79,7 @@ contains(CONFIG, static): {
+ }
+ }
+ }
++
++target.path = $$[QT_INSTALL_BINS]
++INSTALLS += target
++
+--- a/lib/lib.pro
++++ b/lib/lib.pro
+@@ -16,8 +16,8 @@ HEADERS = qassistantclient.h \
+ qassistantclient_global.h
+ SOURCES = qassistantclient.cpp
+
+-DESTDIR = ../../../../lib
+-DLLDESTDIR = ../../../../bin
++DESTDIR = lib
++DLLDESTDIR = bin
+
+ unix {
+ QMAKE_CFLAGS += $$QMAKE_CFLAGS_SHLIB
+@@ -62,7 +62,7 @@ win32 {
+ }
+
+ qt_install_headers {
+- assistant_headers.files = $$SYNCQT.HEADER_FILES $$SYNCQT.HEADER_CLASSES
++ assistant_headers.files = qassistantclient.h qassistantclient_global.h
+ assistant_headers.path = $$[QT_INSTALL_HEADERS]/QtAssistant
+ INSTALLS += assistant_headers
+ }
+--- /dev/null
++++ b/lib/QtAssistant/qassistantclient_global.h
+@@ -0,0 +1 @@
++#include "../qassistantclient_global.h"