Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102630 - sci-visualization/ptplot-5.6 - a 2D data plotter and histogram tool implemented in Java
Summary: sci-visualization/ptplot-5.6 - a 2D data plotter and histogram tool implement...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Default Assignee for New Packages
URL: http://ptolemy.eecs.berkeley.edu/java...
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks: 102634 102911
  Show dependency tree
 
Reported: 2005-08-15 10:29 UTC by Sandro Bonazzola (RETIRED)
Modified: 2018-06-07 18:26 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ptpolt ebuild (ptplot-5.5.ebuild,1.50 KB, text/plain)
2006-01-03 08:54 UTC, Aurélien Francillon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Bonazzola (RETIRED) gentoo-dev 2005-08-15 10:29:50 UTC
Ptplot is a dependency for tos-java-libs-1.1.14 (Tiny OS 1.1.14). 
 
Ptplot is a set of two dimensional signal plotters components written in Java  
with the following properties:   
Embeddable in applets or applications.   
 Auto-ranging.   
 Automatic or manual labeling of axes.   
 Automatic or manual tick marks.   
 Logarithmic axes.   
 Live, animated plots.   
 Infinite zooming.   
 Various plot styles: connected lines, scatter plot, bars, etc.   
 Various point styles: none, dots, points, and unique marks.   
 Multiple data sets and a legend.   
 Color or black and white plotting.   
 Error bars.   
 Editable plots.   
 PlotML, and XML language for specifying plots.   
 Compatibility with pxgraph, an older plotting program.   

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-30 06:07:13 UTC
I can't see any ebuild here...
Comment 2 Aurélien Francillon 2006-01-03 08:54:46 UTC
Created attachment 76087 [details]
ptpolt ebuild 

this is an ebuild for ptplot 5.5 
some issues : 
- does com/microstar/xml sould be installed ? 
- does ptplot should be built with a dependency on aother ebuild installing com/microstar/xml jars ?
- i'm not very exeperienced with java ebuilds so some mistakes might remain 

thanks 
Aur
Comment 3 Aurélien Francillon 2006-01-03 08:54:46 UTC
Created attachment 76087 [details]
ptpolt ebuild 

this is an ebuild for ptplot 5.5 
some issues : 
- does com/microstar/xml sould be installed ? 
- does ptplot should be built with a dependency on aother ebuild installing com/microstar/xml jars ?
- i'm not very exeperienced with java ebuilds so some mistakes might remain 

thanks 
Aurélien
Comment 4 Sandro Bonazzola (RETIRED) gentoo-dev 2006-02-12 10:22:09 UTC
I'll take care of this. If there isn't a better location, it will be added to dev-tinyos. Adding java team in CC, if java team want this in dev-java, please let me know.
Comment 5 Sandro Bonazzola (RETIRED) gentoo-dev 2006-03-26 03:34:43 UTC
Adding package freeze as blocker for this ebuild.
Comment 6 Sandro Bonazzola (RETIRED) gentoo-dev 2006-11-06 11:49:56 UTC
On my queue.
Comment 7 Sandro Bonazzola (RETIRED) gentoo-dev 2006-12-13 13:31:10 UTC
In overlay:
URL: https://overlays.gentoo.org/svn/proj/java/migrated-java-experimental-overlay/dev-java/ptplot
Repository: https://overlays.gentoo.org/svn/proj/java

commit message:
Initial import, fix bug #102630.
Ebuild submitted by Aur
Comment 8 Sandro Bonazzola (RETIRED) gentoo-dev 2006-12-13 13:31:10 UTC
In overlay:
URL: https://overlays.gentoo.org/svn/proj/java/migrated-java-experimental-overlay/dev-java/ptplot
Repository: https://overlays.gentoo.org/svn/proj/java

commit message:
Initial import, fix bug #102630.
Ebuild submitted by Aurélien Francillon <aurelien.francillon@inrialpes.fr>.
Comment 9 Sandro Bonazzola (RETIRED) gentoo-dev 2006-12-26 13:02:47 UTC
Can someone of java team review the in-overlay ebuild?
It seems that NeedsReview is not yet a valid keyword.
Comment 10 Petteri Räty (RETIRED) gentoo-dev 2006-12-26 13:33:11 UTC
(In reply to comment #7)
> Can someone of java team review the in-overlay ebuild?
> It seems that NeedsReview is not yet a valid keyword.
> 
SRC_URI="http://ptolemy.eecs.berkeley.edu/java/ptplot${PV}/ptolemy/plot/${PN}${PV}.tar.gz"
-use $PN to replace ptplot

RESTRICT="test"
- Should comment in above this line why this is needed

Comments:
	einfo "Removing bundled jar files."
- Change this to echo at maximum
- I usually use rm -v

	make -C com/microstar
- die is missing from here. Why not use emake?

	make install
	make install -C com/microstar/
- strange that they work without DESTDIR but add dies

	if use doc ; then
		java-pkg_dohtml -r doc
	fi

if these are javadocs use: use doc && java-pkg_dojavadoc doc

	if use source; then
		java-pkg_dosrc ptolemy/*
		java-pkg_dosrc com/*
	fi

dosrc accepts multiple arguments to this can be done: use source && 


	java-pkg_dojar ${S}/ptolemy/gui/gui.jar || die " installing gui.jar"
	java-pkg_dojar ${S}/ptolemy/plot/*.jar || die "installingptolemy/plot/*.jar "
	java-pkg_dojar ${S}/ptolemy/util/*.jar || die " installing ptolemy/util/*.jar"
	java-pkg_dojar ${S}/com/microstar/xml/xml.jar || die " installing xml.jar"

-dojar also accepts multiple arguments but it also has a die already inside it

	dosed "s:@PTII_DEFAULT@:\$(java-config -p ptplot):g" /usr/bin/ptinvoke || die "dosed fialed"

-Maybe want to use dolauncher created launcher instead of the upstream one

These were just obversvations from reading the ebuild. I did not test it in practise.
Comment 11 Sandro Bonazzola (RETIRED) gentoo-dev 2006-12-27 15:23:27 UTC
(In reply to comment #8)
> These were just obversvations from reading the ebuild. I did not test it in
> practise.

ebuild updated, thanks for your observations. I think I have some more work to do on this ebuild before it can be declared ready for portage...
Comment 12 Christian Heim (RETIRED) gentoo-dev 2007-08-10 19:49:04 UTC
Assigning to maintainer-wanted, since Sanchan has been retired.
Comment 13 Alistair Bush (RETIRED) gentoo-dev 2007-08-11 03:22:46 UTC
New version came out Jan 2007, so updated Summary and URL.
Comment 14 Sandro Bonazzola 2008-10-15 17:56:50 UTC
The ptplot site says:
April 4, 2008: Ptplot 5.7 released

If someone in java team can proxy maintain this in java overlay I think I can update this ebuild for this month end.