all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Konrad Hinsen <konrad.hinsen@fastmail.net>
To: guix-devel@gnu.org
Subject: Re: Dealing with language bindings for libraries.
Date: Fri, 11 May 2018 07:49:23 +0200	[thread overview]
Message-ID: <902bc2ce-c866-ab8a-b17d-4f319b5f7494@fastmail.net> (raw)
In-Reply-To: <20180509200000.70057cca@lepiller.eu>

On 09/05/2018 20:00, Julien Lepiller wrote:

> We already have such a case: capstone and python-capstone. There is no
> redundancy since python-capstone knows how to load the shared library
> created in the capstone package. So we have two packages, with the same

My situation is a bit different. The package I am working on (OpenBabel, 
http://openbabel.org/wiki/Main_Page) has a monolithic build process 
based on CMake that builds the library plus bindings for all languages 
that it detects in its environment. There is no obvious way to build the 
language bindings to go with an already installed library.

It's almost trivial to package in Guix for any language combination you 
care about: just add the languages you need to the inputs. It's also 
straightforward to make each language binding a separate output of the 
package. But choosing this option makes building the package very expensive.

Konrad.

  reply	other threads:[~2018-05-11  5:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-09 15:21 Dealing with language bindings for libraries Fis Trivial
2018-05-09 16:25 ` Konrad Hinsen
2018-05-09 18:00   ` Julien Lepiller
2018-05-11  5:49     ` Konrad Hinsen [this message]
2018-05-09 18:45 ` Ricardo Wurmus
2018-05-09 19:33   ` Fis Trivial
2018-05-09 20:08     ` Ricardo Wurmus
2018-05-10  5:02       ` Fis Trivial
2018-05-10  8:18 ` Catonano
2018-05-10  9:27   ` Fis Trivial
2018-05-10 15:08     ` Catonano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=902bc2ce-c866-ab8a-b17d-4f319b5f7494@fastmail.net \
    --to=konrad.hinsen@fastmail.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.