// -*- C++ -*- // Boost general library 'format' --------------------------- // See http://www.boost.org for updates, documentation, and revision history. // (C) Samuel Krempp 2001 // krempp@crans.ens-cachan.fr // Permission to copy, use, modify, sell and // distribute this software is granted provided this copyright notice appears // in all copies. This software is provided "as is" without express or implied // warranty, and with no claim as to its suitability for any purpose. // ideas taken from Rüdiger Loos's format class // and Karl Nelson's ofstream // ---------------------------------------------------------------------------- // format.hpp : primary header // ---------------------------------------------------------------------------- #ifndef BOOST_FORMAT_HPP #define BOOST_FORMAT_HPP #include #include #include #include #if HAVE_LOCALE #include #else #define BOOST_NO_STD_LOCALE #define BOOST_NO_LOCALE_ISIDIGIT #include #endif #include // **** Forward declarations ---------------------------------- #include // basic_format, and other frontends #include // misc forward declarations for internal use // **** Auxiliary structs (stream_format_state , and format_item ) #include // **** Format class interface -------------------------------- #include // **** Exceptions ----------------------------------------------- #include // **** Implementation ------------------------------------------- //#include // member functions #include // class for grouping arguments #include // argument-feeding functions //#include // format-string parsing (member-)functions // **** Implementation of the free functions ---------------------- //#include #endif // BOOST_FORMAT_HPP ts.scm?id=b5303183ef865a243f7746a7c19c1a98ad0fa242'>grafts.scm
AgeCommit message (Expand)Author
2023-10-28grafts: Fix corner case involving multiple-output derivations....Fixes a bug that would occur with references to two outputs of the same derivation, with one of them referring to the other one. For example, the references of libreoffice include both mariadb:dev and mariadb:lib; additionally, mariadb:dev refers to mariadb:lib. In this case, the glibc graft would not be applied on one of the mariadb paths, and both the grafted and ungrafted glibc would end up in the closure of libreoffice. Fixes <https://issues.guix.gnu.org/66662>. * guix/grafts.scm (non-self-references): Simplify and include references to outputs of DRV other than OUTPUTS. (reference-origins): Simplify and possibly return outputs of DRV itself. (cumulative-grafts)[graft-origin?]: Add OUTPUT parameter and honor it. [dependency-grafts]: Adjust accordingly. * tests/grafts.scm ("graft-derivation, multiple outputs need to be replaced"): New test. Change-Id: Iac2005024ab7049037537b3af55298696ec90e3c Ludovic Courtès
2022-11-11grafts: Run with a UTF-8 locale....Fixes <https://issues.guix.gnu.org/55968>. Reported by Maxime Devos <maximedevos@telenet.be>. * guix/grafts.scm (%graft-with-utf8-locale?): New parameter. (graft-derivation/shallow)[glibc-locales, set-utf8-locale]: New variables. [build]: Use 'set-utf8-locale'. * tests/gexp.scm, tests/grafts.scm, tests/packages.scm: Set '%graft-with-utf8-locale?' to #f. Ludovic Courtès