From 83c73e020dec69d7123d99ee9a0eb8c3a773e41a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 2 Jan 2016 05:30:31 +0100 Subject: first commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- .gitignore | 23 +++++++++++++++++ COPYING | 20 +++++++++++++++ INSTALL | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 6 +++++ README | 9 +++++++ 5 files changed, 141 insertions(+) create mode 100644 .gitignore create mode 100644 COPYING create mode 100644 INSTALL create mode 100644 NEWS create mode 100644 README 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 + +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) + -- cgit v1.2.3-70-g09d2