commit 106ab3d040487f39bc86f46ddfbbec553b19e69e
parent daf585bdcb7244da68f61bad68ec3068f4464873
Author: Yuval Langer <yuval.langer@gmail.com>
Date: Tue, 28 Nov 2023 01:01:56 +0200
Use the maximum portability incantation. Also, remove all hall files.
Diffstat:
7 files changed, 2 insertions(+), 112 deletions(-)
diff --git a/CHANGELOG.org b/CHANGELOG.org
@@ -1 +0,0 @@
-Nothing here yet.
diff --git a/COPYING b/COPYING
@@ -1 +0,0 @@
-LICENSE
-\ No newline at end of file
diff --git a/HACKING b/HACKING
@@ -1 +0,0 @@
-HACKING.org
-\ No newline at end of file
diff --git a/HACKING.org b/HACKING.org
@@ -1,47 +0,0 @@
-# -*- mode: org; coding: utf-8; -*-
-
-#+TITLE: Hacking clipboard-speaker
-
-* Contributing
-
-By far the easiest way to hack on clipboard-speaker is to develop using Guix:
-
-#+BEGIN_SRC bash
- # Obtain the source code
- cd /path/to/source-code
- guix environment -l guix.scm
- # In the new shell, run:
- hall dist --execute && autoreconf -vif && ./configure && make check
-#+END_SRC
-
-You can now hack this project's files to your heart's content, whilst
-testing them from your `guix environment' shell.
-
-To try out any scripts in the project you can now use
-
-#+BEGIN_SRC bash
- ./pre-inst-env scripts/${script-name}
-#+END_SRC
-
-If you'd like to tidy the project again, but retain the ability to test the
-project from the commandline, simply run:
-
-#+BEGIN_SRC bash
- ./hall clean --skip "scripts/${script-name},pre-inst-env" --execute
-#+END_SRC
-
-** Manual Installation
-
-If you do not yet use Guix, you will have to install this project's
-dependencies manually:
- - autoconf
- - automake
- - pkg-config
- - texinfo
- - guile-hall
-
-Once those dependencies are installed you can run:
-
-#+BEGIN_SRC bash
- hall dist -x && autoreconf -vif && ./configure && make check
-#+END_SRC
diff --git a/clipboard-speaker.scm b/clipboard-speaker.scm
@@ -1,4 +1,5 @@
-#!/usr/bin/env -S guile -e '(clipboard-speaker)' -s
+#!/usr/bin/env sh
+exec guile -e '(@ (clipboard-speaker) main)' -s "$0" "$@"
!#
(define-module (clipboard-speaker)
diff --git a/guix.scm b/guix.scm
@@ -1,30 +0,0 @@
-(use-modules
- (guix packages)
- ((guix licenses) #:prefix license:)
- (guix download)
- (guix build-system gnu)
- (gnu packages)
- (gnu packages autotools)
- (gnu packages guile)
- (gnu packages guile-xyz)
- (gnu packages pkg-config)
- (gnu packages texinfo))
-
-(package
- (name "clipboard-speaker")
- (version "0.1")
- (source "./clipboard-speaker-0.1.tar.gz")
- (build-system gnu-build-system)
- (arguments `())
- (native-inputs
- `(("autoconf" ,autoconf)
- ("automake" ,automake)
- ("pkg-config" ,pkg-config)
- ("texinfo" ,texinfo)))
- (inputs `(("guile" ,guile-3.0)))
- (propagated-inputs `())
- (synopsis "")
- (description "")
- (home-page "")
- (license license:agpl3+))
-
diff --git a/hall.scm b/hall.scm
@@ -1,29 +0,0 @@
-(hall-description
- (name "clipboard-speaker")
- (prefix "")
- (version "0.1")
- (author "")
- (copyright (2023))
- (synopsis "")
- (description "")
- (home-page "")
- (license agpl3+)
- (dependencies `())
- (skip ())
- (files (libraries
- ((directory "clipboard-speaker" ())
- (scheme-file "clipboard-speaker")))
- (tests ((directory "tests" ())))
- (programs ((directory "scripts" ())))
- (documentation
- ((directory
- "doc"
- ((texi-file "clipboard-speaker")))
- (symlink "COPYING" "LICENSE")
- (symlink "HACKING" "HACKING.org")
- (symlink "README" "README.org")
- (org-file "README")))
- (infrastructure
- ((scheme-file "hall")
- (text-file ".gitignore")
- (scheme-file "guix")))))