I am trying to build this one, and it turns out that camlp4 is a required dependency, so please add that to the dependency list :)
Search Criteria
Package Details: ocaml-camomile 0.8.5-5
Package Actions
| Package Base: | ocaml-camomile |
|---|---|
| Description: | Comprehensive Unicode library for OCaml |
| Upstream URL: | https://github.com/yoriyuki/Camomile |
| Category: | lib |
| Licenses: | |
| Submitter: | None |
| Maintainer: | LeonidasXIV |
| Last Packager: | LeonidasXIV |
| Votes: | 30 |
| First Submitted: | 2008-11-16 11:38 |
| Last Updated: | 2014-09-13 00:26 |
Dependencies (3)
- camlp4 (make)
- ocaml (make)
- ocaml-findlib>=1.2.3 (make)
Required by (8)
Sources
- 0002-Install-missing-camomileLibrary.a.patch
- https://github.com/yoriyuki/camomile/releases/download/rel-0.8.5/camomile-0.8.5.tar.bz2
Latest Comments
Comment by tuusjr
Comment by LeonidasXIV
Alright guys, then there must've been something wrong on my system. I've now uploaded a version with staticlibs, hope that solves the issue. Thanks for letting me know!
Comment by clockish
Whoops, my bad, the patch is in fact necessary for camomileLibrary.a; but, I'm not seeing any of the *.a files installed without the staticlibs option.
Comment by clockish
Err, I'm noticing what kythyria is. The patch does nothing. Instead, adding "staticlibs" to the options solves the missing .a files issue.
Comment by LeonidasXIV
kythyria, but the .a files are included in the package already, /usr/lib/ocaml/camomile/camomile.a and /usr/lib/ocaml/camomile/camomileLibrary.a.
Comment by kythyria
You need to add staticlibs to the options array, otherwise the .a files get eaten patch or no (and liquidsoap-git won't compile)
Comment by LeonidasXIV
Sure thing, just updated the PKGBUILD. Thanks for notifying!
Comment by dtzWill
Unfortunately the upstream build fails to install "camomileLibrary.a" which is needed for building certain software against this.
At least two other distributions apply patches to fix this:
Slackware: http://slackbuilds.org/slackbuilds/14.1/libraries/ocaml-camomile/0002-Install-missing-camomileLibrary.a.patch
Debian: http://patch-tracker.debian.org/patch/series/view/camomile/0.8.4-2/0002-Install-missing-camomileLibrary.a.patch
Would you mind adding this patch to the build?
Thanks!
Comment by LeonidasXIV
Ok, perfect then.
Comment by leonardder
Namcap does report OCAML as not needed as a dependency. I use the Liquidsoap package which requires ocaml-camomile and which works perfectly without ocaml.
Comment by LeonidasXIV
Moved them both to makedepends. Not sure if this is a good idea in the case of ocaml, but oh well, if someone will complain it can be still moved back.
Comment by leonardder
Could you please move ocaml and ocaml-findlib to the builddepends rather than depends?
Anonymous comment
This is an error:
> sed -ie 's|ocamlfind ...
The -i flag interprets the e as a backup extension. What you want is either "sed -i -e 's|ocamlfind ..." or "sed -i.orig -e 's|ocamlfind ..."
or "sed -i 's|ocamlfind ..." with no -e (since an -e is inferred when only one command expression is supplied.)
That said, this error is harmless because sed is assuming no -e is present, which it happily accepts. And creating a backup file "Makefilee" isn't hurting anyone.
But I thought I should point it out because this mistake might bite the maintainer another time.
Anonymous comment
Disowned.