summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-11-28 23:09:56 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-11-28 23:09:56 +0000
commit8814d845cdc1b955861fbc74674fb7a47777623e (patch)
treecfa29a776a2af0ebc10bf8c4edd8dbc7a2eef8bb /x11-libs/qwtplot3d-qt3
parentRevision bump on request of KingTaco on #gentoo-releng. (diff)
downloadhistorical-8814d845cdc1b955861fbc74674fb7a47777623e.tar.gz
historical-8814d845cdc1b955861fbc74674fb7a47777623e.tar.bz2
historical-8814d845cdc1b955861fbc74674fb7a47777623e.zip
Initial import. Ebuild split from x11-libs/qwtplot3d to accomodate qt3 and qt4 based packages simultaneously
Package-Manager: portage-2.1.4_rc3
Diffstat (limited to 'x11-libs/qwtplot3d-qt3')
-rw-r--r--x11-libs/qwtplot3d-qt3/ChangeLog13
-rw-r--r--x11-libs/qwtplot3d-qt3/Manifest38
-rw-r--r--x11-libs/qwtplot3d-qt3/files/digest-qwtplot3d-qt3-0.2.73
-rw-r--r--x11-libs/qwtplot3d-qt3/files/qwtplot3d-doxygen.patch28
-rw-r--r--x11-libs/qwtplot3d-qt3/files/qwtplot3d-examples.patch125
-rw-r--r--x11-libs/qwtplot3d-qt3/files/qwtplot3d-profile.patch27
-rw-r--r--x11-libs/qwtplot3d-qt3/metadata.xml9
-rw-r--r--x11-libs/qwtplot3d-qt3/qwtplot3d-qt3-0.2.7.ebuild53
8 files changed, 296 insertions, 0 deletions
diff --git a/x11-libs/qwtplot3d-qt3/ChangeLog b/x11-libs/qwtplot3d-qt3/ChangeLog
new file mode 100644
index 000000000000..11a216cb72ff
--- /dev/null
+++ b/x11-libs/qwtplot3d-qt3/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for x11-libs/qwtplot3d-qt3
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwtplot3d-qt3/ChangeLog,v 1.1 2007/11/28 23:09:56 bicatali Exp $
+
+*qwtplot3d-qt3-0.2.7 (28 Nov 2007)
+
+ 28 Nov 2007; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ +files/qwtplot3d-doxygen.patch, +files/qwtplot3d-examples.patch,
+ +files/qwtplot3d-profile.patch, +metadata.xml,
+ +qwtplot3d-qt3-0.2.7.ebuild:
+ Initial import. Ebuild split from x11-libs/qwtplot3d to accomodate qt3 and
+ qt4 based packages simultaneously
+
diff --git a/x11-libs/qwtplot3d-qt3/Manifest b/x11-libs/qwtplot3d-qt3/Manifest
new file mode 100644
index 000000000000..cc21f2d8cf3a
--- /dev/null
+++ b/x11-libs/qwtplot3d-qt3/Manifest
@@ -0,0 +1,38 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX qwtplot3d-doxygen.patch 1089 RMD160 bb09e96fbbe756640c3735c5a713ad02b3952c05 SHA1 a60a51469d3ccead63b7b25556338799b4379b31 SHA256 04114570357018265d32bd8a0fd3d96dae6735dde4aaec07ea62f2382e97ff54
+MD5 c449e77a6ebe23ff26de4de0172ab598 files/qwtplot3d-doxygen.patch 1089
+RMD160 bb09e96fbbe756640c3735c5a713ad02b3952c05 files/qwtplot3d-doxygen.patch 1089
+SHA256 04114570357018265d32bd8a0fd3d96dae6735dde4aaec07ea62f2382e97ff54 files/qwtplot3d-doxygen.patch 1089
+AUX qwtplot3d-examples.patch 4764 RMD160 12a702542c9f834bd1b7b58af54b348a8f237236 SHA1 f239b95320062c05b18d5a89c9dbec9b2f56f206 SHA256 ddd2f6f9a3d075237e4908806e64318580496c856465749ce605f8506ca0e6de
+MD5 7d628f301ea4a1284425d1f6919f70ec files/qwtplot3d-examples.patch 4764
+RMD160 12a702542c9f834bd1b7b58af54b348a8f237236 files/qwtplot3d-examples.patch 4764
+SHA256 ddd2f6f9a3d075237e4908806e64318580496c856465749ce605f8506ca0e6de files/qwtplot3d-examples.patch 4764
+AUX qwtplot3d-profile.patch 717 RMD160 328c212e334d53f79234069b84c1b8a43675f790 SHA1 2b81c2c2a563a4083545356874966aa8cdf196ca SHA256 4fcbc15ae0e33317b03270b8d4534ea7f2d68d02ccc588813acc20af5b2ca1ac
+MD5 9e4814d553fb1c459c3580104ee167ce files/qwtplot3d-profile.patch 717
+RMD160 328c212e334d53f79234069b84c1b8a43675f790 files/qwtplot3d-profile.patch 717
+SHA256 4fcbc15ae0e33317b03270b8d4534ea7f2d68d02ccc588813acc20af5b2ca1ac files/qwtplot3d-profile.patch 717
+DIST qwtplot3d-0.2.7.tgz 183836 RMD160 0f28462cb95ef6091d73642c8b26ece60d50bfb8 SHA1 4463fafb8420a91825e165da7a296aaabd70abea SHA256 1208336b15e82e7a9d22cbc743e46f27e2fad716094a9c133138f259fa299a42
+EBUILD qwtplot3d-qt3-0.2.7.ebuild 1477 RMD160 07ff00da4f4b6c972736657fc2673fe5aae17be0 SHA1 d09657aeea16c529c961f17345e9fe6e636a2f02 SHA256 93023c55f3d1223183baadf19fda0d8367ddd511ecf1a9578e386fd71f8cfa5e
+MD5 008a9dfcb4ab0e979711616f8305b4a3 qwtplot3d-qt3-0.2.7.ebuild 1477
+RMD160 07ff00da4f4b6c972736657fc2673fe5aae17be0 qwtplot3d-qt3-0.2.7.ebuild 1477
+SHA256 93023c55f3d1223183baadf19fda0d8367ddd511ecf1a9578e386fd71f8cfa5e qwtplot3d-qt3-0.2.7.ebuild 1477
+MISC ChangeLog 571 RMD160 763e7ce3253982773319b27040932cc49a40ad48 SHA1 f400053a96232432bcb606c2692515c2a9681cb9 SHA256 5c1b2b6199408e820f835c88fd582fa2e9c27e779beccea13a54f33f59e8c164
+MD5 892d802fa2be45f212d33bec8f45e7c4 ChangeLog 571
+RMD160 763e7ce3253982773319b27040932cc49a40ad48 ChangeLog 571
+SHA256 5c1b2b6199408e820f835c88fd582fa2e9c27e779beccea13a54f33f59e8c164 ChangeLog 571
+MISC metadata.xml 344 RMD160 194be3ec95d0dc1c16808e6051b535b93458490c SHA1 50b44cf035817c20a5444b96e6f12a4bdab86eae SHA256 ed42d0e99d750ff1d971d4da8d9672279ef7271165a90cb548277ec3c3053da0
+MD5 4dbef43226b20584a8604f5771e7a8a9 metadata.xml 344
+RMD160 194be3ec95d0dc1c16808e6051b535b93458490c metadata.xml 344
+SHA256 ed42d0e99d750ff1d971d4da8d9672279ef7271165a90cb548277ec3c3053da0 metadata.xml 344
+MD5 1c2c3bff2bac6103bd29dd026d144983 files/digest-qwtplot3d-qt3-0.2.7 238
+RMD160 7e5f94b756ac1a531210c5ac0abfeb3f89ae776e files/digest-qwtplot3d-qt3-0.2.7 238
+SHA256 fc5b50ca9e2ca444a408b3ea92b9aac2f88a6221bd9a76ff60810f621bd33111 files/digest-qwtplot3d-qt3-0.2.7 238
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQFHTfVJ1ycZbhPLE2ARAoUPAKCaPiR4mY39AMuNOIwMHebCzN/LmQCfb0qP
+qO3znTDjiIVlvqDn5x0xy0g=
+=6Qry
+-----END PGP SIGNATURE-----
diff --git a/x11-libs/qwtplot3d-qt3/files/digest-qwtplot3d-qt3-0.2.7 b/x11-libs/qwtplot3d-qt3/files/digest-qwtplot3d-qt3-0.2.7
new file mode 100644
index 000000000000..4ba536c3a8ea
--- /dev/null
+++ b/x11-libs/qwtplot3d-qt3/files/digest-qwtplot3d-qt3-0.2.7
@@ -0,0 +1,3 @@
+MD5 2f14660152e2e26bfeaaeec479ed9f2b qwtplot3d-0.2.7.tgz 183836
+RMD160 0f28462cb95ef6091d73642c8b26ece60d50bfb8 qwtplot3d-0.2.7.tgz 183836
+SHA256 1208336b15e82e7a9d22cbc743e46f27e2fad716094a9c133138f259fa299a42 qwtplot3d-0.2.7.tgz 183836
diff --git a/x11-libs/qwtplot3d-qt3/files/qwtplot3d-doxygen.patch b/x11-libs/qwtplot3d-qt3/files/qwtplot3d-doxygen.patch
new file mode 100644
index 000000000000..b0632a380a2a
--- /dev/null
+++ b/x11-libs/qwtplot3d-qt3/files/qwtplot3d-doxygen.patch
@@ -0,0 +1,28 @@
+--- qwtplot3d/doc/Doxyfile.doxygen.orig 2007-11-26 22:30:57.000000000 +0000
++++ qwtplot3d/doc/Doxyfile.doxygen 2007-11-26 22:30:03.000000000 +0000
+@@ -116,7 +116,7 @@
+ HTML_ALIGN_MEMBERS = YES
+ GENERATE_HTMLHELP = NO
+ CHM_FILE = qwtplot3d.chm
+-HHC_LOCATION = "c:\Programme\HTML Help Workshop\hhc.exe"
++#HHC_LOCATION = "c:\Programme\HTML Help Workshop\hhc.exe"
+ GENERATE_CHI = NO
+ BINARY_TOC = YES
+ TOC_EXPAND = YES
+@@ -181,7 +181,7 @@
+ MACRO_EXPANSION = NO
+ EXPAND_ONLY_PREDEF = NO
+ SEARCH_INCLUDES = YES
+-INCLUDE_PATH = V:/cvs/qwtplot3d/include/
++INCLUDE_PATH = ../include
+ INCLUDE_FILE_PATTERNS = *.h
+ PREDEFINED = QWT3D_NOT_FOR_DOXYGEN \
+ QT_VERSION=0x040000
+@@ -212,7 +212,6 @@
+ GRAPHICAL_HIERARCHY = YES
+ DIRECTORY_GRAPH = YES
+ DOT_IMAGE_FORMAT = png
+-DOT_PATH = V:/graphviz/Graphviz/bin/
+ DOTFILE_DIRS =
+ MAX_DOT_GRAPH_WIDTH = 974
+ MAX_DOT_GRAPH_HEIGHT = 10000
diff --git a/x11-libs/qwtplot3d-qt3/files/qwtplot3d-examples.patch b/x11-libs/qwtplot3d-qt3/files/qwtplot3d-examples.patch
new file mode 100644
index 000000000000..f142c3379274
--- /dev/null
+++ b/x11-libs/qwtplot3d-qt3/files/qwtplot3d-examples.patch
@@ -0,0 +1,125 @@
+diff -Nur qwtplot3d.orig/examples/axes/src/axesmainwindow.cpp qwtplot3d/examples/axes/src/axesmainwindow.cpp
+--- qwtplot3d.orig/examples/axes/src/axesmainwindow.cpp 2007-11-26 22:16:54.000000000 +0000
++++ qwtplot3d/examples/axes/src/axesmainwindow.cpp 2007-11-26 22:21:56.000000000 +0000
+@@ -9,7 +9,7 @@
+
+ #include "axes.h"
+ #include "axesmainwindow.h"
+-#include "../../../include/qwt3d_function.h"
++#include <qwt3d_function.h>
+
+ using namespace std;
+ using namespace Qwt3D;
+diff -Nur qwtplot3d.orig/examples/common.pro qwtplot3d/examples/common.pro
+--- qwtplot3d.orig/examples/common.pro 2007-11-26 22:16:54.000000000 +0000
++++ qwtplot3d/examples/common.pro 2007-11-26 23:43:33.000000000 +0000
+@@ -1,13 +1,13 @@
+ TEMPLATE = app
+-CONFIG += qt warn_on thread debug
++CONFIG += qt warn_on thread
+ UI_DIR = tmp
+ MOC_DIR = tmp
+ OBJECTS_DIR = tmp
+-INCLUDEPATH += ../../include
++INCLUDEPATH += /usr/include/qwtplot3d
+ DEPENDPATH = $$INCLUDEPATH
+ DESTDIR = ../bin
+
+-unix:LIBS += -lqwtplot3d -L../../lib
++unix:LIBS += -lqwtplot3d
+ linux-g++:QMAKE_CXXFLAGS += -fno-exceptions
+
+ win32{
+@@ -25,7 +25,7 @@
+ ISQT4 = $$find(MYVERSION, ^[2-9])
+
+ !isEmpty( ISQT4 ) {
+-RESOURCES = ../images.qrc
++#RESOURCES = ../images.qrc
+ QT += opengl
+ }
+
+diff -Nur qwtplot3d.orig/examples/enrichments/src/enrichmentmainwindow.cpp qwtplot3d/examples/enrichments/src/enrichmentmainwindow.cpp
+--- qwtplot3d.orig/examples/enrichments/src/enrichmentmainwindow.cpp 2007-11-26 22:16:54.000000000 +0000
++++ qwtplot3d/examples/enrichments/src/enrichmentmainwindow.cpp 2007-11-26 22:22:48.000000000 +0000
+@@ -6,7 +6,7 @@
+
+ #include "enrichmentmainwindow.h"
+ #include "enrichments.h"
+-#include "../../../include/qwt3d_function.h"
++#include <qwt3d_function.h>
+
+ using namespace Qwt3D;
+
+diff -Nur qwtplot3d.orig/examples/mesh2/src/colormapreader.h qwtplot3d/examples/mesh2/src/colormapreader.h
+--- qwtplot3d.orig/examples/mesh2/src/colormapreader.h 2007-11-26 22:16:54.000000000 +0000
++++ qwtplot3d/examples/mesh2/src/colormapreader.h 2007-11-26 22:23:19.000000000 +0000
+@@ -5,7 +5,7 @@
+ #include <qframe.h>
+ #include <qpixmap.h>
+
+-#include "../../../include/qwt3d_types.h"
++#include <qwt3d_types.h>
+
+ #if QT_VERSION < 0x040000
+
+diff -Nur qwtplot3d.orig/examples/mesh2/src/functions.h qwtplot3d/examples/mesh2/src/functions.h
+--- qwtplot3d.orig/examples/mesh2/src/functions.h 2007-11-26 22:16:54.000000000 +0000
++++ qwtplot3d/examples/mesh2/src/functions.h 2007-11-26 22:23:47.000000000 +0000
+@@ -2,8 +2,8 @@
+ #define __EXAMPLE_H__
+
+ #include <math.h>
+-#include "../../../include/qwt3d_parametricsurface.h"
+-#include "../../../include/qwt3d_function.h"
++#include <qwt3d_parametricsurface.h>
++#include <qwt3d_function.h>
+
+ using namespace Qwt3D;
+
+diff -Nur qwtplot3d.orig/examples/mesh2/src/lightingdlg.h qwtplot3d/examples/mesh2/src/lightingdlg.h
+--- qwtplot3d.orig/examples/mesh2/src/lightingdlg.h 2007-11-26 22:16:54.000000000 +0000
++++ qwtplot3d/examples/mesh2/src/lightingdlg.h 2007-11-26 22:24:41.000000000 +0000
+@@ -3,10 +3,10 @@
+
+ #include <math.h>
+ #include <qapplication.h>
+-#include "../../../include/qwt3d_parametricsurface.h"
+-#include "../../../include/qwt3d_surfaceplot.h"
+-#include "../../../include/qwt3d_enrichment.h"
+-#include "../../../include/qwt3d_color.h"
++#include <qwt3d_parametricsurface.h>
++#include <qwt3d_surfaceplot.h>
++#include <qwt3d_enrichment.h>
++#include <qwt3d_color.h>
+
+ #if QT_VERSION < 0x040000
+ #include "lightingdlgbase.h"
+diff -Nur qwtplot3d.orig/examples/mesh2/src/mesh2mainwindow.cpp qwtplot3d/examples/mesh2/src/mesh2mainwindow.cpp
+--- qwtplot3d.orig/examples/mesh2/src/mesh2mainwindow.cpp 2007-11-26 22:16:54.000000000 +0000
++++ qwtplot3d/examples/mesh2/src/mesh2mainwindow.cpp 2007-11-26 22:25:33.000000000 +0000
+@@ -33,9 +33,9 @@
+ #include "colormapreader.h"
+ #include "lightingdlg.h"
+ #include "femreader.h"
+-#include "../../../include/qwt3d_io.h"
+-#include "../../../include/qwt3d_io_gl2ps.h"
+-#include "../../../include/qwt3d_io_reader.h"
++#include <qwt3d_io.h>
++#include <qwt3d_io_gl2ps.h>
++#include <qwt3d_io_reader.h>
+
+ using namespace Qwt3D;
+ using namespace std;
+diff -Nur qwtplot3d.orig/examples/mesh2/src/mesh2mainwindow.h qwtplot3d/examples/mesh2/src/mesh2mainwindow.h
+--- qwtplot3d.orig/examples/mesh2/src/mesh2mainwindow.h 2007-11-26 22:16:54.000000000 +0000
++++ qwtplot3d/examples/mesh2/src/mesh2mainwindow.h 2007-11-26 22:26:09.000000000 +0000
+@@ -1,7 +1,7 @@
+ #ifndef mesh2mainwindow_h__2004_03_07_13_38_begin_guarded_code
+ #define mesh2mainwindow_h__2004_03_07_13_38_begin_guarded_code
+
+-#include "../../../include/qwt3d_surfaceplot.h"
++#include <qwt3d_surfaceplot.h>
+
+
+ #if QT_VERSION < 0x040000
diff --git a/x11-libs/qwtplot3d-qt3/files/qwtplot3d-profile.patch b/x11-libs/qwtplot3d-qt3/files/qwtplot3d-profile.patch
new file mode 100644
index 000000000000..831ad558d2f4
--- /dev/null
+++ b/x11-libs/qwtplot3d-qt3/files/qwtplot3d-profile.patch
@@ -0,0 +1,27 @@
+--- qwtplot3d.orig/qwtplot3d.pro 2007-11-26 22:16:54.000000000 +0000
++++ qwtplot3d/qwtplot3d.pro 2007-11-26 23:45:18.000000000 +0000
+@@ -3,7 +3,7 @@
+
+ TARGET = qwtplot3d
+ TEMPLATE = lib
+-CONFIG += qt warn_on opengl thread zlib debug
++CONFIG += qt warn_on opengl thread zlib
+ MOC_DIR = tmp
+ OBJECTS_DIR = tmp
+ INCLUDEPATH = include
+@@ -21,7 +21,7 @@
+ win32:CONFIG -= zlib
+
+ linux-g++:TMAKE_CXXFLAGS += -fno-exceptions
+-unix:VERSION = 0.2.6
++unix:VERSION = 0.2.7
+
+ # Input
+ SOURCES += src/qwt3d_axis.cpp \
+@@ -92,4 +92,4 @@
+ DEFINES += GL2PS_HAVE_ZLIB
+ win32:LIBS += zlib.lib
+ unix:LIBS += -lz
+-}
+\ No newline at end of file
++}
diff --git a/x11-libs/qwtplot3d-qt3/metadata.xml b/x11-libs/qwtplot3d-qt3/metadata.xml
new file mode 100644
index 000000000000..afd6784bfefe
--- /dev/null
+++ b/x11-libs/qwtplot3d-qt3/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <longdescription lang="en">
+ QwtPlot3D isa feature-rich Qt/OpenGL-based C++ programming library,
+ providing essentially a bunch of 3D-widgets for programmers.
+ </longdescription>
+</pkgmetadata>
diff --git a/x11-libs/qwtplot3d-qt3/qwtplot3d-qt3-0.2.7.ebuild b/x11-libs/qwtplot3d-qt3/qwtplot3d-qt3-0.2.7.ebuild
new file mode 100644
index 000000000000..156e6bcfef6d
--- /dev/null
+++ b/x11-libs/qwtplot3d-qt3/qwtplot3d-qt3-0.2.7.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qwtplot3d-qt3/qwtplot3d-qt3-0.2.7.ebuild,v 1.1 2007/11/28 23:09:56 bicatali Exp $
+
+inherit eutils multilib qt3
+
+MY_PN=${PN%-qt3}
+
+DESCRIPTION="Qt3/OpenGL-based 3D widget library for C++"
+HOMEPAGE="http://qwtplot3d.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.tgz"
+
+LICENSE="ZLIB"
+SLOT="0"
+IUSE="doc examples"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+RDEPEND="$(qt_min_version 3.3)"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_unpack () {
+ unpack ${A}
+ epatch "${FILESDIR}"/${MY_PN}-profile.patch
+ epatch "${FILESDIR}"/${MY_PN}-examples.patch
+ epatch "${FILESDIR}"/${MY_PN}-doxygen.patch
+ sed -i -e "s:${MY_PN}:${PN}:g" ${MY_PN}/${MY_PN}.pro
+}
+
+src_compile () {
+ echo >> ${MY_PN}.pro "target.path = /usr/$(get_libdir)"
+ echo >> ${MY_PN}.pro "headers.path = /usr/include/${PN}"
+ echo >> ${MY_PN}.pro "headers.files = \$\$HEADERS"
+ echo >> ${MY_PN}.pro "INSTALLS = target headers"
+
+ eqmake3 ${MY_PN}.pro || die "eqmake3 failed"
+ emake || die "emake failed"
+ if use doc; then
+ cd doc
+ doxygen Doxyfile.doxygen || die "doxygen failed"
+ fi
+}
+
+src_install () {
+ emake INSTALL_ROOT="${D}" install || die "emake install failed"
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples || die "doins examples failed"
+ fi
+ use doc && dohtml -r doc/web/doxygen/*
+}