aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-02 05:30:31 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-02 05:30:31 +0100
commit83c73e020dec69d7123d99ee9a0eb8c3a773e41a (patch)
treefa4fded042bc7935dfc675998bd8b1f103fa2843
downloadradharc-83c73e020dec69d7123d99ee9a0eb8c3a773e41a.tar.gz
radharc-83c73e020dec69d7123d99ee9a0eb8c3a773e41a.tar.bz2
radharc-83c73e020dec69d7123d99ee9a0eb8c3a773e41a.tar.xz
first commit
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-rw-r--r--.gitignore23
-rw-r--r--COPYING20
-rw-r--r--INSTALL83
-rw-r--r--NEWS6
-rw-r--r--README9
5 files changed, 141 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b3a4bae
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,23 @@
+_/
+/bin/
+/aux/
+/obj/
+\#*\#
+.*
+!.git*
+*.~
+*.bak
+*.new
+*.swo
+*.swp
+*.out
+*.o
+*.su
+*.gch
+*.info
+*.pdf
+*.ps
+*.dvi
+/config.status
+/Makefile
+
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..d409432
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,20 @@
+Copyright © 2016 Mattias Andrée <maandree@member.fsf.org>
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
+
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..e632718
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,83 @@
+Type './configure --help' for configuration options. The normal settings for a
+GNU package should work. If not, please make a bug report.
+
+ On a common GNU/Linux distribution the following should
+ be sufficient for most users:
+
+ ./configure --prefix=/usr
+ make
+ make install DESTDIR="somewhere you want the files for now"
+ # Now let the package manager put the files in place...
+
+ Or for an unstaged install:
+
+ ./configure --prefix=/usr
+ make
+ sudo make install
+
+By default any applicable pre-install, post-install, pre-uninstall, and
+post-install commands is run. This suppress these, run 'make' with 'N=true'
+or 'N=:'. IF you want to know which these commands are, you can use the
+methods specificed in the GNU Coding Standards. Another method is found in
+mk/README. However, for this packages, these will be:
+
+ infodir="usr/local/share/info" ## Assuming default prefix.
+
+ post_install () {
+ install-info -- "${infodir}/radharc.info" "${infodir}/dir"
+ }
+
+ pre_uninstall () {
+ install-info --delete -- "${infodir}/radharc.info" "${infodir}/dir"
+ }
+
+
+────────────────────────────────────────────────────────────────────────────────
+CUSTOMISED COMPILATION
+────────────────────────────────────────────────────────────────────────────────
+
+The makefile is configured to compile the C code with -O2 -g, you can
+change this by setting OPTIMISE, or with CFLAGS and LDFLAGS if you want
+to change all optional flags compiling and linking flags:
+
+ ./configure OPTIMISE="-Og -g"
+
+
+────────────────────────────────────────────────────────────────────────────────
+CUSTOMISED INSTALLATION
+────────────────────────────────────────────────────────────────────────────────
+
+If you want to install absolutely everything, you can
+instead use the commands below:
+
+ make everything
+ make install-everything DESTDIR="pkg"
+
+Or if you only want to absolute basics:
+
+ make base
+ make install-base DESTDIR="pkg"
+
+You can select freely what parts of the package to install and not
+to install. This rules are available:
+
+┌─────────────┬─────────────────────┬────────────────────────────────────────────┐
+│ COMPILATION │ INSTALLATION │ DESCRIPTION │
+├─────────────┼─────────────────────┼────────────────────────────────────────────┤
+│ base │ install-base │ Install the basics: │
+│ cmd │ install-cmd │ Install the radharc commands. │
+│ │ install-copyright │ Install the Expat License. │
+│ doc │ install-doc │ Include all manuals: │
+│ info │ install-info │ Include info manual. (Texinfo) │
+│ dvi │ install-dvi │ Include DVI manual. (Texinfo) │
+│ pdf │ install-pdf │ Include PDF manual. (Texinfo) │
+│ ps │ install-ps │ Include PostScript manual. (Texinfo) │
+│ html │ install-html │ Include multifile HTML manual. (Texinfo) │
+│ │ install-man │ Include man pages. │
+│ locale │ install-locale │ Include locales. │
+└─────────────┴─────────────────────┴────────────────────────────────────────────┘
+
+install, install-everything, install-base, and install-cmd, have alternatives
+that installs a stripped binary: install-strip, install-everything-strip,
+install-base-strip, and install-cmd-strip, respectively.
+
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..7b452be
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,6 @@
+radharc NEWS -*- outline -*-
+
+* Noteworthy changes in release 1.0 (DO BE DETERMINED) [stable]
+
+ Initial release.
+
diff --git a/README b/README
new file mode 100644
index 0000000..fa58018
--- /dev/null
+++ b/README
@@ -0,0 +1,9 @@
+NAME
+ radharc - Reduce eye strain.
+
+PRONUNCIATION
+ ɹˈaɪɐrk (depending on dialect)
+
+SEE ALSO
+ redshift(1), blueshift(1), redshift-adjust(1), nightshift(1)
+