Commit graph

14 commits

Author SHA1 Message Date
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