GNU bug report logs -
#61117
Update svtplay-dl to 4.18
Previous Next
To reply to this bug, email your comments to 61117 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sat, 28 Jan 2023 11:30:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jessica Tallon <tsyesika <at> tsyesika.se>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 28 Jan 2023 11:30:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
I've attached a patch to upgrade svtplay-dl from 4.17 to 4.18. I've also moved
ffmpeg form inputs to propagated-inputs as it's needed while the program is
running to merge two files, not while building.
Thanks,
Jessica.
[0001-gnu-packages-video.scm-svtplay-dl-update-to-4.18.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sat, 28 Jan 2023 12:52:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Jessica,
Jessica Tallon 写道:
> I've attached a patch to upgrade svtplay-dl from 4.17 to 4.18.
Thanks!
> I've also moved ffmpeg form inputs to propagated-inputs
Please avoid propagation whenever possible; it breaks all kinds of
nice things.
Propagating A from B means that Guix will effectively ‘install’ A
alongside B when the user installs only B. Or how classical
package managers bluntly handle ‘dependencies’. Not good!
Here's what I'd do instead [untested]:
(arguments
(list #:phases
#~(modify-phases %standard-phases
(add-after 'wrap 'wrap-harder
(lambda* (#:key inputs outputs
#:allow-other-keys)
(wrap-script (string-append (assoc-ref outputs
"out")
"/bin/svtplay-dl")
`("PATH" ":" prefix
(,(dirname (search-input-file inputs
"bin/ffmpeg"))))))))))
(native-inputs (list guile-3.0)) ; for wrap-script
> it's needed while the program is
> running to merge two files, not while building.
So 4.17 did not need or use ffmpeg this way?
Otherwise, put each unrelated changes into a separate commit: one
to improve the ffmpeg situation, and one to update svtplay-dl.
You can send multiple related commits as one patch series to one
bug number, though.
Kind regards,
T G-R
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sat, 28 Jan 2023 12:52:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sat, 28 Jan 2023 12:58:02 GMT)
Full text and
rfc822 format available.
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Tobias Geerinckx-Rice via Guix-patches via 写道:
> (lambda* (#:key inputs outputs
> #:allow-other-keys) ^
Dunno why mu4e added a hard newline here. There shouldn't be one.
Kind regards,
T G-R
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sat, 28 Jan 2023 12:58:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sat, 28 Jan 2023 13:02:02 GMT)
Full text and
rfc822 format available.
Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Tobias Geerinckx-Rice via Guix-patches via 写道:
> (wrap-script (string-append (assoc-ref outputs
> "out")
> ^
And here. All the others are good. Sorry for the mess.
Kind regards,
T G-R
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sat, 28 Jan 2023 13:02:02 GMT)
Full text and
rfc822 format available.
Added tag(s) moreinfo.
Request was from
Christopher Baines <mail <at> cbaines.net>
to
control <at> debbugs.gnu.org
.
(Fri, 03 Feb 2023 14:28:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sun, 05 Mar 2023 10:12:02 GMT)
Full text and
rfc822 format available.
Message #28 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
Sorry for the long delay on addressing this feedback.
Tobias Geerinckx-Rice <me <at> tobias.gr> writes:
> [[PGP Signed Part:Undecided]]
> Jessica,
>
> Please avoid propagation whenever possible; it breaks all kinds of
> nice things.
>
> Propagating A from B means that Guix will effectively ‘install’ A
> alongside B when the user installs only B. Or how classical package
> managers bluntly handle ‘dependencies’. Not good!
>
Thanks for the tip, I've included a patch which does it this way.
>
>> it's needed while the program is running to merge two files, not
>> while building.
>
> So 4.17 did not need or use ffmpeg this way?
>
> Otherwise, put each unrelated changes into a separate commit: one to
> improve the ffmpeg situation, and one to update svtplay-dl. You can
> send multiple related commits as one patch series to one bug number,
> though.
4.17 did indeed need ffmpeg, I've included two patches one which
resolves the ffmpeg issue and the other which updates it to 4.18.
Thanks,
Jessica.
[0000-cover-letter.patch (text/x-patch, attachment)]
[0001-gnu-fix-svtplay-dl-wrapping-to-use-ffmpeg.patch (text/x-patch, attachment)]
[0002-gnu-svtplay-dl-update-to-4.18.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sun, 05 Mar 2023 10:12:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sun, 05 Mar 2023 10:40:02 GMT)
Full text and
rfc822 format available.
Message #34 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
Sorry for the long delay on addressing this feedback.
Tobias Geerinckx-Rice <me <at> tobias.gr> writes:
> Jessica,
>
> Please avoid propagation whenever possible; it breaks all kinds of
> nice things.
>
> Propagating A from B means that Guix will effectively ‘install’ A
> alongside B when the user installs only B. Or how classical package
> managers bluntly handle ‘dependencies’. Not good!
>
Thanks for the tip, I've included a patch which does it this way.
>
>> it's needed while the program is running to merge two files, not
>> while building.
>
> So 4.17 did not need or use ffmpeg this way?
>
> Otherwise, put each unrelated changes into a separate commit: one to
> improve the ffmpeg situation, and one to update svtplay-dl. You can
> send multiple related commits as one patch series to one bug number,
> though.
4.17 did indeed need ffmpeg, I've included two patches one which
resolves the ffmpeg issue and the other which updates it to 4.18.
Thanks,
Jessica.
[0000-cover-letter.patch (text/x-patch, attachment)]
[0001-gnu-fix-svtplay-dl-wrapping-to-use-ffmpeg.patch (text/x-patch, attachment)]
[0002-gnu-svtplay-dl-update-to-4.18.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sun, 05 Mar 2023 10:40:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sun, 05 Mar 2023 20:14:02 GMT)
Full text and
rfc822 format available.
Message #40 received at submit <at> debbugs.gnu.org (full text, mbox):
Thanks again for working on this package!
On Sat, Jan 28, 2023 at 01:33:44PM +0100, Tobias Geerinckx-Rice via Guix-patches via wrote:
> > I've also moved ffmpeg form inputs to propagated-inputs
>
> Please avoid propagation whenever possible; it breaks all kinds of nice
> things.
I'm here to express my weak preference for dynamically binding FFmpeg in
use cases like this one.
That means, I prefer if packages like svtplay-dl do not depend on FFmpeg
at all, but rather expect the user to install FFmpeg alongside them.
I prefer this because I use a custom FFmpeg professionally as a video
engineer, and it's easier to use it with Guix packages if the dependency
is resolved at run-time rather than at build-time.
I'd expect that many people like me also use a variety of custom FFmpeg
builds for different use cases.
Like I said, it's a weak preference. And I probably wouldn't use
svtplay-dl at work in the US, although I do use youtube-dl / yt-dlp. Let
me know what you think.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sun, 05 Mar 2023 20:14:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sun, 05 Mar 2023 20:36:01 GMT)
Full text and
rfc822 format available.
Message #46 received at submit <at> debbugs.gnu.org (full text, mbox):
Leo Famulari <leo <at> famulari.name> writes:
> Thanks again for working on this package!
>
> On Sat, Jan 28, 2023 at 01:33:44PM +0100, Tobias Geerinckx-Rice via Guix-patches via wrote:
>> > I've also moved ffmpeg form inputs to propagated-inputs
>>
>> Please avoid propagation whenever possible; it breaks all kinds of nice
>> things.
>
> I'm here to express my weak preference for dynamically binding FFmpeg in
> use cases like this one.
>
> That means, I prefer if packages like svtplay-dl do not depend on FFmpeg
> at all, but rather expect the user to install FFmpeg alongside them.
>
> I prefer this because I use a custom FFmpeg professionally as a video
> engineer, and it's easier to use it with Guix packages if the dependency
> is resolved at run-time rather than at build-time.
>
> I'd expect that many people like me also use a variety of custom FFmpeg
> builds for different use cases.
>
> Like I said, it's a weak preference. And I probably wouldn't use
> svtplay-dl at work in the US, although I do use youtube-dl / yt-dlp. Let
> me know what you think.
Hello,
Thanks for sharing your experiance, especially as a professional video
engineer :)
I think I have a mild opinion for having it bring in ffmpeg, this is
mostly for three reasons:
- There isn't a good way to communicate to users that they might wish to
pull in ffmpeg.
- svtplay-dl will download both audio and video parts and then realise
it doesn't have ffmpeg and will give up producing a warning. This
leaves it up to the user to fix, while a merging both files is a
simple job it often has me searching through a manual as I'm not well
versed in ffmpeg or similar.
- I like it when things work consistantly (if x version of svtplay-dl
works a specific way on my machine, it should on another machine, not
dependent on my profile)
My preference is mild though, let me know what you think!
Thanks,
Jessica.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sun, 05 Mar 2023 20:36:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sun, 05 Mar 2023 20:59:02 GMT)
Full text and
rfc822 format available.
Message #52 received at submit <at> debbugs.gnu.org (full text, mbox):
On Sun, Mar 05, 2023 at 09:15:14PM +0100, Jessica Tallon wrote:
> I think I have a mild opinion for having it bring in ffmpeg, this is
> mostly for three reasons:
>
> - There isn't a good way to communicate to users that they might wish to
> pull in ffmpeg.
>
> - svtplay-dl will download both audio and video parts and then realise
> it doesn't have ffmpeg and will give up producing a warning. This
> leaves it up to the user to fix, while a merging both files is a
> simple job it often has me searching through a manual as I'm not well
> versed in ffmpeg or similar.
>
> - I like it when things work consistantly (if x version of svtplay-dl
> works a specific way on my machine, it should on another machine, not
> dependent on my profile)
>
> My preference is mild though, let me know what you think!
I think you should go with your method!
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61117
; Package
guix-patches
.
(Sun, 05 Mar 2023 20:59:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 105 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.