Commit graph

118 commits

Author SHA1 Message Date
Ludovic Courtès
356ca40c89
gnu: cmake-minimal: Remove ‘hidden’ property.
This makes ‘cmake-minimal’ accessible to users and additionally allows
for input rewriting, as discussed
at <https://issues.guix.gnu.org/65665#17>.

* gnu/packages/cmake.scm (cmake-minimal)[properties]: New field.
2023-10-24 00:02:14 +02:00
Janneke Nieuwenhuizen
6f15b4204f
gnu: cmake-minimal: Skip tests on the Hurd.
* gnu/packages/cmake.scm (cmake-minimal)[arguments]: When building natively on
the Hurd, add %common-disabled-tests/hurd to skipped tests in phase 'check'.
2023-07-20 10:11:35 +02:00
Janneke Nieuwenhuizen
07eff96a86
gnu: cmake-bootstrap: Fix build for the Hurd.
* gnu/packages/cmake.scm (%common-disabled-tests/hurd): New variable.
(cmake-bootstrap) [inputs]: Include libuv for the Hurd too.
[arguments]: Add %common-disabled-tests/hurd to #:make-flags for the Hurd.
Also add a 'patch-hurd' phase to fix the build.
2023-07-20 10:11:35 +02:00
Janneke Nieuwenhuizen
ff690faf66
gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?.
* gnu/packages/hurd.scm (hurd-target?): Remove.
(hurd-system?): Move to...
* guix/utils.scm (system-hurd?): ...here.
* gnu/packages/*: Update all users, removing (gnu packages hurd) include where
now unused.
2023-06-17 14:38:32 +02:00
Christopher Baines
7df09ee0ab
Merge remote-tracking branch 'savannah/master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/autotools.scm
	gnu/packages/cmake.scm
	gnu/packages/gnuzilla.scm
	gnu/packages/haskell.scm
	gnu/packages/pdf.scm
	gnu/packages/python-xyz.scm
	gnu/packages/samba.scm
	gnu/packages/tex.scm
	gnu/packages/tls.scm
	gnu/packages/wxwidgets.scm
2023-03-02 10:55:08 +00:00
Greg Hogan
0e14096c58
gnu: cmake: Update to 3.25.1.
* gnu/packages/cmake.scm (cmake): Update to 3.25.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-01-31 23:28:29 +01:00
Marius Bakke
3cf8b3dc57
gnu: cmake-minimal: Update to 3.24.2.
* gnu/packages/patches/cmake-curl-certificates.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/cmake.scm (cmake-bootstrap): Update to 3.24.2
[source](patches): Use refreshed patch.
(cmake)[version, source]: Remove.
2022-09-16 22:41:22 +02:00
Maxim Cournoyer
4920f6e634
Merge branch 'staging' into core-updates
Conflicts resolved in:
	gnu/local.mk
	gnu/packages/cmake.scm
	gnu/packages/glib.scm
	gnu/packages/gnome.scm
	gnu/packages/gtk.scm
	gnu/packages/sdl.scm

pango-next, vala-next and librsvg-bootstrap were removed in the process.
2022-09-15 11:43:21 -04:00
Maxim Cournoyer
76454d9af3
gnu: cmake: Update to 3.24.2.
* gnu/packages/cmake.scm (cmake): Update to 3.24.2.
[source]: Adjust snippet to preserve "Utilities/cmelf".  Override with new
patch.
[native-inputs]: Use modify-inputs and remove labels.
* gnu/packages/patches/cmake-curl-certificates-3.24.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2022-09-14 00:02:39 -04:00
Marius Bakke
d5f69a9fe5
gnu: CMake: Update to 3.24.1.
* gnu/packages/cmake.scm (cmake-bootstrap): Update to 3.24.1.
2022-09-01 23:37:12 +02:00
Marius Bakke
0b0750e831
gnu: CMake: Update to 3.23.2.
* gnu/packages/cmake.scm (cmake-bootstrap): Update to 3.23.2.
(%preserved-third-party-files): Preserve bundled ELF header files.
* gnu/packages/patches/cmake-curl-certificates.patch: Adjust for upstream
changes.
2022-06-27 23:48:01 +02:00
Marius Bakke
b1fa242cb1
gnu: CMake: Use G-expressions.
* gnu/packages/cmake.scm (%common-build-phases): Remove trailing #t's.
(cmake-bootstrap, cmake-minimal, cmake, emacs-cmake-mode)[arguments]: Use
G-expressions.
2022-06-27 23:48:00 +02:00
Marius Bakke
6cd8814011
gnu: CMake: Remove input labels.
* gnu/packages/cmake.scm (cmake-bootstrap)[inputs]: Remove labels.
(cmake)[native-inputs]: Likewise.  Use MODIFY-INPUTS.
2022-06-27 23:48:00 +02:00
Marius Bakke
9dfd2ad73b
gnu: CMake: Bootstrap with system jsoncpp.
* gnu/packages/cmake.scm (cmake-bootstrap)[arguments]: Remove
"--no-system-jsoncpp" from #:configure-flags.
[inputs]: Add JSONCPP.
(cmake-minimal)[inputs]: Remove.
2022-06-27 23:48:00 +02:00
Maxime Devos
579270c6bf
gnu: cmake-bootstrap: Use $SSL_CERT_DIR/$SSL_CERT_FILE.
* gnu/packages/cmake.scm (cmake-bootstrap)[native-search-paths]: Use the
$SSL_CERT_DIR/$SSL_CERT_FILE from (guix search-paths) instead of a local copy.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-13 17:16:04 +02:00
Maxim Cournoyer
eda1860d02
gnu: cmake-bootstrap: Update to 3.21.4.
* gnu/packages/cmake.scm (cmake-bootstrap): Update to 3.21.4.
2022-01-10 11:44:34 -05:00
Ludovic Courtès
8394619bac
gnu: Simplify package inputs.
This commit was obtained by running:

  ./pre-inst-env guix style

without any additional argument.
2021-12-13 17:48:25 +01:00
Maxim Cournoyer
6933a32b8b
gnu: cmake-bootstrap: Update to 3.21.3.
* gnu/packages/cmake.scm (cmake-bootstrap): Update to 3.21.3.
(cmake)[source]: Delete field, updating the package to 3.21.3 also.  Remove
trailing #t.
(%common-disabled-tests) <CMake.FileDownload>: Add test.
2021-11-11 12:18:15 -05:00
Ludovic Courtès
f762d63ec0
gnu: cmake: Skip CPack TXZ test on i686.
Fixes <https://issues.guix.gnu.org/50617>.

* gnu/packages/cmake.scm (%common-build-phases): Turn into a procedure
and adjust users.  When 'target-x86-32?' returns true, add
'skip-cpack-txz-test'.
2021-09-21 10:08:35 +02:00
Marius Bakke
b029be2ee0
Merge branch 'master' into core-updates-frozen
Conflicts:
	gnu/packages/bioinformatics.scm
	gnu/packages/cmake.scm
	gnu/packages/curl.scm
	gnu/packages/emacs-xyz.scm
	gnu/packages/gpodder.scm
	gnu/packages/music.scm
	gnu/packages/patches/glibc-bootstrap-system.patch
	gnu/packages/python-xyz.scm
	gnu/packages/shells.scm
	gnu/packages/statistics.scm
2021-07-29 22:34:57 +02:00
Ricardo Wurmus
c486a61c27
gnu: cmake: Update to 3.21.1.
* gnu/packages/cmake.scm (cmake): Update to 3.21.1.
[arguments]: Skip one more test.
2021-07-28 20:31:05 +02:00
Marius Bakke
1539af46d0
gnu: CMake: Update to 3.20.2.
* gnu/packages/cmake.scm (%common-disabled-tests): Don't disable BootstrapTest.
(cmake-bootstrap): Update to 3.20.2.
[source](modules, snippet): Move from here ...
(cmake-minimal)[source]: ... to here.
* gnu/packages/patches/mariadb-cmake-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/databases.scm (mariadb)[source](patches): Add it.
2021-05-09 23:43:32 +02:00
Christopher Baines
a8448da0f4
Merge branch 'master' into core-updates 2021-03-06 00:18:30 +00:00
Raghav Gururajan
8bd0632a02
gnu: cmake-shared: Update to 1.1.0-32.
* gnu/packages/cmake.scm (cmake-shared): Update to 1.1.0-32.
[source]: Add snippet to remove bundled sources.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-02-15 18:59:27 +01:00
Christopher Baines
e740cc6140
Merge branch 'master' into core-updates 2021-02-03 09:57:35 +00:00
Raghav Gururajan
79389ac37f
gnu: Add cmake-shared.
* gnu/packages/cmake.scm (cmake-shared): New variable.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-01-31 09:22:49 +01:00
Maxim Cournoyer
9ea8616b37
gnu: cmake-bootstrap: Update to 3.19.2.
* gnu/packages/cmake.scm (%preserved-third-party-files): Repatriate from the
cmake package definition.
(cmake-bootstrap): Update to 3.19.2.
(cmake): Remove the version and source field overrides.
2020-12-30 08:40:43 -05:00
Greg Hogan
4969b51d17
gnu: cmake: Update to 3.19.2.
* gnu/packages/cmake.scm (cmake): Update to 3.19.2.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2020-12-26 19:18:19 +08:00
Marius Bakke
c78964efa8
gnu: Remove 'curl-minimal'.
* gnu/packages/curl.scm (curl-minimal): Deprecate variable.
* gnu/packages/games.scm (yamagi-quake2)[inputs]: Replace CURL-MINIMAL with
CURL.
* gnu/packages/cmake.scm (cmake-bootstrap)[inputs]: Likewise.
(cmake-minimal)[inputs]: Don't override the "curl" input.
2020-12-17 00:15:49 +01:00
Christopher Baines
ff01206345
Merge remote-tracking branch 'origin/master' into core-updates 2020-11-29 17:34:18 +00:00
Tobias Geerinckx-Rice
40e96a4f3a
gnu: cmake: Update to 3.19.1.
* gnu/packages/cmake.scm (cmake): Update to 3.19.1.
2020-11-26 23:32:29 +01:00
Maxim Cournoyer
5458648302
gnu: cmake: Update to 3.19.0.
* gnu/packages/cmake.scm (cmake): Update to 3.19.0.
[source]: Modify inherited source to adjust the hash as well as the snippet so
that the "Utilities/cm3p" sub-directory is preserved.
[phases]{patch-bin-sh, check}: Temporarily overrides until the next rebuild
cycle.
2020-11-24 02:20:31 -05:00
Efraim Flashner
f6dbca83bf
gnu: cmake-minimal: Remove some documentation.
These files are still available in the user-facing cmake package.

* gnu/packages/cmake.scm (cmake-minimal)[arguments]: Add phase to remove
help documentation.
2020-11-19 18:47:25 +02:00
Efraim Flashner
8d16f302e6
gnu: cmake: Only build ccmake on user facing cmake.
* gnu/packages/cmake.scm (cmake-bootstrap)[inputs]: Remove ncurses.
(cmake)[inputs]: Add ncurses.
2020-11-19 18:47:19 +02:00
Efraim Flashner
b8515f729b
gnu: cmake: Update source URI.
* gnu/packages/cmake.scm (cmake-bootstrap)[source]: Update to new source
URI.
2020-11-08 23:35:01 +02:00
Jan (janneke) Nieuwenhuizen
a7c3c5dcca
gnu: cmake: Remove "libuv" dependency for the Hurd.
* gnu/packages/cmake.scm (cmake-bootstrap)[inputs]: When compiling for the
Hurd, remove "libuv".
2020-04-20 08:00:25 +02:00
Marius Bakke
aca00b0a36
gnu: CMake: Update to 3.16.5.
* gnu/packages/cmake.scm (cmake-bootstrap): Update to 3.16.5.
2020-03-05 23:36:07 +01:00
Marius Bakke
c37f9be952
gnu: CMake: Update to 3.16.4.
* gnu/packages/cmake.scm (cmake-bootstrap): Update to 3.16.4.
2020-02-15 22:02:57 +01:00
Marius Bakke
f9dcc39ac1
gnu: CMake: Do not use source files from system libarchive.
* gnu/packages/cmake.scm (%common-build-phases): Remove phase
'use-system-libarchive'.
(%preserved-third-party-files): New variable.
(cmake-bootstrap)[native-inputs]: Remove.
[source](snippet): Rewrite in terms of FILE-SYSTEM-FOLD, and
preserve two files from the bundled libarchive.
(cmake-minimal)[source](snippet): Adjust accordingly.
2020-02-15 22:02:57 +01:00
Marius Bakke
ac841750a5
gnu: cmake: Fix cross-compilation.
* gnu/packages/cmake.scm (cmake-bootstrap)[native-inputs]: Move everything
except (PACKAGE-SOURCE LIBARCHIVE) ...
[inputs]: ... here.
* gnu/packages/cmake.scm (cmake-minimal)[native-inputs, inputs]: Adjust accordingly.
2020-01-26 13:39:19 +01:00
Marius Bakke
28ba01aec6
gnu: cmake: Enable debugging information.
* gnu/packages/cmake.scm (cmake)[arguments]: Set #:build-type.
2020-01-26 13:39:18 +01:00
Marius Bakke
11f4d87756
gnu: cmake: Remove bundled LibUV.
* gnu/packages/cmake.scm (cmake-minimal)[source](snippet): Delete
'Utilities/cmlibuv'.
2020-01-26 13:39:18 +01:00
Marius Bakke
013c5c23f9
gnu: cmake, cmake-minimal: Use cmake-build-system.
This allows removing the bundled LibUV in a subsequent commit.  This commit
alone makes no functional changes apart from the build system adjustments.

* gnu/packages/cmake.scm (%common-build-phases, %common-disabled-tests): New
variables.
(cmake-bootstrap)[arguments]: Refactor to use the shared phases and tests.
(cmake-minimal)[build-system]: Change to CMAKE-BUILD-SYSTEM.
[arguments]: Adjust accordingly.
(cmake)[arguments]: Likewise.
2020-01-26 13:38:57 +01:00
Marius Bakke
ed24dda76d
gnu: CMake: Remove most bundled libraries.
* gnu/packages/cmake.scm (cmake-bootstrap)[source](modules): Add (ice-9 ftw).
[source](snippet): Change to a whitelist approach, keeping "jsoncpp" and "libuv".
[arguments]: Add phase "use-system-libarchive".  Remove substitution of deleted file.
[native-inputs]: Add (PACKAGE-SOURCE LIBARCHIVE)
[license]: Remove LICENSE:BSD-4 and LICENSE:BSD-2.
2020-01-25 14:44:53 +01:00
Marius Bakke
b5fc075d01
gnu: cmake-minimal: Remove bundled jsoncpp.
* gnu/packages/cmake.scm (cmake-minimal)[source](snippet): New field.  Purge
bundled jsoncpp.
[inputs]: Add JSONCPP.
[arguments]: Adjust accordingly.
* gnu/packages/serialization.scm (jsoncpp)[arguments]: For native builds, use
CMAKE-BOOTSTRAP.
2020-01-25 14:21:03 +01:00
Marius Bakke
7c1ea9316a
gnu: cmake-minimal-bootstrap: Rename to cmake-bootstrap.
...and change the inheritance order while at it, to prepare for the next commit.

* gnu/packages/cmake.scm (cmake-minimal): Rename to ...
(cmake-bootstrap): ... this.
[name]: Set to "cmake-bootstrap".
[native-inputs]: Change from CURL to CURL-MINIMAL.
(cmake-minimal-bootstrap): Remove variable.
(cmake-minimal): New variable, inherits from CMAKE-BOOTSTRAP.
* gnu/packages/image.scm (libjpeg-turbo)[arguments]: Change from
CMAKE-MINIMAL-BOOTSTRAP to CMAKE-BOOTSTRAP.
2020-01-25 14:19:14 +01:00
Marius Bakke
fa8e0a5387
gnu: cmake: Build an optimized executable.
* gnu/packages/cmake.scm (cmake-bootstrap)[arguments]: Pass
"-DCMAKE_BUILD_TYPE" in #:configure-flags.
2020-01-25 12:50:57 +01:00
Marius Bakke
ff5733d186
gnu: libjpeg-turbo: Build with a minimal variant of CMake.
This is necessary to avoid a circular dependency in the next commit.

* gnu/packages/curl.scm (curl-minimal): New public variable.
* gnu/packages/cmake.scm (cmake-minimal-bootstrap): New public variable.
* gnu/packages/image.scm (libjpeg-turbo)[arguments]: Add #:cmake.
2020-01-22 22:12:33 +01:00
Marius Bakke
848a3cdb4f
gnu: cmake: Update to 3.16.3.
* gnu/packages/cmake.scm (cmake-minimal): Update to 3.16.3.
2020-01-22 22:12:32 +01:00
Marius Bakke
3cfe76bec0
Merge branch 'master' into core-updates 2020-01-15 00:09:46 +01:00