* [bug#54451] [PATCH] gnu: dav1d: Update to 1.0.0.
@ 2022-03-18 15:54 Leo Famulari
2022-03-18 17:23 ` Leo Famulari
0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2022-03-18 15:54 UTC (permalink / raw)
To: 54451
* gnu/packages/video.scm (dav1d): Update to 1.0.0.
---
gnu/packages/video.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index dc05c0a222..464a8aea2f 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -4948,7 +4948,7 @@ (define-public shotcut
(define-public dav1d
(package
(name "dav1d")
- (version "0.9.2")
+ (version "1.0.0")
(source
(origin
(method git-fetch)
@@ -4957,7 +4957,7 @@ (define-public dav1d
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0bkps488h9s15ylvkm4fmfywgrpbw570glawpnv6khpq9n223dzl"))))
+ (base32 "0jkvb5as7danpalzlwd0w1dc9i2vijvmf39z0j6fwqvialsgnnj5"))))
(build-system meson-build-system)
(native-inputs (list nasm))
(home-page "https://code.videolan.org/videolan/dav1d")
--
2.34.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#54451] [PATCH] gnu: dav1d: Update to 1.0.0.
2022-03-18 15:54 [bug#54451] [PATCH] gnu: dav1d: Update to 1.0.0 Leo Famulari
@ 2022-03-18 17:23 ` Leo Famulari
2023-02-09 13:19 ` Maxim Cournoyer
0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2022-03-18 17:23 UTC (permalink / raw)
To: 54451
I tried building VLC with this update, because VLC and dav1d are both
projects of VideoLAN, so it's a good test.
Unfortunately, it seems that VLC is not yet ready for dav1d 1.0.0.
Compilation fails with many errors like this:
------
codec/dav1d.c:306:65: error: ‘Dav1dSettings’ has no member named ‘n_tile_threads’; did you mean ‘n_threads’?
306 | dav1d_version(), p_sys->s.n_frame_threads, p_sys->s.n_tile_threads);
| ^~~~~~~~~~~~~~
../include/vlc_messages.h:79:23: note: in definition of macro ‘msg_Generic’
79 | __func__, __VA_ARGS__)
| ^~~~~~~~~~~
codec/dav1d.c:305:5: note: in expansion of macro ‘msg_Dbg’
305 | msg_Dbg(p_this, "Using dav1d version %s with %d/%d frame/tile threads",
| ^~~~~~~
codec/dav1d.c:310:45: error: ‘Dav1dSettings’ has no member named ‘n_frame_threads’
310 | dec->i_extra_picture_buffers = (p_sys->s.n_frame_threads - 1);
| ^
make[4]: *** [Makefile:21741: codec/libdav1d_plugin_la-dav1d.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
demux/flac.c: In function ‘GetPacketizedBlock’:
demux/flac.c:230:17: warning: unused variable ‘i_ret’ [-Wunused-variable]
230 | int i_ret = FLAC_ParseSyncInfo( p_block->p_buffer, streaminfo, NULL, &headerinfo );
| ^~~~~
make[4]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16/modules'
make[3]: *** [Makefile:28011: all-recursive] Error 1
make[3]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16/modules'
make[2]: *** [Makefile:12804: all] Error 2
make[2]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16/modules'
make[1]: *** [Makefile:1563: all-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16'
make: *** [Makefile:1450: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "4") exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 52.2 seconds
command "make" "-j" "4" failed with status 2
builder for `/gnu/store/zs6a6l91hlw5apphqddijavx532kc4ln-vlc-3.0.16.drv' failed with exit code 1
build of /gnu/store/zs6a6l91hlw5apphqddijavx532kc4ln-vlc-3.0.16.drv failed
------
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#54451] [PATCH] gnu: dav1d: Update to 1.0.0.
2022-03-18 17:23 ` Leo Famulari
@ 2023-02-09 13:19 ` Maxim Cournoyer
2023-02-12 11:51 ` bug#54451: " Leo Famulari
0 siblings, 1 reply; 4+ messages in thread
From: Maxim Cournoyer @ 2023-02-09 13:19 UTC (permalink / raw)
To: Leo Famulari; +Cc: 54451
Hi Leo,
Leo Famulari <leo@famulari.name> writes:
> I tried building VLC with this update, because VLC and dav1d are both
> projects of VideoLAN, so it's a good test.
>
> Unfortunately, it seems that VLC is not yet ready for dav1d 1.0.0.
> Compilation fails with many errors like this:
>
> ------
> codec/dav1d.c:306:65: error: ‘Dav1dSettings’ has no member named ‘n_tile_threads’; did you mean ‘n_threads’?
> 306 | dav1d_version(), p_sys->s.n_frame_threads, p_sys->s.n_tile_threads);
> | ^~~~~~~~~~~~~~
> ../include/vlc_messages.h:79:23: note: in definition of macro ‘msg_Generic’
> 79 | __func__, __VA_ARGS__)
> | ^~~~~~~~~~~
> codec/dav1d.c:305:5: note: in expansion of macro ‘msg_Dbg’
> 305 | msg_Dbg(p_this, "Using dav1d version %s with %d/%d frame/tile threads",
> | ^~~~~~~
> codec/dav1d.c:310:45: error: ‘Dav1dSettings’ has no member named ‘n_frame_threads’
> 310 | dec->i_extra_picture_buffers = (p_sys->s.n_frame_threads - 1);
> | ^
> make[4]: *** [Makefile:21741: codec/libdav1d_plugin_la-dav1d.lo] Error 1
> make[4]: *** Waiting for unfinished jobs....
> demux/flac.c: In function ‘GetPacketizedBlock’:
> demux/flac.c:230:17: warning: unused variable ‘i_ret’ [-Wunused-variable]
> 230 | int i_ret = FLAC_ParseSyncInfo( p_block->p_buffer, streaminfo, NULL, &headerinfo );
> | ^~~~~
> make[4]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16/modules'
> make[3]: *** [Makefile:28011: all-recursive] Error 1
> make[3]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16/modules'
> make[2]: *** [Makefile:12804: all] Error 2
> make[2]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16/modules'
> make[1]: *** [Makefile:1563: all-recursive] Error 1
> make[1]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16'
> make: *** [Makefile:1450: all] Error 2
> error: in phase 'build': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("-j" "4") exit-status: 2 term-signal: #f stop-signal: #f>
> phase `build' failed after 52.2 seconds
> command "make" "-j" "4" failed with status 2
> builder for `/gnu/store/zs6a6l91hlw5apphqddijavx532kc4ln-vlc-3.0.16.drv' failed with exit code 1
> build of /gnu/store/zs6a6l91hlw5apphqddijavx532kc4ln-vlc-3.0.16.drv failed
46 weeks later, perhaps a VLC update could fix this? :-)
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#54451: [PATCH] gnu: dav1d: Update to 1.0.0.
2023-02-09 13:19 ` Maxim Cournoyer
@ 2023-02-12 11:51 ` Leo Famulari
0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2023-02-12 11:51 UTC (permalink / raw)
To: Maxim Cournoyer; +Cc: 54451-done
On Thu, Feb 09, 2023 at 08:19:57AM -0500, Maxim Cournoyer wrote:
> 46 weeks later, perhaps a VLC update could fix this? :-)
Yes, thanks for the reminder!
Compatibility between dav1d 1.0.0 and VLC was added in VLC 3.0.18. Also
tested in mpv.
Pushed as 126608f7a9649bc7761331a15940dd65ff773e0c
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-02-12 11:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-18 15:54 [bug#54451] [PATCH] gnu: dav1d: Update to 1.0.0 Leo Famulari
2022-03-18 17:23 ` Leo Famulari
2023-02-09 13:19 ` Maxim Cournoyer
2023-02-12 11:51 ` bug#54451: " Leo Famulari
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.