aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2019-03-12gnu: Add emacs-eshell-bookmark....* gnu/packages/emacs-xyz.scm (emacs-eshell-bookmark): New variable. Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com> Brian Leung
2019-03-12nls: Update 'de' translation of the manual.Julien Lepiller
2019-03-12gnu: python-pygit2: Update to 0.27.4....* gnu/packages/python-xyz.scm (python-pygit2): Update to 0.27.4. (python-pygit2)[arguments]: Disable tests. Julien Lepiller
2019-03-12gnu: inxi-minimal: Declare source-file-name....* gnu/packages/admin.scm (inxi-minimal)[source]: Add missing field. Efraim Flashner
2019-03-12gnu: inxi-minimal: Update to 3.0.22-1....* gnu/packages/admin.scm (inxi-minimal): Update to 3.0.22-1. Tobias Geerinckx-Rice
2019-03-12gnu: perl-anyevent: Update to 7.15....* gnu/packages/libevent.scm (perl-anyevent): Update to 7.15. Tobias Geerinckx-Rice
2019-03-12gnu: aide: Update to 0.16.1....* gnu/packages/admin.scm (aide): Update to 0.16.1. Tobias Geerinckx-Rice
2019-03-12gnu: aide: Move project home....* gnu/packages/admin.scm (aide)[source, home-page]: Update. Tobias Geerinckx-Rice
2019-03-12gnu: aspell-dict-it: Update to 2.4-20070901-0....* gnu/packages/aspell.scm (aspell-dict-it): Update to 2.4-20070901-0. Tobias Geerinckx-Rice
2019-03-12gnu: libinput: Don't use NAME in source URI....* gnu/packages/freedesktop.scm (libinput)[source]: Hard-code NAME. Tobias Geerinckx-Rice
2019-03-12gnu: geos: Update to 3.7.1....* gnu/packages/geo.scm (geos): Update to 3.7.1. Tobias Geerinckx-Rice
2019-03-12gnu: Add emacs-lisp-extra-font-lock....* gnu/packages/emacs-xyz.scm (emacs-lisp-extra-font-lock): New variable. Pierre Neidhardt
2019-03-12gnu: emacs-suggest: Update to 0.7....* gnu/packages/emacs-xyz.scm (emacs-suggest): Update to 0.7. Pierre Neidhardt
2019-03-12gnu: emacs-helm: Update to 3.1....* gnu/packages/emacs-xyz.scm (emacs-helm): Update to 3.1. Pierre Neidhardt
2019-03-12gnu: freedink-engine: Update to 109.6....* gnu/packages/games.scm (freedink-engine): Update to 109.6. Tobias Geerinckx-Rice
2019-03-12gnu: libmanette: Update to 0.2.2....* gnu/packages/games.scm (libmanette): Update to 0.2.2. Tobias Geerinckx-Rice
2019-03-12gnu: kicad-symbols: Use GIT-FILE-NAME....* packages/engineering.scm (kicad-symbols)[source]: Use GIT-FILE-NAME. Tobias Geerinckx-Rice
2019-03-12gnu: kicad-symbols: Update to 5.0.2....* gnu/packages/engineering.scm (kicad-symbols): Update to 5.0.2. Tobias Geerinckx-Rice
2019-03-12gnu: kicad: Don't use NAME in source URI....* gnu/packages/engineering.scm (kicad)[source]: Hard-code NAME. Tobias Geerinckx-Rice
2019-03-12gnu: kicad: Update to 5.0.2....* gnu/packages/engineering.scm (kicad): Update to 5.0.2. Tobias Geerinckx-Rice
2019-03-12gnu: gtkwave: Update to 3.3.99....* gnu/packages/fpga.scm (gtkwave): Update to 3.3.99. Tobias Geerinckx-Rice
2019-03-12gnu: python-sqlalchemy: Use HTTPS home page....* gnu/packages/databases.scm (python-sqlalchemy)[home-page]: Use HTTPS. Tobias Geerinckx-Rice
2019-03-12gnu: python-sqlalchemy: Update to 1.3.1....* gnu/packages/databases.scm (python-sqlalchemy): Update to 1.3.1. Tobias Geerinckx-Rice
2019-03-12gnu: gcompris-qt: Update to 0.96....* gnu/packages/education.scm (gcompris-qt): Update to 0.96. [inputs]: Add openssl. Tobias Geerinckx-Rice
2019-03-12gnu: python-sql: Update to 1.0.0....* gnu/packages/databases.scm (python-sql): Update to 1.0.0. Tobias Geerinckx-Rice
2019-03-12gnu: python-pyodbc: Update to 4.0.25....* gnu/packages/databases.scm (python-pyodbc): Update to 4.0.25. Tobias Geerinckx-Rice
2019-03-12gnu: python-psycopg2: Update to 2.7.7....* gnu/packages/databases.scm (python-psycopg2): Update to 2.7.7. Tobias Geerinckx-Rice
2019-03-12gnu: perl-dbd-sqlite: Update to 1.62....* gnu/packages/databases.scm (perl-dbd-sqlite): Update to 1.62. Tobias Geerinckx-Rice
2019-03-12gnu: perl-dbd-mysql: Update to 4.050....* gnu/packages/databases.scm (perl-dbd-mysql): Update to 4.050. Tobias Geerinckx-Rice
2019-03-12gnu: perl-sql-abstract: Update to 1.86....* gnu/packages/databases.scm (perl-sql-abstract): Update to 1.86. Tobias Geerinckx-Rice
2019-03-12gnu: guile-colorized: Move project home....* gnu/packages/guile-xyz.scm (guile-colorized)[source, home-page]: Update. Tobias Geerinckx-Rice
2019-03-12gnu: guile-colorized: Don't use unstable tarball....* gnu/packages/guile-xyz.scm (guile-colorized)[source]: Use GIT-FETCH and GIT-FILE-NAME. Tobias Geerinckx-Rice
2019-03-11gnu: Add emacs-debpaste....* gnu/packages/emacs-xyz.scm (emacs-debpaste): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Brian Leung
2019-03-11gnu: Add emacs-xml-rpc....* gnu/packages/emacs-xyz.scm (emacs-xml-rpc): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Brian Leung
2019-03-11packages: Add the channel .go files to the search path....Until now %LOAD-COMPILED-PATH would wrongfully contain: CHANNEL/share/guile/site/X.Y for each channel, thereby ignoring all the .go files of channels. This fixes it so that %LOAD-COMPILED-PATH instead contains: CHANNEL/lib/guile/X.Y/site-ccache * guix/describe.scm (current-channel-entries): New procedure. (package-path-entries): Change to return the %LOAD-COMPILED-PATH entries as a second value. * gnu/packages.scm (%package-module-path): Expect two values from 'package-path-entries' and augment %LOAD-COMPILED-PATH accordingly. Ludovic Courtès
2019-03-11services: mate-desktop: Deprecate the 'mate-desktop-service' procedure....* gnu/services/desktop.scm (mate-desktop-service): Deprecate. * doc/guix.texi (Desktop Services): Document 'mate-desktop-service-type' and 'mate-desktop-configuration'. Fix spelling of "Enlightenment". Ludovic Courtès
2019-03-11services: mate-desktop: Add default value....* gnu/services/desktop.scm (mate-desktop-service-type)[default-value]: New field. Ludovic Courtès
2019-03-11gnu: swaylock: Fix indentation....* gnu/packages/wm.scm (swaylock): Fix indentation. Rutger Helling
2019-03-11gnu: Add swaylock....* gnu/packages/wm.scm (swaylock): New variable. Rutger Helling
2019-03-11gnu: Add swayidle....* gnu/packages/wm.scm (swayidle): New variable. Rutger Helling
2019-03-11gnu: Add sway....* gnu/packages/wm.scm (sway): New variable. Rutger Helling
2019-03-11gnu: Add wlroots....* gnu/packages/wm.scm (wlroots): New variable. Rutger Helling
2019-03-11gnu: emacs-magit: Fix perl path in dedicated variable....* gnu/packages/emacs-xyz.scm (emacs-magit)[arguments]: Do it. Pierre Neidhardt
2019-03-11gnu: Add emacs-lorem-ipsum....* gnu/packages/emacs-xyz.scm (emacs-lorem-ipsum): New variable. Pierre Neidhardt
2019-03-11gnu: emacs-json-reformat: Fix test....This patch deletes a test which tries to compare JSON objects order. * gnu/packages/emacs-xyz.scm (emacs-json-reformat): Delete 'json-reformat-test:json-reformat-region' test. Oleg Pykhalov
2019-03-11gnu: r-with-tests: Update to 3.5.3....* gnu/packages/statistics.scm (r-with-tests): Update to 3.5.3. Ricardo Wurmus
2019-03-11gnu: s6-linux-utils: Update to 2.5.0.1....* gnu/packages/skarnet.scm (s6-linux-utils): Update to 2.5.0.1. Tobias Geerinckx-Rice
2019-03-11gnu: s6-linux-init: Update to 0.4.0.1....* gnu/packages/skarnet.scm (s6-linux-init): Update to 0.4.0.1. Tobias Geerinckx-Rice
2019-03-11gnu: s6-portable-utils: Update to 2.2.1.3....* gnu/packages/skarnet.scm (s6-portable-utils): Update to 2.2.1.3. Tobias Geerinckx-Rice
2019-03-11gnu: s6-rc: Update to 0.5.0.0....* gnu/packages/skarnet.scm (s6-rc): Update to 0.5.0.0. Tobias Geerinckx-Rice
tests/packages.scm: Add tests. Add missing copyright year for Jan. * guix/build/gnu-build-system.scm (first-subdirectory): Return #f when no sub-directory was found. (unpack): Support more file types, including uncompressed plain files. Maxim Cournoyer 2020-11-29Merge remote-tracking branch 'origin/master' into core-updatesChristopher Baines 2020-10-20packages: Better preserve object identity when rewriting....Fixes a bug whereby the presence of propagated inputs could lead to two non-eq? but actually equal packages in a bag's inputs. The problem would manifest itself when running, for instance: guix build inkscape -d --with-graft=glib=glib-networking --no-grafts The resulting derivation would differ due from that without '--with-graft'. This was due to the fact that glib propagates libffi; this instance of libffi was not rewritten even though other instances in the graph were rewritten. Thus, glib would end up with two non-eq? libffi instances, which in turn would lead to duplicate entries in its '%build-inputs' variable. Fixes <https://bugs.gnu.org/43890>. * guix/packages.scm (package-mapping)[rewrite]: Remove call to 'cut?' and call 'replace' unconditionally. [replace]: Add 'cut?' case. * tests/guix-build.sh: Add test combining '--no-grafts' and '--with-graft'. * tests/packages.scm ("package-input-rewriting/spec, identity") ("package-input-rewriting, identity"): New tests. Ludovic Courtès 2020-10-19Merge branch 'staging'...Conflicts: gnu/packages/admin.scm gnu/packages/commencement.scm gnu/packages/gdb.scm gnu/packages/llvm.scm gnu/packages/package-management.scm gnu/packages/tls.scm Maxim Cournoyer 2020-10-15packages: Delete duplicate inputs when lowering bags....This is a followup to 18fa433bf5c420868562b9f4b017c5c97251a44b and <https://issues.guix.gnu.org/43508>. * guix/packages.scm (derivation=?, input=?): New procedures. (bag->derivation, bag->cross-derivation): Add calls to 'delete-duplicates'. * tests/packages.scm ("package-derivation, inputs deduplicated"): New test. Ludovic Courtès 2020-10-12packages: Add 'package-with-c-toolchain'....* guix/build-system.scm (build-system-with-c-toolchain): New procedure. * guix/packages.scm (package-with-c-toolchain): New procedure. * tests/packages.scm ("package-with-c-toolchain"): New test. * doc/guix.texi (package Reference): Document 'package-with-c-toolchain'. (Build Systems): Mention it. Ludovic Courtès 2020-10-02guix package: Re-apply package transformation when upgrading....* guix/scripts/package.scm (transaction-upgrade-entry)[upgrade]: Add 'transform' parameter. Pass PKG through it. Use 'manifest-entry-with-transformations'. Call 'options->transformation' to get the transformation procedure. * tests/guix-package.sh: Add 'guix package -u' test. * tests/packages.scm ("transaction-upgrade-entry, transformation options preserved"): New test. * doc/guix.texi (Invoking guix package): Mention that transformations are preserved across upgrades. (Package Transformation Options): Likewise. Ludovic Courtès 2020-09-27packages: 'package-input-rewriting' has a #:deep? parameter....* guix/packages.scm (package-input-rewriting): Add #:deep? and pass it to 'package-mapping'. [replacement-property]: New variable. [rewrite]: Check it. [cut?]: New procedure. * tests/packages.scm ("package-input-rewriting"): Pass #:deep? #f and ensure implicit inputs were not rewritten. Avoid 'eq?' comparisons. ("package-input-rewriting, deep"): New test. * gnu/packages/guile.scm (package-for-guile-2.0, package-for-guile-3.0): Pass #:deep? #f. Ludovic Courtès 2020-09-27packages: 'package-mapping' correctly recurses into 'replacement'....Previously, something like: guix build glib --with-graft=glibc=glibc@2.29 would produce a result showing that rewriting rules were not applied to libx11@1.6.A (a replacement). * guix/packages.scm (package-mapping): Call REPLACE instead of PROC to 'replacement'. * tests/packages.scm ("package-input-rewriting/spec, graft"): New test. Ludovic Courtès 2020-09-27packages: 'package-input-rewriting/spec' can rewrite implicit dependencies....With this change, '--with-input', '--with-graft', etc. also apply to implicit dependencies. Thus, it's now possible to do: guix build python-itsdangerous --with-input=python-wrapper=python@2 or: guix build hello --with-graft=glibc=glibc@2.29 Additionally, before, implicit inputs were not rewritten, which could lead to duplicates in the output of 'bag-transitive-inputs' (packages that are not 'eq?' but lead to the same derivation). This in turn would lead to unnecessary rebuilds when using '--with-input' & co. This change fixes it by ensuring even implicit inputs are rewritten. Fixes <https://bugs.gnu.org/42156>. * guix/packages.scm (package-input-rewriting/spec): Add #:deep? defaulting to #true, and pass it to 'package-mapping'. [replacement-property]: New variable. [rewrite]: Check that property and set it on the result of PROC. [cut?]: New procedure. * tests/packages.scm ("package-input-rewriting/spec"): Ensure implicit inputs were unchanged. ("package-input-rewriting/spec, partial match"): Pass #:deep? #f. ("package-input-rewriting/spec, deep") ("package-input-rewriting/spec, no duplicates"): New tests. (package/inherit): Move before use. * tests/guix-build.sh: Add tests. * tests/scripts-build.scm ("options->transformation, with-graft"): Compare dependencies by package name or derivation file name. * doc/guix.texi (Defining Packages): Adjust accordingly. Ludovic Courtès 2020-09-27packages: 'package-mapping' can recurse on implicit inputs....* guix/packages.scm (build-system-with-package-mapping): New procedure. (package-mapping): Add #:deep? and honor it. * tests/packages.scm ("package-mapping"): Compare the direct inputs of the bag of P0 and that of P1. ("package-mapping, deep"): New test. Ludovic Courtès 2020-08-24tests: Add a debug output to "fold-available-packages with/without cache"....This should help to debug test failures due to duplicated packages. * tests/packages ("fold-available-packages with/without cache"): Print duplicated packages. Mathieu Othacehe 2020-07-25Use 'formatted-message' instead of '&message' where appropriate....* gnu.scm (%try-use-modules): Use 'formatted-message' instead of '&message'. * gnu/machine/digital-ocean.scm (maybe-raise-unsupported-configuration-error): Likewise. * gnu/machine/ssh.scm (machine-check-file-system-availability): Likewise. (machine-check-building-for-appropriate-system): Likewise. (deploy-managed-host): Likewise. (maybe-raise-unsupported-configuration-error): Likewise. * gnu/packages.scm (search-patch): Likewise. * gnu/services.scm (%service-with-default-value): Likewise. (files->etc-directory): Likewise. (fold-services): Likewise. * gnu/system.scm (locale-name->definition*): Likewise. * gnu/system/mapped-devices.scm (check-device-initrd-modules): Likewise. (check-luks-device): Likewise. * guix/channels.scm (latest-channel-instance): Likewise. * guix/cve.scm (json->cve-items): Likewise. * guix/git-authenticate.scm (commit-signing-key): Likewise. (commit-authorized-keys): Likewise. (authenticate-commit): Likewise. (verify-introductory-commit): Likewise. * guix/remote.scm (remote-pipe-for-gexp): Likewise. * guix/scripts/graph.scm (assert-package): Likewise. * guix/scripts/offload.scm (private-key-from-file*): Likewise. * guix/ssh.scm (authenticate-server*): Likewise. (open-ssh-session): Likewise. (remote-inferior): Likewise. * guix/ui.scm (matching-generations): Likewise. * guix/upstream.scm (package-update): Likewise. * tests/channels.scm ("latest-channel-instances, missing introduction for 'guix'"): Catch 'formatted-message?'. ("authenticate-channel, wrong first commit signer"): Likewise. * tests/lint.scm ("patches: not found"): Adjust message string. * tests/packages.scm ("patch not found yields a run-time error"): Catch 'formatted-message?'. * guix/lint.scm (check-patch-file-names): Handle 'formatted-message?'. (check-derivation): Ditto. Ludovic Courtès 2020-07-25utils: Move <location> and '&error-location' to (guix diagnostics)....* guix/utils.scm (<location>, source-properties->location) (location->source-properties, &error-location): Move to... * guix/diagnostics.scm: ... here. * gnu.scm: Adjust imports accordingly. * gnu/machine.scm: Likewise. * gnu/system.scm: Likewise. * gnu/tests.scm: Likewise. * guix/inferior.scm: Likewise. * tests/channels.scm: Likewise. * tests/packages.scm: Likewise. Ludovic Courtès 2020-07-13packages: Ensure bags are insensitive to '%current-system'....Fixes <https://bugs.gnu.org/42327>. Reported by Jan Nieuwenhuizen <janneke@gnu.org>. This is a followup to f52fbf7094c9c346d38ad469cc8d92d18387786e. * guix/packages.scm (bag-transitive-inputs, bag-transitive-build-inputs) (bag-transitive-host-inputs, bag-transitive-target-inputs): Parameterize %CURRENT-SYSTEM in addition to %CURRENT-TARGET-SYSTEM. * tests/packages.scm ("package->bag, sensitivity to %current-system"): New test. Ludovic Courtès 2020-06-27packages: Recognize SHA3 and BLAKE2s for 'content-hash'....* guix/packages.scm (build-content-hash): Add 'sha3-256', 'sha3-512', and 'blake2s-256'. * tests/packages.scm ("package-source-derivation, origin, sha3-512"): New test. Ludovic Courtès 2020-06-11packages: 'package-grafts' returns grafts for all the relevant outputs....Fixes <https://bugs.gnu.org/41796>. Reported by Jakub Kądziołka <kuba@kadziolka.net>. * guix/packages.scm (input-graft): Add 'output' parameter and honor it. Add OUTPUT to the cache key. (input-cross-graft): Likewise. (fold-bag-dependencies): Operate on inputs instead of nodes. Turn VISITED into a vhash instead of a set. Pass PROC HEAD and OUTPUT instead of just HEAD. (bag-grafts): Adjust accordingly. * tests/packages.scm ("package-grafts, dependency on several outputs"): New test. Ludovic Courtès 2020-06-06packages: Make 'bag-grafts' insensitive to '%current-target-system'....Fixes <https://bugs.gnu.org/41713>. Reported by Mathieu Othacehe. * guix/packages.scm (bag-grafts): Wrap 'fold-bag-dependencies' calls in 'parameterize'. * tests/packages.scm ("package->bag, sensitivity to %current-target-system"): New test. Ludovic Courtès 2020-05-23tests: Use a #:prefix for (gcrypt hash)....* tests/packages.scm: Use #:prefix instead of #:hide for (gcrypt hash). This accomodates for 'sha512' syntax literal matches with Guile-Gcrypt 0.3.0, which exports 'sha512' in addition to 'sha256'. Ludovic Courtès 2020-05-22packages: Introduce <content-hash> and use it in <origin>....* guix/packages.scm (<content-hash>): New record type. (define-content-hash-constructor, build-content-hash) (content-hash): New macros. (print-content-hash): New procedure. (<origin>): Rename constructor to '%origin'. [sha256]: Remove field. [hash]: New field. Adjust users. (origin-compatibility-helper, origin): New macros. (origin-sha256): New deprecated procedure. (origin->derivation): Adjust accordingly. * tests/packages.scm ("package-source-derivation, origin, sha512"): New test. * guix/tests.scm: Hide (gcrypt hash) 'sha256' for proper syntax matching. * tests/challenge.scm: Add #:prefix for (gcrypt hash) and adjust users. * tests/derivations.scm: Likewise. * tests/store.scm: Likewise. * tests/graph.scm ("bag DAG, including origins"): Provide 'sha256' field with the right length. * gnu/packages/aspell.scm (aspell-dictionary) (aspell-dict-ca, aspell-dict-it): Use 'hash' and 'content-hash' for proper syntax matching. * gnu/packages/bash.scm (bash-patch): Rename 'sha256' to 'sha256-bv'. * gnu/packages/bootstrap.scm (bootstrap-executable): Rename 'sha256' to 'bv'. * gnu/packages/readline.scm (readline-patch): Likewise. * gnu/packages/virtualization.scm (qemu-patch): Rename 'sha256' to 'sha256-bv'. * guix/import/utils.scm: Hide (gcrypt hash) 'sha256'. Ludovic Courtès 2020-05-14packages: Ensure bags are insensitive to '%current-target-system'....Fixes a bug whereby a bag's transitive dependencies would depend on the global '%current-target-system' value. Partly fixes <https://issues.guix.gnu.org/41182>. * guix/packages.scm (bag-transitive-inputs) (bag-transitive-build-inputs, bag-transitive-target-inputs): Parameterize '%current-target-system'. * tests/packages.scm ("package->bag, sensitivity to %current-target-system"): New test. Ludovic Courtès 2020-03-31guix package: Do not misdiagnose upgrades when there are propagated inputs....Fixes <https://bugs.gnu.org/35872>. Reported by Andy Tai <atai@atai.org>. * guix/profiles.scm (list=?, manifest-entry=?): New procedures. * guix/scripts/package.scm (transaction-upgrade-entry): In the '=' case, use 'manifest-entry=?' to determine whether it's an upgrade. * tests/packages.scm ("transaction-upgrade-entry, zero upgrades, propagated inputs"): New test. Ludovic Courtès 2020-03-31guix package: Add 'transaction-upgrade-entry' test....* tests/packages.scm ("transaction-upgrade-entry, zero upgrades, equivalent package"): New test. Ludovic Courtès 2020-03-31guix package: 'transaction-upgrade-entry' swallows build requests....Fixes a regression introduced in 131f50cdc9dbb7183023f4dae759876a9e700bef whereby the install/upgrade message would not be displayed: $ guix upgrade -n 2.1 MB would be downloaded: /gnu/store/…-something-1.2 /gnu/store/…-its-dependency-2.3 This is because we'd directly abort from 'transaction-upgrade-entry' to the build handler of 'build-notifier'. * guix/scripts/package.scm (transaction-upgrade-entry): Call 'string=?' expression in 'with-build-handler'. * tests/packages.scm ("transaction-upgrade-entry, grafts"): New test. Ludovic Courtès 2020-01-16guix package: Export 'transaction-upgrade-entry'....* guix/scripts/package.scm (transaction-upgrade-entry): Add 'store' parameter and use it instead of (%store). Export. * tests/packages.scm ("transaction-upgrade-entry, zero upgrades") ("transaction-upgrade-entry, one upgrade") ("transaction-upgrade-entry, superseded package"): Adjust accordingly. Ludovic Courtès