aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/m4.scm
blob: 090f5578e33d3222f32347f7742bb654aa743bc7 (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
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; 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 m4)
  #:use-module (guix licenses)
  #:use-module (gnu packages)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu))

(define-public m4
  (package
   (name "m4")
   (version "1.4.18")
   (source (origin
            (method url-fetch)
            (uri (string-append "mirror://gnu/m4/m4-"
                                version ".tar.xz"))
            (patches (search-patches "m4-gnulib-libio.patch"))
            (sha256
             (base32
              "01sfjd5a4waqw83bibvmn522g69qfqvwig9i2qlgy154l1nfihgj"))))
   (build-system gnu-build-system)
   (arguments
    `(;; Explicitly disable tests when cross-compiling, otherwise 'make check'
      ;; proceeds and fails, unsurprisingly.
      #:tests? ,(not (%current-target-system))

      #:phases
      (modify-phases %standard-phases
        (add-before 'check 'pre-check
          (lambda* (#:key inputs #:allow-other-keys)
            ;; Fix references to /bin/sh.
            (let ((bash (assoc-ref inputs "bash")))
              (for-each patch-shebang
                        (find-files "tests" "\\.sh$"))
              (substitute* (find-files "tests"
                                       "posix_spawn")
                (("/bin/sh")
                 (format #f "~a/bin/sh" bash)))
              #t))))))
   (synopsis "Macro processor")
   (description
    "GNU M4 is an implementation of the M4 macro language, which features
some extensions over other implementations, some of which are required by GNU
Autoconf.  It is used as a macro processor, which means it processes text,
expanding macros as it encounters them.  It also has some built-in functions,
for example to run shell commands or to do arithmetic.")
   (license gpl3+)
   (home-page "https://www.gnu.org/software/m4/")))
e-inputs]: Likewise. * gnu/packages/opencl.scm (pocl)[inputs]: Likewise. Marius Bakke 2022-01-15gnu: Add openshadinglanguage....* gnu/packages/graphics.scm (openshadinglanguage): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Vinicius Monego 2022-01-09gnu: Remove blender-2.79....This package has not built successfully in a while. * gnu/packages/graphics.scm (blender-2.79): Remove variable. Leo Famulari 2021-12-30gnu: Blender: Update to 3.0.0....* gnu/packages/graphics.scm (blender): Update to 3.0.0. [inputs]: Add the "lib" output of zstd. Replace tbb-2020 with tbb. Co-authored-by: Leo Famulari <leo@famulari.name> raingloom 2021-12-30gnu: OpenVDB: Update to 8.2.0....* gnu/packages/graphics.scm (openvdb): Update to 8.2.0. [inputs]: Replace tbb-2020 with tbb. Leo Famulari 2021-12-30gnu: Add alembic....* gnu/packages/graphics.scm (alembic): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Vinicius Monego 2021-12-30gnu: Add openxr....* gnu/packages/graphics.scm (openxr): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Vinicius Monego 2021-12-22gnu: openexr: Update to 3.1.3....* gnu/packages/graphics.scm (openexr): Update to 3.1.3. Signed-off-by: Leo Famulari <leo@famulari.name> Vinicius Monego 2021-12-13gnu: Remove superfluous "linux-libre-headers" inputs....This input is already propagated from glibc. * gnu/packages/chromium.scm (ungoogled-chromium)[inputs]: Remove LINUX-LIBRE-HEADERS-5.10. * gnu/packages/linux.scm (btrfs-progs)[native-inputs]: Likewise. * gnu/packages/accessibility.scm (brltty)[inputs]: Remove LINUX-LIBRE-HEADERS. * gnu/packages/graphics.scm (directfb)[inputs]: Likewise. * gnu/packages/gstreamer.scm (libdc1394)[inputs]: Likewise. * gnu/packages/linux.scm (python-evdev)[native-inputs]: Likewise. (bcc, bpftrace)[inputs]: Likewise. * gnu/packages/networking.scm (lksctp-tools)[inputs]: Likewise. * gnu/packages/video.scm (tslib)[inputs]: Likewise. * gnu/packages/web-browsers.scm (links)[native-inputs]: Likewise. * gnu/packages/cdrom.scm (cdrtools)[inputs]: Likewise. [arguments]: Adjust accordingly. * gnu/packages/lirc.scm (lirc)[inputs, arguments]: Likewise. * gnu/packages/vpn.scm (xl2tpd)[inputs, arguments]: Likewise. Marius Bakke 2021-12-13gnu: Further simplify package inputs....This is the result of running: ./pre-inst-env guix style --input-simplification=safe and manually undoing changes on a dozen of packages to reduce rebuilds (derivations for emacs, icecat, and libreoffice are unchanged.) Ludovic Courtès 2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès 2021-11-29gnu: agg: Fix build....* gnu/packages/patches/agg-2.5-gcc8.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/graphics.scm (agg)[source]: Use it. Mathieu Othacehe 2021-11-25gnu: lib2geom: Skip faulty test on i686....* gnu/packages/graphics.scm (lib2geom)[arguments]: When 'target-x86-32?', add 'skip-faulty-test' phase. Ludovic Courtès 2021-11-21gnu: blender: Update to 2.93.6....* gnu/packages/graphics.scm (blender): Update to 2.93.6. Ludovic Courtès 2021-11-18gnu: Move eglexternalplatform and egl-wayland to (gnu packages xorg)....This is to avoid a module cycle between (gnu packages xorg) and (gnu packages graphics). * gnu/packages/graphics.scm (eglexternalplatform, egl-wayland): Move to... * gnu/packages/xorg.scm: ... this file. Remove trailing #t. Maxim Cournoyer 2021-11-11gnu: lib2geom: Update to 1.1....* gnu/packages/graphics.scm (lib2geom): Update to 1.1. [source]: Remove patches, modules and snippet fields. [phases]: Remove trailing #t. * gnu/packages/patches/lib2geom-fix-tests.patch: Delete file. * gnu/local.mk (dist_patch_DATA): De-register it. Maxim Cournoyer 2021-11-08Merge remote-tracking branch 'origin/master' into core-updates-frozenEfraim Flashner 2021-11-04gnu: Remove openscenegraph-3.4....* gnu/packages/graphics.scm (openscenegraph-3.4): Remove variable. Efraim Flashner 2021-11-03Merge remote-tracking branch 'origin/master' into core-updates-frozenEfraim Flashner 2021-11-03gnu: pstoedit: Update to 3.77....* gnu/packages/graphics.scm (pstoedit): Update to 3.77. Tobias Geerinckx-Rice 2021-10-31Merge remote-tracking branch 'origin/master' into core-updates-frozenEfraim Flashner 2021-10-25gnu: OpenEXR 2: Move the snippet into a build phase....This snippet was just working around a quirk of the Guix build environment. * gnu/packages/graphics.scm (openexr-2)[origin]: Remove snippet. [arguments]: Add a 'patch-test-directory' phase. Leo Famulari 2021-10-25gnu: OpenEXR: Move the snippet into a build phase....This snippet was just working around a quirk of the Guix build environment. * gnu/packages/graphics.scm (openexr)[origin]: Remove snippet. [arguments]: Add a 'patch-test-directory' phase. Leo Famulari 2021-10-24gnu: blender: Use older TBB and update header variables....* gnu/packages/graphics.scm (blender)[inputs]: Replace tbb with tbb-2020. [arguments]: Don't set CPATH; set C_INCLUDE_PATH and CPLUS_INCLUDE_PATH instead. Ricardo Wurmus 2021-10-24gnu: openvdb: Use older version of TBB....* gnu/packages/graphics.scm (openvdb)[inputs]: Replace tbb with tbb-2020. Ricardo Wurmus 2021-10-23gnu: Add OpenEXR 3....* gnu/packages/graphics.scm (openexr): New variable. (openexr-2)[home-page]: Use home-page from openexr. [synopsis]: Use synopsis from openexr. [description]: Use description from openexr. [license]: Use license from openexr. Signed-off-by: Leo Famulari <leo@famulari.name> Vinicius Monego 2021-10-23gnu: Rename openexr to openexr-2....This is done so the OpenEXR package can be upgraded to version 3 in a later commit. * gnu/packages/graphics.scm (openexr): Rename to ... (openexr-2): ... new variable. (blender, blender-2.79, openimageio, povray)[inputs]: Adjust accordingly. (ctl)[propagated-inputs]: Likewise. * gnu/packages/animation.scm (synfig)[propagated-inputs]: Likewise. * gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise. * gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Likewise. * gnu/packages/image-processing.scm (mia, opencolorio, opencv, vips, gmic, nip2)[inputs]: Likewise. * gnu/packages/image-viewers.scm (luminance-hdr)[inputs]: Likewise. * gnu/packages/image.scm (freeimage, vigra, devil)[inputs]: Likewise. * gnu/packages/kde-frameworks.scm (kimageformats)[inputs]: Likewise. * gnu/packages/kde.scm (krita)[inputs]: Likewise. * gnu/packages/photo.scm (enblend-enfuse, darktable, hugin)[inputs]: Likewise. Signed-off-by: Leo Famulari <leo@famulari.name> Vinicius Monego 2021-10-23gnu: Add imath....* gnu/packages/graphics.scm (imath): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> Vinicius Monego 2021-10-19gnu: Add gr-framework....* gnu/packages/graphics.scm (gr-framework): New variable. Efraim Flashner 2021-10-12Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe 2021-09-18gnu: goxel: Update to 0.10.8....* gnu/packages/graphics.scm (goxel): Update to 0.10.8. Tobias Geerinckx-Rice