all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carlo Zancanaro <carlo@zancanaro.id.au>
To: Rutherther <rutherther@protonmail.com>
Cc: Tobias Geerinckx-Rice <me@tobias.gr>, 72943@debbugs.gnu.org
Subject: [bug#72943] [PATCH] gnu: gd: Requires.private to propagated inputs
Date: Tue, 03 Sep 2024 10:19:26 +1000	[thread overview]
Message-ID: <87bk15eghd.fsf@zancanaro.id.au> (raw)
In-Reply-To: <87v7zeezr1.fsf@protonmail.com> (Rutherther via Guix-patches via's message of "Mon, 02 Sep 2024 17:23:22 +0000")

On Mon, Sep 02 2024, Rutherther via Guix-patches via wrote:
> It seems much better to me to not use propagated-inputs whenever possible,
> so I prefer your solution to this one. However, I do wonder about this: other packages that
> have Requires.private do provide the libraries in these as propagated-inputs. Also
> the cookbook shows to do this with such libraries. What is the correct approach here
> then? Maybe every package that has Requires.private could be patched like this, possibly
> somehow automatically instead of manual patches?

Ah, I didn't look into it, so I didn't know that other packages in the
same situation just propagate their inputs. If that's more consistent
with the rest of Guix's packages then it would probably be better to do
that than restoring the patch.

> I am quite new here, this is my first patch. So I am not really sure how to go about this.
> Will you open a new issue with your patch, and maintainers will decide patch from which
> issue to use? Or is it enough it's in this issue?

I wasn't planning to open a new issue. Ideally I think we would agree on
which change is more appropriate, then someone with commit access would
apply it.

If this problem is solved elsewhere in Guix with propagated-inputs, then
I think your change is a better idea than mine.

This still leaves the issue of the failing tests, though. I investigated
a bit and looking at [1] and [2], I believe the issue is that our
version of libgd doesn't support the BICUBIC interpolation method.

I'm rebuilding PHP now with those tests removed. I'll send through some
patches soon.

Carlo

[1]: https://github.com/php/php-src/issues/11252
[2]: https://github.com/libgd/libgd/issues/847




  reply	other threads:[~2024-09-03  0:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-01 19:11 [bug#72943] [PATCH] gnu: gd: Requires.private to propagated inputs Rutherther via Guix-patches via
2024-09-01 23:33 ` Carlo Zancanaro
2024-09-02 17:23 ` Rutherther via Guix-patches via
2024-09-03  0:19   ` Carlo Zancanaro [this message]
2024-09-03  1:54     ` [bug#72943] [PATCH 1/2] " Carlo Zancanaro
2024-09-03  1:54     ` [bug#72943] [PATCH 2/2] gnu: php: Disable tests relating to BICUBIC interpolation Carlo Zancanaro
2024-09-04  6:50       ` [bug#72962] php-8.3.10 build failure guix-patches--- via
2024-09-04  6:50         ` [bug#72943] bug#72962: " guix-patches--- via
2024-09-04  7:27         ` Carlo Zancanaro
2024-09-04  7:43           ` [bug#72962] " guix-patches--- via
2024-09-04  7:59           ` guix-patches--- via
2024-09-04 10:32           ` guix-patches--- via
2024-09-05 20:41 ` [bug#72943] Patches applied Andreas Enge

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=87bk15eghd.fsf@zancanaro.id.au \
    --to=carlo@zancanaro.id.au \
    --cc=72943@debbugs.gnu.org \
    --cc=me@tobias.gr \
    --cc=rutherther@protonmail.com \
    /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.