unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Cc: guix-devel@gnu.org
Subject: Re: Help needed packaging rust-cbindgen, a dependency of IceCat 68
Date: Tue, 22 Oct 2019 12:33:51 +0300	[thread overview]
Message-ID: <20191022093351.GD1831@E5400> (raw)
In-Reply-To: <f6fddfba-cfcc-55f3-128b-76d42e8da1d6@web.de>

[-- Attachment #1: Type: text/plain, Size: 2912 bytes --]

On Tue, Oct 22, 2019 at 11:19:18AM +0200, Jonathan Brielmaier wrote:
> On 22.10.19 08:23, Mark H Weaver wrote:
> > Hello fellow Guix,
> >
> > I have good news and bad news.  The good news is that thanks to the
> > heroic efforts of Amin Bandali <bandali@gnu.org>, a recently appointed
> > co-maintainer of GNU IceCat, there now exists a preliminary version of
> > IceCat 68 that builds successfully and works on Trisquel.
> >
> > The bad news is that IceCat 68 has a new dependency: rust-cbindgen,
> > which itself depends on *245* other Rust libraries that are not yet
> > packaged for Guix.
> >
> > I'm very glad for "guix import crate -r", which was able to enumerate
> > this list of dependencies for me, and to auto-generate ~267 kilobytes of
> > new package definitions, but unfortunately it was only able to deduce
> > the license for about half of those.  131 out of 245 of these new
> > package definitions have (license #f).  I'm not sure what's up with
> > that, but it might be necessary to manually determine the licenses of
> > these.
> >
> > Mozilla is scheduled to release Firefox 68.2 ESR today, along with a
> > security advisory describing flaws in previous versions of Firefox which
> > are fixed in 68.2.  Many of these security flaws will affect IceCat 60,
> > but the 60 ESR branch is no longer supported upstream.  This means that
> > we need to get IceCat 68 packaged ASAP.
> >
> > There are other urgent matters demanding my attention right now, so I
> > cannot afford to do all of this work myself.  I can take care of
> > upgrading and debugging the IceCat 68 package itself -- I already have a
> > preliminary patch capable of generating the source tarball -- but I need
> > help packaging rust-cbindgen and its 245 dependencies.
> >
> > Who's willing to help?  To get started: "guix import crate -r cbindgen".
> 
> Efraim made a proposal to overhaul the cargo-build-system. I think this
> could be pretty interesting for cbindgen.
> https://lists.gnu.org/archive/html/guix-devel/2019-10/msg00180.html
> 
> I'm interested in a proper solution here, as Thunderbird needs also
> cbindgen to build. Reminds me that I should share the state of my
> Thunderbird "package"...

Indeed. The short version is to basically treat each of the crates more
like the test data, something that gets downloaded but not built
independently. Then throw everything into the build system similar to
now, but with more manual dependency resolution, and work with it that
way. I have one that I tested successfully that I can make shorter but
can't share. Throwing together something quickly for this should
probably only take an hour or two.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2019-10-22  9:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-22  6:23 Help needed packaging rust-cbindgen, a dependency of IceCat 68 Mark H Weaver
2019-10-22  9:00 ` John Soo
2019-10-22  9:10   ` Mark H Weaver
2019-10-22  9:23     ` Mark H Weaver
2019-10-22  9:19 ` Jonathan Brielmaier
2019-10-22  9:33   ` Efraim Flashner [this message]
2019-10-22 14:17 ` Ludovic Courtès
2019-10-22 19:24   ` Mark H Weaver
2019-10-23 17:53   ` Marius Bakke
2019-10-22 18:54 ` Efraim Flashner
2019-10-22 19:42   ` Mark H Weaver
2019-10-22 19:56     ` Mark H Weaver
2019-10-22 20:06       ` Efraim Flashner
2019-10-23  7:50         ` Efraim Flashner
2019-10-23 10:33           ` Mark H Weaver
2019-10-26 18:36 ` Chris Marusich
2019-10-27 17:00   ` Mark H Weaver
2019-10-30  5:52   ` Mark H Weaver

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20191022093351.GD1831@E5400 \
    --to=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    --cc=jonathan.brielmaier@web.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).