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

Bug 608988

Summary: towards media-libs/coin-4.0.0 alpha
Product: Gentoo Linux Reporter: Karsten Merkle <gentoo>
Component: Current packagesAssignee: Maciej Mrozowski <reavertm>
Status: RESOLVED FIXED    
Severity: enhancement CC: rossi.f
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: coin-9999.ebuild
files/coin-9999-freetype251.patch
files/coin-9999-pkgconfig-partial.patch
coin-9999.ebuild.diff
coin-9999.ebuild
coin-9999.ebuild

Description Karsten Merkle 2017-02-11 19:04:54 UTC
Created attachment 463332 [details]
coin-9999.ebuild

Hi,

it seems the next release of FreeCad needs >=media-libs/coin-4.0.0

coin 4.0.0 alpha is available as stated in:
https://bitbucket.org/Coin3D/coin/src/10d8002bcf0df2ac8327b40435215b1a112fef8e/docs/releases.dox?at=default&fileviewer=file-view-default

therefore I made a quick hack to get a somehow working version.
Because there's no EHG_CONFIG in mercurial.eclass the attached ebuild only compiles with a dirty hack: copy the config part into mercurial.eclass preceding with --config parameter
Comment 1 Karsten Merkle 2017-02-11 19:06:04 UTC
Created attachment 463334 [details, diff]
files/coin-9999-freetype251.patch
Comment 2 Karsten Merkle 2017-02-11 19:06:41 UTC
Created attachment 463336 [details, diff]
files/coin-9999-pkgconfig-partial.patch
Comment 3 Karsten Merkle 2017-02-11 19:58:36 UTC
Created attachment 463348 [details]
coin-9999.ebuild.diff

pardon forgot coin-config
Comment 4 Maciej Mrozowski gentoo-dev 2017-02-13 01:46:20 UTC
Never heard of freecad before, but this might give some reason to check that live coin3d version given the fact you seem to be caring about it enough to provide the ebuild.
Comment 5 Fabio Rossi 2018-02-02 16:34:33 UTC
Modified the ebuild:
- really use cmake
- as pkgconfig files are not installed there is no need to install coin-config
- I don't install separately releases.dox because it's converted in html by doxygen
- upgraded to EAPI=6

The ebuild doesn't support old stable releases but only the repository which uses cmake, this to simplify the script otherwise we should support two build systems (with different sets of output files, e.g. pkgconfig files)
Comment 6 Fabio Rossi 2018-02-02 16:35:10 UTC
Created attachment 517560 [details]
coin-9999.ebuild
Comment 7 Fabio Rossi 2018-02-02 17:12:37 UTC
Created attachment 517562 [details]
coin-9999.ebuild

fixed installation path to avoid /usr/usr basepath
Comment 8 Maciej Mrozowski gentoo-dev 2018-05-06 08:03:55 UTC
coin-4.0.0a_pre20180416 in tree, try it out.
Comment 9 Maciej Mrozowski gentoo-dev 2018-05-06 08:06:46 UTC
I also packaged beta of simage-1.7.1, when time allows, I'll get the rest of snapshots (SoQt, Quarter).
Simage required some patching for automagic deps.
Comment 10 Maciej Mrozowski gentoo-dev 2018-05-06 08:09:45 UTC
I'll close this bug, if you want some newer beta snapshot, let me know (on irc or report new bug).