[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28690] provide a lib output for boost
From: |
Ludovic Courtès |
Subject: |
[bug#28690] provide a lib output for boost |
Date: |
Tue, 24 Oct 2017 08:30:08 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Thomas Danckaert <address@hidden> skribis:
>>> I don't know if it helps, or is well-known anyhow, but you can
>>> check the
>>> dependencies of any that are in Debian by looking under
>>> https://packages.debian.org/sid/<package>.
>>
>> I don’t think it helps. I suggest looking for the direct
>> dependencies
>> of Boost in Guix, possibly using ‘guix refresh -l boost’.
>
> Doesn't that also lists indirect dependencies (575 of them)?
Yes it does.
> After some experimentation at the REPL, I came up with the following
> to find only packages directly depending on boost:
>
> (use-modules
> (srfi srfi-1)
> (guix packages)
> (gnu packages)
> (gnu packages boost)
> (guix scripts refresh))
>
> (define (depends-on-boost pkg)
> (any (lambda (p) (eq? p boost))
> (map cadr (append (package-inputs pkg)
> (package-propagated-inputs pkg)
> (package-native-inputs pkg)))))
>
> (let ((all-deps (filter depends-on-boost (fold-packages cons '()))))
> (format (current-output-port)
> "~{~a~^~%~}~%" (map package-name all-deps)))
>
> Leading to the 97 dependencies in the attached file.
Neat! We should add something like this to ‘guix refresh’.
> Is that approach correct? There are also 3 packages which have boost
> as a propagated input (mdds, gpgmepp and librevenge). That could lead
> to further packages depending on boost, which are missing from the
> list, but for now I'll assume that such cases are rare.
The approach looks correct, yes.
> Meanwhile I'll try to build those 97 packages, stay tuned ;-)
Awesome, let us know how it goes!
Thanks,
Ludo’.
- [bug#28690] provide a lib output for boost, Dave Love, 2017/10/03
- [bug#28690] provide a lib output for boost, Roel Janssen, 2017/10/11
- [bug#28690] provide a lib output for boost, Dave Love, 2017/10/19
- [bug#28690] provide a lib output for boost, Roel Janssen, 2017/10/19
- [bug#28690] provide a lib output for boost, Ludovic Courtès, 2017/10/20
- [bug#28690] provide a lib output for boost, Thomas Danckaert, 2017/10/20
- [bug#28690] provide a lib output for boost, Ludovic Courtès, 2017/10/20
- [bug#28690] provide a lib output for boost, Dave Love, 2017/10/22
- [bug#28690] provide a lib output for boost, Ludovic Courtès, 2017/10/22
- [bug#28690] provide a lib output for boost, Thomas Danckaert, 2017/10/24
- [bug#28690] provide a lib output for boost,
Ludovic Courtès <=
- [bug#28690] provide a lib output for boost, Dave Love, 2017/10/20
- [bug#28690] provide a lib output for boost, Ludovic Courtès, 2017/10/20
[bug#28690] provide a lib output for boost, Thomas Danckaert, 2017/10/19