Commit graph

905 commits

Author SHA1 Message Date
Doug Torrance 094f205cbb wmhdplop: Add desktop entry file. 2016-11-24 15:43:12 +00:00
Doug Torrance 46551572b4 wmhdplop: Add manpage from Debian.
https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/wmhdplop.1/
2016-11-24 15:43:12 +00:00
Doug Torrance 8b074a3f75 wmhdplop: Support NVME devices
Patch by GitHub user zen2.

https://github.com/d-torrance/wmhdplop/issues/1
2016-11-24 15:43:12 +00:00
Doug Torrance 85d2e894e8 wmhdplop: Fix compiler warnings.
In particular, the following:

 wmhdplop.c:451:96: warning: operation on ‘dl->touched_w’ may be undefined
 [-Wsequence-point]

 wmhdplop.c:980:44: warning: ignoring return value of ‘seteuid’, declared with
 attribute warn_unused_result [-Wunused-result]

 procstat.c:73:19: warning: variable ‘in_our_disk’ set but not used
 [-Wunused-but-set-variable]

 dockapp_imlib2.c:311:85: warning: unused parameter ‘prefs’ [-Wunused-parameter]

 gkrellm_hdplop.c:187:40: warning: unused parameter ‘widget’
 [-Wunused-parameter]

https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/patches/
  fix_compiler_warnings.patch/
