From 7aa5c9dfb341e188b6de8e7cfc8247ea66d657a5 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 17 Nov 2022 03:11:20 +0100 Subject: gnu: libaom: Update to 3.5.0. * gnu/packages/video.scm (libaom): Update to 3.5.0. [arguments]: Remove obsolete configure flag. --- gnu/packages/video.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index c394c65442..fa89f47b0a 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -846,7 +846,7 @@ (define-public liba52 (define-public libaom (package (name "libaom") - (version "3.3.0") + (version "3.5.0") (source (origin (method git-fetch) (uri (git-reference @@ -855,7 +855,7 @@ (define-public libaom (file-name (git-file-name name version)) (sha256 (base32 - "024vhsx7bw9kajk65hhh5vmqrja0h33rmlcpngsj3yg4p8l29943")))) + "0arn8a88jz4mj69n8cs4qmrdjwhbvzsqgnx20wr9mq01b06kqich")))) (build-system cmake-build-system) (native-inputs (list perl pkg-config python)) ; to detect the version @@ -863,7 +863,6 @@ (define-public libaom `(#:tests? #f ; downloads many video clips #:configure-flags (list "-DBUILD_SHARED_LIBS=YES" - "-DENABLE_PIC=TRUE" "-DAOM_TARGET_CPU=generic" (string-append "-DCMAKE_INSTALL_PREFIX=" (assoc-ref %outputs "out"))) -- cgit v1.2.3 From f8e1c9c003999cf20db2d7e5c1aa2c64c787056d Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 17 Nov 2022 04:30:32 +0100 Subject: gnu: dav1d: Update to 1.0.0. * gnu/packages/video.scm (dav1d): Update to 1.0.0. --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index fa89f47b0a..f54ced4e2e 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -4936,7 +4936,7 @@ (define-public shotcut (define-public dav1d (package (name "dav1d") - (version "0.9.2") + (version "1.0.0") (source (origin (method git-fetch) @@ -4945,7 +4945,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") -- cgit v1.2.3 From 372b037540395b688a0406c89709fdc3af880e4a Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 18 Nov 2022 08:14:31 +0100 Subject: gnu: VLC: Fix build with dav1d 1.0. * gnu/packages/video.scm (vlc)[source](patches): New field. * gnu/packages/patches/vlc-dav1d-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. --- gnu/local.mk | 1 + gnu/packages/patches/vlc-dav1d-compat.patch | 70 +++++++++++++++++++++++++++++ gnu/packages/video.scm | 1 + 3 files changed, 72 insertions(+) create mode 100644 gnu/packages/patches/vlc-dav1d-compat.patch (limited to 'gnu/packages/video.scm') diff --git a/gnu/local.mk b/gnu/local.mk index b154caaaaa..8f59fb5faf 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1979,6 +1979,7 @@ dist_patch_DATA = \ %D%/packages/patches/vinagre-newer-rdp-parameters.patch \ %D%/packages/patches/virglrenderer-CVE-2017-6386.patch \ %D%/packages/patches/virtuoso-ose-remove-pre-built-jar-files.patch \ + %D%/packages/patches/vlc-dav1d-compat.patch \ %D%/packages/patches/vsearch-unbundle-cityhash.patch \ %D%/packages/patches/vte-CVE-2012-2738-pt1.patch \ %D%/packages/patches/vte-CVE-2012-2738-pt2.patch \ diff --git a/gnu/packages/patches/vlc-dav1d-compat.patch b/gnu/packages/patches/vlc-dav1d-compat.patch new file mode 100644 index 0000000000..3cb737faba --- /dev/null +++ b/gnu/packages/patches/vlc-dav1d-compat.patch @@ -0,0 +1,70 @@ +Fix build against dav1d 1.0. + + https://code.videolan.org/videolan/vlc/-/merge_requests/1618 + +Patch adjusted for VLC 3.0 taken from Gentoo: + + https://gitweb.gentoo.org/repo/gentoo.git/tree/media-video/vlc/files/vlc-3.0.17.3-dav1d-1.0.0.patch + +--- a/modules/codec/dav1d.c ++++ b/modules/codec/dav1d.c +@@ -63,10 +63,16 @@ vlc_module_begin () + set_category(CAT_INPUT) + set_subcategory(SUBCAT_INPUT_VCODEC) + ++#if DAV1D_API_VERSION_MAJOR >= 6 ++ add_integer_with_range("dav1d-thread-frames", 0, 0, DAV1D_MAX_THREADS, ++ THREAD_FRAMES_TEXT, THREAD_FRAMES_LONGTEXT, false) ++ add_obsolete_string("dav1d-thread-tiles") // unused with dav1d 1.0 ++#else + add_integer_with_range("dav1d-thread-frames", 0, 0, DAV1D_MAX_FRAME_THREADS, + THREAD_FRAMES_TEXT, THREAD_FRAMES_LONGTEXT, false) + add_integer_with_range("dav1d-thread-tiles", 0, 0, DAV1D_MAX_TILE_THREADS, + THREAD_TILES_TEXT, THREAD_TILES_LONGTEXT, false) ++#endif + vlc_module_end () + + /***************************************************************************** +@@ -294,6 +300,11 @@ static int OpenDecoder(vlc_object_t *p_this) + return VLC_ENOMEM; + + dav1d_default_settings(&p_sys->s); ++#if DAV1D_API_VERSION_MAJOR >= 6 ++ p_sys->s.n_threads = var_InheritInteger(p_this, "dav1d-thread-frames"); ++ if (p_sys->s.n_threads == 0) ++ p_sys->s.n_threads = (i_core_count < 16) ? i_core_count : 16; ++#else + p_sys->s.n_tile_threads = var_InheritInteger(p_this, "dav1d-thread-tiles"); + if (p_sys->s.n_tile_threads == 0) + p_sys->s.n_tile_threads = +@@ -303,6 +314,7 @@ static int OpenDecoder(vlc_object_t *p_this) + p_sys->s.n_frame_threads = var_InheritInteger(p_this, "dav1d-thread-frames"); + if (p_sys->s.n_frame_threads == 0) + p_sys->s.n_frame_threads = (i_core_count < 16) ? i_core_count : 16; ++#endif + p_sys->s.allocator.cookie = dec; + p_sys->s.allocator.alloc_picture_callback = NewPicture; + p_sys->s.allocator.release_picture_callback = FreePicture; +@@ -313,12 +325,20 @@ static int OpenDecoder(vlc_object_t *p_this) + return VLC_EGENERIC; + } + ++#if DAV1D_API_VERSION_MAJOR >= 6 ++ msg_Dbg(p_this, "Using dav1d version %s with %d threads", ++ dav1d_version(), p_sys->s.n_threads); ++ ++ dec->i_extra_picture_buffers = (p_sys->s.n_threads - 1); ++#else + msg_Dbg(p_this, "Using dav1d version %s with %d/%d frame/tile threads", + dav1d_version(), p_sys->s.n_frame_threads, p_sys->s.n_tile_threads); + ++ dec->i_extra_picture_buffers = (p_sys->s.n_frame_threads - 1); ++#endif ++ + dec->pf_decode = Decode; + dec->pf_flush = FlushDecoder; +- dec->i_extra_picture_buffers = (p_sys->s.n_frame_threads - 1); + + dec->fmt_out.video.i_width = dec->fmt_in.video.i_width; + dec->fmt_out.video.i_height = dec->fmt_in.video.i_height; +GitLab diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index f54ced4e2e..7f2112de0d 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1943,6 +1943,7 @@ (define-public vlc "https://download.videolan.org/pub/videolan/vlc/" (car (string-split version #\-)) "/vlc-" version ".tar.xz")) + (patches (search-patches "vlc-dav1d-compat.patch")) (sha256 (base32 "0cs1vnv91mg7p6253v6wms3zlz91xzphpwaw14dmrd2gibc64nlc")))) -- cgit v1.2.3 From 915360ee9c4a8f948737267184918996fa271aa5 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 18 Nov 2022 10:34:21 +0100 Subject: gnu: libx264: Update to 164-0.b093bbe. * gnu/packages/video.scm (libx264): Update to 164-0.b093bbe. (libx264-next): Remove variable. * gnu/packages/jami.scm (ffmpeg-jami)[inputs]: Don't use LIBX264-NEXT. --- gnu/packages/jami.scm | 3 +-- gnu/packages/video.scm | 27 +++------------------------ 2 files changed, 4 insertions(+), 26 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm index a9a988ca5a..2c5a4c8d88 100644 --- a/gnu/packages/jami.scm +++ b/gnu/packages/jami.scm @@ -424,8 +424,7 @@ (define-public ffmpeg-jami "mov ismv") (("fate-lavf-mov_rtphint:.*") "")))))))) (inputs (modify-inputs (package-inputs ffmpeg-5) - (replace "libvpx" libvpx-next) - (replace "libx264" libx264-next))))) + (replace "libvpx" libvpx-next))))) (define-public libjami (package diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 7f2112de0d..f30f567206 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -912,8 +912,8 @@ (define-public libmpeg2 (define-public libx264 ;; There are no tags in the repository, so we take the version number from ;; the X264_BUILD variable defined in x264.h. - (let ((version "161") - (commit "4c2aafd864dd201832ec2be0fef4484925146650") + (let ((version "164") + (commit "b093bbe7d9bc642c8f24067cbdcc73bb43562eab") (revision "0")) (package (name "libx264") @@ -926,7 +926,7 @@ (define-public libx264 (file-name (git-file-name name version)) (sha256 (base32 - "1i6v9h3xx9pi0zmlj3anwwjxqa63sbhy9crrif8dphipwfn9hyg5")))) + "095pv8y6fqjg8mdvsfk12d0jqgyhip536a6vxhzm7qz8hfp96qhq")))) (build-system gnu-build-system) (native-inputs (list pkg-config nasm)) @@ -976,27 +976,6 @@ (define-public libx264 "file://extras/cl.h" "See extras/cl.h in the distribution.")))))) -;;; TODO: Merge into libx264 on staging. -(define-public libx264-next - ;; There are no tags in the repository, so we take the version number from - ;; the X264_BUILD variable defined in x264.h. - (let ((version "164") - (commit "b093bbe7d9bc642c8f24067cbdcc73bb43562eab") - (revision "0")) - (package - (inherit libx264) - (name "libx264") - (version (git-version version revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://code.videolan.org/videolan/x264.git") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "095pv8y6fqjg8mdvsfk12d0jqgyhip536a6vxhzm7qz8hfp96qhq"))))))) - (define-public mkvtoolnix (package (name "mkvtoolnix") -- cgit v1.2.3 From b1e802034d6896053f784a067d66d940a5897ae8 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 18 Nov 2022 10:36:31 +0100 Subject: gnu: libvpx: Update to 1.12.0. * gnu/packages/video.scm (libvpx): Update to 1.12.0. (libvpx-next): Remove variable. * gnu/packages/jami.scm (ffmpeg-jami)[inputs]: Remove. --- gnu/packages/jami.scm | 4 +--- gnu/packages/video.scm | 20 ++------------------ 2 files changed, 3 insertions(+), 21 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm index 2c5a4c8d88..7e4fb04e0f 100644 --- a/gnu/packages/jami.scm +++ b/gnu/packages/jami.scm @@ -422,9 +422,7 @@ (define-public ffmpeg-jami (substitute* "tests/fate/lavf-container.mak" (("mov mov_rtphint ismv") "mov ismv") - (("fate-lavf-mov_rtphint:.*") "")))))))) - (inputs (modify-inputs (package-inputs ffmpeg-5) - (replace "libvpx" libvpx-next))))) + (("fate-lavf-mov_rtphint:.*") "")))))))))) (define-public libjami (package diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index f30f567206..19ca1d8267 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2367,7 +2367,7 @@ (define-public mpv-mpris (define-public libvpx (package (name "libvpx") - (version "1.11.0") + (version "1.12.0") (source (origin (method git-fetch) (uri (git-reference @@ -2376,7 +2376,7 @@ (define-public libvpx (file-name (git-file-name name version)) (sha256 (base32 - "00f1jrclai2b6ys78dpsg6r1mvcyxlna93vxcz8zjyia24c2pjsb")) + "1x12f2bd4jqd532rnixmwvcx8d29yxiacpcxqqh86qczc49la8gm")) (patches (search-patches "libvpx-CVE-2016-2818.patch")))) (build-system gnu-build-system) (arguments @@ -2406,22 +2406,6 @@ (define-public libvpx (license license:bsd-3) (home-page "https://www.webmproject.org/"))) -;;; TODO: Merge into libvpx on staging. -(define-public libvpx-next - (package - (inherit libvpx) - (name "libvpx") - (version "1.12.0") - (source (origin - (inherit (package-source libvpx)) - (uri (git-reference - (url "https://chromium.googlesource.com/webm/libvpx") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1x12f2bd4jqd532rnixmwvcx8d29yxiacpcxqqh86qczc49la8gm")))))) - (define-public youtube-dl (package (name "youtube-dl") -- cgit v1.2.3 From c5e15ef4ddcbe7ebf77b4d24a99707396121cb6c Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 5 Nov 2022 20:33:51 +0800 Subject: gnu: libva: Update to 2.16.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/video.scm (libva): Update to 2.16.0. Signed-off-by: Ludovic Courtès --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 3d2965f131..757187dda7 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1498,14 +1498,14 @@ (define-public libplacebo (define-public libva (package (name "libva") - (version "2.15.0") + (version "2.16.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/intel/libva/releases/download/" version "/libva-" version ".tar.bz2")) (sha256 - (base32 "1jhy8qzfp4ydbxs9qd9km7k5wq8r4s2vq20r1q07lgld8l4x93i5")))) + (base32 "070aj9nw681a4m7f5xb662hhyib0w9q0i0s9v8vplh9cvfhaqpqi")))) (build-system gnu-build-system) (native-inputs (list pkg-config)) -- cgit v1.2.3 From 222a04ff97d892b4d3e7c35e4158035aada6f149 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 8 Jan 2023 19:34:10 +0100 Subject: gnu: VLC: Remove obsolete patch. This reverts 372b037540395b688a0406c89709fdc3af880e4a, which became obsolete with af74211d987d2b8510e2f4937e65f6480754886f. * gnu/packages/video.scm (vlc)[source](patches): Remove. * gnu/packages/patches/vlc-dav1d-compat.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. --- gnu/local.mk | 1 - gnu/packages/patches/vlc-dav1d-compat.patch | 70 ----------------------------- gnu/packages/video.scm | 1 - 3 files changed, 72 deletions(-) delete mode 100644 gnu/packages/patches/vlc-dav1d-compat.patch (limited to 'gnu/packages/video.scm') diff --git a/gnu/local.mk b/gnu/local.mk index 12bf871516..b56f80e16b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1978,7 +1978,6 @@ dist_patch_DATA = \ %D%/packages/patches/vinagre-newer-rdp-parameters.patch \ %D%/packages/patches/virglrenderer-CVE-2017-6386.patch \ %D%/packages/patches/virtuoso-ose-remove-pre-built-jar-files.patch \ - %D%/packages/patches/vlc-dav1d-compat.patch \ %D%/packages/patches/vsearch-unbundle-cityhash.patch \ %D%/packages/patches/vte-CVE-2012-2738-pt1.patch \ %D%/packages/patches/vte-CVE-2012-2738-pt2.patch \ diff --git a/gnu/packages/patches/vlc-dav1d-compat.patch b/gnu/packages/patches/vlc-dav1d-compat.patch deleted file mode 100644 index 3cb737faba..0000000000 --- a/gnu/packages/patches/vlc-dav1d-compat.patch +++ /dev/null @@ -1,70 +0,0 @@ -Fix build against dav1d 1.0. - - https://code.videolan.org/videolan/vlc/-/merge_requests/1618 - -Patch adjusted for VLC 3.0 taken from Gentoo: - - https://gitweb.gentoo.org/repo/gentoo.git/tree/media-video/vlc/files/vlc-3.0.17.3-dav1d-1.0.0.patch - ---- a/modules/codec/dav1d.c -+++ b/modules/codec/dav1d.c -@@ -63,10 +63,16 @@ vlc_module_begin () - set_category(CAT_INPUT) - set_subcategory(SUBCAT_INPUT_VCODEC) - -+#if DAV1D_API_VERSION_MAJOR >= 6 -+ add_integer_with_range("dav1d-thread-frames", 0, 0, DAV1D_MAX_THREADS, -+ THREAD_FRAMES_TEXT, THREAD_FRAMES_LONGTEXT, false) -+ add_obsolete_string("dav1d-thread-tiles") // unused with dav1d 1.0 -+#else - add_integer_with_range("dav1d-thread-frames", 0, 0, DAV1D_MAX_FRAME_THREADS, - THREAD_FRAMES_TEXT, THREAD_FRAMES_LONGTEXT, false) - add_integer_with_range("dav1d-thread-tiles", 0, 0, DAV1D_MAX_TILE_THREADS, - THREAD_TILES_TEXT, THREAD_TILES_LONGTEXT, false) -+#endif - vlc_module_end () - - /***************************************************************************** -@@ -294,6 +300,11 @@ static int OpenDecoder(vlc_object_t *p_this) - return VLC_ENOMEM; - - dav1d_default_settings(&p_sys->s); -+#if DAV1D_API_VERSION_MAJOR >= 6 -+ p_sys->s.n_threads = var_InheritInteger(p_this, "dav1d-thread-frames"); -+ if (p_sys->s.n_threads == 0) -+ p_sys->s.n_threads = (i_core_count < 16) ? i_core_count : 16; -+#else - p_sys->s.n_tile_threads = var_InheritInteger(p_this, "dav1d-thread-tiles"); - if (p_sys->s.n_tile_threads == 0) - p_sys->s.n_tile_threads = -@@ -303,6 +314,7 @@ static int OpenDecoder(vlc_object_t *p_this) - p_sys->s.n_frame_threads = var_InheritInteger(p_this, "dav1d-thread-frames"); - if (p_sys->s.n_frame_threads == 0) - p_sys->s.n_frame_threads = (i_core_count < 16) ? i_core_count : 16; -+#endif - p_sys->s.allocator.cookie = dec; - p_sys->s.allocator.alloc_picture_callback = NewPicture; - p_sys->s.allocator.release_picture_callback = FreePicture; -@@ -313,12 +325,20 @@ static int OpenDecoder(vlc_object_t *p_this) - return VLC_EGENERIC; - } - -+#if DAV1D_API_VERSION_MAJOR >= 6 -+ msg_Dbg(p_this, "Using dav1d version %s with %d threads", -+ dav1d_version(), p_sys->s.n_threads); -+ -+ dec->i_extra_picture_buffers = (p_sys->s.n_threads - 1); -+#else - msg_Dbg(p_this, "Using dav1d version %s with %d/%d frame/tile threads", - dav1d_version(), p_sys->s.n_frame_threads, p_sys->s.n_tile_threads); - -+ dec->i_extra_picture_buffers = (p_sys->s.n_frame_threads - 1); -+#endif -+ - dec->pf_decode = Decode; - dec->pf_flush = FlushDecoder; -- dec->i_extra_picture_buffers = (p_sys->s.n_frame_threads - 1); - - dec->fmt_out.video.i_width = dec->fmt_in.video.i_width; - dec->fmt_out.video.i_height = dec->fmt_in.video.i_height; -GitLab diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 4dc50b31a3..4e7dad28e7 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1924,7 +1924,6 @@ (define-public vlc "https://download.videolan.org/pub/videolan/vlc/" (car (string-split version #\-)) "/vlc-" version ".tar.xz")) - (patches (search-patches "vlc-dav1d-compat.patch")) (sha256 (base32 "1v7db9icrb12yz7banq2wvpjpvqfrj031yj1kf5smn35qcwl82ap")))) -- cgit v1.2.3 From 95c1c16a29f01d44f3401d1644fe2cf88b8758ae Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 19 Feb 2023 12:43:52 +0200 Subject: gnu: rav1e: Fix building. * gnu/packages/video.scm (rav1e)[source]: Remove outdated snippet. [arguments]: Remove custom 'force-rust-edition-2018 phase. --- gnu/packages/video.scm | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index d4d3a8f5b9..93a2425932 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -5289,12 +5289,7 @@ (define-public rav1e (string-append name "-" version ".tar.gz")) (sha256 (base32 - "006bfcmjwg0phg8gc25b1sl2ngjrb2bh1b3fd0s5gbf9nlkr8qsn")) - (modules '((guix build utils))) - (snippet - '(substitute* "Cargo.toml" - (("\\[package\\]" m) - (string-append "cargo-features = [\"rust-version\"]\n" m)))))) + "006bfcmjwg0phg8gc25b1sl2ngjrb2bh1b3fd0s5gbf9nlkr8qsn")))) (build-system cargo-build-system) (arguments `(;; Strip the '--release' flag to work around the doctest failures with @@ -5357,14 +5352,8 @@ (define-public rav1e (add-after 'unpack 'relax-versions (lambda _ (substitute* "Cargo.toml" - ;; Allow using more recent versions of + ;; Allow using more recent versions of system-deps. (("~3.1.2") "~3")))) - (add-after 'configure 'force-rust-edition-2018 - (lambda* (#:key vendor-dir #:allow-other-keys) - ;; Force all the dependencies to not be higher than edition 2018. - (with-fluids ((%default-port-encoding #f)) - (substitute* (find-files vendor-dir "Cargo.toml") - (("edition = \\\"2021\\\"") "edition = \"2018\""))))) (replace 'build (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) -- cgit v1.2.3 From 28cca50a045eb8bcda6ca9ba1e64623fc40c01ae Mon Sep 17 00:00:00 2001 From: Andy Tai Date: Fri, 24 Mar 2023 22:55:51 -0700 Subject: gnu: obs: Update to 29.0.2 * gnu/packages/video.scm (obs): Update to 29.0.2 Signed-off-by: Christopher Baines --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 73d0c1ca54..2559634c29 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -3405,7 +3405,7 @@ (define-public v4l-utils (define-public obs (package (name "obs") - (version "29.0.0") + (version "29.0.2") (source (origin (method git-fetch) (uri (git-reference @@ -3415,7 +3415,7 @@ (define-public obs (file-name (git-file-name name version)) (sha256 (base32 - "15nvvlpryvlbf76918jvygg1985glz38cndfgnc2c0009vdb9qbk")) + "1ijn19wy52fa7ahr29v1rzvh6j0qr7i5xl129m6s9c644f7i51ac")) (patches (search-patches "obs-modules-location.patch")))) (build-system cmake-build-system) -- cgit v1.2.3 From d624cd4c842a0e47ed3670ecb2a65b69cdccea63 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 24 Mar 2023 23:38:07 -0400 Subject: gnu: ffmpeg-5: Rename variable to ffmpeg. * gnu/packages/video.scm (ffmpeg-5): Rename to... (ffmpeg): ... this, replacing the old 'ffmpeg' alias. (ffmpeg-4): Adjust accordingly. * gnu/packages/jami.scm (ffmpeg-jami): Likewise. --- gnu/packages/jami.scm | 4 ++-- gnu/packages/video.scm | 10 ++++------ 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm index 4e8d36ca96..65607249ba 100644 --- a/gnu/packages/jami.scm +++ b/gnu/packages/jami.scm @@ -349,7 +349,7 @@ (define (ffmpeg-compose-configure-flags) (define-public ffmpeg-jami (package - (inherit ffmpeg-5) + (inherit ffmpeg) (name "ffmpeg-jami") ;; XXX: Use a slightly older version, otherwise the ;; 'libopusdec-enable-FEC' patch doesn't apply. @@ -363,7 +363,7 @@ (define-public ffmpeg-jami "0yq0jcdc4qm5znrzylj3dsicrkk2n3n8bv28vr0a506fb7iglbpg")))) (outputs '("out" "debug")) (arguments - (substitute-keyword-arguments (package-arguments ffmpeg-5) + (substitute-keyword-arguments (package-arguments ffmpeg) ((#:configure-flags _ '()) #~(cons* "--disable-static" "--enable-shared" diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 93a2425932..064ebb07d3 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1576,7 +1576,7 @@ (define-public libva-utils operate properly.") (license license:expat))) -(define-public ffmpeg-5 +(define-public ffmpeg (package (name "ffmpeg") (version "5.1.2") @@ -1772,7 +1772,7 @@ (define-public ffmpeg-5 (define-public ffmpeg-4 (package - (inherit ffmpeg-5) + (inherit ffmpeg) (version "4.4.2") (source (origin (method url-fetch) @@ -1781,10 +1781,10 @@ (define-public ffmpeg-4 (sha256 (base32 "14xadxm1yaamp216nq09xwasxg5g133v86dbb33mdg5di1zrlhdg")))) - (inputs (modify-inputs (package-inputs ffmpeg-5) + (inputs (modify-inputs (package-inputs ffmpeg) (replace "sdl2" sdl2-2.0))) (arguments - (substitute-keyword-arguments (package-arguments ffmpeg-5) + (substitute-keyword-arguments (package-arguments ffmpeg) ((#:configure-flags flags ''()) #~(cons "--enable-avresample" #$flags)))))) @@ -1863,8 +1863,6 @@ (define-public ffmpeg-2.8 (inputs (modify-inputs (package-inputs ffmpeg-3.4) (delete "libwebp"))))) -(define-public ffmpeg ffmpeg-5) - (define-public ffmpeg-for-stepmania (hidden-package (package -- cgit v1.2.3 From bf23e8518fe62a2c3f2fe77444cce98f0d4e6bbd Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 24 Mar 2023 23:47:08 -0400 Subject: gnu: ffmpeg: Update to 6.0. * gnu/packages/video.scm (ffmpeg): Update to 6.0. (ffmpeg-5): New variable. * gnu/packages/gnuzilla.scm (icecat-minimal) [inputs]: Replace ffmpeg with ffmpeg-5. * gnu/packages/gnuzilla.scm (icedove-minimal): Likewise. --- gnu/packages/gnuzilla.scm | 11 +++++++---- gnu/packages/video.scm | 22 +++++++++++++++++----- 2 files changed, 24 insertions(+), 9 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 253b8c285c..475c2b5a38 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -706,9 +706,11 @@ (define-public icecat-minimal libxcomposite libxt libffi - ffmpeg + ;; Support for FFmpeg 6 was only added in version 112 (see: + ;; https://bugzilla.mozilla.org/show_bug.cgi?id=1819374). + ffmpeg-5 libvpx - icu4c-71 ; TODO: Change to 'icu4c' when its version is >= 71. + icu4c-71 ;TODO: Change to 'icu4c' when its version is >= 71. pixman pulseaudio mesa @@ -964,7 +966,7 @@ (define (runpaths-of-input label) ;; complain that it's not able to change Cargo.lock. ;; https://bugzilla.mozilla.org/show_bug.cgi?id=1726373 (substitute* "build/RunCbindgen.py" - (("\"--frozen\",") "")))) + (("\"--frozen\",") "")))) (delete 'bootstrap) (replace 'configure ;; configure does not work followed by both "SHELL=..." and @@ -1492,7 +1494,8 @@ (define-public icedove-minimal cairo cups dbus-glib - ffmpeg + ;; Support for FFmpeg 6 was only added in version 112 (see: + ;; https://bugzilla.mozilla.org/show_bug.cgi?id=1819374). freetype gdk-pixbuf glib diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 064ebb07d3..f0f0683a1a 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1579,14 +1579,14 @@ (define-public libva-utils (define-public ffmpeg (package (name "ffmpeg") - (version "5.1.2") + (version "6.0") (source (origin (method url-fetch) (uri (string-append "https://ffmpeg.org/releases/ffmpeg-" version ".tar.xz")) (sha256 (base32 - "1p7kxr0f9f9d0pyyxq9ciaj9ch2drmcw5p9jk22j111ccrnp17k1")))) + "10kh2f4y4isfqj4xpcqqnzk611jh89ywcjyjnq9c2jcv5p18ggjp")))) (build-system gnu-build-system) (inputs (append @@ -1728,8 +1728,8 @@ (define-public ffmpeg "--disable-static" #$@(if (target-riscv64?) - '("--extra-cflags=-fPIC") - '()) + '("--extra-cflags=-fPIC") + '()) ;; Runtime cpu detection is not implemented on ;; MIPS, so we disable some features. @@ -1770,9 +1770,21 @@ (define-public ffmpeg audio/video codec library.") (license license:gpl2+))) -(define-public ffmpeg-4 +(define-public ffmpeg-5 (package (inherit ffmpeg) + (version "5.1.2") + (source (origin + (method url-fetch) + (uri (string-append "https://ffmpeg.org/releases/ffmpeg-" + version ".tar.xz")) + (sha256 + (base32 + "1p7kxr0f9f9d0pyyxq9ciaj9ch2drmcw5p9jk22j111ccrnp17k1")))))) + +(define-public ffmpeg-4 + (package + (inherit ffmpeg-5) (version "4.4.2") (source (origin (method url-fetch) -- cgit v1.2.3 From 0c0d5130af3939ee7da3dad8d045ff45f2a80bf2 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 27 Mar 2023 10:54:32 -0400 Subject: gnu: ffmpeg: Add a debug output. * gnu/packages/video.scm (ffmpeg) [outputs]: New field. [arguments]: Add --disable-stripping to configure flags. --- gnu/packages/video.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index f0f0683a1a..2c03d4a702 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1587,6 +1587,7 @@ (define-public ffmpeg (sha256 (base32 "10kh2f4y4isfqj4xpcqqnzk611jh89ywcjyjnq9c2jcv5p18ggjp")))) + (outputs '("out" "debug")) (build-system gnu-build-system) (inputs (append @@ -1727,6 +1728,8 @@ (define-public ffmpeg ;; The static libraries are 23 MiB "--disable-static" + "--disable-stripping" + #$@(if (target-riscv64?) '("--extra-cflags=-fPIC") '()) -- cgit v1.2.3 From 1d34e100fab61cac95f91885aabb5c16875cfd65 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Sun, 19 Mar 2023 14:10:29 -0300 Subject: gnu: mlt: Update to 7.14.0. * gnu/packages/video.scm (mlt): Update to 7.14.0. --- gnu/packages/video.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 7a1546128d..78698054ed 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -41,7 +41,7 @@ ;;; Copyright © 2020, 2021 Guillaume Le Vaillant ;;; Copyright © 2020 Alex McGrath ;;; Copyright © 2020, 2021, 2022 Michael Rohleder -;;; Copyright © 2020, 2021, 2022 Vinicius Monego +;;; Copyright © 2020, 2021, 2022, 2023 Vinicius Monego ;;; Copyright © 2020 Brett Gilio ;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; Copyright © 2020 Ivan Kozlov @@ -3214,7 +3214,7 @@ (define-public twitchy (define-public mlt (package (name "mlt") - (version "7.12.0") + (version "7.14.0") (source (origin (method git-fetch) @@ -3223,7 +3223,7 @@ (define-public mlt (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "182i6fgn9aiskj62kj10cxf5wh233a241n7qvh0l95il01zmpfb3")))) + (base32 "0qiy346dx41a2n94lwsa9p9vsprsrzah7f9wlm6n507k7w7f0sq6")))) (build-system cmake-build-system) (arguments (list -- cgit v1.2.3 From c4d18b9e653e95fcb339e1c09a228c8ace305e2e Mon Sep 17 00:00:00 2001 From: Bruno Victal Date: Mon, 27 Feb 2023 00:11:34 +0000 Subject: gnu: Purge pre-1.3.0 deprecated packages. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/bioinformatics.scm (deeptools): Remove variable. * gnu/packages/efi.scm (efi_analyzer): Ditto. * gnu/packages/guile.scm (guile-2.2/bug-fix, guile-json): Ditto. * gnu/packages/image.scm (libjpeg): Ditto. * gnu/packages/kde.scm (kdevplatform): Ditto * gnu/packages/linphone.scm (linphoneqt): Ditto. * gnu/packages/maths.scm (blis-sandybridge, blis-haswell, blis-knl): Ditto. * gnu/packages/mpi.scm (hwloc-2.0): Ditto. * gnu/packages/music.scm (python-abjad, zlfo): Ditto. * gnu/packages/perl.scm (perl-base, perl-parent): Ditto. * gnu/packages/tryton.scm (python-trytond): Ditto. * gnu/packages/video.scm (gnome-mpv): Ditto. * tests/graph.scm: Use guile-json-1. Signed-off-by: Ludovic Courtès --- gnu/packages/bioinformatics.scm | 2 -- gnu/packages/efi.scm | 4 ---- gnu/packages/guile.scm | 8 -------- gnu/packages/image.scm | 3 --- gnu/packages/kde.scm | 3 --- gnu/packages/linphone.scm | 3 --- gnu/packages/maths.scm | 4 ---- gnu/packages/mpi.scm | 2 -- gnu/packages/music.scm | 7 ------- gnu/packages/perl.scm | 6 ------ gnu/packages/tryton.scm | 3 --- gnu/packages/video.scm | 3 --- tests/graph.scm | 2 +- 13 files changed, 1 insertion(+), 49 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index f7adca0860..99cc056f9f 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3521,8 +3521,6 @@ (define-public python-deeptools ;; remainder of the code is licensed under the MIT license. (license (list license:bsd-3 license:expat)))) -(define-deprecated deeptools python-deeptools) - (define-public cutadapt (package (name "cutadapt") diff --git a/gnu/packages/efi.scm b/gnu/packages/efi.scm index 4625538d26..75eb24bf86 100644 --- a/gnu/packages/efi.scm +++ b/gnu/packages/efi.scm @@ -96,10 +96,6 @@ (define-public efi-analyzer information.") (license license:bsd-2)))) -(define-public efi_analyzer - ;; For a short while the package name contained an underscore. - (deprecated-package "efi_analyzer" efi-analyzer)) - (define-public sbsigntools (package (name "sbsigntools") diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index b6db506140..dc2c42cdc9 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -291,8 +291,6 @@ (define-public guile-2.2 (variable "GUILE_LOAD_COMPILED_PATH") (files '("lib/guile/2.2/site-ccache"))))))) -(define-deprecated guile-2.2/bug-fix guile-2.2) - (define-public guile-2.2.4 (package (inherit guile-2.2) @@ -652,12 +650,6 @@ (define-public guile-json-1 ;; Version 1.2.0 switched to GPLv3+ (from LGPLv3+). (license license:gpl3+))) -;; Deprecate the 'guile-json' alias to force the use 'guile-json-1' or -;; 'guile-json-3'. In the future, we may reuse 'guile-json' as an alias for -;; 'guile-json-3'. -(define-deprecated guile-json guile-json-1) -(export guile-json) - (define-public guile2.0-json (package-for-guile-2.0 guile-json-1)) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 47a48febc6..6140f35f4f 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -1744,9 +1744,6 @@ (define-public libjpeg-turbo license:ijg ;the libjpeg library and associated tools license:zlib)))) ;the libjpeg-turbo SIMD extensions -(define-deprecated libjpeg libjpeg-turbo) -(export libjpeg) - (define-public niftilib (package (name "niftilib") diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 8a69ef5bad..f9c0a260f0 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -412,9 +412,6 @@ (define-public kdevelop-pg-qt for some KDevelop language plugins (Ruby, PHP, CSS...).") (license license:lgpl2.0+))) -;; kdevplatform was merged into kdevelop as of 5.2.x -(define-deprecated kdevplatform kdevelop) - (define-public kdiagram (package (name "kdiagram") diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm index 84bc16805c..d41d368e67 100644 --- a/gnu/packages/linphone.scm +++ b/gnu/packages/linphone.scm @@ -876,9 +876,6 @@ (define-public linphone-desktop (home-page "https://linphone.org/technical-corner/linphone") (license license:gpl3+))) -(define-public linphoneqt - (deprecated-package "linphoneqt" linphone-desktop)) - (define-public msopenh264 (let ((commit "88697cc95140017760d6da408cb0efdc5e86e40a") (revision "0")) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index be93d4a26f..ff3f1cf007 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4792,10 +4792,6 @@ (define-public blis access to BLIS implementations via traditional BLAS routine calls.") (license license:bsd-3))) -(define-public blis-sandybridge (deprecated-package "blis-sandybridge" blis)) -(define-public blis-haswell (deprecated-package "blis-haswell" blis)) -(define-public blis-knl (deprecated-package "blis-knl" blis)) - (define ignorance blis) (define-public openlibm diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm index 6faa47c669..f21bd16d3a 100644 --- a/gnu/packages/mpi.scm +++ b/gnu/packages/mpi.scm @@ -177,8 +177,6 @@ (define-public hwloc-2 (("hwloc_topology_init" all) (string-append "exit (77);\n" all))))))))))) -(define-deprecated hwloc-2.0 hwloc-2) - (define-public hwloc ;; The latest stable series of hwloc. hwloc-2) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index c63dc69972..bdf30c67a1 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -1609,9 +1609,6 @@ (define-public abjad typographic detail of symbols on the page.") (license license:expat))) -(define-public python-abjad - (deprecated-package "python-abjad" abjad)) - (define-public abjad-ext-rmakers (package (name "abjad-ext-rmakers") @@ -6577,10 +6574,6 @@ (define-public zplugins (home-page "https://www.zrythm.org/en/plugins.html") (license license:agpl3+))) -(define-public zlfo - ;; The "zlfo" package is now included in zplugins - (deprecated-package "zlfo" zplugins)) - (define-public remid-lv2 (package (name "remid-lv2") diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 8d9e92c223..335e08d146 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -843,9 +843,6 @@ (define-public perl-bareword-filehandles (description "This module disables bareword filehandles.") (license (package-license perl)))) -(define-public perl-base - (deprecated-package "perl-base" perl)) - (define-public perl-browser-open (package (name "perl-browser-open") @@ -8694,9 +8691,6 @@ (define-public perl-par libraries from which Perl modules can be loaded.") (license license:perl-license))) -(define-public perl-parent - (deprecated-package "perl-parent" perl)) - (define-public perl-path-class (package (name "perl-path-class") diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 8e561cad45..0b367675ae 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -100,9 +100,6 @@ (define-public trytond and security.") (license license:gpl3+))) -(define-public python-trytond - (deprecated-package "python-trytond" trytond)) - (define-public tryton (package (name "tryton") diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 78698054ed..e493888bd9 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2344,9 +2344,6 @@ (define-public gallery-dl images and image hosting sites.") (license license:gpl2))) -(define-public gnome-mpv - (deprecated-package "gnome-mpv" celluloid)) - (define-public mpv-mpris (package (name "mpv-mpris") diff --git a/tests/graph.scm b/tests/graph.scm index 6674b5cc8f..a6186ff7e8 100644 --- a/tests/graph.scm +++ b/tests/graph.scm @@ -477,7 +477,7 @@ (define (edge->tuple source target) '("libffi" "guile" "guile-json") (run-with-store %store (mlet %store-monad ((path (shortest-path (specification->package "libffi") - guile-json + guile-json-1 %reverse-package-node-type))) (return (map package-name path))))) -- cgit v1.2.3 From 0f3e9c52f390efe77ae1e6835775524249b344d9 Mon Sep 17 00:00:00 2001 From: Yovan Naumovski Date: Wed, 5 Apr 2023 23:15:08 +0300 Subject: gnu: gallery-dl: Update to 1.25.1. * gnu/packages/video.scm (gallery-dl): Update to 1.25.1. Signed-off-by: Nicolas Goaziou --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index e493888bd9..8013d41fa0 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2325,7 +2325,7 @@ (define-public smplayer (define-public gallery-dl (package (name "gallery-dl") - (version "1.23.0") + (version "1.25.1") (source (origin (method url-fetch) (uri (string-append "https://github.com/mikf/gallery-dl" @@ -2333,7 +2333,7 @@ (define-public gallery-dl version ".tar.gz")) (sha256 (base32 - "12rhzf8cwsvlg0vxzydgc7x04gmccxkjk8ghb5s8lk0gjp7ysqkh")))) + "1zhcd5qnnlmr0qp72rj4bfw0lz4gz1bl65wfn7w21c2xr36nbkxs")))) (build-system python-build-system) (inputs (list python-requests ffmpeg)) (home-page "https://github.com/mikf/gallery-dl") -- cgit v1.2.3