summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-05-06 14:17:18 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-05-06 14:17:18 +0000
commitef738cba77851902a6600577463767d9df22d6dc (patch)
tree7334a577c91730f324ea5deec4b5184adc738cdb /sci-visualization
parentUse berlios mirrors:// (diff)
downloadhistorical-ef738cba77851902a6600577463767d9df22d6dc.tar.gz
historical-ef738cba77851902a6600577463767d9df22d6dc.tar.bz2
historical-ef738cba77851902a6600577463767d9df22d6dc.zip
New revision compiles with gcc-4.3 and libsigc++-2.2 (see bug #220493).
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/quickplot/ChangeLog12
-rw-r--r--sci-visualization/quickplot/Manifest9
-rw-r--r--sci-visualization/quickplot/files/quickplot-0.8.13-gcc43.patch48
-rw-r--r--sci-visualization/quickplot/files/quickplot-0.8.13-libsigc++-2.2.patch320
-rw-r--r--sci-visualization/quickplot/quickplot-0.8.13-r1.ebuild55
-rw-r--r--sci-visualization/quickplot/quickplot-0.8.13.ebuild16
-rw-r--r--sci-visualization/quickplot/quickplot-0.8.5.ebuild16
7 files changed, 456 insertions, 20 deletions
diff --git a/sci-visualization/quickplot/ChangeLog b/sci-visualization/quickplot/ChangeLog
index bd7d7c78bc95..d099f2fb634d 100644
--- a/sci-visualization/quickplot/ChangeLog
+++ b/sci-visualization/quickplot/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for sci-visualization/quickplot
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/quickplot/ChangeLog,v 1.5 2008/02/29 20:41:36 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/quickplot/ChangeLog,v 1.6 2008/05/06 14:17:17 markusle Exp $
+
+*quickplot-0.8.13-r1 (06 May 2008)
+
+ 06 May 2008; Markus Dittrich <markusle@gentoo.org>
+ +files/quickplot-0.8.13-gcc43.patch,
+ +files/quickplot-0.8.13-libsigc++-2.2.patch, quickplot-0.8.5.ebuild,
+ quickplot-0.8.13.ebuild, +quickplot-0.8.13-r1.ebuild:
+ New revision compiles with gcc-4.3 and libsigc++-2.2 (see bug #220493).
+ Thanks much to Peter Alfredsen <peter.alfredsen@gmail.com> for his
+ patches.
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> quickplot-0.8.5.ebuild,
quickplot-0.8.13.ebuild:
diff --git a/sci-visualization/quickplot/Manifest b/sci-visualization/quickplot/Manifest
index 50fe4fe2509a..275931342a85 100644
--- a/sci-visualization/quickplot/Manifest
+++ b/sci-visualization/quickplot/Manifest
@@ -1,6 +1,9 @@
+AUX quickplot-0.8.13-gcc43.patch 1527 RMD160 ebaf9b0d3780f93d96fa41f23b7eff8ccc860b20 SHA1 2ae0ea796fb87c91b12d9b712f5bb6e493c71e07 SHA256 a548da4d7c03604ad956ed514d3013488239e697e8ae616f0f09a54ed825e0ba
+AUX quickplot-0.8.13-libsigc++-2.2.patch 10744 RMD160 e43d2a1db835fe297bf22040b6eca4338a58f12c SHA1 ae65dfc6811227687111c6e542c497be54d3e369 SHA256 025cd120ced54d3afb5b638d5765c1719c6d1f28547c420ac2483df33c7a6ec6
DIST quickplot-0.8.13.tar.bz2 410677 RMD160 34f43f267e7302641e6ef701dc20f65935489023 SHA1 937652a4b3e89026349849ab78298bdd1f5121fc SHA256 52a2a635ae9faebfa114dbd1128a1cfc8e17a1749411c7ff8e39e50064147368
DIST quickplot-0.8.5.tar.bz2 394128 RMD160 2d0b6829e57a2363532a439a8862c0f2bde54c01 SHA1 f6c11ce0268472c268e3131a2d1dfb9652b72068 SHA256 7015023a003ba370d79766eca2be68f4c5e412ea5ee7f28b18e48992e526d7cc
-EBUILD quickplot-0.8.13.ebuild 1663 RMD160 1f06ce9572f4400706f5c62444fcf64dd0caa122 SHA1 ccddc76f916d0d20260aaa7b42c3070ee6c530c0 SHA256 3122a90576c9fef536686f987628b272cc1cf9b18362e44d5a941febe36fad68
-EBUILD quickplot-0.8.5.ebuild 1661 RMD160 cfd6f79c545d0e06f72525281f0ae3d62dba5972 SHA1 2f70911489a6bd1bd77b1bbbcd3adcd6b1402354 SHA256 0e6ea890c61dce697db65524c41b7eb2ff4ac8ef2e56cc50720532b85702e346
-MISC ChangeLog 1911 RMD160 9dc7c6ab1af75780207af228c19e736089a5916a SHA1 c817c6b4077968779e17f4915812507f6e88bb1c SHA256 5fe2399b6bf37bf495fc1862861bf841fc13ba1784c8411a702eb08622a2d0c1
+EBUILD quickplot-0.8.13-r1.ebuild 1796 RMD160 ec7fff540f9f1877f2e1574b93b4093336df09f7 SHA1 099d6442bd10ddac8add622f9676572e4947a1eb SHA256 598fb4dfa364d77215f9a918b57a8c5826a4e84a6863f3c4ef4446dd6fbe524f
+EBUILD quickplot-0.8.13.ebuild 1680 RMD160 9f943dcde13294d64b329599eab82d452c66574d SHA1 1baa5d22531b4b4255ab3bb80ae97ae8c614d3c3 SHA256 9996bd7258cccce87fdc77b21e9daaa73a0f7cfd598fa92ba4a2f10506c57b70
+EBUILD quickplot-0.8.5.ebuild 1678 RMD160 a5a93df6e55fa77434d4d6ad91b4d70bd0172584 SHA1 ff33bb4b7aca5e495540f1ef6e343ce4f6279e39 SHA256 f58cf1d107bc1d088ed71a4241332d7bfea260d6861f49858c55ca3d265307ea
+MISC ChangeLog 2324 RMD160 5601645b12dc7db78d46d9a2ac9d529f4a9fcc88 SHA1 01d003b80123c9ec074b6b11efd223f258841a83 SHA256 3f4277de5218d344c1a566134a9d52e6d9ddb90065a29f208c16379a746f2845
MISC metadata.xml 689 RMD160 7dea2ad73d73766b45ef9362abedb6926cac4f42 SHA1 91be130a68ba5d6687df00269e573ec3a5e657d5 SHA256 453a994b73ff78df8302288fdd971892a07a835eaa8b7116400c260c3e1cf343
diff --git a/sci-visualization/quickplot/files/quickplot-0.8.13-gcc43.patch b/sci-visualization/quickplot/files/quickplot-0.8.13-gcc43.patch
new file mode 100644
index 000000000000..14bdc39dc7f0
--- /dev/null
+++ b/sci-visualization/quickplot/files/quickplot-0.8.13-gcc43.patch
@@ -0,0 +1,48 @@
+diff -Naur quickplot-0.8.13/App.h quickplot-0.8.13.new/App.h
+--- quickplot-0.8.13/App.h 2006-08-04 11:33:36.000000000 -0400
++++ quickplot-0.8.13.new/App.h 2008-05-06 09:59:36.000000000 -0400
+@@ -41,7 +41,7 @@
+
+ public:
+
+- App(int *argv, char ***argv);
++ App(int *argc, char ***argv);
+ virtual ~App(void);
+
+
+diff -Naur quickplot-0.8.13/Graph.cpp quickplot-0.8.13.new/Graph.cpp
+--- quickplot-0.8.13/Graph.cpp 2006-08-05 11:45:34.000000000 -0400
++++ quickplot-0.8.13.new/Graph.cpp 2008-05-06 09:59:36.000000000 -0400
+@@ -42,6 +42,8 @@
+ #define ZRO ((value_t) 0.0)
+ #define ABSVAL(x) (((x) > 0)? (x) : (-(x)))
+
++#include <cstring>
++
+
+
+ Graph::Graph(MainWindow *mainWindow_in):
+diff -Naur quickplot-0.8.13/MainWindow.cpp quickplot-0.8.13.new/MainWindow.cpp
+--- quickplot-0.8.13/MainWindow.cpp 2006-08-07 14:12:11.000000000 -0400
++++ quickplot-0.8.13.new/MainWindow.cpp 2008-05-06 09:59:36.000000000 -0400
+@@ -40,6 +40,8 @@
+
+ #include "quickplot_icon.xpm"
+
++#include <cstring>
++
+
+ // from file: help_html.cpp which was generated from help.html.in
+ extern const char *help_html;
+diff -Naur quickplot-0.8.13/Plot.cpp quickplot-0.8.13.new/Plot.cpp
+--- quickplot-0.8.13/Plot.cpp 2006-08-03 16:56:56.000000000 -0400
++++ quickplot-0.8.13.new/Plot.cpp 2008-05-06 09:59:36.000000000 -0400
+@@ -31,6 +31,8 @@
+ #include "Graph.h"
+ #include "Globel.h"
+
++#include <cstring>
++
+
+ // SPACE is the fraction of blank space on graphing area for the first
+ // auto zoom level. The blank space is split evenly between the top
diff --git a/sci-visualization/quickplot/files/quickplot-0.8.13-libsigc++-2.2.patch b/sci-visualization/quickplot/files/quickplot-0.8.13-libsigc++-2.2.patch
new file mode 100644
index 000000000000..8240505f06dd
--- /dev/null
+++ b/sci-visualization/quickplot/files/quickplot-0.8.13-libsigc++-2.2.patch
@@ -0,0 +1,320 @@
+diff -Naur quickplot-0.8.13/Graph.cpp quickplot-0.8.13.new/Graph.cpp
+--- quickplot-0.8.13/Graph.cpp 2006-08-05 11:45:34.000000000 -0400
++++ quickplot-0.8.13.new/Graph.cpp 2008-05-06 09:58:18.000000000 -0400
+@@ -1180,31 +1180,31 @@
+
+
+
+-SigC::Signal1<void, Graph *> Graph::signal_addedPlot(void)
++sigc::signal1<void, Graph *> Graph::signal_addedPlot(void)
+ {
+ return m_signal_addedPlot;
+ }
+
+-SigC::Signal2<void, Graph *, Plot *> Graph::signal_removedPlot(void)
++sigc::signal2<void, Graph *, Plot *> Graph::signal_removedPlot(void)
+ {
+ return m_signal_removedPlot;
+ }
+
+-SigC::Signal1<void, Graph *> Graph::m_signal_addedPlot;
++sigc::signal1<void, Graph *> Graph::m_signal_addedPlot;
+
+-SigC::Signal2<void, Graph *, Plot *> Graph::m_signal_removedPlot;
++sigc::signal2<void, Graph *, Plot *> Graph::m_signal_removedPlot;
+
+
+
+-SigC::Signal1<void, Graph *> Graph::signal_changedSameScale(void)
++sigc::signal1<void, Graph *> Graph::signal_changedSameScale(void)
+ {
+ return m_signal_changedSameScale;
+ }
+
+-SigC::Signal1<void, Graph *> Graph::m_signal_changedSameScale;
++sigc::signal1<void, Graph *> Graph::m_signal_changedSameScale;
+
+
+-SigC::Signal0<void> Graph::signal_backgroundColorChanged(void)
++sigc::signal0<void> Graph::signal_backgroundColorChanged(void)
+ {
+ return m_signal_backgroundColorChanged;
+ }
+diff -Naur quickplot-0.8.13/Graph.h quickplot-0.8.13.new/Graph.h
+--- quickplot-0.8.13/Graph.h 2006-08-03 16:56:56.000000000 -0400
++++ quickplot-0.8.13.new/Graph.h 2008-05-06 09:58:18.000000000 -0400
+@@ -68,10 +68,10 @@
+ inline bool isShowingGrid() { return (showAutoGrid && isSameScale); }
+ /************************************************************/
+
+- static SigC::Signal1<void, Graph *> signal_changedSameScale(void);
+- static SigC::Signal1<void, Graph *> signal_addedPlot(void);
+- static SigC::Signal2<void, Graph *, Plot *> signal_removedPlot(void);
+- SigC::Signal0<void> signal_backgroundColorChanged(void);
++ static sigc::signal1<void, Graph *> signal_changedSameScale(void);
++ static sigc::signal1<void, Graph *> signal_addedPlot(void);
++ static sigc::signal2<void, Graph *, Plot *> signal_removedPlot(void);
++ sigc::signal0<void> signal_backgroundColorChanged(void);
+
+
+ Gdk::Color gridColor, backgroundColor;
+@@ -105,12 +105,12 @@
+
+ void setStatusXYValues(gdouble x, gdouble y);
+
+- static SigC::Signal1<void, Graph *> m_signal_changedSameScale;
++ static sigc::signal1<void, Graph *> m_signal_changedSameScale;
+
+- static SigC::Signal1<void, Graph *> m_signal_addedPlot;
+- static SigC::Signal2<void, Graph *, Plot *> m_signal_removedPlot;
++ static sigc::signal1<void, Graph *> m_signal_addedPlot;
++ static sigc::signal2<void, Graph *, Plot *> m_signal_removedPlot;
+
+- SigC::Signal0<void> m_signal_backgroundColorChanged;
++ sigc::signal0<void> m_signal_backgroundColorChanged;
+
+
+ // used by createPlot(Field *x, Field *y)
+diff -Naur quickplot-0.8.13/MainWindow.cpp quickplot-0.8.13.new/MainWindow.cpp
+--- quickplot-0.8.13/MainWindow.cpp 2006-08-07 14:12:11.000000000 -0400
++++ quickplot-0.8.13.new/MainWindow.cpp 2008-05-06 09:58:18.000000000 -0400
+@@ -760,7 +760,7 @@
+ gtk_idle_add(copyGraphNotebooks, d);
+ }
+
+-SigC::Signal1<void, Graph *> GraphsNotebook::signal_tabLabelChanged(void)
++sigc::signal1<void, Graph *> GraphsNotebook::signal_tabLabelChanged(void)
+ {
+ return m_signal_tabLabelChanged;
+ }
+diff -Naur quickplot-0.8.13/MainWindow.h quickplot-0.8.13.new/MainWindow.h
+--- quickplot-0.8.13/MainWindow.h 2006-08-03 16:56:56.000000000 -0400
++++ quickplot-0.8.13.new/MainWindow.h 2008-05-06 09:58:18.000000000 -0400
+@@ -19,8 +19,8 @@
+ // method??? It's not listed.
+ void set_show_tabs(bool show_tabs = true);
+
+- SigC::Signal1<void, Graph *> signal_tabLabelChanged(void);
+- SigC::Signal1<void, Graph *> m_signal_tabLabelChanged;
++ sigc::signal1<void, Graph *> signal_tabLabelChanged(void);
++ sigc::signal1<void, Graph *> m_signal_tabLabelChanged;
+
+ private:
+ MainWindow *mainWindow;
+diff -Naur quickplot-0.8.13/Plot.cpp quickplot-0.8.13.new/Plot.cpp
+--- quickplot-0.8.13/Plot.cpp 2006-08-03 16:56:56.000000000 -0400
++++ quickplot-0.8.13.new/Plot.cpp 2008-05-06 09:58:18.000000000 -0400
+@@ -503,7 +503,7 @@
+
+ // Emitted when the lineColor, pointColor, lineWidth or pointSize
+ // changes.
+-SigC::Signal0<void> Plot::signal_changed(void)
++sigc::signal0<void> Plot::signal_changed(void)
+ {
+ return m_signal_changed;
+ }
+@@ -663,7 +663,7 @@
+ m_signal_valueDisplay.emit(xpick, ypick);
+ }
+
+-SigC::Signal2<void, value_t, value_t> Plot::signal_valueDisplay(void)
++sigc::signal2<void, value_t, value_t> Plot::signal_valueDisplay(void)
+ {
+ return m_signal_valueDisplay;
+ }
+diff -Naur quickplot-0.8.13/Plot.h quickplot-0.8.13.new/Plot.h
+--- quickplot-0.8.13/Plot.h 2006-08-03 16:56:56.000000000 -0400
++++ quickplot-0.8.13.new/Plot.h 2008-05-06 09:58:18.000000000 -0400
+@@ -101,14 +101,14 @@
+
+ // Emitted when the lineColor, pointColor, lineWidth, pointSize,
+ // showLines and showPoints.
+- SigC::Signal0<void> signal_changed(void);
++ sigc::signal0<void> signal_changed(void);
+
+
+ int emitDisplayValues(int X);
+ void emitInterpolatedDisplayValues(int X);
+ void emitDisplayValues(int X, int Y);
+
+- SigC::Signal2<void, value_t, value_t> signal_valueDisplay(void);
++ sigc::signal2<void, value_t, value_t> signal_valueDisplay(void);
+
+ value_t xpick, ypick;
+
+@@ -118,9 +118,9 @@
+
+ bool showPoints, showLines;
+
+- SigC::Signal0<void> m_signal_changed;
++ sigc::signal0<void> m_signal_changed;
+
+- SigC::Signal2<void, value_t, value_t> m_signal_valueDisplay;
++ sigc::signal2<void, value_t, value_t> m_signal_valueDisplay;
+
+ Gdk::Color lineColor, pointColor;
+
+diff -Naur quickplot-0.8.13/PlotConfig.h quickplot-0.8.13.new/PlotConfig.h
+--- quickplot-0.8.13/PlotConfig.h 2006-08-03 16:56:56.000000000 -0400
++++ quickplot-0.8.13.new/PlotConfig.h 2008-05-06 09:58:18.000000000 -0400
+@@ -52,7 +52,7 @@
+ ValueSlider pointSizeVS;
+ // RadioButton style1, style2 etc ...
+
+- SigC::Connection plotChanged_connection;
++ sigc::connection plotChanged_connection;
+
+ void setValues(void);
+
+diff -Naur quickplot-0.8.13/PlotLister.h quickplot-0.8.13.new/PlotLister.h
+--- quickplot-0.8.13/PlotLister.h 2006-08-03 16:56:56.000000000 -0400
++++ quickplot-0.8.13.new/PlotLister.h 2008-05-06 09:58:18.000000000 -0400
+@@ -24,7 +24,7 @@
+ Glib::RefPtr<Gdk::Window> win;
+ Glib::RefPtr<Gdk::GC> gc;
+
+- SigC::Connection plotChangeConnection, bgConnection;
++ sigc::connection plotChangeConnection, bgConnection;
+ };
+
+
+@@ -52,14 +52,14 @@
+ Table *table;
+ MainWindow *mainWindow;
+ Plot *plot;
+- SigC::Connection valueDisplay_connection, makePlotConfig_connection;
++ sigc::connection valueDisplay_connection, makePlotConfig_connection;
+
+ void add(Widget &w, int col);
+ void makePlotConfig(void);
+ //void setLabelSize(Entry &l);
+ //void afterRealize(void);
+
+- //SigC::Connection afterRealizeConnection;
++ //sigc::connection afterRealizeConnection;
+ };
+
+
+diff -Naur quickplot-0.8.13/Source.cpp quickplot-0.8.13.new/Source.cpp
+--- quickplot-0.8.13/Source.cpp 2006-08-03 16:56:56.000000000 -0400
++++ quickplot-0.8.13.new/Source.cpp 2008-05-06 09:58:18.000000000 -0400
+@@ -207,18 +207,18 @@
+ }
+
+
+-SigC::Signal1<void, Source *> Source::signal_addedSource()
++sigc::signal1<void, Source *> Source::signal_addedSource()
+ {
+ return m_signal_addedSource;
+ }
+
+-SigC::Signal1<void, Source *> Source::m_signal_addedSource;
++sigc::signal1<void, Source *> Source::m_signal_addedSource;
+
+
+-SigC::Signal1<void, Source *> Source::signal_removedSource()
++sigc::signal1<void, Source *> Source::signal_removedSource()
+ {
+ return m_signal_removedSource;
+ }
+
+-SigC::Signal1<void, Source *> Source::m_signal_removedSource;
++sigc::signal1<void, Source *> Source::m_signal_removedSource;
+
+diff -Naur quickplot-0.8.13/Source.h quickplot-0.8.13.new/Source.h
+--- quickplot-0.8.13/Source.h 2006-08-03 16:56:56.000000000 -0400
++++ quickplot-0.8.13.new/Source.h 2008-05-06 09:58:18.000000000 -0400
+@@ -50,8 +50,8 @@
+ inline const enum TYPE getType(void){ return type; }
+ inline const char *getTypeString(void){ return TYPE_STRING[type]; }
+
+- static SigC::Signal1<void, Source *> signal_addedSource();
+- static SigC::Signal1<void, Source *> signal_removedSource();
++ static sigc::signal1<void, Source *> signal_addedSource();
++ static sigc::signal1<void, Source *> signal_removedSource();
+
+ // Delete this object later.
+ void deleteLater(void);
+@@ -61,8 +61,8 @@
+
+ protected:
+
+- static SigC::Signal1<void, Source *> m_signal_addedSource;
+- static SigC::Signal1<void, Source *> m_signal_removedSource;
++ static sigc::signal1<void, Source *> m_signal_addedSource;
++ static sigc::signal1<void, Source *> m_signal_removedSource;
+
+ inline void setType(enum TYPE t) { type = t; }
+ char *fileName, *baseFileName;
+diff -Naur quickplot-0.8.13/ValueSlider.cpp quickplot-0.8.13.new/ValueSlider.cpp
+--- quickplot-0.8.13/ValueSlider.cpp 2006-08-03 16:56:56.000000000 -0400
++++ quickplot-0.8.13.new/ValueSlider.cpp 2008-05-06 09:58:18.000000000 -0400
+@@ -175,7 +175,7 @@
+ }
+ }
+
+-SigC::Signal0<void> ValueSlider::signal_valueChanged()
++sigc::signal0<void> ValueSlider::signal_valueChanged()
+ {
+ return m_signal_valueChanged;
+ }
+@@ -329,7 +329,7 @@
+ }
+ }
+
+-SigC::Signal0<void> DoubleValueSlider::signal_valueChanged()
++sigc::signal0<void> DoubleValueSlider::signal_valueChanged()
+ {
+ return m_signal_valueChanged;
+ }
+@@ -479,7 +479,7 @@
+ return (int) pow(10.0, value);
+ }
+
+-SigC::Signal0<void> LogValueSlider::signal_valueChanged()
++sigc::signal0<void> LogValueSlider::signal_valueChanged()
+ {
+ return m_signal_valueChanged;
+ }
+diff -Naur quickplot-0.8.13/ValueSlider.h quickplot-0.8.13.new/ValueSlider.h
+--- quickplot-0.8.13/ValueSlider.h 2006-08-03 16:56:56.000000000 -0400
++++ quickplot-0.8.13.new/ValueSlider.h 2008-05-06 09:58:18.000000000 -0400
+@@ -20,10 +20,10 @@
+ double maxmax;
+
+ public:
+- SigC::Signal0<void> signal_valueChanged();
++ sigc::signal0<void> signal_valueChanged();
+
+ private:
+- SigC::Signal0<void> m_signal_valueChanged;
++ sigc::signal0<void> m_signal_valueChanged;
+
+ bool setScaleToEntry(void);
+
+@@ -53,10 +53,10 @@
+ double value, maxmax;
+
+ public:
+- SigC::Signal0<void> signal_valueChanged();
++ sigc::signal0<void> signal_valueChanged();
+
+ private:
+- SigC::Signal0<void> m_signal_valueChanged;
++ sigc::signal0<void> m_signal_valueChanged;
+
+ bool setScaleToEntry(void);
+
+@@ -88,10 +88,10 @@
+ double value;
+
+ public:
+- SigC::Signal0<void> signal_valueChanged();
++ sigc::signal0<void> signal_valueChanged();
+
+ private:
+- SigC::Signal0<void> m_signal_valueChanged;
++ sigc::signal0<void> m_signal_valueChanged;
+
+ bool setScaleToEntry(void);
+
diff --git a/sci-visualization/quickplot/quickplot-0.8.13-r1.ebuild b/sci-visualization/quickplot/quickplot-0.8.13-r1.ebuild
new file mode 100644
index 000000000000..96384e6c2fa5
--- /dev/null
+++ b/sci-visualization/quickplot/quickplot-0.8.13-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/quickplot/quickplot-0.8.13-r1.ebuild,v 1.1 2008/05/06 14:17:17 markusle Exp $
+
+inherit eutils
+
+DESCRIPTION="A fast interactive 2D plotter."
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://quickplot.sourceforge.net/"
+
+IUSE="sndfile"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND=">=dev-cpp/gtkmm-2.4.5
+ sndfile? ( >=media-libs/libsndfile-1.0.5 )
+ >=dev-libs/libsigc++-2"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.15"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-libsigc++-2.2.patch
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+
+ # Some files have been moved around to more appropriate locations
+ sed -i -e 's|quickplot_icon.png|/usr/share/pixmaps/quickplot.png|' \
+ index.html.in
+ sed -i -e 's|href="ChangeLog"|href="../ChangeLog.gz"|' index.html.in
+ sed -i -e 's|href="COPYING"|href="/usr/portage/licenses/GPL-2"|' \
+ about.html.in
+}
+
+src_compile() {
+ econf `use_with sndfile libsndfile` || die "econf step failed."
+ emake htmldir=/usr/share/doc/${PF}/html || die "emake step failed."
+}
+
+src_install () {
+ make install DESTDIR="${D}" htmldir=/usr/share/doc/${PF}/html \
+ || die "make install step failed."
+ dodoc AUTHORS ChangeLog README README.devel TODO
+ # Remove COPYING as it is specified in LICENCE. Move other stuff.
+ cd "${D}"/usr/share/doc/${PF}/html
+ rm COPYING quickplot_icon.png ChangeLog
+ mv "${D}"/usr/share/pixmaps/quickplot_icon.png \
+ "${D}"/usr/share/pixmaps/quickplot.png
+ make_desktop_entry 'quickplot --no-pipe' Quickplot quickplot Graphics
+ mv "${D}"/usr/share/applications/quickplot\ --no-pipe.desktop \
+ "${D}"/usr/share/applications/quickplot.desktop
+}
diff --git a/sci-visualization/quickplot/quickplot-0.8.13.ebuild b/sci-visualization/quickplot/quickplot-0.8.13.ebuild
index da71d5737a6b..f048852258ad 100644
--- a/sci-visualization/quickplot/quickplot-0.8.13.ebuild
+++ b/sci-visualization/quickplot/quickplot-0.8.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/quickplot/quickplot-0.8.13.ebuild,v 1.3 2008/02/29 20:41:36 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/quickplot/quickplot-0.8.13.ebuild,v 1.4 2008/05/06 14:17:17 markusle Exp $
inherit eutils
@@ -21,7 +21,7 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
# Some files have been moved around to more appropriate locations
sed -i -e 's|quickplot_icon.png|/usr/share/pixmaps/quickplot.png|' \
index.html.in
@@ -36,15 +36,15 @@ src_compile() {
}
src_install () {
- make install DESTDIR=${D} htmldir=/usr/share/doc/${PF}/html \
+ make install DESTDIR="${D}" htmldir=/usr/share/doc/${PF}/html \
|| die "make install step failed."
dodoc AUTHORS ChangeLog README README.devel TODO
# Remove COPYING as it is specified in LICENCE. Move other stuff.
- cd ${D}/usr/share/doc/${PF}/html
+ cd "${D}"/usr/share/doc/${PF}/html
rm COPYING quickplot_icon.png ChangeLog
- mv ${D}/usr/share/pixmaps/quickplot_icon.png \
- ${D}/usr/share/pixmaps/quickplot.png
+ mv "${D}"/usr/share/pixmaps/quickplot_icon.png \
+ "${D}"/usr/share/pixmaps/quickplot.png
make_desktop_entry 'quickplot --no-pipe' Quickplot quickplot Graphics
- mv ${D}/usr/share/applications/quickplot\ --no-pipe.desktop \
- ${D}/usr/share/applications/quickplot.desktop
+ mv "${D}"/usr/share/applications/quickplot\ --no-pipe.desktop \
+ "${D}"/usr/share/applications/quickplot.desktop
}
diff --git a/sci-visualization/quickplot/quickplot-0.8.5.ebuild b/sci-visualization/quickplot/quickplot-0.8.5.ebuild
index 2d1991769a72..d8e8c9a47056 100644
--- a/sci-visualization/quickplot/quickplot-0.8.5.ebuild
+++ b/sci-visualization/quickplot/quickplot-0.8.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/quickplot/quickplot-0.8.5.ebuild,v 1.2 2008/02/29 20:41:36 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/quickplot/quickplot-0.8.5.ebuild,v 1.3 2008/05/06 14:17:17 markusle Exp $
inherit eutils
@@ -21,7 +21,7 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
# Some files have been moved around to more appropriate locations
sed -i -e 's|quickplot_icon.png|/usr/share/pixmaps/quickplot.png|' \
index.html.in
@@ -36,15 +36,15 @@ src_compile() {
}
src_install () {
- make install DESTDIR=${D} htmldir=/usr/share/doc/${PF}/html \
+ make install DESTDIR="${D}" htmldir=/usr/share/doc/${PF}/html \
|| die "make install step failed."
dodoc AUTHORS ChangeLog README README.devel TODO
# Remove COPYING as it is specified in LICENCE. Move other stuff.
- cd ${D}/usr/share/doc/${PF}/html
+ cd "${D}"/usr/share/doc/${PF}/html
rm COPYING quickplot_icon.png ChangeLog
- mv ${D}/usr/share/pixmaps/quickplot_icon.png \
- ${D}/usr/share/pixmaps/quickplot.png
+ mv "${D}"/usr/share/pixmaps/quickplot_icon.png \
+ "${D}"/usr/share/pixmaps/quickplot.png
make_desktop_entry 'quickplot --no-pipe' Quickplot quickplot Graphics
- mv ${D}/usr/share/applications/quickplot\ --no-pipe.desktop \
- ${D}/usr/share/applications/quickplot.desktop
+ mv "${D}"/usr/share/applications/quickplot\ --no-pipe.desktop \
+ "${D}"/usr/share/applications/quickplot.desktop
}