Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529830 - media-libs/ogdf-2012.07 - Open Graph Drawing Framework
Summary: media-libs/ogdf-2012.07 - Open Graph Drawing Framework
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.ogdf.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-19 08:18 UTC by Julien J Tierny
Modified: 2014-11-19 15:37 UTC (History)
0 users

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


Attachments
ogdf-2012.07.ebuild (ogdf-2012.07.ebuild,876 bytes, text/plain)
2014-11-19 08:19 UTC, Julien J Tierny
Details
patch 1 (ogdf-2012.07-makeMakefile.config.patch,311 bytes, patch)
2014-11-19 08:19 UTC, Julien J Tierny
Details | Diff
patch 2 (ogdf-2012.07-makeMakefile.sh.patch,122 bytes, patch)
2014-11-19 08:19 UTC, Julien J Tierny
Details | Diff
updated ebuild draft (ogdf-2012.07.ebuild,779 bytes, text/plain)
2014-11-19 15:31 UTC, Julien J Tierny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien J Tierny 2014-11-19 08:18:24 UTC
hi there,
I need to use the Open Graph Drawing Framework (http://www.ogdf.net/) for a project with some collaborators. It does not seem to be supported by the portage tree. Please find attached an initial ebuild draft. I hope this helps.
cheers

Reproducible: Always
Comment 1 Julien J Tierny 2014-11-19 08:19:04 UTC
Created attachment 389708 [details]
ogdf-2012.07.ebuild
Comment 2 Julien J Tierny 2014-11-19 08:19:26 UTC
Created attachment 389710 [details, diff]
patch 1
Comment 3 Julien J Tierny 2014-11-19 08:19:45 UTC
Created attachment 389712 [details, diff]
patch 2
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-19 10:08:54 UTC
Comment on attachment 389708 [details]
ogdf-2012.07.ebuild

>KEYWORDS="amd64 ppc x86"
>IUSE=""

No need to set an empty IUSE

>DEPEND="<=dev-lang/python-2.7.8"

Is 2.7.7 all right?

>pkg_setup(){
>	S="${WORKDIR}/OGDF/"

That should be in the global scope of the ebuild, not in a phase.

>src_compile() {
>	emake CC="$(tc-getCC)" || die "emake failed"

emake dies by itself.

>src_install () {
>	dodir usr/include/ogdf
>	dodir usr/lib/
>	cp -R ${S}/ogdf/* ${D}usr/include/ogdf/
>	cp ${S}/_release/libOGDF.so ${D}usr/lib

Use dolib.
Comment 5 Julien J Tierny 2014-11-19 15:31:46 UTC
Created attachment 389728 [details]
updated ebuild draft
Comment 6 Julien J Tierny 2014-11-19 15:37:05 UTC
hi there,

(In reply to Jeroen Roovers from comment #4)
> Comment on attachment 389708 [details]
> ogdf-2012.07.ebuild
> 
> >KEYWORDS="amd64 ppc x86"
> >IUSE=""
> 
> No need to set an empty IUSE
alright.

> 
> >DEPEND="<=dev-lang/python-2.7.8"
> 
> Is 2.7.7 all right?
I guess so. That's the 2.7 version of python I'm running here.
It's just that their configuration script doesn't seem to work with any 3.x version of python.

> 
> >pkg_setup(){
> >	S="${WORKDIR}/OGDF/"
> 
> That should be in the global scope of the ebuild, not in a phase.
ok.

> 
> >src_compile() {
> >	emake CC="$(tc-getCC)" || die "emake failed"
> 
> emake dies by itself.
I removed that (and still building ok here).

> 
> >src_install () {
> >	dodir usr/include/ogdf
> >	dodir usr/lib/
> >	cp -R ${S}/ogdf/* ${D}usr/include/ogdf/
> >	cp ${S}/_release/libOGDF.so ${D}usr/lib
> 
> Use dolib.
ok.

you'll find an updated version attached.
cheers.