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

Bug 53966

Summary: New ebuild : string manipulation ML package
Product: Gentoo Linux Reporter: Julien TIERNY <julien.tierny>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED TEST-REQUEST    
Severity: enhancement CC: ml
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.ocaml-programming.de/packages
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The ebuild itself
Manifest
Digest

Description Julien TIERNY 2004-06-15 04:04:20 UTC
hi,
	Yet another ML package ebuild :)

	This package implements frequent string operations: searching, replacing, splitting, matching. It is independent from the Str library, and can replace Str in many cases.
	It is in version 0.2.1 but the development seems to be active.
	You'll find info about this package at http://www.ocaml-programming.de/packages (several other Stolpmann's packages are provided with gentoo)

	I think it could be useful for OCAML developers in the "dev-ml" section of the portage tree.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Julien TIERNY 2004-06-15 04:05:13 UTC
Created attachment 33304 [details]
The ebuild itself
Comment 2 Julien TIERNY 2004-06-15 04:05:38 UTC
Created attachment 33305 [details]
Manifest
Comment 3 Julien TIERNY 2004-06-15 04:05:57 UTC
Created attachment 33306 [details]
Digest
Comment 4 Julien TIERNY 2004-06-15 04:07:40 UTC
Moreover, other ML packages have a dependency on this very package (ex: netclient)

thanx for your job, julien
Comment 5 Matthieu Sozeau (RETIRED) gentoo-dev 2004-06-15 04:22:27 UTC
I have it already in my overlay (http://dev.gentoo.org/~mattam/overlay) :)
Please test the whole new ocaml overlay (http://dev.gentoo.org/~mattam/ocaml-overlay.tar.gz) and report any problem (or success), then i will be able to integrate it in portage.
Comment 6 Julien TIERNY 2004-06-15 10:25:55 UTC
...impressive overlay :)

matthieu: I don't know if I'll have enough time in the next few days to test the whole set.
I'm going to check the packages I need and will keep you inform for the rest.
At the first glance, seems that many of the packages I planned to port figure in your portage overlay tree :) thx

julien
Comment 7 Julien TIERNY 2004-06-15 10:29:27 UTC
btw, I saw you wrote 2 eclasses for findlib and ocaml-config.
how could I integrate these in my ebuilds ? thx
julien
Comment 8 Matthieu Sozeau (RETIRED) gentoo-dev 2004-06-15 13:45:06 UTC
I've added a little documentation to the sources :)
look at http://dev.gentoo.org/~mattam/overlay/eclass/

Basically, ocaml is an eclass which helps finding the right locations for
installation of any ocaml package. It is particularly helpful to get multiple
versions of the same library, one for each ocaml compiler version (a properly
integrated ocaml-cvs will be added when i get this working), and also to
rebuild all libraries for a particular one (you know, those 'inconsistent'
errors). Findlib simply helps installing findlib packages. There are two
policies for findlib when a package use shared libraries. Either update a
ld.conf file or put the .so's in a predefined directory (stublibs/). I chose 
the second solution. Findlib will automatically find the stublibs dir (which
is created in the image using findlib_src_preinst) and install the libs there
 (if any). The function also sets up the OCAMLFIND_DESTDIR to the correct
image path for you. findlib_src_install is just a convenience function.
Comment 9 Matthieu Sozeau (RETIRED) gentoo-dev 2004-06-15 13:48:03 UTC
I close this bug so that bug-wranglers stop getting our updates (write on bug #39246 for reports, or open another bug).