Package Details: camlidl 1.12-2

Git Clone URL: https://aur.archlinux.org/camlidl.git (read-only, click to copy)
Package Base: camlidl
Description: A stub code generator and COM binding for Objective Caml (OCaml)
Upstream URL: https://github.com/xavierleroy/camlidl
Licenses: LGPL2.1
Submitter: simon04
Maintainer: pricechrispy
Last Packager: pricechrispy
Votes: 46
Popularity: 0.000000
First Submitted: 2010-01-23 12:37 (UTC)
Last Updated: 2024-03-25 01:09 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

gudwin commented on 2018-02-08 14:31 (UTC) (edited on 2018-02-08 14:32 (UTC) by gudwin)

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 (UTC)

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

mydongistiny commented on 2018-02-08 06:26 (UTC)

@TimmyWeerwag Your pkgbuild patch worked. Thanks

tweerwag commented on 2018-02-05 09:55 (UTC) (edited on 2018-02-05 09:59 (UTC) by tweerwag)

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 (UTC)

@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 (UTC)

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 (UTC)

Please add achitecture "armv7h" to the PKGBUILD.

kynikos commented on 2017-02-10 10:56 (UTC)

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

simon04 commented on 2017-02-09 19:47 (UTC)

@kynikos: Inspecting the file list of the Ubuntu package (http://packages.ubuntu.com/yakkety/amd64/camlidl/filelist) shows that the files of interest are also located in /usr/lib/ocaml/com.* only.

kynikos commented on 2017-02-03 10:08 (UTC)

Hi, according to the AUR database, only google-drive-ocamlfuse actually requires this package, indirectly through ocamlfuse. Currently google-drive-ocamlfuse doesn't build though because it expects at least two of the files provided by this package in a different directory, see also the comments in its AUR page. A temporary workaround is to fix this PKGBUILD by adding the following in the package() function: ln -s /usr/lib/ocaml/com.a ${pkgdir}/usr/lib/ocaml/camlidl/ ln -s /usr/lib/ocaml/com.cmxa ${pkgdir}/usr/lib/ocaml/camlidl/ I was wondering if there is a more proper way to update this PKGBUILD to make it compatible with google-drive-ocamlfuse, cheers.