[Lunar-commits] <moonbase> qwtplot3d: The current version 0.2.7 does not compile with qt-4.8.0.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Thu Feb 2 14:13:47 CET 2012
commit 67d2535af19cc9215c3f24871c6af0481689eacf
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Thu Feb 2 08:13:47 2012 -0500
qwtplot3d: The current version 0.2.7 does not compile with qt-4.8.0.
So grabbed this version from their svn;
http://qwtplot3d.sourceforge.net/web/navigation/download_frame.html
---
qt4-apps/qwtplot3d/BUILD | 20 +++++++++++---------
qt4-apps/qwtplot3d/DETAILS | 10 +++++-----
2 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/qt4-apps/qwtplot3d/BUILD b/qt4-apps/qwtplot3d/BUILD
index e79fccd..3e24d05 100644
--- a/qt4-apps/qwtplot3d/BUILD
+++ b/qt4-apps/qwtplot3d/BUILD
@@ -2,22 +2,24 @@
. /etc/profile.d/qt4.rc &&
-# This will need to go on the next version bump.
- sed -i "1i #include <cstdio>" src/qwt3d_function.cpp &&
-
qmake &&
make &&
prepare_install &&
# No make install, so here we go.
- for i in lib/* ; do
- [ -d $QTDIR/lib/$MODULE ] || mkdir -p $QTDIR/lib/$MODULE
- install -m 644 $i $QTDIR/lib/$MODULE/
- done &&
+ if [ ! -d /usr/lib/$MODULE ] ; then
+ mkdir -p /usr/lib/$MODULE
+ fi &&
+
+ install -m 644 lib/release/unix/libqwtplot3d.so.0.3.0 /usr/lib/$MODULE/ &&
+ ln -sf /usr/lib/$MODULE/libqwtplot3d.so.0.3.0 /usr/lib/$MODULE/libqwtplot3d.so &&
+ ln -sf /usr/lib/$MODULE/libqwtplot3d.so.0.3.0 /usr/lib/$MODULE/libqwtplot3d.so.0 &&
+ ln -sf /usr/lib/$MODULE/libqwtplot3d.so.0.3.0 /usr/lib/$MODULE/libqwtplot3d.so.0.3 &&
+
# Just for completeness, lets to also do the headers.
for i in include/* ; do
- [ -d $QTDIR/include/$MODULE ] || mkdir -p $QTDIR/include/$MODULE
- install -m 644 $i $QTDIR/include/$MODULE/
+ [ -d /usr/include/$MODULE ] || mkdir -p /usr/include/$MODULE
+ install -m 644 $i /usr/include/$MODULE/
done
) > $C_FIFO 2>&1
diff --git a/qt4-apps/qwtplot3d/DETAILS b/qt4-apps/qwtplot3d/DETAILS
index 29772e5..45f2176 100644
--- a/qt4-apps/qwtplot3d/DETAILS
+++ b/qt4-apps/qwtplot3d/DETAILS
@@ -1,13 +1,13 @@
MODULE=qwtplot3d
- VERSION=0.2.7
- SOURCE=$MODULE-$VERSION.tgz
- SOURCE_URL=$SFORGE_URL/$MODULE/
+ VERSION=0.3.0
+ SOURCE=$MODULE-$VERSION.tar.bz2
+ SOURCE_URL=$MIRROR_URL
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
- SOURCE_VFY=sha1:4463fafb8420a91825e165da7a296aaabd70abea
+ SOURCE_VFY=sha1:bb45c92769b969ebd5dc476b984e774d7cee91d5
MODULE_PREFIX=${QT4_PREFIX:-/usr}
WEB_SITE=http://qwtplot3d.sourceforge.net/
ENTERED=20091019
- UPDATED=20091019
+ UPDATED=20120202
SHORT="3D-widgets for programmers"
cat << EOF
More information about the Lunar-commits
mailing list