Browse Source

modules, installation with guix cleaned up

master
Silas Vedder 2 years ago
parent
commit
230a6a9432
  1. 25
      Makefile.am
  2. 4
      NEWS
  3. 0
      bible-tools.scm
  4. 2
      bible-tools/count-words.scm
  5. 2
      bible-tools/latex-export.scm
  6. 4
      build-aux/test-driver.scm
  7. 2
      configure.ac
  8. 22
      guix.scm
  9. 30
      hall.scm
  10. 4
      scripts/bible-app.in
  11. 2
      scripts/bible2latex.in
  12. 2
      scripts/word-counter.in

25
Makefile.am

@ -36,7 +36,7 @@ SUFFIXES = .scm .go
SOURCES = bible-tools/latex-export.scm \ SOURCES = bible-tools/latex-export.scm \
bible-tools/count-words.scm \ bible-tools/count-words.scm \
bible-tools/bible-tools.scm bible-tools.scm
TESTS = TESTS =
@ -57,24 +57,23 @@ AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)"
info_TEXINFOS = doc/bible-tools.texi info_TEXINFOS = doc/bible-tools.texi
dvi: # Don't build dvi docs dvi: # Don't build dvi docs
EXTRA_DIST += COPYING \ EXTRA_DIST += ChangeLog \
HACKING \
README \
README.org \
NEWS \
AUTHORS \ AUTHORS \
ChangeLog \ NEWS \
hall.scm \ README \
.gitignore \ HACKING \
guix.scm \ COPYING \
pre-inst-env.in \
Makefile.am \
configure.ac \
build-aux/test-driver.scm \ build-aux/test-driver.scm \
build-aux/texinfo.tex \ build-aux/texinfo.tex \
build-aux/mdate-sh \ build-aux/mdate-sh \
build-aux/missing \ build-aux/missing \
build-aux/install-sh \ build-aux/install-sh \
configure.ac \ guix.scm \
Makefile.am \ .gitignore \
pre-inst-env.in \ hall.scm \
build-aux/test-driver.scm \ build-aux/test-driver.scm \
$(TESTS) $(TESTS)

4
NEWS

@ -1,9 +1,9 @@
# -*- mode: org; coding: utf-8; -*- # -*- mode: org; coding: utf-8; -*-
#+TITLE: Bible-Tools NEWS ? history of user-visible changes #+TITLE: Bible-Tools NEWS history of user-visible changes
#+STARTUP: content hidestars #+STARTUP: content hidestars
Copyright ? (2022) <INSERT EMAIL HERE> Copyright © (2022) <INSERT EMAIL HERE>
Copying and distribution of this file, with or without modification, Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright are permitted in any medium without royalty provided the copyright

0
bible-tools/bible-tools.scm → bible-tools.scm

2
bible-tools/count-words.scm

