Commit graph

5 commits

Author SHA1 Message Date
Doug Torrance 1a9438fbe2 wmget: Remove docbook -> manpage conversion.
It was resulting in compilation errors:
   profzoom@cayke:~/src/dockapps/dockapps/wmget$ xsltproc --nonet
     wmget.refentry.xml
   I/O error : Attempt to load network entity http://docbook.sourceforge.net/
     release/xsl/1.62/manpages/docbook.xsl
   warning: failed to load external entity "http://docbook.sourceforge.net/
     release/xsl/1.62/manpages/docbook.xsl"
   error
   xsltParseStylesheetFile : cannot parse http://docbook.sourceforge.net/
     release/xsl/1.62/manpages/docbook.xsl
   compilation error: file wmget.refentry.xml line 19 element refentry
   xsltParseStylesheetProcess : document is not a stylesheet

We therefore remove the xml source file and in the future, we will edit the
troff file directly.

We also add the version number to the manpage via autoconf.
2016-02-07 21:06:01 +05:30
Doug Torrance f74b7b33ac wmget: Switch to autotools for build. 2016-02-07 21:06:01 +05:30
Doug Torrance 575318c566 wmget: Fix resource leaks.
In particular, fclose() all the files we fopen().  From Debian [1].

[1] http://sources.debian.net/src/wmget/0.6.0-5/debian/patches/
    fix_resource_leaks.patch/
2016-02-07 21:06:01 +05:30
Doug Torrance e64a950200 wmget: Fix -Wpointer-to-int-cast compiler warnings.
In particular, use intptr_t instead of int.  From the Debian patch [1].

[1] http://sources.debian.net/src/wmget/0.6.0-5/debian/patches/
    fix_-Wpointer-to-int-cast.patch/
2016-02-07 21:06:01 +05:30
Doug Torrance 6efd8b9b4a wmget: Add version 0.6.0 to repository.
Obtained from [1].

[1] http://amtrickey.net/download/wmget-0.6.0-src.tar.gz
2016-02-07 21:05:16 +05:30