debian/0000755000000000000000000000000012226606412007167 5ustar debian/source/0000755000000000000000000000000011476465560010504 5ustar debian/source/format0000644000000000000000000000001411476465560011712 0ustar 3.0 (quilt) debian/control0000644000000000000000000000114212214650453010571 0ustar Source: wmclock Section: x11 Priority: optional Maintainer: Doug Torrance Build-Depends: debhelper (>= 9), libxpm-dev, libx11-dev, libxt-dev, libxext-dev, xutils-dev Standards-Version: 3.9.4 Homepage: http://www.bluestop.org/wmclock/ Package: wmclock Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: dockable clock applet for Window Maker wmclock is an applet for Window Maker which displays the date and time in a dockable tile. It features multiple language support, 24h or 12h time display, and can run a user-specified program on mouse click. debian/wmclock.manpages0000644000000000000000000000001411476465751012355 0ustar wmclock.man debian/compat0000644000000000000000000000000212214246002010355 0ustar 9 debian/wmclock.docs0000644000000000000000000000000711476465756011521 0ustar README debian/rules0000755000000000000000000000020512226606311010242 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_install: dh_auto_install $(MAKE) install.share DESTDIR=$(CURDIR)/debian/wmclock/usr debian/patches/0000755000000000000000000000000012217204165010615 5ustar debian/patches/manpage_xpm_notes.patch0000644000000000000000000000177711571660744015371 0ustar Description: Document Debian-specific XPM files location Add a section about usage of translated XPM files in Debian. Author: Sandro Tosi Index: wmclock-1.0.14/wmclock.man.in =================================================================== --- wmclock-1.0.14.orig/wmclock.man.in 2011-06-02 12:11:40.157887000 +0200 +++ wmclock-1.0.14/wmclock.man.in 2011-06-02 12:11:45.337865330 +0200 @@ -160,6 +160,21 @@ the bottom. The weekday abbreviations must also be arranged vertically, beginning with Monday at the top and continuing to Sunday at the bottom. +.PP +On Debian systems you can find XPM files for a variety of languages in: +.PP +.RS +.BR /usr/share/wmclock/ +.RE +.PP +For example, to have a French display, you could use the following +command line: +.PP +.RS +.TQ +wmclock \-monthxpm /usr/share/wmclock/lang.french/month.xpm \-weekdayxpm /usr/share/wmclock/lang.french/weekday.xpm +.RE +.PP .SS Obsolete Options .PP In order to maintain command-line compatibility (mostly) with debian/patches/correct_year.patch0000644000000000000000000000151512217160536014324 0ustar Description: When the -year option is selected, the 4th digit of the year is used in place of the 2nd digit. This is due to a typo in the showYear function. Author: Doug Torrance Bug-Debian: http://bugs.debian.org/723887 --- wmclock-1.0.14.orig/wmclock.c +++ wmclock-1.0.14/wmclock.c @@ -490,7 +490,7 @@ void showYear(void) XCopyArea(dpy, led.pixmap, visible.pixmap, normalGC, digitXOffset , digitYOffset, LED_NUM_WIDTH, LED_NUM_HEIGHT, xPos[DIGIT_1_X_POS], yPos[DIGIT_Y_POS]); - digitXOffset = LED_NUM_WIDTH * ((year % 100) % 10); + digitXOffset = LED_NUM_WIDTH * ((year / 100) % 10); XCopyArea(dpy, led.pixmap, visible.pixmap, normalGC, digitXOffset , digitYOffset, LED_NUM_WIDTH, LED_NUM_HEIGHT, xPos[DIGIT_2_X_POS], yPos[DIGIT_Y_POS]); debian/patches/fix_12_year_display.patch0000644000000000000000000000142011571660754015504 0ustar Description: Fix display when both -12 and -year are given Author: Vino Fernando Crescini Bug-Debian: http://bugs.debian.org/228985 Index: wmclock-1.0.14/wmclock.c =================================================================== --- wmclock-1.0.14.orig/wmclock.c 2010-12-22 13:12:28.000000000 +0100 +++ wmclock-1.0.14/wmclock.c 2011-06-02 12:11:51.233840631 +0200 @@ -849,7 +849,14 @@ #endif /* !ONLY_SHAPED_WINDOW */ for (i = 0; i < NUM_TIME_POSITIONS; i++) { - xPos[i] += enable12HourClock ? timePos24[i] : timePos12[i]; + if (enable12HourClock && (!enableYearDisplay)) + { + xPos[i] += timePos24[i]; + } + else + { + xPos[i] += timePos12[i]; + } } /* Open the display */ debian/patches/series0000644000000000000000000000013112217204125012021 0ustar manpage_fixes.patch manpage_xpm_notes.patch fix_12_year_display.patch correct_year.patch debian/patches/manpage_fixes.patch0000644000000000000000000000136611571660737014467 0ustar Description: Manpage fixes Fix first line and use proper escape sequence for (c) character. Author: Sandro Tosi Index: wmclock-1.0.14/wmclock.man.in =================================================================== --- wmclock-1.0.14.orig/wmclock.man.in 2010-12-22 13:12:19.000000000 +0100 +++ wmclock-1.0.14/wmclock.man.in 2011-06-02 12:11:40.157887000 +0200 @@ -24,9 +24,7 @@ .TH wmclock 1x "@DATE@" "Version @VERSION@" .\" ---------------------------------------------------------------- .SH NAME -.PP -.BR wmclock : -a dockable clock for the Window Maker window manager +wmclock \- A dockable clock for the Window Maker window manager .\" ---------------------------------------------------------------- .SH SYNOPSIS .HP debian/watch0000644000000000000000000000010711476465354010234 0ustar version=3 http://www.bluestop.org/wmclock/ wmclock-([\d\.]*)\.tar\.gz debian/README.Debian0000644000000000000000000000063511476464455011253 0ustar wmclock for Debian ------------------ This package of wmclock comes with XPM images for different languages, you can use them to have a localized display with options -monthxpm and -weekdayxpm, e.g. to have a French display: wmclock -monthxpm /usr/share/wmclock/lang.french/month.xpm -weekdayxpm /usr/share/wmclock/lang.french/weekday.xpm -- Romain Francoise , Sun Oct 5 22:09:10 2003 debian/wmclock.menu0000644000000000000000000000021711476464455011533 0ustar ?package(wmclock):needs="x11" \ section="Applications/System/Administration" hints="Clocks" title="Wmclock" \ command="/usr/bin/wmclock" debian/copyright0000644000000000000000000000235312217157626011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: wmsystemtray Upstream-Contact: Jim Knoble Source: http://www.bluestop.org/wmclock/ Files: * Copyright: 1999 Jim Knoble License: GPL-2+ Files: debian/* Copyright: 2001 Szabolcs Horvath 2003 Romain Francoise 2007 Sandro Tosi 2010 Julien Blache 2013 Doug Torrance License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'debian/wmclock.dirs0000644000000000000000000000005511476464455011530 0ustar usr/bin usr/share/man/man1 usr/share/wmclock debian/changelog0000644000000000000000000002044512226606405011050 0ustar wmclock (1.0.14-3) unstable; urgency=low * debian/copyright + Update to copyright format 1.0. * debian/patches + Fix incorrect year with -year option (Closes: #723887). * debian/rules + Install translated xpms again (Closes: #725677). -- Doug Torrance Mon, 07 Oct 2013 18:07:12 -0500 wmclock (1.0.14-2) unstable; urgency=low * New maintainer (Closes: #688534). * debian/compat + Bump to 9. * debian/control + Bump Standards-Version to 3.9.4, no changes required. * debian/rules + Simplified to debhelper 7 style. -- Doug Torrance Thu, 12 Sep 2013 00:07:25 -0500 wmclock (1.0.14-1) unstable; urgency=low * New upstream release. * debian/control: + Do not recommend wmaker, as dockapps can be used with a number of other window managers (Closes: #624484). + Bump Standards-Version to 3.9.2 (no changes). -- Julien BLACHE Thu, 02 Jun 2011 12:07:58 +0200 wmclock (1.0.13-1) unstable; urgency=low * New upstream release. * Switch to source format 3.0 (quilt). * debian/control: + Bump Standards-Version to 3.9.1 (no changes). + Update Homepage field for new upstream website. + Drop dpatch build-dep. * debian/copyright: + Updated to reflect new upstream maintainer and website. * debian/watch: + Updated for new upstream website. * debian/rules: + Removed dpatch support. * debian/lang.polish: + Removed; a better version is now provided by upstream. * debian/patches/21_fix_year_display.dpatch: + Removed; proper fix added upstream. * debian/patches/23_select_dont_sleep.dpatch: + Removed; applied upstream. * debian/patches/*: + Renamed and refreshed. -- Julien BLACHE Sat, 04 Dec 2010 17:37:47 +0100 wmclock (1.0.12.2-10) unstable; urgency=low * debian/control: + New maintainer (Closes: #490735). + Reorder Build-Depends. + Remove extraneous spaces in description. * debian/changelog: + Fixed typos in previous entries. * debian/README.source: + Remove useless file. * debian/patches/00-fix_manpage_source_chgs_prior_adoption.dpatch: + Renamed to 20_manpage_xpm_notes.dpatch. + Add patch description. * debian/patches/00-fix_wmclockc_source_chgs_prior_adoption.dpatch: + Renamed to 21_fix_year_display.dpatch. + Add patch description. * debian/patches/10-fix_manpage_lintian_warning.dpatch, debian/patches/20_fix_manpage_name.dpatch: + Coalesced into 10_manpage_fixes.dpatch. + Add a proper patch description. * debian/patches/22_fix_12_year_display.dpatch: + Added; add back fix for broken display when both -12 and -year are given on the command line. Fix got lost at some point. * debian/patches/23_select_dont_sleep.dpatch: + Added; use select() instead of sleeping in order to reduce wakeups (Closes: #495468). -- Julien BLACHE Sun, 16 Nov 2008 18:42:27 +0100 wmclock (1.0.12.2-9) unstable; urgency=low * debian/control - removed x11proto-xext-dev build-dep since libxext-dev already depends on it - replaced xutils build-dep with xutils-dev; thanks to Daniel Schepler for the report; (Closes: #485239) - bump Standards-Version to 3.8.0 + debian/README.source added -- Sandro Tosi Fri, 11 Jul 2008 23:20:13 +0200 wmclock (1.0.12.2-8) unstable; urgency=low * debian/control - adding build-dependency (Closes: #450537) - bump Standard-Version to 3.7.3 * debian/rules - some little changes * debian/copyright - indented with 4 spaces * debian/menu - updated to new menu policy * debian/patches/20_fix_manpage_name.dpatch - added to fix manpage first line (lintian warning) -- Sandro Tosi Thu, 27 Dec 2007 19:20:07 +0100 wmclock (1.0.12.2-7) unstable; urgency=low * Adopting package (Closes: #439966) * debian/control - add myself as maintainer - added Homepage field to source stanza - little reorg of short and long description - depends against debhelper at least version 5 - added dependency against dpatch * debian/watch - added * debian/compat - bump to 5 * debian/copyright - added myself as new maintainer - added new upstream website address - reported upstream as copyright holder, along with asclock copyright holders, since wmclock derives from that - separated license and copyright section (previous mixed up) - fixed license location on a debian machine (it is GPLv2 not GPLv1) * debian/rules - removed unused dh_ tools calls - added explicit file names to dh_installdocs - removed "-n" param from dh_installmenu call - added dpatch stuff - installing debian/lang.* too * debian/wmclock.docs - removed since merged with debian/rules * debian/wmclock.menu - renamed wmclock.menu to menu * debian/menu - menu section is Applications * debian/wmclock.post{inst,rm} - deleted since menu update is managed by dh_installmenu * wmclock.man.in - taken back to upstream version * debian/patches/00-fix_manpage_source_chgs_prior_adoption.dpatch - apply source code modification done (before adoption) without patching * debian/patches/00-fix_wmclockc_source_chgs_prior_adoption.dpatch - apply source code modification done (before adoption) without patching * debian/patches/10-fix_manpage_lintian_warning.dpatch - added to fix a lintian warning about (c) character in manpage represented using extended char and not with "\(co)" escape sequence * debian/lang.polish/* - moved here since they are provided by Debian maintainer, not upstream -- Sandro Tosi Wed, 19 Dec 2007 22:59:04 +0100 wmclock (1.0.12.2-6) unstable; urgency=low * debian/control: + Set maintainer to Debian QA group. + Bump Standards-Version to 3.7.2, no changes needed. -- Romain Francoise Tue, 28 Aug 2007 21:38:43 +0200 wmclock (1.0.12.2-5) unstable; urgency=low * Add Polish versions of the XPM files courtesy of Kacper Perschke. * debian/control: change Build-Depends to libx11-dev, libxpm-dev. -- Romain Francoise Fri, 15 Apr 2005 20:25:10 +0200 wmclock (1.0.12.2-4) unstable; urgency=low * Apply patch from Vino Fernando Crescini to fix -12 and -year combined display (Closes: #228985). -- Romain Francoise Sun, 25 Jan 2004 15:48:43 +0100 wmclock (1.0.12.2-3) unstable; urgency=low * New maintainer (Closes: #214392). * debian/control: + Update maintainer contact info. + Bump Standards-Version to 3.6.1.0. + Build-Depends on debhelper (>= 4). + Add Depends on ${misc:Depends}. + Add Recommends on wmaker. + Rewrite synopsis and description, including upstream URL. * debian/copyright: + Update maintainer information. + Clarify license info. + Reword sentence about the location of the GNU GPL on Debian systems. * debian/rules: + Major facelift, separating configure and build stages. + Remove old DH_COMPAT variables. + Install localized XPM images in /usr/share/wmclock/. + Call dh_installmenu -n. * debian/compat: New file. * debian/README.Debian: New file, explaining how to use the localized display. * debian/wmclock.{postinst,postrm,menu}: New files. Install wmclock in the Debian menu in Apps/Tools. * Don't ship the manpage in the Debian diff, use the version provided by upstream since they are identical. Include information about the localized XPM files. * Acknowledging NMU (Closes: #105699). * Include patch to fix -year display (Closes: #126742). -- Romain Francoise Mon, 6 Oct 2003 20:19:30 +0200 wmclock (1.0.12.2-2.1) unstable; urgency=low * Non-maintainer upload. * debian/control: added build-dependency on xutils (Closes: #105699) -- Branden Robinson Wed, 18 Jul 2001 17:27:06 -0500 wmclock (1.0.12.2-2) unstable; urgency=low * Source dependency xlibs-dev added. (Closes: #99377) -- Szabolcs Horvath Mon, 4 Jun 2001 07:58:30 +0000 wmclock (1.0.12.2-1) unstable; urgency=low * Initial Release. (Closes: #93782) -- Szabolcs Horvath Sun, 15 Apr 2001 07:08:38 +0000