Commit graph

18 commits

Author SHA1 Message Date
Doug Torrance 65d994a688 wmcalc: Fix manpage spelling.
Avoid Lintian warning in the Debian package.  Obtained from [1].

[1] https://sources.debian.net/src/wmcalc/0.5-1/debian/patches/fix_manpage_spelling.patch/
2015-08-23 08:35:36 +01:00
Doug Torrance cdc66d640f wmcalc: Fix typo in Makefile.
Correctly create the directory /usr/share/man/man1 instead of
/usr/share/man/man1/man1.

Obtained from the Debian package [1].

[1] https://sources.debian.net/src/wmcalc/0.5-1/debian/patches/fix_makefile_typo.patch/
2015-08-23 08:35:36 +01:00
Doug Torrance 66ea05ae67 wmcalc: Increase significant digits.
Patch by Antony Gelberg <antony@wayforth.co.uk> to fix Debian bug #320597 [1].
Obtained from the Debian package [2].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=320597
[2] https://sources.debian.net/src/wmcalc/0.5-1/debian/patches/10_bts-320597_increase_significant_digits.patch/
2015-08-23 08:35:36 +01:00
Doug Torrance 050001c0f1 wmcalc: Bump to version 0.5. 2015-01-10 19:02:57 +00:00
Doug Torrance 773c07acd7 wmcalc: Remove C++ style comments. 2015-01-10 19:02:57 +00:00
Doug Torrance c3bef2f247 wmcalc: Fix -Woverflow compiler warnings. 2015-01-10 19:02:57 +00:00
Doug Torrance 544c36b79c wmcalc: Allow installation without root access.
Drop "-p -o root -g root" from the INSTALL_* Makefile variables and honor
the CONF Makefile variable for accessing the global config file instead of
hardcoding it as /etc.

These changes allow users without root access to install wmcalc in their home
directory.
2015-01-10 19:02:57 +00:00
Doug Torrance a43ce43092 wmcalc: Update README.
In particular,
- Update maintainer.
- Remove version-specific information.
- Update installation instructions.
- Add previously released version 0.4 to changelog.
2015-01-10 19:02:57 +00:00
Doug Torrance 0ac867513a wmcalc: Update COPYING from http://www.gnu.org/licenses/gpl-2.0.txt. 2015-01-10 19:02:57 +00:00
Doug Torrance 3803ee4cd5 wmcalc: Remove redundant .wmcalc*; essentially the same as wmcalc.conf. 2015-01-10 19:02:57 +00:00
Doug Torrance 6b282a4b4d wmcalc: Remove trailing whitespace. 2015-01-10 19:02:57 +00:00
Doug Torrance 587fe05cc1 wmcalc: Fix -Wunused-result compiler warning. 2015-01-10 19:02:57 +00:00
Doug Torrance d5d266d6d1 wmcalc: Fix -Warray-bounds compiler warning. 2015-01-10 19:02:57 +00:00
Doug Torrance 304860b38d wmcalc: Fix -Wunused-but-set-variable compiler warnings. 2015-01-10 19:02:57 +00:00
Doug Torrance 9d9d2500d7 wmcalc: Switch #include <XKBlib.h> to #include <X11/XKBlib.h>.
Otherwise, wmcalc fails to build.
2015-01-10 19:02:57 +00:00
Doug Torrance 550de54682 wmcalc: Update Makefile.
In particular,
- Drop INCLUDES and LIBINC variables; referenced deprecated X11R6 directories
  and INCLUDES unnecessarily included the default path.
- Switch hard-coded gcc for CC variable.
- Move hard-coded -02 and -Wall flags to new CFLAGS variable.
- Switch ${} to $() for consistency.
- Add new INSTALL_DIR variable for creating installation directories.
- Respect CPPFLAGS and LDFLAGS.
2015-01-10 19:02:57 +00:00
Doug Torrance 2f0aab0f8f wmcalc: Add manpage from Debian.
Obtained from:
http://snapshot.debian.org/package/wmcalc/0.3-7/

Additionally, add rule to Makefile to install new manpage.
2015-01-10 19:02:57 +00:00
Doug Torrance a50001bbe9 wmcalc: Add version 0.4 to repository.
Source obtained from:
ftp://ftp.afterstep.org/stable/rpms/misc-tarballs/wmcalc-0.4.tar.gz
2015-01-10 19:02:57 +00:00