From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 6097A7ED11 for ; Wed, 21 Sep 2016 17:47:00 +0200 (CEST) Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=adrien@notk.org; spf=Pass smtp.mailfrom=adrien@notk.org; spf=None smtp.helo=postmaster@nautica.notk.org Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of adrien@notk.org) identity=pra; client-ip=91.121.71.147; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="adrien@notk.org"; x-sender="adrien@notk.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of adrien@notk.org designates 91.121.71.147 as permitted sender) identity=mailfrom; client-ip=91.121.71.147; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="adrien@notk.org"; x-sender="adrien@notk.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@nautica.notk.org) identity=helo; client-ip=91.121.71.147; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="adrien@notk.org"; x-sender="postmaster@nautica.notk.org"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3Av6N/aBd44HDrMscQ0Vam/SfylGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxc64Yh7h7PlgxGXEQZ/co6odzbGH6ea4AydQsd6oizMrSNR0TRgLiM?= =?us-ascii?q?EbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3Dwdp?= =?us-ascii?q?POO9QteU1JXtkbjosM2DKyxzxxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP?= =?us-ascii?q?5Xz247bXianhL7+9vitMU7q3cY6Lod8JtLWKD+OqA5VqBwDTI8Mmlz6te4mwPE?= =?us-ascii?q?SF6m6mEdX2NetBNEDhKNuBj2RJb8tAP8sfZ+ni6AMpulHvgPRT2+4vIzG1fTgy?= =?us-ascii?q?AdOmth/Q=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AmBwDHquJX/5NHeVteHRgHCwEBFgEBB?= =?us-ascii?q?QEBBQGCfQEBAQEBHle7dySFegKBYjsRAQEBAQEBAQEBAQFdJ4IyGIIYAQEEI2Y?= =?us-ascii?q?LGgIFEw4CAg8FGIkTCq5zjFABCyAFgQaFMYRUhRCCOCuCLwWZdYYniTEKZ3EWi?= =?us-ascii?q?BuFY5BjNCAahG08hnkBAQE?= X-IPAS-Result: =?us-ascii?q?A0AmBwDHquJX/5NHeVteHRgHCwEBFgEBBQEBBQGCfQEBAQE?= =?us-ascii?q?BHle7dySFegKBYjsRAQEBAQEBAQEBAQFdJ4IyGIIYAQEEI2YLGgIFEw4CAg8FG?= =?us-ascii?q?IkTCq5zjFABCyAFgQaFMYRUhRCCOCuCLwWZdYYniTEKZ3EWiBuFY5BjNCAahG0?= =?us-ascii?q?8hnkBAQE?= X-IronPort-AV: E=Sophos;i="5.30,374,1470693600"; d="scan'208";a="194199254" Received: from nautica.notk.org ([91.121.71.147]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2016 17:46:59 +0200 Received: by nautica.notk.org (Postfix, from userid 1003) id 92E58C009; Wed, 21 Sep 2016 17:46:58 +0200 (CEST) Date: Wed, 21 Sep 2016 17:46:58 +0200 From: Adrien Nader To: caml-list@inria.fr Message-ID: <20160921154658.GA31660@notk.org> References: <20160908070526.dmep3cksq3ktt4s4@seneca.home.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160908070526.dmep3cksq3ktt4s4@seneca.home.org> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [Caml-list] bindings for xz compression and decompression ? Hi, ocaml-archive[1] has read-only bindings to libarchive which handles xz through liblzma. I've used it for quite a bit of time now. I have a few, non-upstream, small patches to bind a few more functions (on-the-fly path-rewrite, read from bigarray, extract to disk (?), getters and setters for libarchive's "pathname", archive_entry_{set_,}{hard,sym}link() and archive_entry_set_link). If they're of interest I can take some time to share them properly (they're already public, just not announced). [1] https://forge.ocamlcore.org/projects/ocaml-archive/ -- Adrien Nadr