aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cook.scm
blob: 584f561ceb1f93950e832ab59bd5f549bf42a5a7 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 John Darrington <jmd@gnu.org>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages cook)
  #:use-module (guix packages)
  #:use-module (guix licenses)
  #:use-module (guix download)
  #:use-module (gnu packages ed)
  #:use-module (gnu packages bison)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages groff)
  #:use-module (guix build-system gnu))

(define-public cook
  (package
    (name "cook")
    (version "2.34")
    (source
     (origin
       (method url-fetch)
       (uri "http://fossies.org/linux/misc/old/cook-2.34.tar.gz")
       (sha256
        (base32
         "104saqnqql1l7zr2pm3f718fdky3ds8j07c6xvwrs1rfkhrw58yw"))))
    (build-system gnu-build-system)
    (arguments
     `(#:parallel-build? #f ; There are some nasty racy rules in the Makefile.
       #:phases
       (modify-phases %standard-phases
         (add-before 'configure 'pre-conf
           (lambda _
             (substitute* (append '("common/env.c")
                                  (find-files "test" "\\.sh"))
               (("/bin/sh") (which "sh")))

             ;; Guix's binutils (because it wants bit-reproducable builds) is
             ;; is configured with the  --enable-deterministic-archives flag.
             ;; This means the timestamp of files appended to an ar archive
             ;; are automatically and silently mutated to 00:00 1 Jan 1970
             ;; which plays havoc with this test, for which correct timestamps
             ;; are very important. Adding the U flag undoes the effect of
             ;; --enable-deterministic-archives and allows this test to work
             ;; again.
             (substitute* "test/00/t0077a.sh"
               (("ar qc") "ar qcU"))

             ;; Guix builds have LC_ALL set to "en_US.utf8", which causes
             ;; `date` to use a 12-hour clock instead of 24h, which in turn
             ;; makes t0217a.sh fail because of unexpected date output.
             (substitute* "test/02/t0217a.sh"
               (("export TZ")
                "export TZ\nLC_ALL=POSIX\nexport LC_ALL"))

             (setenv "SH" (which "sh"))
             #t)))))
    (native-inputs (list bison-3.0
                         ;; For building the documentation:
                         groff
                         ;; For the tests:
                         sharutils
                         ;; One test wants rsh.  However there is no rsh server
                         ;; running in the build environment and so far as I'm
                         ;; aware, it cannot be started without root.
                         ;; This test is therefore just skipped.
                         ;; ("inetutils" ,inetutils)
                         ed))
    (home-page (string-append "https://web.archive.org/web/20140727122520/"
                              "http://miller.emu.id.au/pmiller/software/cook/"))
    (synopsis "Tool for constructing files")
    (description "Cook is a tool for constructing files.  It is given a set of
files to create, and recipes of how to create them.  In any non-trivial program
there will be prerequisites to performing the actions necessary to creating
any file, such as include files.  Cook provides a mechanism to define these.")
    (license gpl3+)))
(mpv): Update to 0.37.0. [build-system]: Switch to meson-build-system. [arguments]<#:configure-flags>: Adjust accordingly. <#:phases>: Remove set-up-waf phase. <#:tests?>: Remove argument. [native-inputs]: Add python-wrapper. [inputs]: Add libplacebo, zimg. Remove python-waf. Change-Id: I0e61761a4d086a1185730f587869c2552b7cacb0 Signed-off-by: Hilton Chain <hako@ultrarare.space> Zheng Junjie 2023-12-22gnu: libplacebo: Use gexps....* gnu/packages/video.scm (libplacebo)[arguments]: Use gexps. Change-Id: I0f0b043631a834ac2fc4f06acd9ac64b3d5f66c7 Hilton Chain 2023-12-22gnu: libplacebo: Update to 6.338.1....* gnu/packages/video.scm (libplacebo): Update to 6.338.1. [native-inputs]: Add glad. Change-Id: Ie9c35cfd964f110ff95ed486ee1c4f5724c82314 Signed-off-by: Hilton Chain <hako@ultrarare.space> Zheng Junjie 2023-12-20gnu: Add obs-pipewire-audio-capture....* gnu/packages/video.scm (obs-pipewire-audio-capture): New variable. Change-Id: I6f8e400a8ec81b84c65d948b6c30d41d74bd5dca Oleg Pykhalov 2023-12-10gnu: mediainfo: Update to 23.11....* gnu/packages/video.scm (mediainfo): Update to 23.11. Change-Id: Ife3dad58749d292c04d6b5cca8fb0eabf3a7a02a Tobias Geerinckx-Rice 2023-12-10gnu: libmediainfo: Update to 23.11....* gnu/packages/video.scm (libmediainfo): Update to 23.11. Change-Id: Id7967fb5ed1304055ddeea73b550bd9c5e7ec6ec Tobias Geerinckx-Rice 2023-12-10Merge remote-tracking branch 'origin/master' into rust-team...Change-Id: Ic45f7071abd6a02c2ccad411500e5103c8272ffb Efraim Flashner 2023-11-28gnu: rav1e: Don't build the static library....* gnu/packages/video.scm (rav1e)[arguments]: Adjust the custom 'build phase to not build the static library. Remove phase deleting static library. Change-Id: I624e5e076eac867b12cfc5fbf3d33c2832d23646 Efraim Flashner 2023-12-05gnu: mlt: Update to 7.22.0....* gnu/packages/video.scm (mlt): Update to 7.22.0. Change-Id: I63827e89e181c439eb89e956362618d90d37ef50 Vinicius Monego 2023-11-19gnu: Add ani-cli....* gnu/packages/video.scm (ani-cli): New variable. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> Change-Id: I21ea258f164285dea0d46379dff120b105803dd0 jaeme 2023-11-25gnu: yt-dlp: Update to 2023.10.13....* gnu/packages/video.scm (yt-dlp): Update to 2023.10.13. Change-Id: I69da19ce8141fce99bb41daf6fe1892e5d6a9736 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jaeme Sifat 2023-11-25gnu: obs-looking-glass: Update to B6....* gnu/packages/video.scm (obs-looking-glass): Update to B6. [source]: Use upstream tarball and switch to url-fetch. Change-Id: Ie60fe98fbeefe8f21c514599189e8171917456b6 Oleg Pykhalov 2023-11-14gnu: ffmpeg-2.8: Update to 2.8.22....* gnu/packages/video.scm (ffmpeg-2.8): Update to 2.8.22. Change-Id: I4ab83a07f60692aa43d04a81dd227b56a95a1d74 Efraim Flashner 2023-11-14gnu: ffmpeg-3.4: Update to 3.4.13....* gnu/packages/video.scm (ffmpeg-3.4): Update to 3.4.13. Change-Id: I9ef7b61dcdeab96d4021150fb57b3739a61376d0 Efraim Flashner 2023-11-14gnu: ffmpeg-5: Update to 5.1.4....* gnu/packages/video.scm (ffmpeg-5): Update to 5.1.4. Change-Id: I4ea8faa3bcee2e34287af4461d078850de17154f Efraim Flashner 2023-11-06gnu: streamlink: Update to 6.3.1....* gnu/packages/video.scm (streamlink): Update to 6.3.1. [source]: Add snippet to accept older versions of python-trio. [native-inputs]: Remove python-mock. Add python-pytest-asyncio, python-pytest-trio. [propagated-inputs]: Add python-trio, python-trio-websocket, python-typing-websockets. Change-Id: Ib3e8930ed73974ddad4deb7015049b96c925b656 Efraim Flashner 2023-11-06gnu: mpv-mpris: Update to 1.1....* gnu/packages/video.scm (mpv-mpris): Update to 1.1. [inputs]: Add ffmpeg. Change-Id: I47f99a71681807c034b44518e7d4e5ed857ac77e Efraim Flashner 2023-10-30gnu: Add ffmpeg-normalize....* gnu/packages/video.scm (ffmpeg-normalize): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net> Vinicius Monego 2023-10-30gnu: Add ffmpeg-progress-yield....* gnu/packages/video.scm (ffmpeg-progress-yield): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net> Vinicius Monego 2023-10-18Revert "build: cargo-build-system: Disable tests by default."...This reverts commit 37667443074a6de29f7665868f102111d62f0af9. This change needs more discussion. Efraim Flashner 2023-10-18build: cargo-build-system: Disable tests by default....* guix/build-system/cargo.scm (cargo-build): Disable tests by default. * gnu/packages/admin.scm (greetd, wlgreet, du-dust), * gnu/packages/bioinformatics.scm (circtools, python-gseapy), * gnu/packages/crypto.scm (rust-minisign, b3sum), * gnu/packages/gnome.scm (librsvg), * gnu/packages/python-crypto.scm (python-blake3, python-cryptography-rust), * gnu/packages/python-xyz.scm (python-orjson), * gnu/packages/rust-apps.scm (agate, alfis, bat, diffr, drill, dutree, exa, fd, hexyl, hyperfine, i3status-rust, just, maturin, ripgrep, rot8, rust-swc, rust-cargo-edit, git-interactive-rebase-tool, rust-cbindgen, rust-cbindgen-0.24, rust-cbindgen-0.19, sniffglue, tectonic, treefmt, hex, tokei, vivid, watchexec, rbw, rust-analyzer, rust-cargo-c, rtss, skim, skim-0.7, svd2rust, swayhide, tealdeer, git-absorb, zoxide, htmlq), * gnu/packages/sequoia.scm (sequoia-sqv), * gnu/packages/syndication.scm (newsboat), * gnu/packages/terminals.scm (alacritty), * gnu/packages/text-editors.scm (kak-lsp, parinfer-rust), * gnu/packages/tree-sitter.scm (tree-sitter-cli), * gnu/packages/video.scm (rav1e), * gnu/packages/web.scm (monolith, castor) [arguments]: Enable tests. Efraim Flashner 2023-10-18gnu: rav1e: Update to 0.6.6....* gnu/packages/video.scm (rav1e): Update to 0.6.6. [source]: Add snippet to not hardcode dependency versions. [cargo-inputs]: Add rust-clap-lex-0.3, rust-winnow-0.4. Replace rust-y4m-0.7 with 0.8. Remove rust-const-fn-assert-0.1. [cargo-development-inputs]: Add rust-predicates-2, rust-predicates-core-1, rust-predicates-tree-1. Efraim Flashner 2023-10-03gnu: shotcut: Update to 23.09.29....* gnu/packages/video.scm (shotcut): Update to 23.09.29. Vinicius Monego 2023-10-03gnu: mlt: Update to 7.20.0....* gnu/packages/video.scm (mlt): Update to 7.20.0. Vinicius Monego 2023-09-24gnu: libvpx: Graft to fix CVE-2023-5217....* gnu/packages/video.scm (libvpx)[replacement]: New field, set to… (libvpx/fixed): …this new variable. * gnu/packages/patches/libvpx-CVE-2023-5217.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Tobias Geerinckx-Rice 2023-09-27gnu: yt-dlp: Update to 2023.09.24....* gnu/packages/video.scm (yt-dlp): Update to 2023.09.24. Signed-off-by: Christopher Baines <mail@cbaines.net> pinoaffe 2023-09-25gnu: aalib: Really build the shared library on powerpc64le-linux....Fixes <https://issues.guix.gnu.org/57134>. The old build scripts were buggy and causing a static library to be produced instead, which would fail to be linked by gst-plugins-good. * gnu/packages/video.scm (aalib) [native-inputs]: Remove labels. [arguments]: Use gexps. <configure-flags>: New argument. <phases>: Remove update-config-scripts and configure override. Add force-autoreconf. Reported-by: Marcel van der Boom <marcel@van-der-boom.nl> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Maxim Cournoyer 2023-09-17gnu: Remove extraneous imports....Found by running 'guild compile -W3 gnu/packages/$module.scm', using guild from the upcoming Guile. * gnu/packages/admin.scm: Remove extraneous imports. * gnu/packages/avr.scm: Likewise. * gnu/packages/base.scm: Likewise. * gnu/packages/bootloaders.scm: Likewise. * gnu/packages/firmware.scm: Likewise. * gnu/packages/linphone.scm: Likewise. * gnu/packages/telephony.scm: Likewise. * gnu/packages/cran.scm: Likewise. * gnu/packages/kde.scm: Likewise. * gnu/packages/libcanberra.scm: Likewise. * gnu/packages/libreoffice.scm: Likewise. * gnu/packages/mes.scm: Likewise. * gnu/packages/mingw.scm: Likewise. * gnu/packages/serialization.scm: Likewise. * gnu/packages/sync.scm: Likewise. * gnu/packages/syncthing.scm: Likewise. * gnu/packages/terminals.scm: Likewise. * gnu/packages/version-control.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/emulators.scm: Likewise. Reviewed-by: Ludovic Courtès <ludo@gnu.org> Maxim Cournoyer 2023-09-12gnu: svt-av1: Update to 1.7.0....* gnu/packages/video.scm (svt-av1): Update to 1.7.0. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Signed-off-by: Christopher Baines <mail@cbaines.net> Andy Tai 2023-09-02gnu: shotcut: Update to 23.07.29....* gnu/packages/video.scm (shotcut): Update to 23.07.29. [native-inputs]: Replace qttools-5 with qttools. [inputs]: Replace qtbase-5 with qtbase, qtdeclarative-5 with qtdeclarative, qtmultimedia-5 with qtmultimedia. Remove qtgraphicaleffects, qtquickcontrols-5, qtquickcontrols2-5, qtsvg-5, qtwebsockets-5, qtx11extras. Vinicius Monego 2023-09-01gnu: utfcpp: Update to 3.2.4....* gnu/packages/textutils.scm (utfcpp): Update to 3.2.4. [snippet]: Unbundle ftest. [arguments]: Remove field. [native-inputs]: Add ftest. * gnu/packages/games.scm (warzone2100)[#:phases]: Adjust 'fix-utfcpp-include. * gnu/packages/video.scm (mkvtoolnix)[#:phases]: Add 'fix-utfcpp-include. Co-authored-by: Hilton Chain <hako@ultrarare.space> Signed-off-by: Hilton Chain <hako@ultrarare.space> Reza Housseini 2023-09-01gnu: svt-hevc: Mention the package should not be used as an input....* gnu/packages/video.scm (svt-hevc): Add a warning comment, as well as some extra explanation to the description. [home-page]: Update URL. Maxim Cournoyer