Package Details: camlidl 1.06-3

Git Clone URL: https://aur.archlinux.org/camlidl.git (read-only)
Package Base: camlidl
Description: A stub code generator and COM binding for Objective Caml (OCaml)
Upstream URL: https://github.com/xavierleroy/camlidl
Licenses: custom
Submitter: simon04
Maintainer: simon04
Last Packager: simon04
Votes: 42
Popularity: 2.078516
First Submitted: 2010-01-23 12:37
Last Updated: 2018-02-09 20:27

Latest Comments

TimmyWeerwag commented on 2018-02-12 10:57

Thanks! The package works wonderful again. =)

simon04 commented on 2018-02-09 20:27

@gudwin: Thanks. I overlooked the version in the META file. Should be fixed with 1.06-3.

gudwin commented on 2018-02-08 14:31

It seems that META.camlidl needs an update. It currently says: version = "1.05" But probably it should be changed to version = "1.06"

simon04 commented on 2018-02-08 06:39

@TimmyWeerwag: thanks a lot for the patch. The issue should be fixed in 1.06-2

mydongistiny commented on 2018-02-08 06:26

@TimmyWeerwag Your pkgbuild patch worked. Thanks

TimmyWeerwag commented on 2018-02-05 09:55

The META file is not being installed properly. A possible fix (including corrected quoting):

diff --git a/PKGBUILD b/PKGBUILD
index b54ff14..ff83861 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ url="https://github.com/xavierleroy/camlidl"
 license=('custom')
 depends=('ocaml')
 options=(staticlibs)
-source=(https://github.com/xavierleroy/$pkgname/archive/$pkgname$_pkgver.tar.gz
+source=("https://github.com/xavierleroy/$pkgname/archive/$pkgname$_pkgver.tar.gz"
         META.camlidl)

 build() {
@@ -24,14 +24,14 @@ build() {
 package() {
   cd "$srcdir/$pkgname-$pkgname$_pkgver"

-  local _bindir=$pkgdir/usr/bin
-  local _ocamldir=$pkgdir/$(ocamlc -where)
-  mkdir -p $_bindir $_ocamldir/{caml,stublibs,$pkgname}
+  local _bindir="$pkgdir/usr/bin"
+  local _ocamldir="$pkgdir/$(ocamlc -where)"
+  mkdir -p "$_bindir" "$_ocamldir"/{caml,stublibs,"$pkgname"}

-  make BINDIR=$_bindir OCAMLLIB=$_ocamldir install
+  make BINDIR="$_bindir" OCAMLLIB="$_ocamldir" install

-  install -Dm644 ${srcdir}/META.camlidl ${pkgdir}/${_ocamldir}/${pkgname}/META
-  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 "${srcdir}/META.camlidl" "${_ocamldir}/${pkgname}/META"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }

 sha1sums=('674c75608faa841caea5a3d3c75dc8ff58d5c5a4'

simon04 commented on 2017-10-31 08:24

@kynikos, yan12125: Thanks for investigating. I added the following line for 1.05-7:
> directory = "^"

Btw: the project moved to GitHub → https://github.com/xavierleroy/camlidl

yan12125 commented on 2017-10-05 11:54

I got the same issue as @kynikos. I guess the problem is in META.camlidl. In the Ubuntu package [1], the content of /usr/lib/ocaml/METAS/META.camlidl is:

# Courtesy of GODI
description = "Stub generator"
version = "1.05"
directory = "^"
archive(byte) = "com.cma"
archive(native) = "com.cmxa"

I add directory = "^" to META.camlidl, and google-drive-ocamlfuse builds fine.

[1] http://mirrors.kernel.org/ubuntu/pool/universe/c/camlidl/camlidl_1.05-15_amd64.deb

radek_r commented on 2017-09-30 12:34

Please add achitecture "armv7h" to the PKGBUILD.

kynikos commented on 2017-02-10 10:56

Thanks simon04 for looking into this :) Somehow though google-drive-ocamlfuse builds now at least for me even without those symlinks.

All comments