summaryrefslogtreecommitdiff
path: root/guix.scm
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2023-03-26 14:31:52 +0200
committerVivien Kraus <vivien@planete-kraus.eu>2023-04-02 23:53:56 +0200
commitc1ef27c64cab1b48308cb56515027bf09a8ad11f (patch)
tree7adea1997a8a0872a1649477b70d4cf3da8c8e85 /guix.scm
parentac95860f1f8817e3a589682db6d98ff77f36d995 (diff)
Start a vala user interface
Diffstat (limited to 'guix.scm')
-rw-r--r--guix.scm46
1 files changed, 9 insertions, 37 deletions
diff --git a/guix.scm b/guix.scm
index 7a3e5ea..60855c1 100644
--- a/guix.scm
+++ b/guix.scm
@@ -212,12 +212,19 @@
(build-system gnu-build-system)
(arguments
(list
+ #:configure-flags
+ #~'("G_IR_SCANNER_FLAGS=--warn-all --warn-error")
#:phases
#~(modify-phases
%standard-phases
(add-before 'bootstrap 'bootstrap-bootstrap
(lambda _
- (invoke "sh" "bootstrap-bootstrap")))
+ (invoke "sh" "bootstrap-bootstrap")
+ (for-each patch-shebang
+ '("autopull.sh" "autogen.sh"))
+ (substitute* "bootstrap-funclib.sh"
+ (("\\$gnulib_tool \\$gnulib_tool_options")
+ "sh $gnulib_tool $gnulib_tool_options"))))
(add-after 'bootstrap 'fix-/bin/sh-in-po
(lambda _
(substitute*
@@ -252,19 +259,15 @@
"announce-gen"
"ar-lib"
"config.guess"
- "config.libpath"
"config.sub"
"depcomp"
"do-release-commit-and-tag"
"git-version-gen"
"gitlog-to-changelog"
- "install-reloc"
"install-sh"
- "libtool-reloc"
"ltmain.sh"
"mdate-sh"
"missing"
- "reloc-ldflags"
"test-driver"
"useless-if-before-free"
"vc-list-files"
@@ -300,37 +303,6 @@
"test-binary-io.sh"
)
(("#!/gnu/store/.*/bin/sh")
- "#!/bin/sh")))
- (with-directory-excursion "tests/libprog"
- (substitute* '(
- "executable-shell-script"
- "test-binary-io.sh"
- "test-execv.sh"
- "test-execve.sh"
- "test-fflush2.sh"
- "test-fseek.sh"
- "test-fseek2.sh"
- "test-fseeko.sh"
- "test-fseeko2.sh"
- "test-fseeko3.sh"
- "test-fseeko4.sh"
- "test-ftell.sh"
- "test-ftell2.sh"
- "test-ftello.sh"
- "test-ftello2.sh"
- "test-ftello4.sh"
- "test-ftruncate.sh"
- "test-init.sh"
- "test-lseek.sh"
- "test-perror.sh"
- "test-select-in.sh"
- "test-select-out.sh"
- "test-setlocale1.sh"
- "test-setlocale2.sh"
- "test-verify.sh"
- "test-xalloc-die.sh"
- )
- (("#!/gnu/store/.*/bin/sh")
"#!/bin/sh"))))
(invoke "sh" "-c" "grep '/gnu/store/' -R disfluid-* && exit 1 ; true")
(mkdir-p #$output)
@@ -348,7 +320,7 @@
texinfo (texlive-updmap.cfg (list texlive))
perl gnulib gtk check (list glib "bin")
gobject-introspection imagemagick
- indent cppi))
+ indent cppi vala))
(inputs
(list gtk libadwaita check gnu-gettext gnutls))
(home-page "https://labo.planete-kraus.eu/disfluid.git")