aboutsummaryrefslogtreecommitdiff
#!/bin/sh
# Create the build system.

set -e -x

# Generate stubs for translations.
langs=`find po/doc -type f -name 'guix-manual*.po' \
        | sed -e 's,.*/guix-manual\.,,;s,\.po$,,'`
for lang in ${langs}; do
    if [ ! -e "doc/guix.${lang}.texi" ]; then
	echo "@setfilename guix.${lang}.info" > "doc/guix.${lang}.texi"
	echo "@include version-${lang}.texi" >> "doc/guix.${lang}.texi"
	# Ensure .po file is newer.
	touch "po/doc/guix-manual.${lang}.po"
    fi
done
langs=`find po/doc -type f -name 'guix-cookbook*.po' \
        | sed -e 's,.*/guix-cookbook\.,,;s,\.po$,,'`
for lang in ${langs}; do
    if [ ! -e "doc/guix-cookbook.${lang}.texi" ]; then
	echo "@setfilename guix-cookbook.${lang}.info" > "doc/guix-cookbook.${lang}.texi"
	# Ensure .po file is newer.
	touch "po/doc/guix-cookbook.${lang}.po"
    fi
done

autoreconf -vfi

# Replace Automake's build-aux/mdate-sh with build-aux/mdate-from-git, our
# own, reproducible version.
chmod +w build-aux/mdate-sh
rm -f build-aux/mdate-sh
ln -s mdate-from-git.scm build-aux/mdate-sh
xed with 'font-'. Adjust 'gs-fonts' to follow this convention. * gnu/packages/fontutils.scm (gs-fonts)[name]: Set to "font-ghostscript". (gs-fonts): Rename variable to 'font-ghostscript'. (gs-fonts): Add deprecated package. * gnu/packages/ghostscript.scm (ghostscript)[arguments]<#:configure-flags>: Replace 'gs-fonts' with 'font-ghostscript'. (ghostscript)[inputs]: Likewise. * gnu/packages/fontutils.scm (fontconfig)[inputs]: Likewise. * gnu/packages/gtk.scm (pango-1.42)[arguments]{disable-layout-test}: Likewise. * gnu/packages/imagemagick.scm (graphicsmagick)[arguments]{configure-flags}: Likewise. (graphicsmagick)[inputs]: Likewise. * gnu/packages/mp3.scm (ripperx)[propagated-inputs]: Likewise. * doc/guix.texi (X11 Fonts): Likewise. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Maxime Devos 2021-03-27gnu: imagemagick: Add more upstream fixes....* gnu/packages/patches/imagemagick-ReadDCMImage-fix.patch, gnu/packages/patches/imagemagick-ReadDCMPixels-fix.patch, gnu/packages/patches/imagemagick-WriteTHUMBNAILImage-fix.patch: New files. * gnu/local.mk (dist_patch_DATA): Add them. * gnu/packages/imagemagick.scm (source): Add patches. Mark H Weaver 2021-03-27gnu: imagemagick: Fix CVE-2020-27829....* gnu/packages/patches/imagemagick-CVE-2020-27829.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/imagemagick.scm (source): Add patch. Mark H Weaver 2021-03-27gnu: imagemagick: Hide 'imagemagick/stable' variant....* gnu/packages/imagemagick.scm (imagemagick/stable): Hide it. (imagemagick): Remove inherited 'hidden?' property. Mark H Weaver 2021-03-27gnu: imagemagick: Update to 6.9.12-4....* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.12-4. Mark H Weaver 2021-03-27gnu: imagemagick: Add 'imagemagick/stable' variant....* gnu/packages/imagemagick.scm (imagemagick/stable): New variable. (imagemagick): This is now an alias to 'imagemagick/stable'. Mark H Weaver 2021-03-27gnu: imagemagick: Remove graft....Note that this commit does *not* integrate the fixes that were previously applied via the graft. This commit simply discards those fixes. We will address those security flaws, without grafting, in subsequent commits. * gnu/packages/imagemagick.scm (imagemagick)[replacement]: Remove field. (imagemagick/fixed): Remove variable. Mark H Weaver 2021-03-18gnu: imagemagick/fixed: Redirect old sonames to new sonames....* gnu/packages/imagemagick.scm (imagemagick/fixed)[arguments]: Add 'fix-compat-cheat-rename-so phase to redirect old soname paths (expected without grafting) to new sonames introduced by ImageMagick 6.9.12-0 and later. These sonames are probably not forward compatible but most probably backwards compatible so it should suffice until we remove the graft. Léo Le Bouter 2021-03-14gnu: ImageMagick: Refer to the version number in a more robust way....* gnu/packages/imagemagick.scm (imagemagick)[arguments]: Replace use of VERSION with (PACKAGE-VERSION THIS-PACKAGE). (imagemagick/fixed): Adjust accordingly. Leo Famulari 2021-03-12gnu: ImageMagick: Fix version number in build configuration of grafted replac......Fixes <https://bugs.gnu.org/47110>. This is a followup to commits 852ba914a43da0977d4f53b53da7039cdd6706b2 and 82e887ba48c2ba91b17aa9b6b17501e3e0ef4aef. * gnu/packages/imagemagick.scm (imagemagick/fixed)[name, arguments]: New fields. Leo Famulari 2021-03-10gnu: imagemagick/fixed: Retain version length for successful grafting....* gnu/packages/imagemagick.scm (imagemagick/fixed): [version]: Append 'g'. [source]: Hardcode version. Léo Le Bouter 2021-03-09gnu: imagemagick: Update to 6.9.12-2 [security fixes]....* gnu/packages/imagemagick.scm (imagemagick/fixed): New variable. (imagemagick)[replacement]: Graft. Léo Le Bouter 2021-01-10Merge branch 'master' into stagingEfraim Flashner 2021-01-03gnu: graphicsmagick: Add dependency on libwebp....* gnu/packages/imagemagick.scm (graphicsmagick): Add dependency on libwebp. [inputs]: Add libwebp. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Vinicius Monego 2021-01-02gnu: graphicsmagick: Update to 1.3.36....* gnu/packages/imagemagick.scm (graphicsmagick): Update to 1.3.36. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Vincent Legoll 2020-12-13gnu: ImageMagick: Update to 6.9.11-48....* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.11-48. (imagemagick-next): Remove variable. * gnu/packages/video.scm (transcode)[inputs]: Change from IMAGEMAGICK-NEXT to IMAGEMAGICK. Marius Bakke 2020-11-11gnu: transcode: Build with a newer ImageMagick....* gnu/packages/imagemagick.scm (imagemagick-next): New public variable. * gnu/packages/video.scm (transcode)[inputs]: Change from IMAGEMAGICK to IMAGEMAGICK-NEXT. Marius Bakke 2020-10-13gnu: ImageMagick: Update to 6.9.11-34....* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.11-34. Marius Bakke 2020-07-25gnu: ImageMagick: Update to 6.9.11-24....* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.11-24. Marius Bakke 2020-05-26gnu: ImageMagick: Update to 6.9.11-11....* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.11-11. Marius Bakke 2020-03-26gnu: ImageMagick: Build reproducibly....Fixes <https://bugs.gnu.org/38449>. * gnu/packages/imagemagick.scm (imagemagick)[arguments]: In #:configure-flags, add "--enable-reproducible-build". (cherry picked from commit 87bc9f022cdd3487e85cf83cf82222315246abf9) Marius Bakke 2020-03-14Merge branch 'master' into core-updatesMarius Bakke 2020-03-14Merge branch 'staging'Marius Bakke 2020-03-14gnu: GraphicsMagick: Update to 1.3.35....* gnu/packages/imagemagick.scm (graphicsmagick): Update to 1.3.35. Marius Bakke