Commit graph

83311 commits

Author SHA1 Message Date
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
Guillaume Le Vaillant
afe8ecdcc0
gnu: gnuais: Fix building with gcc-10.
* gnu/packages/radio.scm (gnuais)[arguments]: Pass '-fcommon' to CFLAGS.
2021-08-27 09:22:08 +02:00
Efraim Flashner
c36b0cae82
gnu: cdrkit-libre: Fix building with gcc-10.
* gnu/packages/cdrom.scm (cdrkit-libre)[source]: Add snippet to fix
building with gcc-10.
2021-08-26 17:39:50 +03:00
Efraim Flashner
511e301bd7
gnu: mozjs-60: Update to 60.2.3-4.
* gnu/packages/gnuzilla.scm (mozjs-60): Update to 60.2.3-4.
2021-08-26 01:01:27 +03:00
Guillaume Le Vaillant
878fea6b18
gnu: spacefm: Fix build.
* gnu/packages/lxde.scm (spacefm)[arguments]: Pass '-fcommon' to CFLAGS.
2021-08-25 18:53:23 +02:00
Guillaume Le Vaillant
3e616cae7a
gnu: menu-cache: Fix build.
* gnu/packages/lxde.scm (menu-cache)[arguments]: Pass '-fcommon' to CFLAGS.
2021-08-25 18:50:58 +02:00
Guillaume Le Vaillant
24a472d9d5
gnu: libgdata: Fix tests.
* gnu/packages/gnome.scm (libgdata)[arguments]: Add 'set-home-for-tests'
  phase.
2021-08-25 18:38:09 +02:00
Guillaume Le Vaillant
42298953ba
gnu: uhttpmock: Fix tests.
* gnu/packages/web.scm (uhttpmock)[arguments]: Add 'set-home-for-tests' phase.
2021-08-25 18:33:20 +02:00