Commit graph

83318 commits

Author SHA1 Message Date
Ludovic Courtès
b949f34f31
gnu: Use the non-deprecated TeX packages.
This commit leaves 'dblatex' and 'texlive-hyperref' as users of
deprecated packages, but these have many dependents.

* gnu/packages/bioinformatics.scm (discrover)[native-inputs]: Use
non-deprecated TeX Live packages.
(velvet)[native-inputs]: Likewise.
* gnu/packages/chez.scm (chez-scheme)[native-inputs]: Likewise.
(chez-web)[native-inputs]: Likewise.
* gnu/packages/engineering.scm (fastcap)[native-inputs]: Likewise.
* gnu/packages/guile-xyz.scm (emacsy)[native-inputs]: Likewise.
* gnu/packages/maths.scm (hypre)[native-inputs]: Likewise.
* gnu/packages/music.scm (lilypond)[native-inputs]: Likewise.
* gnu/packages/ocaml.scm (ocaml-bibtex2html)[native-inputs]: Likewise.
* gnu/packages/plotutils.scm (asymptote)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-numpy-documentation)[native-inputs]:
Likewise.
(python-matplotlib-documentation)[native-inputs]: Likewise.
(python-ipython-documentation)[native-inputs]: Likewise.
(python-nbconvert)[native-inputs]: Likewise.
(python-pypandoc)[native-inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[native-inputs]: Likewise.
* gnu/packages/tex.scm (texlive-pstool)[propagated-inputs]: Likewise.
(teximpatient)[native-inputs]: Likewise.
(texlive-latex-pgf)[propagated-inputs]: Likewise.
(texlive-beamer)[propagated-inputs]: Likewise.
2021-09-06 22:02:15 +02:00
Ludovic Courtès
3dc8052b51
gnu: tex: Use 'define-deprecated' for deprecated packages.
This allows us to get compile-time warnings when using deprecated
packages, typically in calls to 'texlive-union' or similar.

* gnu/packages/tex.scm (define-deprecated-package): New macro.
(texlive-generic-unicode-data)
(texlive-generic-tex-ini-files)
(texlive-metafont-base)
(texlive-tex-fontinst-base)
(texlive-fonts-cm)
(texlive-fonts-cm-super)
(texlive-fonts-lm)
(texlive-fonts-knuth-lib)
(texlive-latex-mflogo)
(texlive-fonts-mflogo-font)
(texlive-fonts-amsfonts)
(texlive-latex-amsfonts)
(texlive-generic-hyph-utf8)
(texlive-generic-dehyph-exptl)
(texlive-generic-epsf)
(texlive-latex-xcolor)
(texlive-latex-hyperref)
(texlive-latex-oberdiek)
(texlive-latex-url)
(texlive-latex-fontspec)
(texlive-luatex-luaotfload)
(texlive-latex-amscls)
(texlive-latex-babel)
(texlive-latex-psnfss)
(texlive-latex-filemod)
(texlive-latex-pstool)
(texlive-latex-seminar)
(texlive-latex-doi)
(texlive-latex-etoolbox)
(texlive-fonts-adobe-times)
(texlive-fonts-adobe-palatino)
(texlive-fonts-adobe-zapfding)
(texlive-fonts-stmaryrd)
(texlive-fonts-txfonts)
(texlive-latex-lh)
(texlive-latex-wasysym)
(texlive-generic-pdftex)
(texlive-fonts-xypic)
(texlive-fonts-charter)
(texlive-latex-beamer)
(texlive-latex-pdfx)
(texlive-iftex)
(texlive-generic-ifxetex): Use it.
2021-09-06 22:02:15 +02:00
Ludovic Courtès
f8ae824cad
deprecation: Add 'define-deprecated/public'.
* guix/deprecation.scm (public): New macro.
(define-deprecated): Add (_ visibility variable replacement exp) clause.
Honor VISIBILITY.
(define-deprecated/public): New macro.
2021-09-06 22:02:11 +02:00
Ludovic Courtès
78dab5a6c4
gnu: guile@1.8: Disable tests.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Pass #:tests? #f.
2021-09-06 15:19:10 +02:00
Ludovic Courtès
b792bc899d
gnu: guile@1.8: Build with '-O1'.
Fixes <https://issues.guix.gnu.org/50427>.

* gnu/packages/guile.scm (guile-1.8)[arguments]: Pass "CFLAGS" to #:configure-flags.
2021-09-06 15:17:39 +02:00
Thiago Jung Bauermann
aa1e952d21
gnu: php: Remove watchpoint tests on powerpc64le.
All watchpoint tests except watch_002.phpt fail.  There’s an upstream bug
report about this problem so in the meantime remove them since it doesn’t
impact actually running PHP programs.

* gnu/packages/php.scm (php)[arguments]<#:phases>{prepare-tests}: Remove
watchpoint tests on powerpc64le.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-06 13:51:49 +02:00
Ludovic Courtès
08005133ec
gnu: glibc-static: Fix static NSS support.
Support for static NSS broke in glibc 2.33, meaning that 'getpw' &
co. would always fail.  This patch backports the upstream fix to
reinstate it.

Reported by Marius Bakke.

* gnu/packages/patches/glibc-static-nss.patch: New file.
* gnu/packages/make-bootstrap.scm (glibc-for-bootstrap): Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-09-06 13:50:00 +02:00
Felix Gruber
93bf42361c
gnu: Replace PYTHONPATH with GUIX_PYTHONPATH.
In packages that do not use python-build-system, PYTHONPATH is generally
not defined. Instead we can use GUIX_PYTHONPATH which should contain all
Python dependencies.

* gnu/packages/bioinformatics.scm (shorah)[arguments]: Replace
  PYTHONPATH with GUIX_PYTHONPATH.
* gnu/packages/debug.scm (c-vise)[arguments]: Idem.
* gnu/packages/gnome.scm (drawing, apostrophe, ocrfeeder)[arguments]: Idem.
* gnu/packages/music.scm (a2jmidid)[arguments]: Idem.
* gnu/packages/syndication.scm (gfeeds)[arguments]: Idem.
* gnu/packages/xdisorg.scm (gammastep)[arguments]: Idem.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-09-06 10:47:54 +02:00
Guillaume Le Vaillant
722c17992e
gnu: glog: Update to 0.5.0.
* gnu/packages/logging.scm (glog): Update to 0.5.0.
  [build-system]: Switch to 'cmake-build-system'.
  [arguments]: Remove 'disable-signal-tests' phase.
2021-09-06 10:18:21 +02:00
Felix Gruber
df1f031d14
gnu: opencc: Fix build.
* gnu/packages/textutils.scm (opencc)[arguments]: Create PYTHONPATH from
  GUIX_PYTHONPATH as the former is not defined.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-09-06 09:49:56 +02:00
Felix Gruber
86af6091d8
gnu: c++-gsl: Fix build with GCC 10.
* gnu/packages/cpp.scm (c++-gsl)[source]: Add a patch from Debian
  to fix compilation of a test.
* gnu/packages/patches/c++-gsl-move-array-bounds-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-09-06 09:43:08 +02:00
Felix Gruber
6900b3c1aa
gnu: libnice: Fix build.
* gnu/packages/networking.scm (libnice)[native-inputs]: Add graphviz
  which is required to provide the dot program.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-09-06 09:30:52 +02:00
Guillaume Le Vaillant
c5bb7b5d97
gnu: Fix some gexps.
* gnu/packages/android.scm (adb, android-ext4-utils)[arguments]: Use
  'this-package-input' in gexps.
* gnu/packages/finance.scm (monero-gui)[arguments]: Idem.
* gnu/packages/lisp.scm (gcl)[arguments]: Idem.
2021-09-05 13:56:25 +02:00
Guillaume Le Vaillant
79edda3874
gnu: opencpn: Fix building with gcc 10.
* gnu/packages/geo.scm (opencpn)[arguments]: Pass '-fcommon' to CFLAGS.
2021-09-05 11:48:59 +02:00
Sarah Morgensen
48bd27863f
gnu: pipewire: Fix build with GCC 10.
* gnu/packages/patches/pipewire-0.2.7-fno-common.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/linux.scm (pipewire)[source]: Use it.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-09-05 11:01:45 +02:00
Sarah Morgensen
cdb63b192c
gnu: libappindicator: Fix build for GCC 10.
* gnu/packages/freedesktop.scm (libappindicator)[source]: Add snippet to
  prevent declaring _PyGObject_API twice.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-09-05 10:56:41 +02:00
Sarah Morgensen
2302adc0ec
gnu: libsrtp: Update to 2.4.0.
Fix building libsrtp with GCC 10 by updating to 2.4.0.

* gnu/packages/telephony.scm (libsrtp): Update to 2.4.0.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-09-05 10:40:52 +02:00
Sarah Morgensen
c1b350afc6
gnu: lablgtk: Update to 2.18.11.
Update lablgtk to fix compilation with GCC 10.

* gnu/packages/ocaml.scm (lablgtk): Update to 2.18.11.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-09-05 10:29:46 +02:00
Felix Gruber
8bb7cb7bef
gnu: python-gast: Update to 0.5.2.
* gnu/packages/python-xyz.scm (python-gast): Update to 0.5.2.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-09-05 10:02:18 +02:00
Ryan Sundberg
68dd6d8093
gnu: jemalloc: --disable-initial-exec-tls
Disable the thread local storage model in jemalloc 5 to prevent
shared libraries linked to libjemalloc from crashing on dlopen().
https://github.com/jemalloc/jemalloc/issues/937

This bug affects both Java JNI and python libraries which link to
jemalloc 5, such as RocksDB, which will crash the program when loaded.

* gnu/packages/jemalloc.scm (jemalloc)[arguments]: Add --disable-initial-exec-tls
configure flag.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-09-03 12:04:16 +02:00
Ludovic Courtès
7f50543d55
gnu: classpath-bootstrap: Work around miscompilation.
Fixes <https://issues.guix.gnu.org/49990>.

Previously, building 'ant-bootstrap' would fail in obscure ways.

* gnu/packages/patches/classpath-miscompilation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/java.scm (classpath-bootstrap)[source]: Use it.
[arguments]: Remove 'remove-call-to-free' phase.
2021-09-03 11:38:43 +02:00
Ludovic Courtès
06247e465f
gnu: ant-bootstrap: Set environment variables in a separate phase.
* gnu/packages/java.scm (ant-bootstrap)[arguments]: Move 'setenv' calls
to new 'define-java-environment-variables' phase.
2021-09-03 11:38:43 +02:00
Ludovic Courtès
fcf857eac4
gnu: classpath-bootstrap: Use 'search-input-file'.
* gnu/packages/java.scm (classpath-bootstrap)[arguments]: Use
'search-input-file'.
2021-09-03 11:38:43 +02:00
Efraim Flashner
3081fc68d6
gnu: sddm: Refer to the 'shadow' input.
This change was suggested by Ludovic Courtès <ludo@gnu.org> to allow
users to replace the shadow input in the package.

* gnu/packages/display-manager.scm (sddm)[arguments]: In configure-flags
refer to the shadow package that is an input.
2021-09-03 08:21:11 +03:00
Efraim Flashner
f8836774e2
gnu: sddm: Fix build.
* gnu/packages/display-managers.scm (sddm)[arguments]: Use gexp for
configure-flags.
2021-09-02 17:15:39 +03:00
Maxime Devos
d3d2fae2ce
build/jami-service: Fix range ends in account-fingerprint-rx.
This broke compilation of Guix with guile@3.0.2 with:

  In procedure make-regexp: Invalid range end

The fix is to replace [0-9A-f] with [0-9A-Fa-f].

* gnu/build/jami-service.scm (account-fingerprint-rx): Correct regexp.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-08-31 19:50:30 +03:00
Lars-Dominik Braun
bac072e09b
gnu: python-google-api-client: Rewrite invalid setup.py.
The packages argument accepts package names only, not paths. Replacing
the slash with a dot allows passing the sanity-check phase, because the
submodule will not be listed in top_level.txt any more.

* gnu/packages/python-web.scm (python-google-api-client) [#:phases]:
Add new phase 'fix-setup-py.
2021-08-31 18:39:25 +02:00
Guillaume Le Vaillant
faf6963a1d
gnu: android-f2fs-utils: Fix building with gcc-10.
* gnu/packages/android.scm (android-f2fs-utils)[arguments]: Add
  'set-compilation-flags' phase.
2021-08-31 15:31:40 +02:00
Guillaume Le Vaillant
9055b93513
gnu: f2fs-tools: Fix building with gcc-10.
* gnu/packages/linux.scm (f2fs-tools-1.7)[arguments]: Pass '-fcommon' to
  CFLAGS.
2021-08-31 15:25:22 +02:00
Guillaume Le Vaillant
e227b0820a
gnu: android-ext4-utils: Fix build.
* gnu/packages/android.scm (android-ext4-utils)[arguments]: Use gexp for
  'make-flags'. Update 'unpack-core' phase.
2021-08-31 15:20:13 +02:00
Guillaume Le Vaillant
2ac1978a9f
gnu: adb: Fix build.
* gnu/packages/android.scm (adb)[arguments]: Use gexp for 'make-flags".
2021-08-31 15:06:36 +02:00
Guillaume Le Vaillant
8948bc7e44
gnu: evolution: Fix building with cmake > 3.20.
* gnu/packages/patches/evolution-printableoptions.patch: New file.
* gnu/packages/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnome.scm (evolution)[source]: Use it.
2021-08-30 13:27:10 +02:00
Efraim Flashner
bbb0420e44
gnu: pcre2: Build without JIT on powerpc-linux.
* gnu/packages/pcre.scm (pcre2)[arguments]: On powerpc-linux don't
enable JIT.
2021-08-30 13:46:58 +03:00
Guillaume Le Vaillant
a68c45459d
gnu: evolution-data-server: Fix building with cmake > 3.20.
* gnu/packages/patches/evolution-data-server-printableoptions.patch: New file.
* gnu/packages/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnome.scm (evolution-data-server)[source]: Use it.
2021-08-30 11:48:20 +02:00
Guillaume Le Vaillant
651e1f17cc
gnu: python-bsddb3: Update to 6.2.9.
* gnu/packages/python-xyz.scm (python-bsddb3): Update to 6.2.9.
2021-08-30 11:48:20 +02:00
Efraim Flashner
c820ec77ae
gnu: libchop: Don't append to CPATH unconditionally.
* gnu/packages/backup.scm (libchop)[arguments]: Adjust
'set-libtirpc-include-path to return a valid CPATH.
2021-08-30 12:34:52 +03:00
Efraim Flashner
3fced772e3
gnu: python-pygobject: Extend test timeout.
* gnu/packages/glib.scm (python-pygobject)[arguments]: Replace check
phase and extend the test timeout.
2021-08-29 22:52:55 +03:00
Guillaume Le Vaillant
c3c7ca7603
gnu: network-manager: Add missing input.
* gnu/packages/gnome.scm (network-manager)[inputs]: Add libselinux.
2021-08-29 10:26:59 +02:00
Guillaume Le Vaillant
5b0d7819e7
gnu: libsepol: Don't build with '-Werror'.
* gnu/packages/selinux.scm (libsepol)[arguments]: Add '-Wno-error' option to
  CFLAGS.
2021-08-29 10:20:18 +02:00
Guillaume Le Vaillant
38074b2c64
gnu: dream: Fix build.
* gnu/packages/radio.scm (dream)[arguments]: Fix the 'fix-paths' phase.
2021-08-29 09:39:50 +02:00
Guillaume Le Vaillant
d011429b42
gnu: python-chai: Remove Python2 code.
* gnu/packages/patches/python-chai-drop-python2.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python-xyz.scm (python-chai)[source]: Use it.
2021-08-28 23:33:08 +02:00
Guillaume Le Vaillant
16ae9ebd21
gnu: python2-chai: Remove package.
Nothing depends on it.

* gnu/packages/python-xyz.scm (python2-chai): Remove variable.
2021-08-28 23:24:19 +02:00
Guillaume Le Vaillant
706c7a7a21
gnu: qgis: Disable one failing test.
* gnu/packages/geo.scm (qgis)[arguments]: Disable PyQgsAuthBasicMethod test.
2021-08-28 22:40:16 +02:00
Guillaume Le Vaillant
f7e69b53d6
gnu: python-owslib: Fix build.
* gnu/packages/python-xyz.scm (python-owslib)[arguments]: Disable
  'sanity-check' phase until dependencies for tests are packaged.
2021-08-28 21:44:36 +02:00
Guillaume Le Vaillant
f3152cf302
gnu: qtwebkit: Fix build.
* gnu/packages/qt.scm (qtwebkit)[arguments]: Replace the standard build phase
  with a custom one that increases the maximum number of open file
  descriptors.
2021-08-28 18:08:30 +02:00
Leo Famulari
4c9d8ff142
gnu: QtWebKit: Fix building with Bison 3.7.
* gnu/packages/patches/qtwebkit-fix-building-with-bison-3.7.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/qt.scm (qtwebkit)[source]: Use it.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-08-28 18:08:30 +02:00
Leo Famulari
e3b037392a
gnu: QtWebKit: Fix building with glib 2.68.
* gnu/packages/patches/qtwebkit-fix-building-with-glib-2.68.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/qt.scm (qtwebkit)[source]: Use it.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-08-28 18:08:30 +02:00
Leo Famulari
fc137ffe09
gnu: QtWebKit: Fix building with ICU 68.
* gnu/packages/patches/qtwebkit-fix-building-with-icu-68.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/qt.scm (qtwebkit)[source]: Use it

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-08-28 18:08:30 +02:00
Leo Famulari
f5fda6eeab
gnu: QtWebKit: Fix building with Python 3.9.
* gnu/packages/patches/qtwebkit-fix-building-with-python-3.9.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/qt.scm (qtwebkit)[source]: Use it.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-08-28 18:08:30 +02:00
Efraim Flashner
0e6efd2c4a
gnu: postgresql-13: Update to 13.4.
* gnu/packages/databases.scm (postgresql-13): Update to 13.4.
2021-08-27 15:02:41 +03:00