Do not try to regenerate po files; use the reference files that are packaged in the tarball. --- a/Makefile.in 2010-06-30 17:02:28.000000000 -0500 +++ b/Makefile.in 2014-08-16 00:22:38.447050269 -0500 @@ -1022,15 +1022,7 @@ i18n/en.thl i18n/: $(po_document_dir)/po_document/$(PACKAGE)_document.pot $(MKDIR_P) i18n - if test '$(USE_NLS)' = 'yes'; then \ - for file in "$(srcdir)/$(po_document_dir)/po_document/"*".po"; do lang=`basename "$$file" .po | sed 's/\..*//'`; \ - test "$$lang" = 'en' && continue; \ - msgexec -i "$$file" "$(srcdir)/gettext_to_separated.pl" | "$(srcdir)/separated_to_hash.pl" $$lang > i18n/$$lang.thl; \ - done; \ - msgexec -i $< "$(srcdir)/gettext_to_separated.pl" | "$(srcdir)/separated_to_hash.pl" en > i18n/en.thl; \ - else \ - cp -p i18n_ref/*.thl i18n; \ - fi + cp -p i18n_ref/*.thl i18n i18n_ref: $(MKDIR_P) i18n_ref Have install-sh install .mo files locally for in-source tests, so that msgfmt is not needed. --- a/Makefile.in 2010-06-30 17:02:28.000000000 -0500 +++ b/Makefile.in 2014-08-16 00:22:38.447050269 -0500 @@ -1052,19 +1044,8 @@ # update the po files, and install locally the .mo files for the in # source tests check-local: makeinfo.pl texi2any.pl - if test '$(USE_NLS)' = 'yes'; then \ - cd $(po_document_dir)/po_document && $(MAKE) $(AM_MAKEFLAGS) update-po; \ - fi - rm -rf locales - for file in "$(srcdir)/$(po_document_dir)/po_document/"*.po; do \ - basename=`basename "$$file" .po` ; \ - $(MKDIR_P) "locales/$$basename/LC_MESSAGES/" ; \ - if test '$(USE_NLS)' = 'yes'; then \ - $(MSGFMT) "$$file" -o "locales/$$basename/LC_MESSAGES/texi2html_document.mo" ; \ - else \ - cp -p "$(srcdir)/$(po_document_dir)/po_document/$$basename.mo" "locales/$$basename/LC_MESSAGES/texi2html_document.mo" ; \ - fi; \ - done + $(MAKE) -C po_document localedir="$(abs_srcdir)/locales" install-data + $(MAKE) -C po_messages localedir="$(abs_srcdir)/locales" install-data makeinfo.pl texi2any.pl: -$(LN_S) $(srcdir)/texi2html.pl $@ ze='10' name='q' value=''/>
path: root/tests/modules.scm
AgeCommit message (Collapse)Author
2024-08-31build-systems: gnu: Export %default-gnu-imported-modules and ↵Maxim Cournoyer
%default-gnu-modules. Until now users would have to cargo cult or inspect the private %default-modules variable of (guix build-systems gnu) to discover which modules to include when extending the used modules via the #:modules argument. The renaming was automated via the command: $ git grep -l %gnu-build-system-modules | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i * guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to... (%default-gnu-imported-modules): ... this. (%default-modules): Rename to... (%default-gnu-modules): ... this. Export. (dist-package, gnu-build, gnu-cross-build): Adjust accordingly. Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
2024-07-18modules: ‘file-name->module-name’ strips leading “./”.Ludovic Courtès
Fixes <https://issues.guix.gnu.org/71979>. * guix/modules.scm (file-name->module-name): Strip leading “.” component from FILE. * tests/modules.scm ("file-name->module-name") ("file-name->module-name, leading dot"): New tests. Reported-by: Tomas Volf <~@wolfsden.cz> Change-Id: I3d1b9f3f21448050cac4f3b1aed5f8f03758d4c9
2021-12-23Remove VM generation dead-code.Mathieu Othacehe
This code duplicates the (gnu system image) and (gnu build image) code. Using VM for image generation is not needed, not portable and really slow. Remove all the VM image generation code to make sure that only the image API is used. * gnu/build/vm.scm: Remove it. Move the qemu-command procedure to ... * gnu/build/marionette.scm: ... here. * gnu/local.mk (GNU_SYSTEM_MODULES): Adapt it. * tests/modules.scm: Ditto. * gnu/tests/install.scm: Ditto. * gnu/system/vm.scm: Adapt it and remove expression->derivation-in-linux-vm, qemu-img, system-qemu-image/shared-store and system-docker-image procedures. * doc/guix.texi (G-Expressions): Adapt it.