aboutsummaryrefslogtreecommitdiff
# GNU Guix --- Functional package management for GNU
# Copyright © 2018, 2019, 2020, 2022 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 build --with-branch'.
#

guix build --version

# 'guix build --with-branch' requires access to the network to clone the
# Git repository below.

if ! guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null
then
    # Skipping.
    exit 77
fi

orig_drv="`guix build guile-gcrypt -d`"
latest_drv="`guix build guile-gcrypt --with-branch=guile-gcrypt=master -d`"
test -n "$latest_drv"
test "$orig_drv" != "$latest_drv"

# FIXME: '-S' currently doesn't work with non-derivation source.
# checkout="`guix build guile-gcrypt --with-branch=guile-gcrypt=master -S`"
checkout="`guix gc --references "$latest_drv" | grep guile-gcrypt | grep -v -E '(-builder|\.drv)'`"
test -d "$checkout"
test -f "$checkout/COPYING"

orig_drv="`guix build guix -d`"
latest_drv="`guix build guix --with-branch=guile-gcrypt=master -d`"
guix gc -R "$latest_drv" | grep guile-gcrypt-git.master
test "$orig_drv" != "$latest_drv"

v0_1_0_drv="`guix build guix --with-commit=guile-gcrypt=9e3eacdec1d -d`"
guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-git.9e3eacd
test "$v0_1_0_drv" != "$latest_drv"
test "$v0_1_0_drv" != "$orig_drv"

v0_1_0_drv="`guix build guix --with-commit=guile-gcrypt=v0.1.0 -d`"
guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-0.1.0
guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-9e3eacd
test "$v0_1_0_drv" != "$latest_drv"
test "$v0_1_0_drv" != "$orig_drv"

guix build guix --with-commit=guile-gcrypt=000 -d && false

