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

Bug 755143

Summary: dev-ml/graphics(?) - OCaml graphics library is a separate package from >=dev-lang/ocaml-4.09
Product: Gentoo Linux Reporter: Alain Zscheile <fogti>
Component: New packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: RESOLVED FIXED    
Severity: normal CC: gienah, sam
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: proposed ebuild

Description Alain Zscheile 2020-11-17 21:08:41 UTC
Created attachment 672067 [details]
proposed ebuild

I noticed that 'graphics.mli' isn't installed in the default ocaml installation and it is also not in the tree. This is partially to be expected, due to the following statement from https://github.com/ocaml/graphics:
> It used to be distributed with OCaml up to OCaml 4.08.

NOTE about the attached ebuild: The 'LICENSE' field doesn't match the description from the 'dune-project' file of the project exactly, but I couldn't find a closer match...
> (license "LGPL-2.1 with OCaml linking exception")
Comment 1 Alain Zscheile 2020-11-17 21:45:47 UTC
Additional note: It might be a good idea to add a virtual package ("virtual/ocaml-graphics"?) for the transition between dev-lang/ocaml-4.08 and dev-lang/ocaml-4.09,dev-ml/graphics.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-17 22:47:07 UTC
Could you include the GCO sign off here?
(Signed-off-by: Real Name <email>)

Thanks for bringing this to our attnetion btw.
Comment 3 Alain Zscheile 2020-11-19 12:54:31 UTC
Proposed ebuild "graphics-5.1.0.ebuild", with sha256sum c9647d4be4e21f810a02af64f707d339b25ed732b38fe71247a1a4591dde071d.
Signed-off-by: Erik Zscheile <zseri.devel@ytrizja.de>
Comment 4 Alain Zscheile 2020-11-20 10:23:35 UTC
Comment on attachment 672067 [details]
proposed ebuild

Proposed ebuild "graphics-5.1.0.ebuild", with sha256sum c9647d4be4e21f810a02af64f707d339b25ed732b38fe71247a1a4591dde071d.
Signed-off-by: Erik Zscheile <zseri.devel@ytrizja.de>
Comment 5 Alain Zscheile 2020-12-18 11:53:16 UTC
Given that this doesn't seem to gain traction and that the library only gets few, irregular releases, I would be willing to maintain the associated package.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-24 20:46:29 UTC
(Sorry, I'd forgot about this! Hopefully one of us can look at it shortly.)
Comment 7 Alain Zscheile 2021-02-02 10:31:38 UTC
graphics-5.1.1 was released.

https://github.com/zserik/portage-zscheile/commit/de3ce742e0b7ac1a539e7994cdef817fae1e88bc
Comment 8 Larry the Git Cow gentoo-dev 2021-02-05 22:39:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2318b3a3e215a29f36c723f90066bd68c377acef

commit 2318b3a3e215a29f36c723f90066bd68c377acef
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2021-02-05 22:39:03 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2021-02-05 22:39:03 +0000

    dev-ml/graphics: new package
    
    Closes: https://bugs.gentoo.org/755143
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ml/graphics/Manifest              |  1 +
 dev-ml/graphics/graphics-5.1.1.ebuild | 22 ++++++++++++++++++++++
 dev-ml/graphics/metadata.xml          |  8 ++++++++
 3 files changed, 31 insertions(+)