@ -1,4 +1,4 @@
(define-module (count-words) (define-module (bible-tools count-words)
#:use-module (bible-tools) #:use-module (bible-tools)
#:use-module (srfi srfi-1) #:use-module (srfi srfi-1)
#:use-module (srfi srfi-26) #:use-module (srfi srfi-26)

2
bible-tools/latex-export.scm

@ -1,4 +1,4 @@
(define-module (latex-export) (define-module (bible-tools latex-export)
#:use-module (bible-tools) #:use-module (bible-tools)
#:use-module (srfi srfi-1) #:use-module (srfi srfi-1)
#:use-module (srfi srfi-26) #:use-module (srfi srfi-26)

4
build-aux/test-driver.scm

@ -2,8 +2,8 @@
(define script-version "2019-01-15.13") ;UTC (define script-version "2019-01-15.13") ;UTC
;;; Copyright ? 2015, 2016 Mathieu Lirzin <mthl@gnu.org> ;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright ? 2019 Alex Sassmannshausen <alex@pompo.co> ;;; Copyright © 2019 Alex Sassmannshausen <alex@pompo.co>
;;; ;;;
;;; This program is free software; you can redistribute it and/or modify it ;;; This program is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by ;;; under the terms of the GNU General Public License as published by

2
configure.ac

@ -5,7 +5,7 @@ AC_SUBST(HVERSION, "\"1.0\"")
AC_SUBST(AUTHOR, "\"\"") AC_SUBST(AUTHOR, "\"\"")
AC_SUBST(COPYRIGHT, "'(2022)") AC_SUBST(COPYRIGHT, "'(2022)")
AC_SUBST(LICENSE, gpl3+) AC_SUBST(LICENSE, gpl3+)
AC_CONFIG_SRCDIR(bible-tools) AC_CONFIG_SRCDIR(bible-tools.scm)
AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([1.12 gnu silent-rules subdir-objects color-tests parallel-tests -Woverride -Wno-portability]) AM_INIT_AUTOMAKE([1.12 gnu silent-rules subdir-objects color-tests parallel-tests -Woverride -Wno-portability])
AM_SILENT_RULES([yes]) AM_SILENT_RULES([yes])

22
guix.scm

@ -1,9 +1,9 @@
(use-modules (guix packages) (use-modules
((guix licenses) (guix packages)
#:prefix license:) ((guix licenses) #:prefix license:)
(guix download) (guix download)
(guix git-download)
(guix build-system gnu) (guix build-system gnu)
(guix gexp)
(gnu packages) (gnu packages)
(gnu packages autotools) (gnu packages autotools)
(gnu packages guile) (gnu packages guile)
@ -11,18 +11,10 @@
(gnu packages pkg-config) (gnu packages pkg-config)
(gnu packages texinfo)) (gnu packages texinfo))
(define-public bible-tools
(package (package
(name "bible-tools") (name "bible-tools")
(version "1.0") (version "1.0")
(source (source (local-file "./bible-tools-1.0.tar.gz"))
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.silasvedder.xyz/silasfox/bible-tools.git")
(commit "bc925d8")))
(file-name "bible-tools-1.0-checkout")
(sha256 (base32 "07221jw4gl48cg45znwjkc7871in3pfq488ig4vnbjygqbg4wawh"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:modules `(#:modules
@ -90,6 +82,4 @@
(synopsis "") (synopsis "")
(description "") (description "")
(home-page "") (home-page "")
(license license:gpl3+))) (license license:gpl3+))
bible-tools

30
hall.scm

@ -14,8 +14,8 @@
((directory ((directory
"bible-tools" "bible-tools"
((scheme-file "latex-export") ((scheme-file "latex-export")
(scheme-file "count-words") (scheme-file "count-words")))
(scheme-file "bible-tools"))))) (scheme-file "bible-tools")))
(tests ((directory "tests" ()))) (tests ((directory "tests" ())))
(programs (programs
((directory ((directory
@ -24,20 +24,18 @@
(in-file "word-counter") (in-file "word-counter")
(in-file "bible2latex"))))) (in-file "bible2latex")))))
(documentation (documentation
((directory ((text-file "ChangeLog")
"doc" (text-file "AUTHORS")
((texi-file "bible-tools"))) (text-file "NEWS")
(text-file "COPYING")
(text-file "HACKING")
(symlink "README" "README.org") (symlink "README" "README.org")
(org-file "README") (org-file "README")
(text-file "NEWS") (text-file "HACKING")
(text-file "AUTHORS") (text-file "COPYING")
(text-file "ChangeLog"))) (directory "doc" ((texi-file "bible-tools")))))
(infrastructure (infrastructure
((scheme-file "hall") ((in-file "pre-inst-env")
(text-file ".gitignore") (automake-file "Makefile")
(scheme-file "guix") (autoconf-file "configure")
(directory (directory
"build-aux" "build-aux"
((scheme-file "test-driver") ((scheme-file "test-driver")
@ -45,6 +43,6 @@
(text-file "mdate-sh") (text-file "mdate-sh")
(text-file "missing") (text-file "missing")
(text-file "install-sh"))) (text-file "install-sh")))
(autoconf-file "configure") (scheme-file "guix")
(automake-file "Makefile") (text-file ".gitignore")
(in-file "pre-inst-env"))))) (scheme-file "hall")))))

4
scripts/bible-app.in

@ -4,8 +4,8 @@ exec guile -e '(@ (bible-app) main)' -s "$0" "$@"
(define-module (bible-app) (define-module (bible-app)
#:use-module (bible-tools) #:use-module (bible-tools)
#:use-module (latex-export) #:use-module (bible-tools latex-export)
#:use-module (count-words) #:use-module (bible-tools count-words)
#:use-module (srfi srfi-1) #:use-module (srfi srfi-1)
#:use-module (srfi srfi-26) #:use-module (srfi srfi-26)
#:export (main)) #:export (main))

2
scripts/bible2latex.in

@ -4,7 +4,7 @@ exec guile -e '(@ (bible2latex) main)' -s "$0" "$@"
(define-module (bible2latex) (define-module (bible2latex)
#:use-module (bible-tools) #:use-module (bible-tools)
#:use-module (latex-export) #:use-module (bible-tools latex-export)
#:use-module (srfi srfi-1) #:use-module (srfi srfi-1)
#:use-module (srfi srfi-26) #:use-module (srfi srfi-26)
#:export (main)) #:export (main))

2
scripts/word-counter.in

@ -4,7 +4,7 @@ exec guile -e '(@ (word-counter) main)' -s "$0" "$@"
(define-module (word-counter) (define-module (word-counter)
#:use-module (bible-tools) #:use-module (bible-tools)
#:use-module (count-words) #:use-module (bible-tools count-words)
#:use-module (srfi srfi-1) #:use-module (srfi srfi-1)
#:use-module (srfi srfi-26) #:use-module (srfi srfi-26)
#:export (main)) #:export (main))

Loading…
Cancel
Save