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

Bug 529830

Summary: media-libs/ogdf-2012.07 - Open Graph Drawing Framework
Product: Gentoo Linux Reporter: Julien J Tierny <julien.tierny>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.ogdf.net/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ogdf-2012.07.ebuild
patch 1
patch 2
updated ebuild draft

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.