Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277743 - [update request] =dev-ml/ocamlgraph-1.2
Summary: [update request] =dev-ml/ocamlgraph-1.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL: http://ocamlgraph.lri.fr/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 03:33 UTC by Jonathan-Christofer Demay
Modified: 2014-12-01 16:20 UTC (History)
1 user (show)

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


Attachments
dev-ml/ocamlgraph/ocamlgraph-1.1.ebuild (ocamlgraph-1.1.ebuild,1.06 KB, text/plain)
2009-07-14 03:34 UTC, Jonathan-Christofer Demay
Details
dev-ml/ocamlgraph/files/ocamlgraph-1.1-makefile_sandbox.patch (ocamlgraph-1.1-makefile_sandbox.patch,1.89 KB, patch)
2009-07-14 03:36 UTC, Jonathan-Christofer Demay
Details | Diff
dev-ml/ocamlgraph/ocamlgraph-1.1.ebuild (ocamlgraph-1.1.ebuild,1.06 KB, text/plain)
2009-07-16 16:51 UTC, Jonathan-Christofer Demay
Details
dev-ml/ocamlgraph/files/ocamlgraph-1.1-makefile.patch (ocamlgraph-1.1-makefile.patch,2.28 KB, patch)
2009-07-16 16:53 UTC, Jonathan-Christofer Demay
Details | Diff
dev-ml/ocamlgraph/ocamlgraph-1.2.ebuild (ocamlgraph-1.2.ebuild,1006 bytes, text/plain)
2009-10-23 22:26 UTC, Jonathan-Christofer Demay
Details
dev-ml/ocamlgraph/files/ocamlgraph-1.2-makefile.patch (ocamlgraph-1.2-makefile.patch,3.89 KB, patch)
2009-10-23 22:26 UTC, Jonathan-Christofer Demay
Details | Diff
dev-ml/ocamlgraph/ocamlgraph-1.2.ebuild (ocamlgraph-1.2.ebuild,978 bytes, text/plain)
2009-10-23 22:34 UTC, Jonathan-Christofer Demay
Details
dev-ml/ocamlgraph/ocamlgraph-1.2.ebuild (ocamlgraph-1.2.ebuild,949 bytes, text/plain)
2009-10-24 00:01 UTC, Jonathan-Christofer Demay
Details
dev-ml/ocamlgraph/ocamlgraph-1.5.ebuild (ocamlgraph-1.5.ebuild,961 bytes, text/plain)
2010-07-06 14:30 UTC, Jonathan-Christofer Demay
Details
dev-ml/ocamlgraph/files/ocamlgraph-1.5-makefile.patch (ocamlgraph-1.5-makefile.patch,1.53 KB, patch)
2010-07-06 14:30 UTC, Jonathan-Christofer Demay
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan-Christofer Demay 2009-07-14 03:33:00 UTC
ocamlgraph in portage is really outdated and a 1.1 version has been released just recently: http://ocamlgraph.lri.fr/download/ocamlgraph-1.1.tar.gz
Comment 1 Jonathan-Christofer Demay 2009-07-14 03:34:04 UTC
Created attachment 197868 [details]
dev-ml/ocamlgraph/ocamlgraph-1.1.ebuild

Here is a suggested ebuild.
Comment 2 Jonathan-Christofer Demay 2009-07-14 03:36:47 UTC
Created attachment 197870 [details, diff]
dev-ml/ocamlgraph/files/ocamlgraph-1.1-makefile_sandbox.patch

This patch fixes the sandbox violation problem that occurs during the installation process.
Comment 3 Jonathan-Christofer Demay 2009-07-16 16:51:42 UTC
Created attachment 198211 [details]
dev-ml/ocamlgraph/ocamlgraph-1.1.ebuild 

Updated ebuild.
Comment 4 Jonathan-Christofer Demay 2009-07-16 16:53:06 UTC
Created attachment 198213 [details, diff]
dev-ml/ocamlgraph/files/ocamlgraph-1.1-makefile.patch 

Also fixes ocamlopt linking.
Comment 5 Jonathan-Christofer Demay 2009-10-23 22:26:13 UTC
Created attachment 208070 [details]
dev-ml/ocamlgraph/ocamlgraph-1.2.ebuild 