exit 0
e.scm gnu/packages/freedesktop.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/guile.scm gnu/packages/inkscape.scm gnu/packages/llvm.scm gnu/packages/openldap.scm gnu/packages/pciutils.scm gnu/packages/ruby.scm gnu/packages/samba.scm gnu/packages/sqlite.scm gnu/packages/statistics.scm gnu/packages/syndication.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/copy.scm guix/scripts/home.scm 2023-01-19gnu: Fix home-page typosMorgan Smith * gnu/packages/accessibility.scm (espeakup): ttps -> https * gnu/packages/emacs-xyz.scm (emacs-soap-client): httpa -> https * gnu/packages/gstreamer.scm (esounds): Remove newline Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2022-12-13gnu: Add gst-plugins-good-qt.Martin Schmidt * gnu/packages/gstreamer.scm (gst-plugins-good-qt): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net> 2022-11-30gnu: gst-plugins-bad: Skip elements/camerabin test on riscv64-linux.Efraim Flashner * gnu/packages/gstreamer.scm (gst-plugins-bad)[arguments]: Skip the elements/camerabin test on riscv64-linux too. 2022-11-26gnu: gst-plugins-bad: Skip elements/camerabin test on some systems.Christopher Baines It seems to frequently fail on i686-linux and aarch64-linux. * gnu/packages/gstreamer.scm (gst-plugins-bad)[arguments]: Skip the elements/camerabin test on i686-linux and aarch64-linux. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> 2022-10-16gnu: gst-plugins-bad: Build without faac.Marius Bakke This is a follow-up to commit fe0ab5dbeacbd1b00a0b5bfeef6dafa82e0c037d. * gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Remove FAAC. 2022-09-27Merge branch 'staging' into core-updatesMaxim Cournoyer Conflicts resolved in: gnu/local.mk gnu/packages/cran.scm gnu/packages/gnome.scm gnu/packages/gtk.scm gnu/packages/icu4c.scm gnu/packages/java.scm gnu/packages/machine-learning.scm gnu/packages/tex.scm 2022-09-19gnu: svt-hevc: Limit to x86_64-linux.Efraim Flashner * gnu/packages/video.scm (svt-hevc)[supported-systems]: Remove i686-linux. Add comment. * gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Don't add svt-hevc when building for i686-linux. 2022-09-18Merge branch 'staging' into core-updatesMarius Bakke 2022-09-18gnu: gst-plugins-bad: Explicitly use OpenSSL@1.1.Marius Bakke * gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Change from OPENSSL to OPENSSL-1.1. 2022-09-17gnu: gstreamer: Disable failing tests on i686 again.Marius Bakke * gnu/packages/gstreamer.scm (gstreamer)[arguments]: Disable two tests on i686-linux. 2022-09-08Merge branch 'staging' into core-updatesMarius Bakke 2022-09-03gnu: gst-plugins-bad: Use librsvg-for-system.Efraim Flashner * gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Replace librsvg with librsvg-for-system. 2022-09-03gnu: gst-plugins-bad: Remove duplicate input.Efraim Flashner * gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Remove duplicate architecture-specific input mediasdk. 2022-09-01Merge branch 'staging' into core-updatesMarius Bakke 2022-09-01gnu: gst-plugins-base: Skip more tests on some platforms.Efraim Flashner * gnu/packages/gstreamer.scm (gst-plugins-base)[arguments]: Extend the custom 'disable-problematic-tests phase to selectively remove some tests on certain architectures. 2022-09-01gnu: gst-plugins-base: Build with orc on all platforms.Efraim Flashner * gnu/packages/gstreamer.scm (gst-plugins-base)[propagated-inputs]: Build with orc on all platforms. 2022-08-27Merge branch 'staging' into core-updatesMarius Bakke 2022-08-27gnu: gst-plugins-base: Propagate gudev.Marius Bakke This is a follow-up to commit f1e8cc6a9826f951fe95dc374b4db6fc8e25d981. * gnu/packages/gstreamer.scm (gst-plugins-base)[inputs]: Move LIBGUDEV ... [propagated-inputs]: ... here. 2022-08-12gnu: libvisual-plugins: Remove input labels.Marius Bakke * gnu/packages/gstreamer.scm (libvisual-plugins)[native-inputs, inputs]: Remove labels. 2022-08-12gnu: libvisual: Remove input labels.Marius Bakke * gnu/packages/gstreamer.scm (libvisual)[native-inputs]: Remove labels. 2022-07-28gnu: gst-editing-services: Update FIXME comment.Liliana Marie Prikler There are now 23 total tests in gst-editing-services. * gnu/packages/gstreamer.scm (gst-editing-services)[arguments]: Update FIXME. 2022-07-28gnu: gst-python: Use new package style.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gst-python)[arguments]: Convert to list of G-Expressions. 2022-07-28gnu: gst-editing-services: Use new package style.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gst-editing-services)[arguments]: Convert to list of G-Expressions. [native-inputs]: Drop labels. 2022-07-28gnu: gst-plugins-ugly: Use new package style.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gst-plugins-ugly)[arguments]: Convert to list of G-Expressions. [native-inputs]: Drop labels. 2022-07-28gnu: gst-plugins-bad: Use new package style.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gst-plugins-bad)[arguments]: Convert to list of G-Expressions. [native-inputs, inputs]: Drop labels. 2022-07-28gnu: gst-plugins-good: Use new package style.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gst-plugins-good)[arguments]: Convert to list of G-Expressions. [propagated-inputs, native-inputs]: Drop labels. [inputs]: Drop labels, also sort alphabetically. 2022-07-28gnu: gstreamer: Use new package style.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gstreamer)[arguments]: Convert to list of G-Expressions. [native-inputs]: Drop labels. 2022-07-28gnu: Add gst-plugins-bad-minimal.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gst-plugins-bad-minimal): New variable. 2022-07-28gnu: gst-plugins/selection: Implement in terms of G-Expressions.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gst-plugins/selection)[#:configure-flags]: Use G-Expressions. [#:phases]: Likewise. Drop trailing #t. * gnu/packages/video.scm (pitivi)[inputs]: Adjust accordingly. 2022-07-28gnu: python-gst: Update to 1.20.3.Liliana Marie Prikler * gnu/packages/gstreamer.scm (python-gst): Update to 1.20.3. 2022-07-28gnu: gstreamer-docs: Update to 1.20.3.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gstreamer-docs): Update to 1.20.3. 2022-07-28gnu: gst-editing-services: Update to 1.20.3.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gst-editing-services): Update to 1.20.3. 2022-07-28gnu: gst-libav: Update to 1.20.3.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gst-libav): Update to 1.20.3. 2022-07-28gnu: gst-plugins-ugly: Update to 1.20.3.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gst-plugins-ugly): Update to 1.20.3. 2022-07-28gnu: gst-plugins-bad: Update to 1.20.3.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gst-plugins-bad): Update to 1.20.3. 2022-07-28gnu: gst-plugins-good: Update to 1.20.3.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.20.3. [source]<patches>: Remove “gst-plugins-good-fix-test.patch”. [arguments]<#:phases>: Add ‘absolutize-libsoup-library’ and ‘skip-failing-tests’. * gnu/packages/patches/gst-plugins-good-fix-test.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. 2022-07-28gnu: gst-plugins-base: Update to 1.20.3.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.20.3. 2022-07-28gnu: gstreamer: Update to 1.20.3.Liliana Marie Prikler * gnu/packages/gstreamer.scm (gstreamer): Update to 1.20.3. [#:phases]: Drop ‘disable-some-tests’ and ‘disable-problematic-tests’. 2022-07-28gnu: python-gst: Add upstream-name.Liliana Marie Prikler * gnu/packages/gstreamer.scm (python-gst)[properties]: Add upstream-name. 2022-07-18gnu: gst-plugins-bad: Limit inputs based on architecture.Efraim Flashner * gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Only build with mediasdk and svt-hevc on supported architectures.