I wanted to use it on Solaris which has different way to obtain system
statistics. I build a support file and changed Makefile to take the
operating system into account.
Then I moved to fixing the widget. The comments in the code said that
it supports only 2 CPUs. I've added an aggregation so that it still
shows two graphs but represents all CPUs.
Lastly, I some programmatic flaws - like multiple loops for one task -
cleaning up the code a bit. It should also speed up the widget a
little.
Package: wmtime
Version: 1.0b3-2
Severity: normal
Tags: upstream patch l10n
Hi,
the package wmtime claims that it supports localization. Looking into the code,
it seems more like date customization.
When claiming "localization", it should work as such - respecting LANG, LC_ALL,
etc. environment variables and use locales for the day and month abbreviations.
Please see my patch which adds such support.
Regards,
Milan Cermak
-- System Information:
Debian Release: 6.0.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37.6 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages wmtime depends on:
ii libc6 2.11.3-2 Embedded GNU C Library: Shared lib
ii libx11-6 2:1.3.3-4 X11 client-side library
ii libxext6 2:1.1.2-1 X11 miscellaneous extension librar
ii libxpm4 1:3.5.8-1 X11 pixmap library
wmtime recommends no packages.
wmtime suggests no packages.
-- no debconf information
Package: wmtime
Version: 1.0b2-10
Tags: patch
wmtime draws a small amount of garbage to the screen when -noseconds is
given, because DrawTime reads beyond the given string buffer. This
doesn't trigger all the time for me (I assume due to the nondeterminism
of reading uninitialized memory or something), but it pretty clearly
happens if I switch VTs.
The attached patch limits the amount of the formatted string we try to
read, so we don't read beyond the end of the string. Fixes it for me.
--
Andrew Deason
adeason@dson.org
The current Makefile script doesn't work properly, because the path
for /etc doesn't use DESTDIR and the installation path for $(DESTDIR)/usr/bin
is not created before installing the binary file in the folder.
LDFLAGS are needed in some distros to build the package, for example Debian.
This patch solves these problems.
This patch is a code clean patch:
- Removes spaces and tabs at end of line.
- Remove curly brackets not needed.
- Change spaces by tabs.
- Add spaces after and before operators.
- Removes spaces not needed.
- Better code style.
- Added void as function argument.
The mouse middle button should be enabled by default (see the help
and the manpage). This patch solves this bug.
The MIDMOUSE definition is removed because the value of MIDMOUSE
changes the middle button behaviour. Now, the middle button always works,
except if the user uses the -m argument.
Now the manpage and the help show the same info.
This patch is a code clean patch:
- Removes spaces and tabs at end of line.
- Remove curly brackets not needed.
- Change spaces by tabs.
- Add spaces after and before operators.
- Removes spaces not needed.
- Better code style.
This patch is based in the code wrote by Christian Aichinger
for the Debian distribution.
Changes are:
- Removed the compilation of ctags by default
- Changed the include /usr/X11R6/include/X11 to /usr/include
- Created install option
This patch is based in the code wrote by Christian Aichinger
for the Debian distribution.
The patch includes the /etc/wmbutton.conf as global configuration
file. This file is readed if $home/.wmbutton don't exists.
The file .wmbutton is a hidden file, and is better to distribute
it as sample configuration file (sample.wmbutton).
Based on Christian Aichinger's patch.
The X11 libraries are now in include/X11 folder, instead of include
folder. Now is possible to compile the application in new systems.
This patch changes the wmbutton version in the README file too.
Based on Christian Aichinger's patch.
The original wmbutton 0.6.1 is added to the repository.
wmbutton is a dockapp with nine buttons (3x3), capable of launch 27
different applications using the left, middle and right buttons.
AM_PATH_LIBGNUTLS seems to be obsolete.
Replace the check with pkg-config using PKG_CHECK_MODULES.
AM_CONFIG_HEADER also seems to be obsolete.
Replace with AC_CONFIG_HEADER.
Fix installing an extra script (security.debian.rb)
Signed-off-by: Wade Berrier <wberrier@gmail.com>