diff options
author | Holger Freyther <zecke@selfish.org> | 2007-10-25 22:45:56 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2007-10-25 22:45:56 +0000 |
commit | 279d19cb2b497fd1168adfc5fa5008e11e10a538 (patch) | |
tree | b89ac19fd48860849226f97e1c73a6604e7e07f0 /packages/webkit/files | |
parent | a5c64e02cdd62a588fdb3ef9fbeab9dfb7e1a742 (diff) |
packages/webkit: Build and package naming fixes (when using debian renaming)
We do not want the package to be named libwebkitgtk-launcher but want to
keep the webkit-gtklauncher names. The same applies to Qt and Qtopia.
Use my Gtk+ API defines for the WebKit/Qt port as well.
Diffstat (limited to 'packages/webkit/files')
-rw-r--r-- | packages/webkit/files/qt-api-changes.diff | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/webkit/files/qt-api-changes.diff b/packages/webkit/files/qt-api-changes.diff new file mode 100644 index 0000000000..16f448b017 --- /dev/null +++ b/packages/webkit/files/qt-api-changes.diff @@ -0,0 +1,27 @@ +Index: WebKit/qt/Api/qwebkitglobal.h +=================================================================== +--- WebKit/qt/Api/qwebkitglobal.h (revision 26079) ++++ WebKit/qt/Api/qwebkitglobal.h (working copy) +@@ -25,15 +25,13 @@ + #include <qglobal.h> + + #if defined(Q_OS_WIN) +-# if defined(BUILD_WEBKIT) +-# define QWEBKIT_EXPORT Q_DECL_EXPORT +-# else +-# define QWEBKIT_EXPORT Q_DECL_IMPORT +-# endif ++ #ifdef BUILD_WEBKIT ++ #define QWEBKIT_EXPORT __declspec(dllexport) ++ #else ++ #define QWEBKIT_EXPORT __declspec(dllimport) ++ #endif ++#else ++ #define QWEBKIT_EXPORT __attribute__((visibility("default"))) + #endif + +-#if !defined(QWEBKIT_EXPORT) +-#define QWEBKIT_EXPORT Q_DECL_EXPORT +-#endif +- + #endif // QWEBKITGLOBAL_H |