public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Matthias Schwarzott <zzam@gentoo.org>
To: gentoo-dev@lists.gentoo.org, vdr@gentoo.org,
	martin.dummer@gmx.net, media-video@gentoo.org
Subject: Re: [gentoo-dev] [PATCH 1/2] */*: Replace dependency to virtual/linuxtv-dvb-headers by sys-kernel/linux-headers
Date: Sun, 25 Feb 2024 21:55:21 +0100	[thread overview]
Message-ID: <2e39fb03-ab3f-43ae-8895-97920bb49694@gentoo.org> (raw)
In-Reply-To: <Zdt-3HaMG2_ki6HK@eversor>

Am 25.02.24 um 18:54 schrieb Ionen Wolkens:
> On Tue, Feb 13, 2024 at 09:19:46AM +0100, Matthias Schwarzott wrote:
>> virtual/linuxtv-dvb-headers has been important in the past when
>> linux-headers was not yet up-to-date.
>> Now it just pulls in >=sys-kernel/linux-headers-3.7.
>> Even that could be dropped as it is part of @system.
>>
>> Bug: https://bugs.gentoo.org/924398
>> Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
> 
>> diff --git a/media-video/mpv/mpv-0.37.0-r1.ebuild b/media-video/mpv/mpv-0.37.0-r1.ebuild
>> index 731cc45c2106..9ce839af5283 100644
>> --- a/media-video/mpv/mpv-0.37.0-r1.ebuild
>> +++ b/media-video/mpv/mpv-0.37.0-r1.ebuild
>> @@ -116,7 +116,7 @@ RDEPEND="
>>   DEPEND="
>>   	${COMMON_DEPEND}
>>   	X? ( x11-base/xorg-proto )
>> -	dvb? ( virtual/linuxtv-dvb-headers )
>> +	dvb? ( >=sys-kernel/linux-headers-3.7 )
> 
> Had missed this mail (sorry), not that I have much to say about it.
> 
> I'd argue that there's no need to clutter ebuilds with the >=3.7 bit
> at this point, <3.7 is long gone (dropped 9 years ago, and its addition
> predates the tree's git migration).
> 
> Think should keep the dependency itself though, it's not part of
> @system on *all* profiles (virtual/os-headers has conditions esp.
> with some prefixes). Similar deal to depending on glibc when packages
> are prebuilt and cannot be used with musl so pkgcheck can warn if masks
> are missing.

I also wondered if I could drop the dependency completely.
Then decided for the simplest possible solution.

I will update it to only depend on linux-headers.

Regards
Matthias



  reply	other threads:[~2024-02-25 20:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-13  8:19 [gentoo-dev] [PATCH 1/2] */*: Replace dependency to virtual/linuxtv-dvb-headers by sys-kernel/linux-headers Matthias Schwarzott
2024-02-13  8:19 ` [gentoo-dev] [PATCH 2/2] virtual/linuxtv-dvb-headers: Remove obsolete ebuild Matthias Schwarzott
2024-02-25 10:10 ` [gentoo-dev] [PATCH 1/2] */*: Replace dependency to virtual/linuxtv-dvb-headers by sys-kernel/linux-headers Matthias Schwarzott
2024-02-25 17:11   ` Martin Dummer
2024-02-25 20:53     ` Matthias Schwarzott
2024-02-25 17:54 ` Ionen Wolkens
2024-02-25 20:55   ` Matthias Schwarzott [this message]
2024-02-26  6:06   ` [gentoo-dev] [PATCH v2 1/2] */*: Remove dependency on virtual/linuxtv-dvb-headers Matthias Schwarzott
2024-03-01  9:21     ` Matthias Schwarzott
2024-02-26  6:06   ` [gentoo-dev] [PATCH v2 2/2] virtual/linuxtv-dvb-headers: Remove obsolete ebuild Matthias Schwarzott

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=2e39fb03-ab3f-43ae-8895-97920bb49694@gentoo.org \
    --to=zzam@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=martin.dummer@gmx.net \
    --cc=media-video@gentoo.org \
    --cc=vdr@gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox