Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 301049

Summary: [science overlay] dev-java/hdf-java-2.6.ebuild new package
Product: Gentoo Linux Reporter: Guillaume Horel <guillaume.horel>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED FIXED    
Severity: normal CC: chr.paccolat, guillaume.horel, java, rose, sci, sylvestre.ledru
Priority: High Keywords: EBUILD, InOverlay
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: Science overlay
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 237572    
Attachments: hdf-java-2.5.ebuild
hdf-java-2.6.ebuild
hdf-java-2.6-shared.patch
hdf-java-2.7 ebuild
Patch for hdf-java-2.7

Description Guillaume Horel 2010-01-15 03:13:00 UTC
A java interface to the hdf5 library. Dependency of scilab 5.2.0 (bug #237572).

Reproducible: Always
Comment 1 Guillaume Horel 2010-01-15 03:14:45 UTC
Created attachment 216565 [details]
hdf-java-2.5.ebuild

Preliminary ebuild. Missing packaging the examples and the writing a test section, and maybe creating a separate use flag for installing the hdf viewer.
Comment 2 Ilyas LANDIKOV 2010-01-15 18:36:54 UTC
(In reply to comment #1)
> Created an attachment (id=216565) [details]
> hdf-java-2.5.ebuild
> 
> Preliminary ebuild. Missing packaging the examples and the writing a test
> section, and maybe creating a separate use flag for installing the hdf viewer.
> 

hi,
thanks for your work.
I tried to create a manifest file but ebuild couldn't download the sources so I got them here http://www.hdfgroup.org/ftp/HDF5/hdf-java-2.5/src/hdf-java-2.5-src.tar
Comment 3 Christophe Paccolat 2010-01-15 20:59:30 UTC
SRC_URI needs to be changed to 
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/hdf-java-2.5/src/${P}-src.tar"
(missing the "-2.5")
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2010-01-16 11:38:12 UTC
See bug 301129 for a build failure on amd64 with this.
Comment 5 Guillaume Horel 2010-01-27 06:09:41 UTC
Created attachment 217541 [details]
hdf-java-2.6.ebuild

Reworked ebuild starting from the one in the science overlay.
Comment 6 Guillaume Horel 2010-01-27 06:10:16 UTC
Created attachment 217542 [details, diff]
hdf-java-2.6-shared.patch
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2010-06-17 12:54:50 UTC
*** Bug 311231 has been marked as a duplicate of this bug. ***
Comment 8 lalebarde 2010-09-18 13:27:17 UTC
Upstream is 2.6.1 and 2.6 sources have been suppressed. Just copy the ebuild and patch to your local overlay and rename both with 2.6.1 and it works.

# pwd
/usr/local/portage/mesEbuilds/dev-java/hdf-java
# cp -a /usr/local/portage/layman/science/dev-java/hdf-java/* .
# mv hdf-java-2.6.ebuild hdf-java-2.6.1.ebuild
# mv files/hdf-java-2.6-shared.patch files/hdf-java-2.6.1-shared.patch
# ebuild hdf-java-2.6.1.ebuild manifest
# emerge -auv1 dev-java/hdf-java

That's all.
Comment 9 Qingping Hou 2011-03-05 11:20:46 UTC
(In reply to comment #8)

2.6 sources is out now and the download URL should be :
http://www.hdfgroup.org/ftp/HDF5/hdf-java-2.6/src/hdf-java-2.6.1-src.tar
Comment 10 Guillaume Horel 2011-06-06 23:53:40 UTC
Created attachment 276063 [details]
hdf-java-2.7 ebuild

Version bump upstream. 2.6 sources are not available anymore
Comment 11 Guillaume Horel 2011-06-06 23:54:26 UTC
Created attachment 276065 [details, diff]
Patch for hdf-java-2.7

Reworked patch for version 2.7
Comment 12 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-06-07 10:26:32 UTC
(In reply to comment #11)
> Created attachment 276065 [details, diff]
> Patch for hdf-java-2.7
> 
> Reworked patch for version 2.7

In overlay. I have a favour to ask though:
 * please submit patches to ebuilds, instead of whole files so we can easily see what's changed
 * please submit clean patches[1]
 * poke somebody at #gentoo-science @ irc.freenode.net to give you access to overlay so you can fix it yourself next time ;)

Cheers,
Kacper

[1] http://dev.gentoo.org/~vapier/clean-patches
Comment 13 Patrice Clement gentoo-dev 2015-10-23 15:14:11 UTC
https://gitweb.gentoo.org/proj/sci.git/tree/dev-java/hdf-java/hdf-java-2.9.ebuild

Guillaume Horel has commit access and is apparently looking after this package now. Closing this bug.