version bump
Comment 6 Jonathan-Christofer Demay 2009-10-23 22:26:50 UTC
Created attachment 208071 [details, diff]
dev-ml/ocamlgraph/files/ocamlgraph-1.2-makefile.patch 

version bump
Comment 7 Jonathan-Christofer Demay 2009-10-23 22:34:51 UTC
Created attachment 208073 [details]
dev-ml/ocamlgraph/ocamlgraph-1.2.ebuild

eapi2 update
Comment 8 Jonathan-Christofer Demay 2009-10-23 22:43:41 UTC
summary update
Comment 9 Jonathan-Christofer Demay 2009-10-24 00:01:44 UTC
Created attachment 208098 [details]
dev-ml/ocamlgraph/ocamlgraph-1.2.ebuild

eapi2 update
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2010-06-17 08:16:56 UTC
Please use repomen and ChangeLog also in overlays.

What does the gtk use is good for? Does it automacigally build gtk support?
Why did you change so drastically the style of the ebuild compared to the in tree ebuild?
Comment 11 Jonathan-Christofer Demay 2010-07-04 14:42:32 UTC
"Please use repomen and ChangeLog also in overlays."
Done.

"What does the gtk use is good for? Does it automacigally build gtk support?"
Now the makefile builds the graphviewer by default if gtk is present.
I'll modify the ebuild so that's disabled even if gtk is present when the use flag is not enabled.

"Why did you change so drastically the style of the ebuild compared to one the in tree ebuild?"
Because the ebuild in the portage tree is several years old, seven version bumps since then, plus a few cleanups.

ocamlgraph-1.5 is now in the sci overlay
Comment 12 Alexis Ballier gentoo-dev 2010-07-06 08:17:11 UTC
(In reply to comment #11)
> "Why did you change so drastically the style of the ebuild compared to one the
> in tree ebuild?"
> Because the ebuild in the portage tree is several years old, seven version
> bumps since then, plus a few cleanups.

For what I see from what is attached here, the ocamlopt useflag seems to be automagic; I wouldn't call that a cleanup and it has nothing to do with the number of versions we are lagging behind :)
Anyway, I don't know what is in the sci overlay but if you want to see it bumped in the main tree please attach the ebuild here so that it can be reviewed.
Comment 13 Jonathan-Christofer Demay 2010-07-06 13:10:06 UTC
> Anyway, I don't know what is in the sci overlay but if you want to
> see it bumped in the main tree please attach the ebuild here
> so that it can be reviewed.
Will do, but maybe I'll try to improve it a bit before.

> For what I see from what is attached here,
> the ocamlopt useflag seems to be automagic;
What's wrong with the ocamlopt useflag ? If you want to build ocamlgraph with with ocamlopt, then dev-lang/ocaml should have been built with this flag as well. Isn't that the proper way to code this ?
Comment 14 Jonathan-Christofer Demay 2010-07-06 14:16:55 UTC
> I'll modify the ebuild so that's disabled
> even if gtk is present when the use flag is not enabled.
Well it seems the configure script does not offer such an option, so here is the latest ebuild from the sci overlay
Comment 15 Jonathan-Christofer Demay 2010-07-06 14:30:05 UTC
Created attachment 237751 [details]
dev-ml/ocamlgraph/ocamlgraph-1.5.ebuild
Comment 16 Jonathan-Christofer Demay 2010-07-06 14:30:57 UTC
Created attachment 237753 [details, diff]
dev-ml/ocamlgraph/files/ocamlgraph-1.5-makefile.patch
Comment 17 Alexis Ballier gentoo-dev 2010-07-06 14:39:34 UTC
(In reply to comment #13)
> > For what I see from what is attached here,
> > the ocamlopt useflag seems to be automagic;
> What's wrong with the ocamlopt useflag ? If you want to build ocamlgraph with
> with ocamlopt, then dev-lang/ocaml should have been built with this flag as
> well. Isn't that the proper way to code this ?
> 

yes but that's only half of it; if I have ocaml built with ocamlopt and build ocamlgraph without ocamlopt then I dont want native code in ocamlgraph which doesn't seem honoured from your ebuild
Comment 18 Jonathan-Christofer Demay 2010-07-06 14:53:55 UTC
That's true, but am I wrong or the ebuild in portage does have the same problem ?
Comment 19 Alexis Ballier gentoo-dev 2014-12-01 16:20:42 UTC
1.8.5 is in tree