2014-10-06 09:49:29 -04:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2022-10-08 08:43:07 -04:00
|
|
|
;;; Copyright © 2013-2015, 2019-2022 Ludovic Courtès <ludo@gnu.org>
|
2014-10-06 09:49:29 -04:00
|
|
|
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
|
|
|
|
;;; Copyright © 2014 Federico Beffa <beffa@fbengineering.ch>
|
2021-08-24 05:06:53 -04:00
|
|
|
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
2014-10-06 09:49:29 -04:00
|
|
|
;;;
|
|
|
|
;;; 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/>.
|
|
|
|
|
|
|
|
(define-module (guix build-system glib-or-gtk)
|
|
|
|
#:use-module (guix store)
|
|
|
|
#:use-module (guix utils)
|
build-system: Rewrite using gexps.
* guix/packages.scm (expand-input): Remove 'store', 'system', and
'cross-system' parameters; add #:native?. Rewrite to return
name/gexp-input tuples.
(bag->derivation): Adjust accordingly. Lower (bag-build bag).
(bag->cross-derivation): Ditto. Instead of #:native-drvs and
#:target-drvs, pass #:build-inputs, #:host-inputs, and #:target-inputs.
(%derivation-cache): Remove.
* gnu/packages/bootstrap.scm (raw-build): Turn into a monadic procedure.
* gnu/packages/commencement.scm (glibc-final)[arguments]: Use
'gexp-input' for the #:allowed-references argument.
* guix/build-system/cmake.scm (cmake-build): Remove 'store' parameter.
Switch to the use of gexps and 'gexp->derivation'.
(lower): Remove #:source from 'private-keywords'.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build, lower):
Likewise.
* guix/build-system/font.scm (font-build): Likewise.
* guix/build-system/gnu.scm (gnu-build): Likewise, and remove
'canonicalize-reference'.
(gnu-cross-build): Likewise, and expect #:build-inputs, #:host-inputs,
and #:target-inputs instead of #:native-drvs and #:target-drvs.
(lower): Likewise.
* guix/build-system/perl.scm (perl-build, lower): Likewise.
* guix/build-system/python.scm (python-build, lower): Likewise.
* guix/build-system/ruby.scm (ruby-build, lower): Likewise.
* guix/build-system/waf.scm (waf-build, lower): Likewise.
* guix/build-system/trivial.scm (guile-for-build): Remove.
(trivial-build): Remove 'store' parameter, change to gexps.
(trivial-cross-build): Ditto, and change to #:build-inputs & co.
* guix/build-system/cargo.scm (cargo-build): Change to 'gexp->derivation'.
* guix/build-system/copy.scm (copy-build): Likewise.
* guix/build-system/dune.scm (dune-build): Likewise.
* guix/build-system/guile.scm (guile-build, guile-cross-build):
Likewise.
* guix/build-system/meson.scm (meson-build): Likewise.
* guix/build-system/ocaml.scm (ocaml-build): Likewise.
* guix/build-system/scons.scm (scons-build): Likewise.
* guix/build-system/texlive.scm (texlive-build): Likewise.
* guix/build-system/android-ndk.scm (android-ndk-build): Likewise.
* guix/build-system/ant.scm (ant-build): Likewise.
* guix/build-system/asdf.scm (asdf-build/source, asdf-build): Likewise.
* guix/build-system/chicken.scm (chicken-build): Likewise.
* guix/build-system/clojure.scm (clojure-build): Likewise.
(source->output-path, maybe-guile->guile): Remove.
* guix/build-system/dub.scm (dub-build): Likewise.
* guix/build-system/emacs.scm (emacs-build): Likewise.
* guix/build-system/go.scm (go-build): Likewise.
* guix/build-system/haskell.scm (haskell-build): Likewise.
* guix/build-system/julia.scm (julia-build): Likewise.
* guix/build-system/linux-module.scm (linux-module-build)
(linux-module-build-cross): Likewise.
* guix/build-system/maven.scm (maven-build): Likewise.
* guix/build-system/minify.scm (minify-build): Likewise.
* guix/build-system/node.scm (node-build): Likewise.
* guix/build-system/qt.scm (qt-build, qt-cross-build): Likewise.
* guix/build-system/r.scm (r-build): Likewise.
* guix/build-system/rakudo.scm (rakudo-build): Likewise.
* guix/build-system/renpy.scm (renpy-build): Likewise.
* tests/builders.scm ("gnu-build"): Call 'store-lower' on 'gnu-build'.
Pass #:source parameter.
* tests/packages.scm ("search paths"): Use 'abort-to-prompt' instead of
a normal return from the 'build' method.
("package->bag, sensitivity to %current-target-system"): Change 'build'
to match the new build system signature.
squash! build-system: Rewrite using gexps.
squash! build-system: Rewrite using gexps.
2015-03-28 14:26:39 -04:00
|
|
|
#:use-module (guix gexp)
|
|
|
|
#:use-module (guix monads)
|
Move search path specifications to (guix search-paths).
* guix/packages.scm (<search-path-specification>,
search-path-specification->sexp, sexp->search-path-specification):
Move to...
* guix/search-paths.scm: ... here. New file.
* Makefile.am (MODULES): Add it.
* guix/build-system/cmake.scm, guix/build-system/glib-or-gtk.scm,
guix/build-system/gnu.scm, guix/build-system/haskell.scm,
guix/build-system/perl.scm, guix/build-system/python.scm,
guix/build-system/ruby.scm, guix/build-system/waf.scm,
guix/profiles.scm, guix/scripts/package.scm: Use it.
2015-05-04 16:11:37 -04:00
|
|
|
#:use-module (guix search-paths)
|
2021-10-03 00:25:36 -04:00
|
|
|
#:use-module ((guix build glib-or-gtk-build-system)
|
|
|
|
#:select (%gdk-pixbuf-loaders-cache-file))
|
2014-10-06 09:49:29 -04:00
|
|
|
#:use-module (guix build-system)
|
|
|
|
#:use-module (guix build-system gnu)
|
|
|
|
#:use-module (guix packages)
|
2015-04-01 09:34:19 -04:00
|
|
|
#:export (%glib-or-gtk-build-system-modules
|
|
|
|
glib-or-gtk-build
|
2021-08-24 05:06:53 -04:00
|
|
|
glib-or-gtk-cross-build
|
2021-10-03 00:25:36 -04:00
|
|
|
glib-or-gtk-build-system)
|
|
|
|
#:re-export (%gdk-pixbuf-loaders-cache-file)) ;for convenience
|
2014-10-06 09:49:29 -04:00
|
|
|
|
|
|
|
;; Commentary:
|
|
|
|
;;
|
|
|
|
;; This build system is an extension of the 'gnu-build-system'. It
|
|
|
|
;; accomodates the needs of applications making use of glib or gtk+ (with "or"
|
|
|
|
;; to be interpreted in the mathematical sense). This is achieved by adding
|
2015-09-11 08:09:40 -04:00
|
|
|
;; two phases run after the 'install' phase:
|
2014-10-06 09:49:29 -04:00
|
|
|
;;
|
|
|
|
;; 'glib-or-gtk-wrap' phase:
|
|
|
|
;;
|
2014-12-18 14:58:18 -05:00
|
|
|
;; a) This phase looks for GSettings schemas, GIO modules and theming data.
|
|
|
|
;; If any of these is found in any input package, then all programs in
|
|
|
|
;; "out/bin" are wrapped in scripts defining the nedessary environment
|
|
|
|
;; variables.
|
2014-10-06 09:49:29 -04:00
|
|
|
;;
|
|
|
|
;; b) Looks for the existence of "libdir/gtk-3.0" directories in all input
|
|
|
|
;; packages. If any is found, then the environment variable "GTK_PATH" is
|
|
|
|
;; suitably set and added to the wrappers. The variable "GTK_PATH" has been
|
|
|
|
;; preferred over "GTK_EXE_PREFIX" because the latter can only point to a
|
|
|
|
;; single directory, while we may need to point to several ones.
|
|
|
|
;;
|
|
|
|
;; 'glib-or-gtk-compile-schemas' phase:
|
|
|
|
;;
|
|
|
|
;; Looks for the presence of "out/share/glib-2.0/schemas". If that directory
|
|
|
|
;; exists and does not include a file named "gschemas.compiled", then
|
|
|
|
;; "glib-compile-schemas" is run in that directory.
|
|
|
|
;;
|
|
|
|
;; Code:
|
|
|
|
|
|
|
|
(define %default-modules
|
|
|
|
;; Build-side modules made available in the build environment.
|
|
|
|
'((guix build glib-or-gtk-build-system)
|
|
|
|
(guix build utils)))
|
|
|
|
|
2015-04-01 09:34:19 -04:00
|
|
|
(define %glib-or-gtk-build-system-modules
|
2014-10-06 09:49:29 -04:00
|
|
|
;; Build-side modules imported and used by default.
|
2015-04-01 09:34:19 -04:00
|
|
|
`((guix build glib-or-gtk-build-system)
|
|
|
|
,@%gnu-build-system-modules))
|
2014-10-06 09:49:29 -04:00
|
|
|
|
|
|
|
(define (default-glib)
|
|
|
|
"Return the default glib package from which we use
|
|
|
|
\"glib-compile-schemas\"."
|
|
|
|
;; Do not use `@' to avoid introducing circular dependencies.
|
|
|
|
(let ((module (resolve-interface '(gnu packages glib))))
|
|
|
|
(module-ref module 'glib)))
|
|
|
|
|
|
|
|
(define* (lower name
|
|
|
|
#:key source inputs native-inputs outputs system target
|
2015-09-11 08:09:40 -04:00
|
|
|
(glib (default-glib))
|
2014-12-18 14:58:18 -05:00
|
|
|
(implicit-inputs? #t)
|
2021-08-24 05:06:53 -04:00
|
|
|
(implicit-cross-inputs? #t)
|
2014-10-06 09:49:29 -04:00
|
|
|
(strip-binaries? #t)
|
|
|
|
#:allow-other-keys
|
|
|
|
#:rest arguments)
|
|
|
|
"Return a bag for NAME."
|
|
|
|
(define private-keywords
|
2021-08-24 05:06:53 -04:00
|
|
|
`(#:glib #:inputs #:native-inputs
|
|
|
|
#:outputs #:implicit-inputs? #:implicit-cross-inputs?
|
|
|
|
,@(if target '() '(#:target))))
|
|
|
|
|
|
|
|
(bag
|
|
|
|
(name name)
|
|
|
|
(system system) (target target)
|
|
|
|
(host-inputs `(,@(if source
|
|
|
|
`(("source" ,source))
|
|
|
|
'())
|
|
|
|
,@(if target
|
|
|
|
inputs
|
|
|
|
'())))
|
|
|
|
(build-inputs `(,@native-inputs
|
|
|
|
,@(if target '() inputs)
|
|
|
|
("glib:bin" ,glib "bin") ; to compile schemas
|
|
|
|
;; Keep standard inputs of gnu-build-system.
|
|
|
|
,@(if (and target implicit-cross-inputs?)
|
|
|
|
(standard-cross-packages target 'host)
|
|
|
|
'())
|
|
|
|
,@(if implicit-inputs?
|
|
|
|
(standard-packages)
|
|
|
|
'())))
|
|
|
|
;; Keep standard inputs of 'gnu-build-system'.
|
|
|
|
(target-inputs (if (and target implicit-cross-inputs?)
|
|
|
|
(standard-cross-packages target 'target)
|
|
|
|
'()))
|
|
|
|
(outputs outputs)
|
|
|
|
(build (if target glib-or-gtk-cross-build glib-or-gtk-build))
|
|
|
|
(arguments (strip-keyword-arguments private-keywords arguments))))
|
2014-10-06 09:49:29 -04:00
|
|
|
|
build-system: Rewrite using gexps.
* guix/packages.scm (expand-input): Remove 'store', 'system', and
'cross-system' parameters; add #:native?. Rewrite to return
name/gexp-input tuples.
(bag->derivation): Adjust accordingly. Lower (bag-build bag).
(bag->cross-derivation): Ditto. Instead of #:native-drvs and
#:target-drvs, pass #:build-inputs, #:host-inputs, and #:target-inputs.
(%derivation-cache): Remove.
* gnu/packages/bootstrap.scm (raw-build): Turn into a monadic procedure.
* gnu/packages/commencement.scm (glibc-final)[arguments]: Use
'gexp-input' for the #:allowed-references argument.
* guix/build-system/cmake.scm (cmake-build): Remove 'store' parameter.
Switch to the use of gexps and 'gexp->derivation'.
(lower): Remove #:source from 'private-keywords'.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build, lower):
Likewise.
* guix/build-system/font.scm (font-build): Likewise.
* guix/build-system/gnu.scm (gnu-build): Likewise, and remove
'canonicalize-reference'.
(gnu-cross-build): Likewise, and expect #:build-inputs, #:host-inputs,
and #:target-inputs instead of #:native-drvs and #:target-drvs.
(lower): Likewise.
* guix/build-system/perl.scm (perl-build, lower): Likewise.
* guix/build-system/python.scm (python-build, lower): Likewise.
* guix/build-system/ruby.scm (ruby-build, lower): Likewise.
* guix/build-system/waf.scm (waf-build, lower): Likewise.
* guix/build-system/trivial.scm (guile-for-build): Remove.
(trivial-build): Remove 'store' parameter, change to gexps.
(trivial-cross-build): Ditto, and change to #:build-inputs & co.
* guix/build-system/cargo.scm (cargo-build): Change to 'gexp->derivation'.
* guix/build-system/copy.scm (copy-build): Likewise.
* guix/build-system/dune.scm (dune-build): Likewise.
* guix/build-system/guile.scm (guile-build, guile-cross-build):
Likewise.
* guix/build-system/meson.scm (meson-build): Likewise.
* guix/build-system/ocaml.scm (ocaml-build): Likewise.
* guix/build-system/scons.scm (scons-build): Likewise.
* guix/build-system/texlive.scm (texlive-build): Likewise.
* guix/build-system/android-ndk.scm (android-ndk-build): Likewise.
* guix/build-system/ant.scm (ant-build): Likewise.
* guix/build-system/asdf.scm (asdf-build/source, asdf-build): Likewise.
* guix/build-system/chicken.scm (chicken-build): Likewise.
* guix/build-system/clojure.scm (clojure-build): Likewise.
(source->output-path, maybe-guile->guile): Remove.
* guix/build-system/dub.scm (dub-build): Likewise.
* guix/build-system/emacs.scm (emacs-build): Likewise.
* guix/build-system/go.scm (go-build): Likewise.
* guix/build-system/haskell.scm (haskell-build): Likewise.
* guix/build-system/julia.scm (julia-build): Likewise.
* guix/build-system/linux-module.scm (linux-module-build)
(linux-module-build-cross): Likewise.
* guix/build-system/maven.scm (maven-build): Likewise.
* guix/build-system/minify.scm (minify-build): Likewise.
* guix/build-system/node.scm (node-build): Likewise.
* guix/build-system/qt.scm (qt-build, qt-cross-build): Likewise.
* guix/build-system/r.scm (r-build): Likewise.
* guix/build-system/rakudo.scm (rakudo-build): Likewise.
* guix/build-system/renpy.scm (renpy-build): Likewise.
* tests/builders.scm ("gnu-build"): Call 'store-lower' on 'gnu-build'.
Pass #:source parameter.
* tests/packages.scm ("search paths"): Use 'abort-to-prompt' instead of
a normal return from the 'build' method.
("package->bag, sensitivity to %current-target-system"): Change 'build'
to match the new build system signature.
squash! build-system: Rewrite using gexps.
squash! build-system: Rewrite using gexps.
2015-03-28 14:26:39 -04:00
|
|
|
(define* (glib-or-gtk-build name inputs
|
|
|
|
#:key guile source
|
2014-10-06 09:49:29 -04:00
|
|
|
(outputs '("out"))
|
|
|
|
(search-paths '())
|
|
|
|
(configure-flags ''())
|
2017-12-30 15:09:04 -05:00
|
|
|
;; Disable icon theme cache generation.
|
|
|
|
(make-flags ''("gtk_update_icon_cache=true"))
|
2018-10-04 11:30:23 -04:00
|
|
|
(out-of-source? #f)
|
2014-10-06 09:49:29 -04:00
|
|
|
(tests? #t)
|
|
|
|
(test-target "check")
|
|
|
|
(parallel-build? #t)
|
|
|
|
(parallel-tests? #t)
|
2015-04-23 12:51:50 -04:00
|
|
|
(validate-runpath? #t)
|
2014-10-06 09:49:29 -04:00
|
|
|
(patch-shebangs? #t)
|
|
|
|
(strip-binaries? #t)
|
2022-10-08 08:43:07 -04:00
|
|
|
(strip-flags %strip-flags)
|
|
|
|
(strip-directories %strip-directories)
|
2014-10-06 09:49:29 -04:00
|
|
|
(phases '(@ (guix build glib-or-gtk-build-system)
|
|
|
|
%standard-phases))
|
2014-12-09 16:49:16 -05:00
|
|
|
(glib-or-gtk-wrap-excluded-outputs ''())
|
2014-10-06 09:49:29 -04:00
|
|
|
(system (%current-system))
|
2015-04-01 09:34:19 -04:00
|
|
|
(imported-modules %glib-or-gtk-build-system-modules)
|
2014-10-06 09:49:29 -04:00
|
|
|
(modules %default-modules)
|
2019-03-15 12:43:45 -04:00
|
|
|
allowed-references
|
|
|
|
disallowed-references)
|
2014-10-06 09:49:29 -04:00
|
|
|
"Build SOURCE with INPUTS. See GNU-BUILD for more details."
|
build-system: Rewrite using gexps.
* guix/packages.scm (expand-input): Remove 'store', 'system', and
'cross-system' parameters; add #:native?. Rewrite to return
name/gexp-input tuples.
(bag->derivation): Adjust accordingly. Lower (bag-build bag).
(bag->cross-derivation): Ditto. Instead of #:native-drvs and
#:target-drvs, pass #:build-inputs, #:host-inputs, and #:target-inputs.
(%derivation-cache): Remove.
* gnu/packages/bootstrap.scm (raw-build): Turn into a monadic procedure.
* gnu/packages/commencement.scm (glibc-final)[arguments]: Use
'gexp-input' for the #:allowed-references argument.
* guix/build-system/cmake.scm (cmake-build): Remove 'store' parameter.
Switch to the use of gexps and 'gexp->derivation'.
(lower): Remove #:source from 'private-keywords'.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build, lower):
Likewise.
* guix/build-system/font.scm (font-build): Likewise.
* guix/build-system/gnu.scm (gnu-build): Likewise, and remove
'canonicalize-reference'.
(gnu-cross-build): Likewise, and expect #:build-inputs, #:host-inputs,
and #:target-inputs instead of #:native-drvs and #:target-drvs.
(lower): Likewise.
* guix/build-system/perl.scm (perl-build, lower): Likewise.
* guix/build-system/python.scm (python-build, lower): Likewise.
* guix/build-system/ruby.scm (ruby-build, lower): Likewise.
* guix/build-system/waf.scm (waf-build, lower): Likewise.
* guix/build-system/trivial.scm (guile-for-build): Remove.
(trivial-build): Remove 'store' parameter, change to gexps.
(trivial-cross-build): Ditto, and change to #:build-inputs & co.
* guix/build-system/cargo.scm (cargo-build): Change to 'gexp->derivation'.
* guix/build-system/copy.scm (copy-build): Likewise.
* guix/build-system/dune.scm (dune-build): Likewise.
* guix/build-system/guile.scm (guile-build, guile-cross-build):
Likewise.
* guix/build-system/meson.scm (meson-build): Likewise.
* guix/build-system/ocaml.scm (ocaml-build): Likewise.
* guix/build-system/scons.scm (scons-build): Likewise.
* guix/build-system/texlive.scm (texlive-build): Likewise.
* guix/build-system/android-ndk.scm (android-ndk-build): Likewise.
* guix/build-system/ant.scm (ant-build): Likewise.
* guix/build-system/asdf.scm (asdf-build/source, asdf-build): Likewise.
* guix/build-system/chicken.scm (chicken-build): Likewise.
* guix/build-system/clojure.scm (clojure-build): Likewise.
(source->output-path, maybe-guile->guile): Remove.
* guix/build-system/dub.scm (dub-build): Likewise.
* guix/build-system/emacs.scm (emacs-build): Likewise.
* guix/build-system/go.scm (go-build): Likewise.
* guix/build-system/haskell.scm (haskell-build): Likewise.
* guix/build-system/julia.scm (julia-build): Likewise.
* guix/build-system/linux-module.scm (linux-module-build)
(linux-module-build-cross): Likewise.
* guix/build-system/maven.scm (maven-build): Likewise.
* guix/build-system/minify.scm (minify-build): Likewise.
* guix/build-system/node.scm (node-build): Likewise.
* guix/build-system/qt.scm (qt-build, qt-cross-build): Likewise.
* guix/build-system/r.scm (r-build): Likewise.
* guix/build-system/rakudo.scm (rakudo-build): Likewise.
* guix/build-system/renpy.scm (renpy-build): Likewise.
* tests/builders.scm ("gnu-build"): Call 'store-lower' on 'gnu-build'.
Pass #:source parameter.
* tests/packages.scm ("search paths"): Use 'abort-to-prompt' instead of
a normal return from the 'build' method.
("package->bag, sensitivity to %current-target-system"): Change 'build'
to match the new build system signature.
squash! build-system: Rewrite using gexps.
squash! build-system: Rewrite using gexps.
2015-03-28 14:26:39 -04:00
|
|
|
(define build
|
|
|
|
(with-imported-modules imported-modules
|
|
|
|
#~(begin
|
2021-02-28 15:30:50 -05:00
|
|
|
(use-modules #$@(sexp->gexp modules))
|
2014-10-06 09:49:29 -04:00
|
|
|
|
build-system: Rewrite using gexps.
* guix/packages.scm (expand-input): Remove 'store', 'system', and
'cross-system' parameters; add #:native?. Rewrite to return
name/gexp-input tuples.
(bag->derivation): Adjust accordingly. Lower (bag-build bag).
(bag->cross-derivation): Ditto. Instead of #:native-drvs and
#:target-drvs, pass #:build-inputs, #:host-inputs, and #:target-inputs.
(%derivation-cache): Remove.
* gnu/packages/bootstrap.scm (raw-build): Turn into a monadic procedure.
* gnu/packages/commencement.scm (glibc-final)[arguments]: Use
'gexp-input' for the #:allowed-references argument.
* guix/build-system/cmake.scm (cmake-build): Remove 'store' parameter.
Switch to the use of gexps and 'gexp->derivation'.
(lower): Remove #:source from 'private-keywords'.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build, lower):
Likewise.
* guix/build-system/font.scm (font-build): Likewise.
* guix/build-system/gnu.scm (gnu-build): Likewise, and remove
'canonicalize-reference'.
(gnu-cross-build): Likewise, and expect #:build-inputs, #:host-inputs,
and #:target-inputs instead of #:native-drvs and #:target-drvs.
(lower): Likewise.
* guix/build-system/perl.scm (perl-build, lower): Likewise.
* guix/build-system/python.scm (python-build, lower): Likewise.
* guix/build-system/ruby.scm (ruby-build, lower): Likewise.
* guix/build-system/waf.scm (waf-build, lower): Likewise.
* guix/build-system/trivial.scm (guile-for-build): Remove.
(trivial-build): Remove 'store' parameter, change to gexps.
(trivial-cross-build): Ditto, and change to #:build-inputs & co.
* guix/build-system/cargo.scm (cargo-build): Change to 'gexp->derivation'.
* guix/build-system/copy.scm (copy-build): Likewise.
* guix/build-system/dune.scm (dune-build): Likewise.
* guix/build-system/guile.scm (guile-build, guile-cross-build):
Likewise.
* guix/build-system/meson.scm (meson-build): Likewise.
* guix/build-system/ocaml.scm (ocaml-build): Likewise.
* guix/build-system/scons.scm (scons-build): Likewise.
* guix/build-system/texlive.scm (texlive-build): Likewise.
* guix/build-system/android-ndk.scm (android-ndk-build): Likewise.
* guix/build-system/ant.scm (ant-build): Likewise.
* guix/build-system/asdf.scm (asdf-build/source, asdf-build): Likewise.
* guix/build-system/chicken.scm (chicken-build): Likewise.
* guix/build-system/clojure.scm (clojure-build): Likewise.
(source->output-path, maybe-guile->guile): Remove.
* guix/build-system/dub.scm (dub-build): Likewise.
* guix/build-system/emacs.scm (emacs-build): Likewise.
* guix/build-system/go.scm (go-build): Likewise.
* guix/build-system/haskell.scm (haskell-build): Likewise.
* guix/build-system/julia.scm (julia-build): Likewise.
* guix/build-system/linux-module.scm (linux-module-build)
(linux-module-build-cross): Likewise.
* guix/build-system/maven.scm (maven-build): Likewise.
* guix/build-system/minify.scm (minify-build): Likewise.
* guix/build-system/node.scm (node-build): Likewise.
* guix/build-system/qt.scm (qt-build, qt-cross-build): Likewise.
* guix/build-system/r.scm (r-build): Likewise.
* guix/build-system/rakudo.scm (rakudo-build): Likewise.
* guix/build-system/renpy.scm (renpy-build): Likewise.
* tests/builders.scm ("gnu-build"): Call 'store-lower' on 'gnu-build'.
Pass #:source parameter.
* tests/packages.scm ("search paths"): Use 'abort-to-prompt' instead of
a normal return from the 'build' method.
("package->bag, sensitivity to %current-target-system"): Change 'build'
to match the new build system signature.
squash! build-system: Rewrite using gexps.
squash! build-system: Rewrite using gexps.
2015-03-28 14:26:39 -04:00
|
|
|
#$(with-build-variables inputs outputs
|
|
|
|
#~(glib-or-gtk-build #:source #+source
|
|
|
|
#:system #$system
|
|
|
|
#:outputs %outputs
|
|
|
|
#:inputs %build-inputs
|
2021-02-28 15:30:50 -05:00
|
|
|
#:search-paths '#$(sexp->gexp
|
|
|
|
(map search-path-specification->sexp
|
|
|
|
search-paths))
|
|
|
|
#:phases #$(if (pair? phases)
|
|
|
|
(sexp->gexp phases)
|
|
|
|
phases)
|
build-system: Rewrite using gexps.
* guix/packages.scm (expand-input): Remove 'store', 'system', and
'cross-system' parameters; add #:native?. Rewrite to return
name/gexp-input tuples.
(bag->derivation): Adjust accordingly. Lower (bag-build bag).
(bag->cross-derivation): Ditto. Instead of #:native-drvs and
#:target-drvs, pass #:build-inputs, #:host-inputs, and #:target-inputs.
(%derivation-cache): Remove.
* gnu/packages/bootstrap.scm (raw-build): Turn into a monadic procedure.
* gnu/packages/commencement.scm (glibc-final)[arguments]: Use
'gexp-input' for the #:allowed-references argument.
* guix/build-system/cmake.scm (cmake-build): Remove 'store' parameter.
Switch to the use of gexps and 'gexp->derivation'.
(lower): Remove #:source from 'private-keywords'.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build, lower):
Likewise.
* guix/build-system/font.scm (font-build): Likewise.
* guix/build-system/gnu.scm (gnu-build): Likewise, and remove
'canonicalize-reference'.
(gnu-cross-build): Likewise, and expect #:build-inputs, #:host-inputs,
and #:target-inputs instead of #:native-drvs and #:target-drvs.
(lower): Likewise.
* guix/build-system/perl.scm (perl-build, lower): Likewise.
* guix/build-system/python.scm (python-build, lower): Likewise.
* guix/build-system/ruby.scm (ruby-build, lower): Likewise.
* guix/build-system/waf.scm (waf-build, lower): Likewise.
* guix/build-system/trivial.scm (guile-for-build): Remove.
(trivial-build): Remove 'store' parameter, change to gexps.
(trivial-cross-build): Ditto, and change to #:build-inputs & co.
* guix/build-system/cargo.scm (cargo-build): Change to 'gexp->derivation'.
* guix/build-system/copy.scm (copy-build): Likewise.
* guix/build-system/dune.scm (dune-build): Likewise.
* guix/build-system/guile.scm (guile-build, guile-cross-build):
Likewise.
* guix/build-system/meson.scm (meson-build): Likewise.
* guix/build-system/ocaml.scm (ocaml-build): Likewise.
* guix/build-system/scons.scm (scons-build): Likewise.
* guix/build-system/texlive.scm (texlive-build): Likewise.
* guix/build-system/android-ndk.scm (android-ndk-build): Likewise.
* guix/build-system/ant.scm (ant-build): Likewise.
* guix/build-system/asdf.scm (asdf-build/source, asdf-build): Likewise.
* guix/build-system/chicken.scm (chicken-build): Likewise.
* guix/build-system/clojure.scm (clojure-build): Likewise.
(source->output-path, maybe-guile->guile): Remove.
* guix/build-system/dub.scm (dub-build): Likewise.
* guix/build-system/emacs.scm (emacs-build): Likewise.
* guix/build-system/go.scm (go-build): Likewise.
* guix/build-system/haskell.scm (haskell-build): Likewise.
* guix/build-system/julia.scm (julia-build): Likewise.
* guix/build-system/linux-module.scm (linux-module-build)
(linux-module-build-cross): Likewise.
* guix/build-system/maven.scm (maven-build): Likewise.
* guix/build-system/minify.scm (minify-build): Likewise.
* guix/build-system/node.scm (node-build): Likewise.
* guix/build-system/qt.scm (qt-build, qt-cross-build): Likewise.
* guix/build-system/r.scm (r-build): Likewise.
* guix/build-system/rakudo.scm (rakudo-build): Likewise.
* guix/build-system/renpy.scm (renpy-build): Likewise.
* tests/builders.scm ("gnu-build"): Call 'store-lower' on 'gnu-build'.
Pass #:source parameter.
* tests/packages.scm ("search paths"): Use 'abort-to-prompt' instead of
a normal return from the 'build' method.
("package->bag, sensitivity to %current-target-system"): Change 'build'
to match the new build system signature.
squash! build-system: Rewrite using gexps.
squash! build-system: Rewrite using gexps.
2015-03-28 14:26:39 -04:00
|
|
|
#:glib-or-gtk-wrap-excluded-outputs
|
|
|
|
#$glib-or-gtk-wrap-excluded-outputs
|
|
|
|
#:configure-flags #$configure-flags
|
|
|
|
#:make-flags #$make-flags
|
|
|
|
#:out-of-source? #$out-of-source?
|
|
|
|
#:tests? #$tests?
|
|
|
|
#:test-target #$test-target
|
|
|
|
#:parallel-build? #$parallel-build?
|
|
|
|
#:parallel-tests? #$parallel-tests?
|
|
|
|
#:validate-runpath? #$validate-runpath?
|
|
|
|
#:patch-shebangs? #$patch-shebangs?
|
|
|
|
#:strip-binaries? #$strip-binaries?
|
2022-10-09 05:39:16 -04:00
|
|
|
#:strip-flags #$strip-flags
|
2021-02-28 15:30:50 -05:00
|
|
|
#:strip-directories
|
2022-10-09 05:39:16 -04:00
|
|
|
#$strip-directories)))))
|
2014-10-06 09:49:29 -04:00
|
|
|
|
|
|
|
|
build-system: Rewrite using gexps.
* guix/packages.scm (expand-input): Remove 'store', 'system', and
'cross-system' parameters; add #:native?. Rewrite to return
name/gexp-input tuples.
(bag->derivation): Adjust accordingly. Lower (bag-build bag).
(bag->cross-derivation): Ditto. Instead of #:native-drvs and
#:target-drvs, pass #:build-inputs, #:host-inputs, and #:target-inputs.
(%derivation-cache): Remove.
* gnu/packages/bootstrap.scm (raw-build): Turn into a monadic procedure.
* gnu/packages/commencement.scm (glibc-final)[arguments]: Use
'gexp-input' for the #:allowed-references argument.
* guix/build-system/cmake.scm (cmake-build): Remove 'store' parameter.
Switch to the use of gexps and 'gexp->derivation'.
(lower): Remove #:source from 'private-keywords'.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build, lower):
Likewise.
* guix/build-system/font.scm (font-build): Likewise.
* guix/build-system/gnu.scm (gnu-build): Likewise, and remove
'canonicalize-reference'.
(gnu-cross-build): Likewise, and expect #:build-inputs, #:host-inputs,
and #:target-inputs instead of #:native-drvs and #:target-drvs.
(lower): Likewise.
* guix/build-system/perl.scm (perl-build, lower): Likewise.
* guix/build-system/python.scm (python-build, lower): Likewise.
* guix/build-system/ruby.scm (ruby-build, lower): Likewise.
* guix/build-system/waf.scm (waf-build, lower): Likewise.
* guix/build-system/trivial.scm (guile-for-build): Remove.
(trivial-build): Remove 'store' parameter, change to gexps.
(trivial-cross-build): Ditto, and change to #:build-inputs & co.
* guix/build-system/cargo.scm (cargo-build): Change to 'gexp->derivation'.
* guix/build-system/copy.scm (copy-build): Likewise.
* guix/build-system/dune.scm (dune-build): Likewise.
* guix/build-system/guile.scm (guile-build, guile-cross-build):
Likewise.
* guix/build-system/meson.scm (meson-build): Likewise.
* guix/build-system/ocaml.scm (ocaml-build): Likewise.
* guix/build-system/scons.scm (scons-build): Likewise.
* guix/build-system/texlive.scm (texlive-build): Likewise.
* guix/build-system/android-ndk.scm (android-ndk-build): Likewise.
* guix/build-system/ant.scm (ant-build): Likewise.
* guix/build-system/asdf.scm (asdf-build/source, asdf-build): Likewise.
* guix/build-system/chicken.scm (chicken-build): Likewise.
* guix/build-system/clojure.scm (clojure-build): Likewise.
(source->output-path, maybe-guile->guile): Remove.
* guix/build-system/dub.scm (dub-build): Likewise.
* guix/build-system/emacs.scm (emacs-build): Likewise.
* guix/build-system/go.scm (go-build): Likewise.
* guix/build-system/haskell.scm (haskell-build): Likewise.
* guix/build-system/julia.scm (julia-build): Likewise.
* guix/build-system/linux-module.scm (linux-module-build)
(linux-module-build-cross): Likewise.
* guix/build-system/maven.scm (maven-build): Likewise.
* guix/build-system/minify.scm (minify-build): Likewise.
* guix/build-system/node.scm (node-build): Likewise.
* guix/build-system/qt.scm (qt-build, qt-cross-build): Likewise.
* guix/build-system/r.scm (r-build): Likewise.
* guix/build-system/rakudo.scm (rakudo-build): Likewise.
* guix/build-system/renpy.scm (renpy-build): Likewise.
* tests/builders.scm ("gnu-build"): Call 'store-lower' on 'gnu-build'.
Pass #:source parameter.
* tests/packages.scm ("search paths"): Use 'abort-to-prompt' instead of
a normal return from the 'build' method.
("package->bag, sensitivity to %current-target-system"): Change 'build'
to match the new build system signature.
squash! build-system: Rewrite using gexps.
squash! build-system: Rewrite using gexps.
2015-03-28 14:26:39 -04:00
|
|
|
(mlet %store-monad ((guile (package->derivation (or guile (default-guile))
|
|
|
|
system #:graft? #f)))
|
|
|
|
(gexp->derivation name build
|
|
|
|
#:system system
|
|
|
|
#:target #f
|
gexp: Leave grafting as is when lowering allowed/disallowed references.
Fixes <https://issues.guix.gnu.org/50676>.
Reported by Mathieu Othacehe <othacehe@gnu.org>.
Commit a779363b6aa581e88eda21f9f35530962d54ac25 was partially incorrect:
references passed to #:allowed-references or #:references-graphs *can*
be lowered as references to grafted elements. This is for example the
case when doing:
(computed-file "partition.img" exp
#:options `(#:references-graphs ,inputs))
Here INPUTS must be lowered as a reference to suitably grafted elements.
Failing to do that, the reference graph will not match the actual
INPUTS.
However, when building a package, those references must indeed refer
only to ungrafted packages. This commit preserves that by having build
systems pass #:graft? #f.
* guix/gexp.scm (lower-reference-graphs, lower-references): Remove uses
of 'without-grafting'. This reverts
a779363b6aa581e88eda21f9f35530962d54ac25.
* guix/build-system/cmake.scm (cmake-build, cmake-cross-build):
Pass #:graft? #f.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build)
(glib-or-gtk-cross-build): Likewise.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Likewise.
* guix/build-system/meson.scm (meson-build, meson-cross-build): Likewise.
* guix/build-system/trivial.scm (trivial-build, trivial-cross-build):
Likewise.
* tests/gexp.scm ("lower-object, computed-file + grafts"): New test.
* tests/packages.scm ("trivial with #:allowed-references + grafts"): New
test.
2021-09-24 17:00:11 -04:00
|
|
|
#:graft? #f
|
build-system: Rewrite using gexps.
* guix/packages.scm (expand-input): Remove 'store', 'system', and
'cross-system' parameters; add #:native?. Rewrite to return
name/gexp-input tuples.
(bag->derivation): Adjust accordingly. Lower (bag-build bag).
(bag->cross-derivation): Ditto. Instead of #:native-drvs and
#:target-drvs, pass #:build-inputs, #:host-inputs, and #:target-inputs.
(%derivation-cache): Remove.
* gnu/packages/bootstrap.scm (raw-build): Turn into a monadic procedure.
* gnu/packages/commencement.scm (glibc-final)[arguments]: Use
'gexp-input' for the #:allowed-references argument.
* guix/build-system/cmake.scm (cmake-build): Remove 'store' parameter.
Switch to the use of gexps and 'gexp->derivation'.
(lower): Remove #:source from 'private-keywords'.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build, lower):
Likewise.
* guix/build-system/font.scm (font-build): Likewise.
* guix/build-system/gnu.scm (gnu-build): Likewise, and remove
'canonicalize-reference'.
(gnu-cross-build): Likewise, and expect #:build-inputs, #:host-inputs,
and #:target-inputs instead of #:native-drvs and #:target-drvs.
(lower): Likewise.
* guix/build-system/perl.scm (perl-build, lower): Likewise.
* guix/build-system/python.scm (python-build, lower): Likewise.
* guix/build-system/ruby.scm (ruby-build, lower): Likewise.
* guix/build-system/waf.scm (waf-build, lower): Likewise.
* guix/build-system/trivial.scm (guile-for-build): Remove.
(trivial-build): Remove 'store' parameter, change to gexps.
(trivial-cross-build): Ditto, and change to #:build-inputs & co.
* guix/build-system/cargo.scm (cargo-build): Change to 'gexp->derivation'.
* guix/build-system/copy.scm (copy-build): Likewise.
* guix/build-system/dune.scm (dune-build): Likewise.
* guix/build-system/guile.scm (guile-build, guile-cross-build):
Likewise.
* guix/build-system/meson.scm (meson-build): Likewise.
* guix/build-system/ocaml.scm (ocaml-build): Likewise.
* guix/build-system/scons.scm (scons-build): Likewise.
* guix/build-system/texlive.scm (texlive-build): Likewise.
* guix/build-system/android-ndk.scm (android-ndk-build): Likewise.
* guix/build-system/ant.scm (ant-build): Likewise.
* guix/build-system/asdf.scm (asdf-build/source, asdf-build): Likewise.
* guix/build-system/chicken.scm (chicken-build): Likewise.
* guix/build-system/clojure.scm (clojure-build): Likewise.
(source->output-path, maybe-guile->guile): Remove.
* guix/build-system/dub.scm (dub-build): Likewise.
* guix/build-system/emacs.scm (emacs-build): Likewise.
* guix/build-system/go.scm (go-build): Likewise.
* guix/build-system/haskell.scm (haskell-build): Likewise.
* guix/build-system/julia.scm (julia-build): Likewise.
* guix/build-system/linux-module.scm (linux-module-build)
(linux-module-build-cross): Likewise.
* guix/build-system/maven.scm (maven-build): Likewise.
* guix/build-system/minify.scm (minify-build): Likewise.
* guix/build-system/node.scm (node-build): Likewise.
* guix/build-system/qt.scm (qt-build, qt-cross-build): Likewise.
* guix/build-system/r.scm (r-build): Likewise.
* guix/build-system/rakudo.scm (rakudo-build): Likewise.
* guix/build-system/renpy.scm (renpy-build): Likewise.
* tests/builders.scm ("gnu-build"): Call 'store-lower' on 'gnu-build'.
Pass #:source parameter.
* tests/packages.scm ("search paths"): Use 'abort-to-prompt' instead of
a normal return from the 'build' method.
("package->bag, sensitivity to %current-target-system"): Change 'build'
to match the new build system signature.
squash! build-system: Rewrite using gexps.
squash! build-system: Rewrite using gexps.
2015-03-28 14:26:39 -04:00
|
|
|
#:allowed-references allowed-references
|
|
|
|
#:disallowed-references disallowed-references
|
|
|
|
#:guile-for-build guile)))
|
2014-10-06 09:49:29 -04:00
|
|
|
|
2021-08-24 05:06:53 -04:00
|
|
|
(define* (glib-or-gtk-cross-build name
|
|
|
|
#:key
|
|
|
|
target
|
|
|
|
build-inputs target-inputs host-inputs
|
|
|
|
guile source
|
|
|
|
(outputs '("out"))
|
|
|
|
(search-paths '())
|
|
|
|
(native-search-paths '())
|
|
|
|
(configure-flags ''())
|
|
|
|
;; Disable icon theme cache generation.
|
|
|
|
(make-flags ''("gtk_update_icon_cache=true"))
|
|
|
|
(out-of-source? #f)
|
|
|
|
(tests? #f)
|
|
|
|
(test-target "check")
|
|
|
|
(parallel-build? #t)
|
|
|
|
(parallel-tests? #t)
|
|
|
|
(validate-runpath? #t)
|
|
|
|
(make-dynamic-linker-cache? #f)
|
|
|
|
(patch-shebangs? #t)
|
|
|
|
(strip-binaries? #t)
|
2022-10-08 08:43:07 -04:00
|
|
|
(strip-flags %strip-flags)
|
|
|
|
(strip-directories %strip-directories)
|
2021-08-24 05:06:53 -04:00
|
|
|
(phases '(@ (guix build glib-or-gtk-build-system)
|
|
|
|
%standard-phases))
|
|
|
|
(glib-or-gtk-wrap-excluded-outputs ''())
|
|
|
|
(system (%current-system))
|
|
|
|
(build (nix-system->gnu-triplet system))
|
|
|
|
(imported-modules %glib-or-gtk-build-system-modules)
|
|
|
|
(modules %default-modules)
|
|
|
|
allowed-references
|
|
|
|
disallowed-references)
|
|
|
|
"Cross-build SOURCE with INPUTS. See GNU-BUILD for more details."
|
|
|
|
(define builder
|
|
|
|
#~(begin
|
|
|
|
(use-modules #$@(sexp->gexp modules))
|
|
|
|
|
|
|
|
(define %build-host-inputs
|
|
|
|
#+(input-tuples->gexp build-inputs))
|
|
|
|
|
|
|
|
(define %build-target-inputs
|
|
|
|
(append #$(input-tuples->gexp host-inputs)
|
|
|
|
#+(input-tuples->gexp target-inputs)))
|
|
|
|
|
|
|
|
(define %build-inputs
|
|
|
|
(append %build-host-inputs %build-target-inputs))
|
|
|
|
|
|
|
|
(define %outputs
|
|
|
|
#$(outputs->gexp outputs))
|
|
|
|
|
|
|
|
(glib-or-gtk-build #:source #+source
|
|
|
|
#:system #$system
|
|
|
|
#:build #$build
|
|
|
|
#:target #$target
|
|
|
|
#:outputs %outputs
|
|
|
|
#:inputs %build-target-inputs
|
|
|
|
#:native-inputs %build-host-inputs
|
|
|
|
#:search-paths '#$(sexp->gexp
|
|
|
|
(map search-path-specification->sexp
|
|
|
|
search-paths))
|
|
|
|
#:native-search-paths '#$(sexp->gexp
|
|
|
|
(map search-path-specification->sexp
|
|
|
|
native-search-paths))
|
|
|
|
#:phases #$(if (pair? phases)
|
|
|
|
(sexp->gexp phases)
|
|
|
|
phases)
|
|
|
|
#:glib-or-gtk-wrap-excluded-outputs
|
|
|
|
#$glib-or-gtk-wrap-excluded-outputs
|
|
|
|
#:configure-flags #$configure-flags
|
|
|
|
#:make-flags #$make-flags
|
|
|
|
#:out-of-source? #$out-of-source?
|
|
|
|
#:tests? #$tests?
|
|
|
|
#:test-target #$test-target
|
|
|
|
#:parallel-build? #$parallel-build?
|
|
|
|
#:parallel-tests? #$parallel-tests?
|
|
|
|
#:validate-runpath? #$validate-runpath?
|
|
|
|
#:make-dynamic-linker-cache? #$make-dynamic-linker-cache?
|
|
|
|
#:patch-shebangs? #$patch-shebangs?
|
|
|
|
#:strip-binaries? #$strip-binaries?
|
2022-10-09 05:39:16 -04:00
|
|
|
#:strip-flags #$strip-flags
|
2021-08-24 05:06:53 -04:00
|
|
|
#:strip-directories
|
2022-10-09 05:39:16 -04:00
|
|
|
#$strip-directories)))
|
2021-08-24 05:06:53 -04:00
|
|
|
|
|
|
|
|
|
|
|
(mlet %store-monad ((guile (package->derivation (or guile (default-guile))
|
|
|
|
system #:graft? #f)))
|
|
|
|
(gexp->derivation name builder
|
|
|
|
#:system system
|
|
|
|
#:target target
|
gexp: Leave grafting as is when lowering allowed/disallowed references.
Fixes <https://issues.guix.gnu.org/50676>.
Reported by Mathieu Othacehe <othacehe@gnu.org>.
Commit a779363b6aa581e88eda21f9f35530962d54ac25 was partially incorrect:
references passed to #:allowed-references or #:references-graphs *can*
be lowered as references to grafted elements. This is for example the
case when doing:
(computed-file "partition.img" exp
#:options `(#:references-graphs ,inputs))
Here INPUTS must be lowered as a reference to suitably grafted elements.
Failing to do that, the reference graph will not match the actual
INPUTS.
However, when building a package, those references must indeed refer
only to ungrafted packages. This commit preserves that by having build
systems pass #:graft? #f.
* guix/gexp.scm (lower-reference-graphs, lower-references): Remove uses
of 'without-grafting'. This reverts
a779363b6aa581e88eda21f9f35530962d54ac25.
* guix/build-system/cmake.scm (cmake-build, cmake-cross-build):
Pass #:graft? #f.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build)
(glib-or-gtk-cross-build): Likewise.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Likewise.
* guix/build-system/meson.scm (meson-build, meson-cross-build): Likewise.
* guix/build-system/trivial.scm (trivial-build, trivial-cross-build):
Likewise.
* tests/gexp.scm ("lower-object, computed-file + grafts"): New test.
* tests/packages.scm ("trivial with #:allowed-references + grafts"): New
test.
2021-09-24 17:00:11 -04:00
|
|
|
#:graft? #f
|
2021-08-24 05:06:53 -04:00
|
|
|
#:modules imported-modules
|
|
|
|
#:allowed-references allowed-references
|
|
|
|
#:disallowed-references disallowed-references
|
|
|
|
#:guile-for-build guile)))
|
|
|
|
|
2014-10-06 09:49:29 -04:00
|
|
|
(define glib-or-gtk-build-system
|
|
|
|
(build-system
|
|
|
|
(name 'glib-or-gtk)
|
|
|
|
(description
|
|
|
|
"The GNU Build System—i.e., ./configure && make && make install,
|
|
|
|
augmented with definition of suitable environment variables for glib and gtk+
|
|
|
|
in program wrappers.")
|
|
|
|
(lower lower)))
|