2016-11-24 15:43:12 +00:00
Doug Torrance 7ab8a56465 wmhdplop: Modernize autotools.
In particular, fix the following errors and warnings:

 configure.ac:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are
 deprecated.  For more info, see:
 configure.ac:2: http://www.gnu.org/software/automake/manual/automake.html
 #Modernize-AM_005fINIT_005fAUTOMAKE-invocation

 Makefile.am:21: error: linker flags such as '-shared' belong in
 'gkhdplop_so_LDFLAGS'

 ./configure: line 2910: syntax error near unexpected token `build_old_libs,'
 ./configure: line 2910: `    _LT_DECL(build_old_libs, enable_static, 0,'

 ./configure: line 2908: syntax error near unexpected token
 `build_libtool_libs,'
 ./configure: line 2908: `    _LT_DECL(build_libtool_libs, enable_shared, 0,

https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/patches/
  modernize_autotools.patch/
2016-11-24 15:43:12 +00:00
Doug Torrance 8c43b61e0d wmhdplop: Find disk device after /run transition
Patch by Andre Beck <beck@ibh.de> to fix Debian bug #657882.

After the recent /run transition, which also finally turned /etc/mtab into
a symlink to /proc/mounts, *hdplop (both incarnations) may fail to find a
single disk device automatically. This is likely due to the root device
now being exposed as mounted on /dev/disk/by-uuid/$UUID whereas the
former /etc/mtab as written by mount still contained a device name as
taken from /etc/fstab, which in my case could be parsed by *hdplop. It's
unclear if this wouldn't have hit other environments earlier depending
on their fstab contents, I just assume for now that I'm one of the
remaining handful of users of this tool ;)

The fundamental issue is of course the rather crude code in devnames.c's
device_id_from_name() which tries to manually resolve device symlinks,
but cannot possibly work with any symlink except those located directly
in /dev - symlinks in subdirectories of /dev will fail.

Impact on wmhdplop: Doesn't start except when called explicitely with
some "-d /dev/sda" or such option.

Impact on gkrellm-hdplop: Starts but is dazed and confused, leaving a
black window in gkrellm. Clicking on the black window will then crash
gkrellm, as it hits an assertion that the device list cannot be empty.

I've prepared a small patch that makes *hdplop work again for me, the
patch replaces the broken manual symlink resolving by a simple call
to realpath(3), hopefully not breaking other stuff. I refrained from
doing any more changes to the code, even though it looks like it needs
some love. Upstream seems to have lost interest five years ago, though...

So, without much further ado, here's my crude fix:

Don't look too closely, specifically on the strncpy(3) stuff, but I felt
this is still better than abusing snprintf(3) like the original code does
some lines above, and as I said, starting to really fix things here looks
like a bottomless pit...

Thanks,
Andre.

https://bugs.debian.org/657882
https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/patches/
  find-disk-device.patch/
2016-11-24 15:43:12 +00:00
Doug Torrance 16fe98d279 wmhdplop: Change gkhdplop_so_LDFLAGS to gkhdplop_so_LDADD in Makefile
This patch prevents a "undefined symbol: imlib_image_draw_pixel" error by
placing -lImlib2 after the *.o files during make.

Patch to fix Ubuntu bug #995272.

https://bugs.launchpad.net/ubuntu/+source/wmhdplop/+bug/995272
https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/patches/
  ldflags-to-ldadd.patch/
2016-11-24 15:43:12 +00:00
Doug Torrance 581e3c6f43 wmhdplop: Fix GCC 4.7 FTBFS -Wl needs to have values passed to it so that it can pass those on to the linker.
Patch by Paul Tagliamonte <paultag@ubuntu.com> to fix Debian bug #667415.

http://bugs.debian.org/667415
https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/patches/
 fix-ftbfs-gcc-4.7-667415.patch/
2016-11-24 15:43:12 +00:00
Doug Torrance 2cb3fde28e wmhdplop: Remove autotools cruft. 2016-11-24 15:43:11 +00:00
Doug Torrance fe7250ff5d wmhdplop: Add version 0.9.9 to repository.
Upstream appears to be inactive.  Last release in 2007.  Hasn't responded to
my emails regarding patches from Debian in over a year.

Obtained from http://hules.free.fr/wmhdplop/wmhdplop-0.9.9.tar.gz.
2016-11-24 15:42:29 +00:00
Doug Torrance dcd501e145 wmauda: Remove from repository.
A newer version was released relatively recently (2012) and is available at
http://www.netswarm.net/.
2016-11-24 01:42:03 +00:00
Doug Torrance a9b993ef1a wmcpuload: Bump to version 1.1.1. 2016-10-20 15:34:31 +01:00
Doug Torrance 6c8d54feb4 wmcpuload: Fix Makefile.am for automake 1.14.
Patch by Andreas Metzler <ametzler@debian.org> to fix Debian bug #724162.
2016-10-20 15:34:31 +01:00
Doug Torrance d8a0e71add wmcpuload: Update url and contact information. 2016-10-20 15:34:31 +01:00
Doug Torrance eb65ebf72c wmcpuload: Remove CVS cruft. 2016-10-20 15:34:31 +01:00
Doug Torrance 6ec1b805f3 wmcpuload: Update autotools files to silence warnings. 2016-10-20 15:34:31 +01:00
Doug Torrance b1e74b06c7 wmcpuload: Restore some previous commits (COPYING update, whitespace). 2016-10-20 15:34:31 +01:00
Doug Torrance e85e0559c3 wmcpuload: Bump to version 1.1.0pre5.
Obtained from http://distfiles.gentoo.org/distfiles/wmcpuload-1.1.0pre5.tar.gz
2016-10-20 15:33:40 +01:00
Doug Torrance d606c50961 wmmp3: Add version 0.12 to repository. 2016-08-09 14:44:15 +01:00
Doug Torrance d5d093bd10 ascd: Add version 0.13.2 to repository.
Obtained from:
https://web.archive.org/web/20090620082249/http://worldserver.oleane.com/rsn/ascd-en.html
2016-08-09 14:44:14 +01:00
Doug Torrance 897166414e Remove script for updating dockapps webpage; no longer needed. 2016-08-09 14:37:30 +01:00
Doug Torrance 25353b9708 wmbiff: Fix typos. 2016-07-20 16:37:37 +01:00
Doug Torrance 464744a386 wmbiff: Bump to version 0.4.29. 2016-07-20 11:26:09 +01:00
Doug Torrance 3149adc321 wmbiff: Close mailbox before we call status on it.
Additional patch by Nye Liu <nyet@nyet.org> to fix Debian bug #830889 [1].

[1] https://bugs.debian.org/830889
2016-07-20 11:26:09 +01:00
Doug Torrance 1d84a1d8e4 wmbiff: EXAMINE before STATUS
Patch by Nye Liu <nyet@nyet.org> to fix Debian bug #830889 [1].

Dear Maintainer,

Outlook Office365 IMAP servers now expect a client to issue at least one
EXAMINE before STATUS, or UNSEEN is always zero:

"unsub" folder has two messages, one unseen.

Broken:

56:04.84 > CJFK1 LOGIN "nyet@xxx" "xxx"
56:21.99 < CJFK1 OK LOGIN completed.
56:21.99 > CJFK2 STATUS unsub (MESSAGES UNSEEN)
56:22.20 < * STATUS unsub (MESSAGES 2 UNSEEN 0)
56:22.20 < CJFK2 OK STATUS completed.

Works:

56:46.04 > BPEB1 LOGIN "nyet@xxx" "xxx"
56:51.43 < BPEB1 OK LOGIN completed.
56:51.43 > BPEB2 EXAMINE unsub
56:51.67 < * 2 EXISTS
56:51.67 < * 0 RECENT
56:51.67 < * FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)
56:51.67 < * OK [PERMANENTFLAGS ()] Permanent flags
56:51.67 < * OK [UNSEEN 2] Is the first unseen message
56:51.67 < * OK [UIDVALIDITY 164] UIDVALIDITY value
56:51.67 < * OK [UIDNEXT 16] The next unique identifier value
56:51.67 < BPEB2 OK [READ-ONLY] EXAMINE completed.
56:51.67 > BPEB3 STATUS unsub (MESSAGES UNSEEN)
56:51.89 < * STATUS unsub (MESSAGES 2 UNSEEN 1)
56:51.89 < BPEB3 OK STATUS completed.

Attached is a patch to always issue EXAMINE before a STATUS.

