aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-describe.sh
blob: af523f0a0be3632738b810f3a92d3661a2e91968 (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
# GNU Guix --- Functional package management for GNU
# Copyright © 2018 Ludovic Courtès <ludo@gnu.org>
#
# 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/>.

#
# Test 'guix describe'.
#

guix describe --version

tmpfile="t-guix-describe-$$"
trap "rm -f $tmpfile" EXIT
rm -f "$tmpfile"

if [ -d "$abs_top_srcdir/.git" ]
then
    # Since we're in a Git checkout, we can at least check that these things
    # work.
    guix describe | grep -i "checkout"
    if git --version > /dev/null 2>&1
    then
	result="`guix describe | grep commit: | cut -d : -f 2-`"
	commit="`git log | head -1 | cut -c 7-`"
	test "x$result" = "x$commit"
    fi
    guix describe -f channels
    case "`guix describe -f channels | grep url`" in
	*"(url \"$abs_top_srcdir\")") true;;
	*) false;;
    esac
else
    exit 77
fi
erts commit 3debb27e7ccdb614589adbc9b28b050c785abc01. The upgrade to 4.3 is not trivial and requires changes to the build process. Lars-Dominik Braun 2022-01-02gnu: uim: Fix build with GCC 10....* gnu/packages/xorg.scm (uim)[arguments]: Pass "-O2 -g -fcommon" to #:configure-flags. Signed-off-by: Leo Famulari <leo@famulari.name> Lu Hui 2022-01-01gnu: Add libxpresent....* gnu/packages/xorg.scm (libxpresent): New variable. Oleg Pykhalov 2021-12-22gnu: xorg-server: Update to 21.1.2 [security fixes]....Fixes CVE-2021-4008, CVE-2021-4009, CVE-2021-4010, and CVE-2021-4011. * gnu/packages/xorg.scm (xorg-server): Update to 21.1.2. (xorg-server-for-tests): Use version 21.1.1. Leo Famulari 2021-12-17gnu: imake: Remove input labels....* gnu/packages/xorg.scm (imake)[inputs]: Remove input labels. [arguments]: Gexp accordingly. Tobias Geerinckx-Rice 2021-12-16gnu: xf86-video-qxl: Fix build....* gnu/packages/patches/xf86-video-qxl-fix-build.patch: Add patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/xorg.scm (xf86-video-qxl): Apply it. Maxim Cournoyer 2021-12-16gnu: xpra: Update to 4.3....gnu/packages/xorg.scm (xpra): Update to 4.3. Signed-off-by: Leo Famulari <leo@famulari.name> Andy Tai 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-12-05Merge remote-tracking branch 'origin/master' into core-updates-frozenRicardo Wurmus 2021-11-27gnu: xterm: Update to 370....* gnu/packages/xorg.scm (xterm): Update to 370. Tobias Geerinckx-Rice 2021-11-25gnu: uim-gtk: Build with '-O2'....* gnu/packages/xorg.scm (uim-gtk)[arguments]: Pass "-O2 -g". Ludovic Courtès 2021-11-22gnu: uim-qt: Pass -fcommon to compiler....* gnu/packages/xorg.scm (uim-qt)[arguments]: Add -fcommon to CPPFLAGS. Ricardo Wurmus 2021-11-22gnu: uim-gtk: Pass -fcommon to compiler....* gnu/packages/xorg.scm (uim-gtk)[arguments]: Add -fcommon to CFLAGS. Ricardo Wurmus 2021-11-20gnu: libxcursor: Add a search path for XCURSOR_PATH....* gnu/packages/xorg.scm (libxcursor): Fix indentation. [native-search-paths]: New field (previously commented). Update comment. Maxim Cournoyer 2021-11-18gnu: xorg-server-xwayland: Update to 21.1.3 and adjust package....Xwayland is no longer part of the main X server distribution and now requires Meson to build. This change also turn on EGL support, which was previously disabled. * gnu/packages/xorg.scm (xorg-server-xwayland): Do not inherit from xorg-server. Update to 21.1.3. [native-inputs]: New field. [build-system]: Likewise. [inputs]: Fully specify inputs, which are a subset of those of xorg-server. [configure-flags]: Adjust for Meson. [phases]{patch-/bin/sh}: New phase. [description, home-page, license]: New fields. Maxim Cournoyer 2021-11-18gnu: egl-wayland: Update to 1.1.9....* gnu/packages/xorg.scm (egl-wayland): Update to 1.1.9. [native-inputs]: Add libglvnd and mesa-headers. [inputs]: Add wayland-protocols. Maxim Cournoyer 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-18gnu: xorg-server: Enable X security extensions (xcsecurity)....Fixes <https://issues.guix.gnu.org/23317>. * gnu/packages/xorg.scm (xorg-server) [configure-flags]: Add --enable-xcsecurity. Maxim Cournoyer 2021-11-18gnu: xorg-server: Update to 21.1.1 and reinstate parallel tests....* gnu/packages/xorg.scm (xorg-server): Update to 21.1.1. [parallel-tests?]: Tentatively remove argument; added in 2015 without a comment. Maxim Cournoyer 2021-11-18gnu: libxkbfile: Propagate libx11 and kbproto....* gnu/packages/xorg.scm (libxkbfile): Fix indentation. [inputs]{libx11}: Move to... [propagated-inputs]: ... here. Add kbproto. Maxim Cournoyer 2021-11-18gnu: xf86-video-nouveau: Use upstream patch for xorg-server 21.1....* gnu/packages/patches/xf86-video-nouveau-fixup-ABI.patch: New patch. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/xorg.scm (xf86-video-nouveau): Use it. Signed-off-by: Timothy Sample <samplet@ngyro.com> Josselin Poiret 2021-11-18gnu: xf86-video-mach64: Patch to build with xorg-server 21.1....* gnu/packages/patches/xf86-video-mach64-bool-to-boolean.patch: New patch. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/xorg.scm (xf86-video-mach64): Use it. Signed-off-by: Timothy Sample <samplet@ngyro.com> Josselin Poiret 2021-11-17Merge branch 'master' into core-updates-frozenLudovic Courtès 2021-11-11gnu: hackneyed-x11-cursors: Update to 0.8.2....* gnu/packages/xorg.scm (hackneyed-x11-cursors): Update to 0.8.2. Maxim Cournoyer 2021-11-11gnu: xorg-server: Fix indentation....* gnu/packages/xorg.scm (xorg-server): Fix indentation. Remove trailing #t. Maxim Cournoyer 2021-11-11gnu: xorg-server, xorg-server-for-tests: Update to 21.1.0....* gnu/packages/xorg.scm (xorg-server): Update to 21.1.0. [origin]: Update URI. (xorg-server-for-tests)[version]: Delete field. [source]: Likewise. [propagated-inputs]: Add libxcvt and an explanatory comment. Maxim Cournoyer 2021-11-11gnu: Add libxcvt....* gnu/packages/xorg.scm (libxcvt): New variable. Maxim Cournoyer 2021-11-11gnu: xorgproto: Update to 2021.5....* gnu/packages/xorg.scm (xorgproto): Update to 2021.5. Maxim Cournoyer 2021-11-11gnu: xkeyboard-config: Update to 2.34....* gnu/packages/xorg.scm (xkeyboard-config): Update to 2.34. Maxim Cournoyer 2021-11-11gnu: libevdev: Update to 1.11.0....* gnu/packages/xorg.scm (libevdev): Update to 1.11.0. Signed-off-by: Brice Waegeneire <brice@waegenei.re> Matthew James Kraai 2021-11-08gnu: packages: Remove last year's deprecations....* gnu/packages/admin.scm (guile3.0-shepherd): Remove variable. * gnu/packages/benchmark.scm (imb-openmpi): Likewise. * gnu/packages/boost.scm (boost-with-python3): Likewise. * gnu/packages/pep.scm (python-pep-adapter)[inputs]: Adjust accordingly. * gnu/packages/cpp.scm (nlohmann-json-cpp): Likewise. * gnu/packages/games.scm (openrct2)[inputs]: Adjust accordingly. * gnu/packages/cups.scm (escpr): Likewise. * gnu/packages/django.scm (python-django-jsonfield): Likewise. * gnu/packages/emacs-xyz.scm (emacs-modus-operandi-theme) (emacs-modus-vivendi-theme): Likewise. * gnu/packages/engineering.scm (kicad-i18l): Likewise. * gnu/packages/enlightenment.scm (enlightenment-wayland): Likewise. * gnu/packages/firmware.scm (opensbi-qemu-virt, opensbi-qemu-sifive-u): Likewise. * gnu/packages/fonts.scm (font-gnu-freefont-ttf, font-open-dyslexic): Likewise. * gnu/packages/game-development.scm (guile3.0-chickadee) (python-sge-pygame): Likewise. * gnu/packages/games.scm (retux)[inputs]: Adjust accordingly. * gnu/packages/gnome-xyz.scm (numix-theme): Likewise. * gnu/packages/gnupg.scm (guile3.0-gcrypt): Likewise. * gnu/packages/gstreamer.scm (gst-transcoder): Likewise. * gnu/packages/gtk.scm (guile3.0-cairo, guile3.0-present, guile3.0-rsvg): Likewise. * gnu/packages/guile-xyz.scm (guile3.0-colorized, guile3.0-commonmark) (guile3.0-config, guile3.0-email, guile3.0-fibers, guile3.0-gi) (guile3.0-hall, guile3.0-hashing, guile3.0-haunt, guile3.0-ics) (guile3.0-irregex, guile3.0-lib, guile3.0-mcron, guile3.0-minikanren) (guile3.0-ncurses, guile3.0-ncurses/gpm, guile3.0-newt, guile3.0-parted) (guile3.0-pfds, guile3.0-picture-language, guile3.0-semver) (guile3.0-simple-zmq, guile3.0-squee, guile3.0-syntax-highlight) (guile3.0-websocket, guile3.0-wisp, guile3.0-xapian): Likewise. * gnu/packages/guile.scm (define-deprecated-guile3.0-package) (guile3.0-json, guile3.0-gdbm-ffi, guile3.0-sqlite3) (guile3.0-bytestructures, guile3.0-git): Likewise. * gnu/packages/haskell-apps.scm (ghc-stylish-haskell): Likewise. * gnu/packages/linux.scm (linux-libre-arm-veyron): Likewise. * gnu/packages/mail.scm (guile3.0-mailutils): Likewise. * gnu/packages/monitoring.scm (python2-graphite-web): Likewise. * gnu/packages/package-management.scm (guile3.0-guix): Likewise. * gnu/packages/package-management.scm (python-conda): Likewise. * gnu/packages/phabricator.scm (libphutil): Likewise. * gnu/packages/plotutils.scm (guile3.0-charting): Likewise. * gnu/packages/python-xyz.scm (python2-smmap2, python-glances) (python-smmap2): Likewise. * gnu/packages/shells.scm (oil-shell): Likewise. * gnu/packages/sqlite.scm (sqlite-with-column-metadata): Likewise. * gnu/packages/ssh.scm (guile3.0-ssh): Likewise. * gnu/packages/terminals.scm (et): Likewise. * gnu/packages/tls.scm (guile3.0-gnutls): Likewise. * gnu/packages/vlang.scm (v): Likewise. * gnu/packages/vpn.scm (wireguard): Likewise. * gnu/packages/web-browsers.scm (next, sbcl-next): Likewise. * gnu/packages/xorg.scm (transset-df): Likewise. Tobias Geerinckx-Rice 2021-10-12Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe 2021-10-05gnu: xterm: Update to 369....* gnu/packages/xorg.scm (xterm): Update to 369. Tobias Geerinckx-Rice 2021-10-03gnu: xpra: Update to 4.2.2....* gnu/packages/xorg.scm (xpra): Update to 4.2.2. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Matthew James Kraai 2021-09-27gnu: libxvmc: Pass --disable-malloc0returnsnull when cross-compiling....This fixes a configure error when cross-compiling and doesn't cause any rebuilds. * gnu/packages/xorg.scm (libxvmc)[arguments]<#:configure-flags>: Add malloc0flags. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Maxime Devos 2021-09-27gnu: libxv: Pass --disable-malloc0returnsnull when cross-compiling....This fixes a configure error when cross-compiling and doesn't cause any rebuilds. * gnu/packages/xorg.scm (libxv)[arguments]<#:configure-flags>: Add malloc0flags. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Maxime Devos 2021-09-27gnu: xev: Pass --disable-malloc0returnsnull when cross-compiling....This fixes a configure error when cross-compiling and doesn't cause any rebuilds. * gnu/packages/xorg.scm (xev)[arguments]<#:configure-flags>: Add malloc0flags. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Maxime Devos