wt3: added recipe for 3.1.0a
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Fri, 12 Feb 2010 18:39:15 +0000 (19:39 +0100)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Fri, 12 Feb 2010 18:39:15 +0000 (19:39 +0100)
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/wt/wt3-3.1.0a/noqt.patch [new file with mode: 0644]
recipes/wt/wt3-3.1.0a/wgooglemap.patch [new file with mode: 0644]
recipes/wt/wt3_3.1.0a.bb [new file with mode: 0644]

diff --git a/recipes/wt/wt3-3.1.0a/noqt.patch b/recipes/wt/wt3-3.1.0a/noqt.patch
new file mode 100644 (file)
index 0000000..4823124
--- /dev/null
@@ -0,0 +1,19 @@
+Index: wt-3.0.0/CMakeLists.txt
+===================================================================
+--- wt-3.0.0.orig/CMakeLists.txt       2009-11-12 18:50:12.087842114 +0100
++++ wt-3.0.0/CMakeLists.txt    2009-11-12 18:50:42.023261611 +0100
+@@ -111,10 +111,10 @@
+ INCLUDE(cmake/WtFindSsl.txt)
+ INCLUDE(cmake/WtFindMysqlpp.txt)
+-FIND_PACKAGE(Qt4)
+-IF(QT_FOUND)
+-  INCLUDE(${QT_USE_FILE})
+-ENDIF(QT_FOUND)
++#FIND_PACKAGE(Qt4)
++#IF(QT_FOUND)
++#  INCLUDE(${QT_USE_FILE})
++#ENDIF(QT_FOUND)
+ # Boost is used nearly everywhere, so we can put these here
+ INCLUDE_DIRECTORIES(${BOOST_INCLUDE_DIRS})
diff --git a/recipes/wt/wt3-3.1.0a/wgooglemap.patch b/recipes/wt/wt3-3.1.0a/wgooglemap.patch
new file mode 100644 (file)
index 0000000..6827afb
--- /dev/null
@@ -0,0 +1,17 @@
+Index: wt-3.0.0/src/Wt/WGoogleMap.C
+===================================================================
+--- wt-3.0.0.orig/src/Wt/WGoogleMap.C  2009-09-01 17:46:54.000000000 +0200
++++ wt-3.0.0/src/Wt/WGoogleMap.C       2009-11-12 16:23:39.614976154 +0100
+@@ -26,6 +26,12 @@
+ using std::min;
+ using std::max;
++#if not defined(_GLIBCXX_HAVE__SINL) && not defined(acosl)
++#define cosl cos
++#define acosl acos
++#define sinl sin
++#endif
++
+ #ifndef M_PI
+ #define M_PI 3.14159265358979323846
+ #endif
diff --git a/recipes/wt/wt3_3.1.0a.bb b/recipes/wt/wt3_3.1.0a.bb
new file mode 100644 (file)
index 0000000..8072ba9
--- /dev/null
@@ -0,0 +1,11 @@
+require wt3.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI += "file://noqt.patch;patch=1"
+
+SRC_URI[tarball.md5sum] = "9b2f4abc2e50d1fa15648834f5830d87"
+SRC_URI[tarball.sha256sum] = "97c8ddcd690381c4cd787b0099e753954c11016321fa991268c92276351fbc4c"
+
+S = "${WORKDIR}/wt-3.1.0"
+