It doesn't seem like it has to be done before every STATUS, just at least once.
Is only a proof of concept. I don't presume to know the best way to handle
optimizing it.

[1] https://bugs.debian.org/830889
2016-07-12 19:32:49 +01:00
Doug Torrance b44abc7a58 wmcalc: Fix reference to config file in manpage.
It incorrectly referenced the wmbutton config file instead.
2016-06-22 07:43:47 +02:00
Doug Torrance 5f0800719e wmifs: Bump to version 1.8. 2016-04-20 01:01:26 -04:00
Doug Torrance 7545c92c63 wmifs: Fix typos.
Ran `codespell -w .`.
2016-04-20 01:01:26 -04:00
Doug Torrance dd5ea70c7c wmifs: Display version number from configure.ac with -v option. 2016-04-20 01:01:26 -04:00
Doug Torrance 9aa3fefdfb wmifs: Bump to version 1.7. 2016-04-19 17:02:12 -04:00
Doug Torrance 5a9ff14544 wmifs: Update INSTALL after switch to autotools. 2016-04-19 17:02:12 -04:00
Doug Torrance fbbc06d554 wmifs: Add desktop entry file. 2016-04-19 17:02:12 -04:00
Doug Torrance a70ee1fafb wmifs: Switch to autotools for build. 2016-04-19 17:02:12 -04:00
Doug Torrance 37e7f6b54b wmifs: Fix buffer overflow if interface has name > 8 characters.
Patch by anomie@users.sourceforge.net to fix Debian bug #805519. [1]

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805519
2016-04-19 12:06:03 -04:00
Doug Torrance 01ad1cff49 Add wmtop information for dockapps webpage. 2016-02-09 06:26:47 +05:30
Doug Torrance 448b5263c0 wmtop: Bump to version 0.85. 2016-02-08 19:17:21 +05:30
Doug Torrance e27657432c wmtop: Remove .cvsignore. 2016-02-08 19:17:21 +05:30
Doug Torrance a7a8760464 wmtop: Switch build system to autotools.
To take advantage of this, we rename CHANGES to ChangeLog and also replace
the WMTOP_VERSION macro with PACKAGE_VERSION.
2016-02-08 19:17:21 +05:30
Doug Torrance 5fd5619cc4 wmtop: Use proper int types.
Based partially on a patch by wbk to fix Gentoo bug #410093 [1].  From the
bug report:

  After fixing the /proc/meminfo issue, another bug will emerge on systems
  where total system RAM in bytes exceeds INT_MAX. The correct top three
  processes will be identified, but their load bars will have the wrong
  value. This is caused by a value overflow due to storing total system
  memory in an "int" type variable. We will end up thinking ((Total RAM)
  modulo (INT_MAX)) is our total system RAM, so our percentages will be
  inflated when drawing the load bar. This fix will require a bit more care
  to follow the flow of data and ensure this value isn't being cast to "int"
  along the way. Function return types will need to be changed.

[1] https://bugs.gentoo.org/show_bug.cgi?id=410093
2016-02-08 19:17:21 +05:30
Doug Torrance 9450f4cfd2 wmtop: Remove inline keywords.
Otherwise, build fails with "error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘void’" if using ANSI C.
2016-02-08 19:17:21 +05:30
Doug Torrance 62174abc69 wmtop: Add #define _BSD_SOURCE.
Avoid implicit declaration warnings (usleep and getpagesize) if compiled
using C99 standard.
2016-02-08 19:17:21 +05:30
Doug Torrance e8f6ae1cdd wmtop: Switch user variable from int to uid_t.
Fixes 'comparison between signed and unsigned integer expressions' compiler
warnings.
2016-02-08 19:17:21 +05:30
Doug Torrance c52108a87c wmtop: Remove wmgeneral directory and use libdockapp. 2016-02-08 19:17:21 +05:30
Doug Torrance 5586e092a7 wmtop: Escape minus signs and fix spelling errors in manpage.
Obtained from [1].

[1] https://sources.debian.net/src/wmtop/0.84-12/debian/patches/fix_manpage.patch/
2016-02-08 19:17:21 +05:30
Doug Torrance 229fe58553 wmtop: Fix incorrect memory usage.
Patch by Dwayne C. Litzenberger <dlitz@dlitz.net> to fix Debian bug #224732.

Obtained from [1].

[1] https://sources.debian.net/src/wmtop/0.84-12/debian/patches/fix_incorrect_memory_usage.patch/
2016-02-08 19:17:21 +05:30
Doug Torrance 1c9780cfbe wmtop: Add version 0.84 to repository.
Obtained from [1].

[1] http://http.debian.net/debian/pool/main/w/wmtop/wmtop_0.84.orig.tar.gz
2016-02-08 19:16:31 +05:30
Doug Torrance 8e7eca3c7c Add wmget information for dockapps webpage. 2016-02-08 19:15:14 +05:30
Doug Torrance e2236dc16b wmget: Bump to version 0.6.1. 2016-02-07 21:06:01 +05:30
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