summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-01-10 07:46:14 +0000
committerPeter Volkov <pva@gentoo.org>2010-01-10 07:46:14 +0000
commit6d18a64ddebc28c0c2bed8b977a86ae2cb0daed5 (patch)
treef8b03fff03f885356eaa6d9973ae13486ce26098 /sci-visualization
parentVersion bump for security bug #299751 (diff)
downloadhistorical-6d18a64ddebc28c0c2bed8b977a86ae2cb0daed5.tar.gz
historical-6d18a64ddebc28c0c2bed8b977a86ae2cb0daed5.tar.bz2
historical-6d18a64ddebc28c0c2bed8b977a86ae2cb0daed5.zip
Revision bump: dropped USE bindist, see bug #199451; python USE flag back; Fixed path to manual (no need for elog), fixed installation of languages.
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/qtiplot/ChangeLog19
-rw-r--r--sci-visualization/qtiplot/Manifest15
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.7.10-sip2.patch27
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.7.11-build.conf.patch141
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.7.11-docbuild.patch35
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.7.11-dont-install-qwt.patch23
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.7.11-gl2ps.patch26
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.7.11-qtiplot.pro.patch44
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.7.11-sip48.patch15
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.7.11-syslibs.patch59
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.7.11-system-QTeXEngine.patch27
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.7.11-system-gl2ps.patch63
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.7.11-system-liborigin.patch44
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.7.11-r1.ebuild183
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.7.11.ebuild146
15 files changed, 340 insertions, 527 deletions
diff --git a/sci-visualization/qtiplot/ChangeLog b/sci-visualization/qtiplot/ChangeLog
index 28dfea1c29e8..07c4caebb1db 100644
--- a/sci-visualization/qtiplot/ChangeLog
+++ b/sci-visualization/qtiplot/ChangeLog
@@ -1,6 +1,23 @@
# ChangeLog for sci-visualization/qtiplot
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.49 2010/01/09 08:45:38 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.50 2010/01/10 07:46:14 pva Exp $
+
+*qtiplot-0.9.7.11-r1 (10 Jan 2010)
+
+ 10 Jan 2010; Peter Volkov <pva@gentoo.org>
+ -files/qtiplot-0.9.7.10-sip2.patch, -qtiplot-0.9.7.11.ebuild,
+ +qtiplot-0.9.7.11-r1.ebuild, -files/qtiplot-0.9.7.11-build.conf.patch,
+ -files/qtiplot-0.9.7.11-docbuild.patch,
+ -files/qtiplot-0.9.7.11-dont-install-qwt.patch,
+ -files/qtiplot-0.9.7.11-gl2ps.patch,
+ -files/qtiplot-0.9.7.11-qtiplot.pro.patch,
+ -files/qtiplot-0.9.7.11-sip48.patch,
+ -files/qtiplot-0.9.7.11-syslibs.patch,
+ +files/qtiplot-0.9.7.11-system-QTeXEngine.patch,
+ +files/qtiplot-0.9.7.11-system-gl2ps.patch,
+ +files/qtiplot-0.9.7.11-system-liborigin.patch:
+ Revision bump: dropped USE bindist, see bug #199451; python USE flag back;
+ Fixed path to manual (no need for elog), fixed installation of languages.
*qtiplot-0.9.7.11 (09 Jan 2010)
diff --git a/sci-visualization/qtiplot/Manifest b/sci-visualization/qtiplot/Manifest
index 36233a1ec3f3..e806747fcb00 100644
--- a/sci-visualization/qtiplot/Manifest
+++ b/sci-visualization/qtiplot/Manifest
@@ -5,18 +5,13 @@ AUX qtiplot-0.9.7.10-gcc44.patch 323 RMD160 22568401bc90aaabb496432a811e71415b22
AUX qtiplot-0.9.7.10-gl2ps.patch 12521 RMD160 aab2dc538db2d128554b0723097b1f1fc6749d03 SHA1 64d1f3622b63b4cf7eb2fb2e7542f7f3425932ff SHA256 a915912913af3a6161c03d7b35d6680d2d1b2fbe70b34d95dcddb1a674723e87
AUX qtiplot-0.9.7.10-qtiplot.pro.patch 1684 RMD160 d01587b1cb8d8e43c3606f5132cfd5b28891eb25 SHA1 63489bedd24fd6380324ea38690894cbfaa9dd4c SHA256 3e86c2ec0a0a6322e80e58916669962d6addad5ae9556867192e8f198a7e7a55
AUX qtiplot-0.9.7.10-sip.patch 1113 RMD160 afd2089074108bb9ca8c4526bdd0b8c3a5c5d495 SHA1 52745c241f72e6ae2df77d2a54a2a3bd054babe0 SHA256 8195baadb206a13f583ccdb6f63ff457b8eaea0135ae20aea1afa988ef670fa5
-AUX qtiplot-0.9.7.10-sip2.patch 986 RMD160 c952187ddf284818439c52c129843a359f2fec9a SHA1 750b4fc08bdf14f3fa960d21145f34d470f05dc0 SHA256 ef4b63a77fe64fde6c15c89300ac705db690485d733facf63fe19c829ebb2278
AUX qtiplot-0.9.7.10-syslibs.patch 2111 RMD160 d052c2abbc46745f8cc069a666bf9650cfe368dc SHA1 4e82c2041dd9bd232337da679a8955206afd04c8 SHA256 1585bf2207739e7475e86c19178407addafc2d31ed89a84db67fa6f805f97177
-AUX qtiplot-0.9.7.11-build.conf.patch 6217 RMD160 a376eb00cdd1c4b9c1e4d2a76be5b3c072431309 SHA1 6a1fe5318c74ee3d2e107ded0c254747a3f51d4a SHA256 81664d2d3a46a35f89db7713dc9405f9c2c881b47bec2c346c017db9b4d51a45
-AUX qtiplot-0.9.7.11-docbuild.patch 1775 RMD160 7e04b2ea4ecb913e58f80c91e648c080269e170e SHA1 f0fa01c23a03cfc43472a9f23b66b33473e6213e SHA256 a79ee33251f3a38f11639d29d8263e6dbe1370ab05a2055efa36e746f586a61c
-AUX qtiplot-0.9.7.11-dont-install-qwt.patch 660 RMD160 2fe86c88c2db5f6507e6c2c8b57c011e2dcdb894 SHA1 c4a7e184239592c88aad52274fd112d922ec06fb SHA256 168f45ee77e3b9607d1e2372caeabf41f3fd3cf4da1e964a17c7a67cb1565fc2
-AUX qtiplot-0.9.7.11-gl2ps.patch 799 RMD160 cf6be9c7abad3cbc0ed4d8bca8daeaee9dd72002 SHA1 2f81e1262648866fdfff9120ec659852b1e42aa8 SHA256 450745d9ce234e5279097ccb0905fdb7c49291a0ba591d059c7f11546bd20b2a
-AUX qtiplot-0.9.7.11-qtiplot.pro.patch 1647 RMD160 262391efdcffb84cb0540b0a261be8ff9c7d0871 SHA1 abbb50783e66f34193e1aeca1d9a188f30f9aa80 SHA256 75ce91de8b71ad271a7ff5629ae5a8220c70b7c646dcc48d47cbe8ed8bc1a338
-AUX qtiplot-0.9.7.11-sip48.patch 532 RMD160 738e82fa86fc8b27735c9191180ec9d645f0132b SHA1 9bbc6bd1e0b7201a9184e23fae809980c7abf5fc SHA256 30be701032280ccdd46da4f044230317688de074b913c32d50b76eac1d46b99f
-AUX qtiplot-0.9.7.11-syslibs.patch 2091 RMD160 b45106400e6642c64085da7ac5acc85c3f303a39 SHA1 3182fe154d73d39384b09f311e8b2c0f3a0df1cd SHA256 8b5d648b5d92f9c8dfd384255640538ab1660549ee1baa8dbe7775bf20d58092
+AUX qtiplot-0.9.7.11-system-QTeXEngine.patch 1045 RMD160 11193edddf6b01a9203fe00f543497682abe2931 SHA1 cc23d68291a84ccda3c58b4bcbc53bcc8a438997 SHA256 2165b10551bbe79477f0fbd70108d352067bcab9a5b7c41a26f8970c30612a37
+AUX qtiplot-0.9.7.11-system-gl2ps.patch 1765 RMD160 92e96447aa0207e4c75ea72c4116563aa404d226 SHA1 8bd2cbedb6ca372fbc547e0ee87089aa9bb0852b SHA256 3c7b08c6d9fbdbff6248da0148e714d433b214d68c558ce7498ad7dd86aa7437
+AUX qtiplot-0.9.7.11-system-liborigin.patch 1527 RMD160 08e401cc3773319a887b4272ead209ebaba30296 SHA1 aee9ad7acd1797173a4a5eea47b492f0ab212621 SHA256 c82997fe4f45c0a4561d7697ac0e5d3348bf48eee254d0aebc0610e63fc90274
DIST qtiplot-0.9.7.10.tar.bz2 7948018 RMD160 21e4ce18b1eab877fd89e97065daa246c637da67 SHA1 38558d9026113a728834536627efbc1bff9c66e1 SHA256 88f8c45f369fb0427720757983cbe033c6761f507f8efb68c63b8d67bcfbf099
DIST qtiplot-0.9.7.11.tar.bz2 8015168 RMD160 d04669eed2c444ca390711281ecea1e0ad2b3c43 SHA1 4db101c28c4a8b8c5f11daee3bbf8979f8063914 SHA256 dd6c1c832eed89cd8bab55d73f77549338faf4e10f4dbf534df597b39bb2f52f
EBUILD qtiplot-0.9.7.10.ebuild 3305 RMD160 98cbadff023c23cd5f68dfc73a0f28a4024bd8e3 SHA1 85b8ac3758bcfb48e57f128c6586254648f474ae SHA256 c9228bfda1e2e75f4fff30fc0c9e6a04e38578a01980cd77697768b2c4c64ff4
-EBUILD qtiplot-0.9.7.11.ebuild 3601 RMD160 2fd79b87d17a7e640b3e060c4489e971265ef7c3 SHA1 90978132bb053b72348182f4f73b11fe75b7ded3 SHA256 41fd216345233ab72fc0d6927ab8d2bb4827ab992f55005c573fedb1bc54e6a8
-MISC ChangeLog 13193 RMD160 73affe12e3565ee7ac038ffc051f97ef18880825 SHA1 10d7c1d2879b2d189f994617b8386afaa15cbb7f SHA256 d8a0ef27ea9cc4803b37b01cf58651c117b13124fa71ce483c99696c6a2e847d
+EBUILD qtiplot-0.9.7.11-r1.ebuild 4811 RMD160 9660e6a768b430c100db80551b2557d45c411067 SHA1 e043bfd874dd4eeb3bf0062e968481596a067f87 SHA256 680cbbf34c924c58841180318e6c08fb97f6381d480c806e097cf6b444e2b895
+MISC ChangeLog 13962 RMD160 757ad7ed6fd91e646cb0a07ac27f8ca1ab8d9ddd SHA1 c13920f5b68a80c318c0643c4b5dc3799d9fc727 SHA256 88059a26c1ff713c8b8209aeb84d9474bfaf6493c875872457c61050199f6cfa
MISC metadata.xml 768 RMD160 c086c60d35d7cbfd510293b919e33992ec81631e SHA1 96d013db56ea8a6bf4568249e0bb44131df1d17b SHA256 d52c4d4778a4b3c7d1962f4d61c93ae29d0e099e894e59869fa19726eafb0696
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.10-sip2.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.10-sip2.patch
deleted file mode 100644
index 6e5e1bda5883..000000000000
--- a/sci-visualization/qtiplot/files/qtiplot-0.9.7.10-sip2.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- trunk/qtiplot/src/scripting/scripting.pri 2009/10/21 21:30:09 1434
-+++ trunk/qtiplot/src/scripting/scripting.pri 2009/10/22 13:39:34 1435
-@@ -80,7 +80,6 @@
- $${SIP_DIR}/sipqtiPythonScript.cpp\
- $${SIP_DIR}/sipqtiPythonScripting.cpp\
- $${SIP_DIR}/sipqtiFolder.cpp\
-- $${SIP_DIR}/sipqtiQList.cpp\
- $${SIP_DIR}/sipqtiFit.cpp \
- $${SIP_DIR}/sipqtiExponentialFit.cpp \
- $${SIP_DIR}/sipqtiTwoExpFit.cpp \
-@@ -104,5 +103,15 @@
- $${SIP_DIR}/sipqtiFFT.cpp \
- $${SIP_DIR}/sipqtiCorrelation.cpp \
- $${SIP_DIR}/sipqtiConvolution.cpp \
-- $${SIP_DIR}/sipqtiDeconvolution.cpp
-+ $${SIP_DIR}/sipqtiDeconvolution.cpp \
-+
-+exists(../../$${SIP_DIR}/sipqtiQList.cpp) {
-+ # SIP < 4.9
-+ SOURCES += $${SIP_DIR}/sipqtiQList.cpp
-+} else {
-+ SOURCES += \
-+ $${SIP_DIR}/sipqtiQList0101Folder.cpp\
-+ $${SIP_DIR}/sipqtiQList0101Graph.cpp\
-+ $${SIP_DIR}/sipqtiQList0101MdiSubWindow.cpp\
-+}
- }
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-build.conf.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-build.conf.patch
deleted file mode 100644
index 92495316e88a..000000000000
--- a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-build.conf.patch
+++ /dev/null
@@ -1,141 +0,0 @@
-diff --git a/build.conf.example b/build.conf.example
-index 2afcee7..2dd7e05 100755
---- a/build.conf.example
-+++ b/build.conf.example
-@@ -7,30 +7,29 @@ isEmpty( QTI_ROOT ) {
- ##########################################################
-
- # Global include path which is always added at the end of the INCLUDEPATH
--SYS_INCLUDEPATH = /opt/local/include
-+SYS_INCLUDEPATH = /usr/include
- # Global lib path and libs which is ls always added at the end of LIBS
--SYS_LIBS = -L/opt/local/lib
-+SYS_LIBS = -L/usr/GENTOOLIB
-
- ##########################################################
- ## muParser (http://muparser.sourceforge.net/)
- ##########################################################
-
- # include path. leave it blank to use SYS_INCLUDE
--MUPARSER_INCLUDEPATH = $$QTI_ROOT/3rdparty/muparser/include
-+MUPARSER_INCLUDEPATH = $$system(pkg-config --cflags muparser)
- # link statically against a copy in 3rdparty/
--MUPARSER_LIBS = $$QTI_ROOT/3rdparty/muparser/lib/libmuparser.a
-+#MUPARSER_LIBS = $$QTI_ROOT/3rdparty/muparser/lib/libmuparser.a
- # or dynamically against a system-wide installation
--#MUPARSER_LIBS = -lmuparser
-+MUPARSER_LIBS = $$system(pkg-config --libs muparser)
-
- ##########################################################
- ## GNU Sientific Library (http://www.gnu.org/software/gsl/)
- ##########################################################
-
- # include path. leave it blank to use SYS_INCLUDE
--GSL_INCLUDEPATH = $$QTI_ROOT/3rdparty/gsl/include
-+GSL_INCLUDEPATH = $$system(pkg-config --cflags gsl)
- # link statically against a copy in 3rdparty/
--GSL_LIBS = $$QTI_ROOT/3rdparty/gsl/lib/libgsl.a \
-- $$QTI_ROOT/3rdparty/gsl/lib/libgslcblas.a
-+GSL_LIBS = $$system(pkg-config --libs gsl)
- # or dynamically against a system-wide installation
- #GSL_LIBS = -lgsl -lgslcblas
-
-@@ -39,14 +38,14 @@ GSL_LIBS = $$QTI_ROOT/3rdparty/gsl/lib/libgsl.a \
- ##########################################################
-
- # include path. leave it blank to use SYS_INCLUDE
--BOOST_INCLUDEPATH = $$QTI_ROOT/3rdparty/boost
-+BOOST_INCLUDEPATH = /usr/include/boost
- # link statically against a copy in 3rdparty/
--unix: BOOST_LIBS = $$QTI_ROOT/3rdparty/boost/lib/libboost_date_time-gcc43-mt-1_38.a \
-- $$QTI_ROOT/3rdparty/boost/lib/libboost_thread-gcc43-mt-1_38.a
--win32:BOOST_LIBS = $$QTI_ROOT/3rdparty/boost/lib/libboost_date_time-mgw34-mt.lib \
-- $$QTI_ROOT/3rdparty/boost/lib/libboost_thread-mgw34-mt.lib
-+#unix: BOOST_LIBS = $$QTI_ROOT/3rdparty/boost/lib/libboost_date_time-gcc43-mt-1_38.a \
-+# $$QTI_ROOT/3rdparty/boost/lib/libboost_thread-gcc43-mt-1_38.a
-+#win32:BOOST_LIBS = $$QTI_ROOT/3rdparty/boost/lib/libboost_date_time-mgw34-mt.lib \
-+# $$QTI_ROOT/3rdparty/boost/lib/libboost_thread-mgw34-mt.lib
- # or dynamically against a system-wide installation
--#BOOST_LIBS = -lboost_date_time-mt -lboost_thread-mt
-+BOOST_LIBS = -lboost_date_time-mt -lboost_thread-mt
-
- ##########################################################
- ## QWT - use local copy till upstream catches up
-@@ -55,8 +54,10 @@ win32:BOOST_LIBS = $$QTI_ROOT/3rdparty/boost/lib/libboost_date_time-mgw34-mt.lib
-
- # include path.
- QWT_INCLUDEPATH = $$QTI_ROOT/3rdparty/qwt/src
-+#QWT_INCLUDEPATH = /usr/include/qwt5
- # link locally against a copy in 3rdparty/
- QWT_LIBS = $$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
-+#QWT_LIBS = -lqwt
-
- ###########################################################
- ## libxls - optional. you don't have to set these variables
-@@ -64,9 +65,9 @@ QWT_LIBS = $$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
- ###########################################################
-
- # include path.
--XLS_INCLUDEPATH = $$QTI_ROOT/3rdparty/libxls/include/
-+XLS_INCLUDEPATH = /usr/include/libxls/
- # link locally against a copy in 3rdparty/
--XLS_LIBS = $$QTI_ROOT/3rdparty/libxls/lib/libxlsreader.a
-+#XLS_LIBS = -lxlsreader
-
- ###########################################################
- ## QuaZIP - optional. you don't have to set these variables
-@@ -74,20 +75,20 @@ XLS_LIBS = $$QTI_ROOT/3rdparty/libxls/lib/libxlsreader.a
- ###########################################################
-
- # include path.
--QUAZIP_INCLUDEPATH = $$QTI_ROOT/3rdparty/quazip/quazip/
-+QUAZIP_INCLUDEPATH = /usr/include/quazip/
- # link locally against a copy in 3rdparty/
--QUAZIP_LIBS = $$QTI_ROOT/3rdparty/quazip/lib/libquazip.a
-+#QUAZIP_LIBS = -lquazip
-
- ##########################################################
- ## libpng - optional. you don't have to set these variables
- ##########################################################
-
- # include path. leave it blank to use SYS_INCLUDE
--LIBPNG_INCLUDEPATH = $$QTI_ROOT/3rdparty/libpng/
-+LIBPNG_INCLUDEPATH = /usr/include/libpng12
- # link statically against a copy in 3rdparty/
--LIBPNG_LIBS = $$QTI_ROOT/3rdparty/libpng/libpng.a
-+#LIBPNG_LIBS = $$QTI_ROOT/3rdparty/libpng/libpng.a
- # or dynamically against a system-wide installation
--#LIBPNG_LIBS = -lpng
-+LIBPNG_LIBS = $$system(pkg-config --libs libpng)
-
- ##########################################################
- ## EmfEngine - optional. you don't have to set these variables
-@@ -95,9 +96,17 @@ LIBPNG_LIBS = $$QTI_ROOT/3rdparty/libpng/libpng.a
- ##########################################################
-
- # include path.
--EMF_ENGINE_INCLUDEPATH = $$QTI_ROOT/3rdparty/EmfEngine/src
-+EMF_ENGINE_INCLUDEPATH = /usr/include/
- # link locally against a copy in 3rdparty/
--EMF_ENGINE_LIBS = $$QTI_ROOT/3rdparty/EmfEngine/libEmfEngine.a
-+#EMF_ENGINE_LIBS = -lEmfEngine
-+
-+############################################################
-+## liborigin
-+############################################################
-+
-+LIB_ORIGIN_INCLUDEPATH = /usr/include/liborigin2
-+
-+LIB_ORIGIN_LIBS = -lorigin2
-
- ##########################################################
- ## python - only used if python is needed
-@@ -133,7 +142,7 @@ contains( TARGET, qtiplot ) {
- #DEFINES += QTIPLOT_SUPPORT
-
- # Uncomment the following line if you want to perform a custom installation using the *.path variables defined in ./qtiplot.pro.
-- #CONFIG += CustomInstall
-+ CONFIG += CustomInstall
-
- # Uncomment the following line if you want to build QtiPlot as a browser plugin (not working on Internet Explorer).
- #CONFIG += BrowserPlugin
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-docbuild.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-docbuild.patch
deleted file mode 100644
index 78690327b2e6..000000000000
--- a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-docbuild.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff --git a/manual/docbook-en/index.docbook b/manual/docbook-en/index.docbook
-index 4dd6c09..452dc86 100755
---- a/manual/docbook-en/index.docbook
-+++ b/manual/docbook-en/index.docbook
-@@ -1,5 +1,5 @@
- <?xml version="1.0" encoding="UTF-8"?>
--<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "/usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd" [
-+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "/usr/share/sgml/docbook/dtd/4.4/docbookx.dtd" [
-
- <!ENTITY appname "QtiPlot">
- <!ENTITY kappname "&appname;">
-diff --git a/manual/qtiplot.dsl b/manual/qtiplot.dsl
-index 16a160f..a596c2e 100755
---- a/manual/qtiplot.dsl
-+++ b/manual/qtiplot.dsl
-@@ -6,7 +6,7 @@
- <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
-
- <!-- Path to main Docbook->html stylesheet. You have to adapt this to your installation. -->
--<!ENTITY docbook-html-stylesheet SYSTEM "/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl" CDATA DSSSL>
-+<!ENTITY docbook-html-stylesheet SYSTEM "/usr/share/sgml/stylesheet/dsssl/modular/html/docbook.dsl" CDATA DSSSL>
-
- <!-- Stylesheet function library for creating Windows HTML help and Qt Assistant profiles. -->
- <!ENTITY docbook-help-stylesheet SYSTEM "./help.dsl" CDATA DSSSL>
-diff --git a/manual/qtiplot_html.xsl b/manual/qtiplot_html.xsl
-index 593bf6f..3f4d31c 100755
---- a/manual/qtiplot_html.xsl
-+++ b/manual/qtiplot_html.xsl
-@@ -1,5 +1,5 @@
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
--<xsl:import href="file:////usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl"/>
-+<xsl:import href="file:////usr/share/sgml/docbook/xsl-stylesheet/nwalsh/html/chunk.xsl"/>
-
- <!-- html.stylesheet
- The html.stylesheet parameter is either empty, indicating that no
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-dont-install-qwt.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-dont-install-qwt.patch
deleted file mode 100644
index 1a5dc71244f1..000000000000
--- a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-dont-install-qwt.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/3rdparty/qwt/qwtconfig.pri b/3rdparty/qwt/qwtconfig.pri
-index ab13f68..95b8d69 100755
---- a/3rdparty/qwt/qwtconfig.pri
-+++ b/3rdparty/qwt/qwtconfig.pri
-@@ -7,18 +7,6 @@ VER_MIN = 2
- VER_PAT = 0
- VERSION = $${VER_MAJ}.$${VER_MIN}.$${VER_PAT}
-
--unix {
-- INSTALLBASE = /usr/local/qwt-5.2.0
--}
--
--win32 {
-- INSTALLBASE = C:/Qwt-5.2.0
--}
--
--target.path = $$INSTALLBASE/lib
--headers.path = $$INSTALLBASE/include
--doc.path = $$INSTALLBASE/doc
--
- ######################################################################
- # qmake internal options
- ######################################################################
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-gl2ps.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-gl2ps.patch
deleted file mode 100644
index e773aa43c7a6..000000000000
--- a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-gl2ps.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp b/3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp
-index 3fbcf9f..8ce3c8c 100755
---- a/3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp
-+++ b/3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp
-@@ -6,7 +6,7 @@
- #include <locale.h>
-
- #include "qwt3d_openglhelper.h"
--#include "../3rdparty/gl2ps/gl2ps.h"
-+#include <gl2ps.h>
- #include "qwt3d_io_gl2ps.h"
- #include "qwt3d_plot.h"
-
-diff --git a/3rdparty/qwtplot3d/src/qwt3d_label.cpp b/3rdparty/qwtplot3d/src/qwt3d_label.cpp
-index 46380a9..8b6aaf0 100755
---- a/3rdparty/qwtplot3d/src/qwt3d_label.cpp
-+++ b/3rdparty/qwtplot3d/src/qwt3d_label.cpp
-@@ -1,7 +1,7 @@
- #include <qbitmap.h>
- #include "qwt3d_label.h"
- #include "qwt3d_plot.h"
--#include "../3rdparty/gl2ps/gl2ps.h"
-+#include <gl2ps.h>
-
- using namespace Qwt3D;
-
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-qtiplot.pro.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-qtiplot.pro.patch
deleted file mode 100644
index e520fe74c69a..000000000000
--- a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-qtiplot.pro.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff --git a/qtiplot/qtiplot.pro b/qtiplot/qtiplot.pro
-index 9af5187..add4fdb 100755
---- a/qtiplot/qtiplot.pro
-+++ b/qtiplot/qtiplot.pro
-@@ -10,21 +10,23 @@ QTI_ROOT = ..
-
- # local copy included
- INCLUDEPATH += ../3rdparty/qwtplot3d/include
--INCLUDEPATH += ../3rdparty/liborigin
--INCLUDEPATH += ../3rdparty/zlib
--INCLUDEPATH += ../3rdparty/QTeXEngine/src
-+INCLUDEPATH += /usr/include
-
- # configurable
- INCLUDEPATH += $$MUPARSER_INCLUDEPATH
- INCLUDEPATH += $$QWT_INCLUDEPATH
- INCLUDEPATH += $$GSL_INCLUDEPATH
- INCLUDEPATH += $$BOOST_INCLUDEPATH
-+INCLUDEPATH += $$LIB_ORIGIN_INCLUDEPATH
-
- # configurable libs
- LIBS += $$MUPARSER_LIBS
- LIBS += $$QWT_LIBS
- LIBS += $$GSL_LIBS
- LIBS += $$BOOST_LIBS
-+LIBS += $$LIB_ORIGIN_LIBS
-+LIBS += -lQTeXEngine
-+LIBS += -lgl2ps
-
- #############################################################################
- ###################### BASIC PROJECT PROPERTIES #############################
-@@ -148,10 +150,8 @@ include(src/scripting/scripting.pri)
- ##################### TeX export: QTeXEngine ##################
- ###############################################################
-
--INCLUDEPATH += ../3rdparty/QTeXEngine/src
--HEADERS += ../3rdparty/QTeXEngine/src/QTeXEngine.h
--SOURCES += ../3rdparty/QTeXEngine/src/QTeXPaintEngine.cpp
--SOURCES += ../3rdparty/QTeXEngine/src/QTeXPaintDevice.cpp
-+INCLUDEPATH += /usr/include
-+HEADERS += /usr/include/QTeXEngine.h
-
- ###############################################################
- ##################### Scripting: PYTHON + SIP + PyQT ##########
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-sip48.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-sip48.patch
deleted file mode 100644
index 378a37291038..000000000000
--- a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-sip48.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/qtiplot/src/scripting/scripting.pri b/qtiplot/src/scripting/scripting.pri
-index 9b7d9a8..30e2d1f 100755
---- a/qtiplot/src/scripting/scripting.pri
-+++ b/qtiplot/src/scripting/scripting.pri
-@@ -105,7 +105,9 @@ contains(SCRIPTING_LANGS, Python) {
- $${SIP_DIR}/sipqtiConvolution.cpp \
- $${SIP_DIR}/sipqtiDeconvolution.cpp \
-
--exists(../../$${SIP_DIR}/sipqtiQList.cpp) {
-+SIPVERSION = $$system( sip -V | cut -b 1-3 )
-+
-+equals( SIPVERSION, 4.8 ) {
- # SIP < 4.9
- SOURCES += $${SIP_DIR}/sipqtiQList.cpp
- } else {
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-syslibs.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-syslibs.patch
deleted file mode 100644
index 066d27dc5b9c..000000000000
--- a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-syslibs.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff --git a/3rdparty/qwtplot3d/qwtplot3d.pri b/3rdparty/qwtplot3d/qwtplot3d.pri
-index 60a1f9c..65b420e 100755
---- a/3rdparty/qwtplot3d/qwtplot3d.pri
-+++ b/3rdparty/qwtplot3d/qwtplot3d.pri
-@@ -57,11 +57,11 @@ HEADERS += ../3rdparty/qwtplot3d/include/qwt3d_color.h \
- ../3rdparty/qwtplot3d/include/qwt3d_multiplot.h
-
- # gl2ps support
--HEADERS += ../3rdparty/qwtplot3d/3rdparty/gl2ps/gl2ps.h \
-- ../3rdparty/qwtplot3d/include/qwt3d_io_gl2ps.h
-+HEADERS += ../3rdparty/qwtplot3d/include/qwt3d_io_gl2ps.h
-
--SOURCES += ../3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp \
-- ../3rdparty/qwtplot3d/3rdparty/gl2ps/gl2ps.c
-+SOURCES += ../3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp
-+
-+LIBS += -lgl2ps
-
- # zlib support for gl2ps
- zlib {
-diff --git a/3rdparty/qwtplot3d/qwtplot3d.pro b/3rdparty/qwtplot3d/qwtplot3d.pro
-index 7153400..6068858 100755
---- a/3rdparty/qwtplot3d/qwtplot3d.pro
-+++ b/3rdparty/qwtplot3d/qwtplot3d.pro
-@@ -82,11 +82,11 @@ HEADERS += include/qwt3d_surfaceplot.h \
- include/qwt3d_multiplot.h
-
- # gl2ps support
--HEADERS+=3rdparty/gl2ps/gl2ps.h \
-- include/qwt3d_io_gl2ps.h
-+HEADERS += include/qwt3d_io_gl2ps.h
-
--SOURCES+=src/qwt3d_io_gl2ps.cpp \
-- 3rdparty/gl2ps/gl2ps.c
-+SOURCES += src/qwt3d_io_gl2ps.cpp
-+
-+LIBS += -lgl2ps
-
- # zlib support for gl2ps
- zlib {
-diff --git a/qtiplot/src/origin/origin.pri b/qtiplot/src/origin/origin.pri
-index d1a43aa..486ba86 100755
---- a/qtiplot/src/origin/origin.pri
-+++ b/qtiplot/src/origin/origin.pri
-@@ -4,14 +4,5 @@
- INCLUDEPATH += src/origin/
-
- HEADERS += src/origin/importOPJ.h
--HEADERS += ../3rdparty/liborigin/OriginObj.h
--HEADERS += ../3rdparty/liborigin/OriginFile.h
--HEADERS += ../3rdparty/liborigin/OriginParser.h
--HEADERS += ../3rdparty/liborigin/OriginDefaultParser.h
--HEADERS += ../3rdparty/liborigin/Origin750Parser.h
-
- SOURCES += src/origin/importOPJ.cpp
--SOURCES += ../3rdparty/liborigin/OriginFile.cpp
--SOURCES += ../3rdparty/liborigin/OriginParser.cpp
--SOURCES += ../3rdparty/liborigin/OriginDefaultParser.cpp
--SOURCES += ../3rdparty/liborigin/Origin750Parser.cpp
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-system-QTeXEngine.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-system-QTeXEngine.patch
new file mode 100644
index 000000000000..0e52186db425
--- /dev/null
+++ b/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-system-QTeXEngine.patch
@@ -0,0 +1,27 @@
+=== modified file 'qtiplot/qtiplot.pro'
+--- qtiplot/qtiplot.pro 2010-01-06 10:51:53 +0000
++++ qtiplot/qtiplot.pro 2010-01-06 18:37:25 +0000
+@@ -12,7 +12,6 @@
+ INCLUDEPATH += ../3rdparty/qwtplot3d/include
+ INCLUDEPATH += ../3rdparty/liborigin
+ INCLUDEPATH += ../3rdparty/zlib
+-INCLUDEPATH += ../3rdparty/QTeXEngine/src
+
+ # configurable
+ INCLUDEPATH += $$MUPARSER_INCLUDEPATH
+@@ -144,14 +143,6 @@
+ include(src/table/table.pri)
+ include(src/scripting/scripting.pri)
+
+-###############################################################
+-##################### TeX export: QTeXEngine ##################
+-###############################################################
+-
+-INCLUDEPATH += ../3rdparty/QTeXEngine/src
+-HEADERS += ../3rdparty/QTeXEngine/src/QTeXEngine.h
+-SOURCES += ../3rdparty/QTeXEngine/src/QTeXPaintEngine.cpp
+-SOURCES += ../3rdparty/QTeXEngine/src/QTeXPaintDevice.cpp
+
+ ###############################################################
+ ##################### Scripting: PYTHON + SIP + PyQT ##########
+
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-system-gl2ps.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-system-gl2ps.patch
new file mode 100644
index 000000000000..a4f1a95e1551
--- /dev/null
+++ b/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-system-gl2ps.patch
@@ -0,0 +1,63 @@
+--- 3rdparty/qwtplot3d/qwtplot3d.pri 2010-01-06 10:51:53 +0000
++++ 3rdparty/qwtplot3d/qwtplot3d.pri 2010-01-06 18:18:19 +0000
+@@ -57,11 +57,11 @@
+ ../3rdparty/qwtplot3d/include/qwt3d_multiplot.h
+
+ # gl2ps support
+-HEADERS += ../3rdparty/qwtplot3d/3rdparty/gl2ps/gl2ps.h \
+- ../3rdparty/qwtplot3d/include/qwt3d_io_gl2ps.h
+-
+-SOURCES += ../3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp \
+- ../3rdparty/qwtplot3d/3rdparty/gl2ps/gl2ps.c
++HEADERS += ../3rdparty/qwtplot3d/include/qwt3d_io_gl2ps.h
++
++SOURCES += ../3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp
++
++LIBS+=-lgl2ps
+
+ # zlib support for gl2ps
+ zlib {
+
+--- 3rdparty/qwtplot3d/qwtplot3d.pro 2010-01-06 10:51:53 +0000
++++ 3rdparty/qwtplot3d/qwtplot3d.pro 2010-01-06 18:18:19 +0000
+@@ -82,11 +82,11 @@
+ include/qwt3d_multiplot.h
+
+ # gl2ps support
+-HEADERS+=3rdparty/gl2ps/gl2ps.h \
+- include/qwt3d_io_gl2ps.h
++HEADERS+=include/qwt3d_io_gl2ps.h
+
+-SOURCES+=src/qwt3d_io_gl2ps.cpp \
+- 3rdparty/gl2ps/gl2ps.c
++SOURCES+=src/qwt3d_io_gl2ps.cpp
++
++LIBS+=-lgl2ps
+
+ # zlib support for gl2ps
+ zlib {
+
+--- 3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp 2010-01-06 10:51:53 +0000
++++ 3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp 2010-01-06 18:32:28 +0000
+@@ -6,7 +6,7 @@
+ #include <locale.h>
+
+ #include "qwt3d_openglhelper.h"
+-#include "../3rdparty/gl2ps/gl2ps.h"
++#include <gl2ps.h>
+ #include "qwt3d_io_gl2ps.h"
+ #include "qwt3d_plot.h"
+
+
+--- 3rdparty/qwtplot3d/src/qwt3d_label.cpp 2010-01-06 10:51:53 +0000
++++ 3rdparty/qwtplot3d/src/qwt3d_label.cpp 2010-01-06 18:33:52 +0000
+@@ -1,7 +1,7 @@
+ #include <qbitmap.h>
+ #include "qwt3d_label.h"
+ #include "qwt3d_plot.h"
+-#include "../3rdparty/gl2ps/gl2ps.h"
++#include <gl2ps.h>
+
+ using namespace Qwt3D;
+
+
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-system-liborigin.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-system-liborigin.patch
new file mode 100644
index 000000000000..0b0bffc20e22
--- /dev/null
+++ b/sci-visualization/qtiplot/files/qtiplot-0.9.7.11-system-liborigin.patch
@@ -0,0 +1,44 @@
+--- qtiplot/qtiplot.pro 2010-01-06 18:38:38 +0000
++++ qtiplot/qtiplot.pro 2010-01-06 18:40:20 +0000
+@@ -10,7 +10,6 @@
+
+ # local copy included
+ INCLUDEPATH += ../3rdparty/qwtplot3d/include
+-INCLUDEPATH += ../3rdparty/liborigin
+ INCLUDEPATH += ../3rdparty/zlib
+
+ # configurable
+@@ -18,12 +17,14 @@
+ INCLUDEPATH += $$QWT_INCLUDEPATH
+ INCLUDEPATH += $$GSL_INCLUDEPATH
+ INCLUDEPATH += $$BOOST_INCLUDEPATH
++INCLUDEPATH += $$LIB_ORIGIN_INCLUDEPATH
+
+ # configurable libs
+ LIBS += $$MUPARSER_LIBS
+ LIBS += $$QWT_LIBS
+ LIBS += $$GSL_LIBS
+ LIBS += $$BOOST_LIBS
++LIBS += $$LIB_ORIGIN_LIBS
+
+ #############################################################################
+ ###################### BASIC PROJECT PROPERTIES #############################
+
+--- qtiplot/src/origin/origin.pri 2010-01-06 10:51:53 +0000
++++ qtiplot/src/origin/origin.pri 2010-01-06 18:18:58 +0000
+@@ -4,14 +4,5 @@
+ INCLUDEPATH += src/origin/
+
+ HEADERS += src/origin/importOPJ.h
+-HEADERS += ../3rdparty/liborigin/OriginObj.h
+-HEADERS += ../3rdparty/liborigin/OriginFile.h
+-HEADERS += ../3rdparty/liborigin/OriginParser.h
+-HEADERS += ../3rdparty/liborigin/OriginDefaultParser.h
+-HEADERS += ../3rdparty/liborigin/Origin750Parser.h
+
+ SOURCES += src/origin/importOPJ.cpp
+-SOURCES += ../3rdparty/liborigin/OriginFile.cpp
+-SOURCES += ../3rdparty/liborigin/OriginParser.cpp
+-SOURCES += ../3rdparty/liborigin/OriginDefaultParser.cpp
+-SOURCES += ../3rdparty/liborigin/Origin750Parser.cpp
+
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.7.11-r1.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.7.11-r1.ebuild
new file mode 100644
index 000000000000..699887c1dcc4
--- /dev/null
+++ b/sci-visualization/qtiplot/qtiplot-0.9.7.11-r1.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.11-r1.ebuild,v 1.1 2010/01/10 07:46:14 pva Exp $
+
+EAPI=2
+inherit eutils qt4 fdo-mime python
+
+DESCRIPTION="Qt based clone of the Origin plotting package"
+HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
+SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc python ods xls"
+
+LANGS="cn cz de es fr ro ru ja sv"
+for l in ${LANGS}; do
+ lu=${l/cz/cs}
+ lu=${lu/cn/zh_CN}
+ IUSE="${IUSE} linguas_${lu}"
+done
+
+# qwtplot3d much modified from original upstream
+# >=x11-libs/qwt-5.3 they are using trunk checkouts
+CDEPEND="
+ x11-libs/qt-opengl:4
+ x11-libs/qt-qt3support:4
+ x11-libs/qt-assistant:4
+ x11-libs/qt-svg:4
+ >=x11-libs/gl2ps-1.3.5
+ >=dev-cpp/muParser-1.30
+ >=dev-libs/boost-1.35.0
+ >=sci-libs/liborigin-20090406:2
+ sci-libs/gsl
+ dev-libs/boost
+ dev-tex/qtexengine
+ xls? ( dev-libs/libxls )
+ ods? ( dev-libs/quazip )"
+# Still unable to build
+# emf? ( media-libs/libemf
+# media-libs/emfengine )
+
+# TODO: check GL2PS_HAVE_ZLIB
+# CONFIG += BrowserPlugin
+
+DEPEND="${CDEPEND}
+ dev-util/pkgconfig
+ python? ( >=dev-python/sip-4.9 )
+ doc? ( app-text/docbook-sgml-utils
+ >=app-text/docbook-xml-dtd-4.4-r2:4.4 )"
+
+RDEPEND="${CDEPEND}
+ python? ( >=dev-lang/python-2.5
+ dev-python/PyQt4[X]
+ dev-python/pygsl
+ dev-python/rpy
+ sci-libs/scipy )"
+
+PATCHES=(
+ "${FILESDIR}/${P}-system-QTeXEngine.patch"
+ "${FILESDIR}/${P}-system-liborigin.patch"
+ "${FILESDIR}/${P}-system-gl2ps.patch"
+ "${FILESDIR}/${PN}-0.9.7.10-dont-install-qwt.patch"
+ )
+
+src_prepare() {
+ qt4_src_prepare
+
+ rm -rf 3rdparty/{liborigin,QTeXEngine,/qwtplot3d/3rdparty/gl2ps/}
+
+ # Check build.conf for changes on bump.
+ cat >build.conf <<-EOF
+ # Automatically generated by Gentoo ebuild
+ isEmpty( QTI_ROOT ) {
+ message( "each file including this config needs to set QTI_ROOT to the dir containing this file!" )
+ }
+
+ MUPARSER_LIBS = \$\$system(pkg-config --libs muparser)
+ GSL_LIBS = \$\$system(pkg-config --libs gsl)
+ BOOST_INCLUDEPATH = /usr/include/boost
+ BOOST_LIBS = -lboost_date_time-mt -lboost_thread-mt
+ QWT_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwt/src
+ QWT_LIBS = \$\$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
+ LIB_ORIGIN_INCLUDEPATH = /usr/include/liborigin2
+ LIB_ORIGIN_LIBS = -lorigin2
+ SYS_LIBS = -lQTeXEngine -lgl2ps
+
+ PYTHON = python
+ LUPDATE = lupdate
+ LRELEASE = lrelease
+
+ SCRIPTING_LANGS += muParser
+
+ CONFIG += release
+ CONFIG += CustomInstall
+
+ EOF
+
+ use python && echo "SCRIPTING_LANGS += Python" >> build.conf
+ use xls && echo "XLS_LIBS = -lxlsreader" >> build.conf
+ if use ods; then
+ echo "QUAZIP_INCLUDEPATH = /usr/include/quazip" >> build.conf
+ echo "QUAZIP_LIBS = -lquazip" >> build.conf
+ fi
+
+ # Fails to build...
+ #if use emf; then
+ # echo "EMF_ENGINE_INCLUDEPATH = /usr/include/libEMF" >> build.conf
+ # echo "EMF_ENGINE_LIBS = -lEMF" >> build.conf
+ #fi
+
+ python_version
+
+ sed -e "s:doc/${PN}/manual:doc/${PF}/html:" \
+ -e "s:local/${PN}:$(get_libdir)/python${PYVER}/site-packages:" \
+ -i qtiplot/qtiplot.pro || die
+
+ sed -e '/INSTALLS.*documentation/d' \
+ -e '/INSTALLS.*manual/d' \
+ -e 's:\(^RESOURCES.*manual/html/icons.*\):#\1:' \
+ -i qtiplot/qtiplot.pro || die
+ sed -e '/manual/d' -i qtiplot.pro || die
+
+ # Drop langs only if LINGUAS is not empty
+ if [[ -n ${LINGUAS} ]]; then
+ for l in ${LANGS}; do
+ lu=${l/cz/cs}
+ lu=${lu/cn/zh_CN}
+ use linguas_${lu} || \
+ sed -e "s:translations/qtiplot_${l}.[tq][sm]::" \
+ -i qtiplot/qtiplot.pro || die
+ done
+ fi
+ chmod -x qtiplot/qti_wordlist.txt
+
+ # sed out debian paths
+ sed -e 's:\(/usr/share/sgml/\)docbook/stylesheet/dsssl/modular\(/html/docbook.dsl\):\1stylesheets/dsssl/docbook\2:' \
+ -i manual/qtiplot.dsl || die
+ sed -e 's:\(/usr/share/\)xml/docbook/stylesheet/nwalsh\(/html/chunk.xsl\):\1sgml/docbook/xsl-stylesheets\2:' \
+ -i manual/qtiplot_html.xsl || die
+}
+
+src_configure() {
+ eqmake4
+}
+
+src_compile() {
+ emake || die "emake failed"
+ lrelease qtiplot/qtiplot.pro || die
+ if use doc; then
+ cd manual
+ emake web || die "html docbook building failed"
+ fi
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install || die 'emake install failed'
+ newicon qtiplot_logo.png qtiplot.png
+ make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot
+ if use doc; then
+ insinto /usr/share/doc/${PF}/html
+ doins -r manual/html/* || die "install manual failed"
+ fi
+
+ if [[ -n ${LINGUAS} ]]; then
+ insinto /usr/share/${PN}/translations
+ for l in ${LANGS}; do
+ lu=${l/cz/cs}
+ lu=${lu/cn/zh_CN}
+ use linguas_${lu} && \
+ doins qtiplot/translations/qtiplot_${l}.qm
+ done
+ fi
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.7.11.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.7.11.ebuild
deleted file mode 100644
index 6e44c1c9636b..000000000000
--- a/sci-visualization/qtiplot/qtiplot-0.9.7.11.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.7.11.ebuild,v 1.1 2010/01/09 08:45:38 ssuominen Exp $
-
-EAPI=2
-inherit eutils qt4 fdo-mime python
-
-DESCRIPTION="Qt based clone of the Origin plotting package"
-HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
-SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bindist doc ods xls"
-
-LANGS="de es fr ja ru sv"
-for l in ${LANGS}; do
- IUSE="${IUSE} linguas_${l}"
-done
-
-# x11-libs/qwtplot3d is modified from upstream version
-# >=x11-libs/qwt-5.3 (or trunk) isn't released yet
-CDEPEND="
- x11-libs/qt-opengl:4
- x11-libs/qt-qt3support:4
- x11-libs/qt-assistant:4
- x11-libs/qt-svg:4
- >=x11-libs/gl2ps-1.3.5
- >=dev-cpp/muParser-1.30
- >=dev-libs/boost-1.35.0
- >=sci-libs/liborigin-20090406:2
- !bindist? ( sci-libs/gsl )
- bindist? ( <sci-libs/gsl-1.10 )
- dev-libs/boost
- dev-tex/qtexengine
- ods? ( dev-libs/quazip )
- xls? ( dev-libs/libxls )"
-# emf? ( media-libs/emfengine )
-# foo? ( ?/qtpluginbrowser )" #300222
-
-DEPEND="${CDEPEND}
- dev-util/pkgconfig
- dev-python/sip
- doc? ( app-text/docbook-sgml-utils
- app-text/docbook-xml-dtd:4.2 )"
-
-RDEPEND="${CDEPEND}
- >=dev-lang/python-2.5
- dev-python/PyQt4[X]
- dev-python/pygsl
- sci-libs/scipy"
-
-PATCHES=(
- "${FILESDIR}/${P}-syslibs.patch"
- "${FILESDIR}/${P}-docbuild.patch"
- "${FILESDIR}/${P}-build.conf.patch"
- "${FILESDIR}/${P}-gl2ps.patch"
- "${FILESDIR}/${P}-dont-install-qwt.patch"
- "${FILESDIR}/${P}-qtiplot.pro.patch"
- "${FILESDIR}/${P}-sip48.patch"
- )
-
-src_prepare() {
- edos2unix \
- 3rdparty/qwtplot3d/qwtplot3d.pri \
- 3rdparty/qwtplot3d/qwtplot3d.pro \
- qtiplot/src/origin/origin.pri \
- qtiplot/src/scripting/scripting.pri \
- 3rdparty/qwt/qwtconfig.pri
-
- qt4_src_prepare
-
- rm -rf 3rdparty/{liborigin,QTeXEngine} 3rdparty/qwtplot3d/3rdparty/gl2ps/
-
- python_version
-
- sed -i \
- -e "s:doc/${PN}/manual:doc/${PF}/html:" \
- -e "s:local/${PN}:$(get_libdir)/python${PYVER}/site-packages:" \
- qtiplot/qtiplot.pro || die
-
- sed -i \
- -e '/INSTALLS.*.*documentation/d' \
- -e '/manual/d' \
- qtiplot.pro qtiplot/qtiplot.pro || die
-
- # the lib$$suff did not work in the fitRational*.pro files
- sed -i \
- -e "s|/usr/lib\$\${libsuff}|/usr/$(get_libdir)|g" \
- fitPlugins/*/*.pro || die
-
- for l in ${LANGS}; do
- if ! use linguas_${l}; then
- sed -i \
- -e "s:translations/qtiplot_${l}.ts::" \
- -e "s:translations/qtiplot_${l}.qm::" \
- qtiplot/qtiplot.pro || die
- fi
- done
- chmod -x qtiplot/qti_wordlist.txt
-
-# use emf && sed -i "/EMF_ENGINE_LIBS/s:^#::g" build.conf.example
- use ods && sed -i "/QUAZIP_LIBS/s:^#::g" build.conf.example
- use xls && sed -i "/XLS_LIBS/s:^#::g" build.conf.example
-# use && sed -i "/BrowserPlugin/s:#CONFIG:CONFIG:g" build.conf.example
-
- sed \
- -e "s:GENTOOLIB:$(get_libdir):g" \
- build.conf.example > build.conf
-}
-
-src_configure() {
- eqmake4
-}
-
-src_compile() {
- emake || die "emake failed"
- if use doc; then
-# doxygen Doxyfile || die
- cd manual
- emake || die "html docbook building failed"
- fi
-}
-
-src_install() {
- emake INSTALL_ROOT="${D}" install || die
- newicon qtiplot_logo.png qtiplot.png
- make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot
- if use doc; then
- insinto /usr/share/doc/${PF}/html
- doins -r manual/html/* || die
- fi
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- if use doc; then
- elog "On the first start, do Help -> Choose Help Folder"
- elog "and select /usr/share/doc/${PF}/html"
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}