Import Debian changes 1.25-12
wmcalclock (1.25-12) unstable; urgency=low * New maintainer. Closes: #427133. * debian/control: - Bumped Standards-Version to 3.7.2. No changes. - Bumped debhelper version to 5.0. - Added homepage URL. - Changed description to support 30-hour day, an option added via a patch. Thanks to Reid Barton. Closes: #292736. - Added misc:Depends to Depends. - Added dpatch to Build-Depends. * Reformatted debian/copyright. * man page updated to support 30-hr day and corrected missing -g option. Thanks to Reid Barton again. Closes: #292735. * Bumped debian/compat to 5. * Added dpatch related language to debian/rules. Cleaned up minor cruft. * Removed debian/docs in favor of listing as parameters to dh_installdocs in debian/rules. Content of HINTS moved to README.Debian. No longer including README file from source.
This commit is contained in:

committed by
Doug Torrance

parent
f866e86671
commit
2d1efba338
28
debian/README.Debian
vendored
28
debian/README.Debian
vendored
@ -1,7 +1,29 @@
|
|||||||
wmcalclock for Debian
|
wmcalclock for Debian
|
||||||
---------------------
|
---------------------
|
||||||
This is Debian GNU/Linux's prepackaged version of wmCalclock, a simple
|
|
||||||
clock and calendar.
|
|
||||||
|
|
||||||
-- Dan Nguyen <dnn@debian.org> Fri, 9 Apr 1999 00:12:45 -0400
|
The man page for wmcalclock documents everything you might need to know to run
|
||||||
|
the program.
|
||||||
|
|
||||||
|
These additional notes from upstream:
|
||||||
|
|
||||||
|
WindowMaker.
|
||||||
|
------------
|
||||||
|
In WindowMaker simply drag and drop the wmCalClock App on the WindowMaker
|
||||||
|
Dock or Clip.
|
||||||
|
|
||||||
|
Afterstep.
|
||||||
|
---------
|
||||||
|
Afterstep users put the following in their .steprc "Wharf wmCalClock -
|
||||||
|
MaxSwallow "wmCalClock" wmCalClock &". Don't use Afterstep so I have no
|
||||||
|
idea if it works...
|
||||||
|
|
||||||
|
Note: AfterStep's Wharf supposedly has a problem with pixmaps that are
|
||||||
|
larger than 60x60 pixels. Please tell the AfterStep authors to fix this,
|
||||||
|
this is not our fault, but a Wharf problem!
|
||||||
|
|
||||||
|
Other window managers.
|
||||||
|
----------------------
|
||||||
|
wmCalClock shows as a 64x64 shaped icon on your desktop under other window
|
||||||
|
managers.
|
||||||
|
|
||||||
|
-- Kevin Coyner <kevin@rustybear.com> Mon, 04 Jun 2007 09:17:20 -0400
|
||||||
|
22
debian/changelog
vendored
22
debian/changelog
vendored
@ -1,3 +1,25 @@
|
|||||||
|
wmcalclock (1.25-12) unstable; urgency=low
|
||||||
|
|
||||||
|
* New maintainer. Closes: #427133.
|
||||||
|
* debian/control:
|
||||||
|
- Bumped Standards-Version to 3.7.2. No changes.
|
||||||
|
- Bumped debhelper version to 5.0.
|
||||||
|
- Added homepage URL.
|
||||||
|
- Changed description to support 30-hour day, an option added via a patch.
|
||||||
|
Thanks to Reid Barton. Closes: #292736.
|
||||||
|
- Added misc:Depends to Depends.
|
||||||
|
- Added dpatch to Build-Depends.
|
||||||
|
* Reformatted debian/copyright.
|
||||||
|
* man page updated to support 30-hr day and corrected missing -g option.
|
||||||
|
Thanks to Reid Barton again. Closes: #292735.
|
||||||
|
* Bumped debian/compat to 5.
|
||||||
|
* Added dpatch related language to debian/rules. Cleaned up minor cruft.
|
||||||
|
* Removed debian/docs in favor of listing as parameters to dh_installdocs in
|
||||||
|
debian/rules. Content of HINTS moved to README.Debian. No longer including
|
||||||
|
README file from source.
|
||||||
|
|
||||||
|
-- Kevin Coyner <kevin@rustybear.com> Mon, 04 Jun 2007 09:17:20 -0400
|
||||||
|
|
||||||
wmcalclock (1.25-11) unstable; urgency=low
|
wmcalclock (1.25-11) unstable; urgency=low
|
||||||
|
|
||||||
* Orphan package, set maintainer to Debian QA Group
|
* Orphan package, set maintainer to Debian QA Group
|
||||||
|
2
debian/compat
vendored
2
debian/compat
vendored
@ -1 +1 @@
|
|||||||
4
|
5
|
||||||
|
18
debian/control
vendored
18
debian/control
vendored
@ -1,16 +1,18 @@
|
|||||||
Source: wmcalclock
|
Source: wmcalclock
|
||||||
Section: x11
|
Section: x11
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Debian QA Group <packages@qa.debian.org>
|
Maintainer: Kevin Coyner <kevin@rustybear.com>
|
||||||
Build-Depends: debhelper (>> 3.0.0), libx11-dev, libxext-dev, libxpm-dev, x-dev
|
Build-Depends: debhelper (>= 5.0), libx11-dev, libxext-dev, libxpm-dev, x-dev, dpatch
|
||||||
Standards-Version: 3.6.1.0
|
Standards-Version: 3.7.2
|
||||||
|
|
||||||
Package: wmcalclock
|
Package: wmcalclock
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
Description: A dock.app which simply tells time and date
|
Description: A dock.app which simply tells time and date
|
||||||
wmCalclock is a dock app specifically written for Window Maker, but will
|
wmCalClock is a dock app specifically written for WindowMaker, but will work
|
||||||
work with other window managers. Some features include antialiased text
|
with other window managers. It features antialiased text display with the
|
||||||
display, with the ability to choose between different fonts, and colors.
|
ability to choose between different fonts and colors. wmCalclock supports
|
||||||
12 and 24 hour time, Greenwich time, Greenwich Mean Sidereal Time, and
|
12, 24 and 30 hour time, Greenwich time, Greenwich Mean Sidereal Time, and
|
||||||
Local Sidereal Time.
|
Local Sidereal Time.
|
||||||
|
.
|
||||||
|
Homepage: http://dockapps.org/file.php/id/9
|
||||||
|
23
debian/copyright
vendored
23
debian/copyright
vendored
@ -3,8 +3,23 @@ Tue, 25 May 1999 23:51:54 -0400.
|
|||||||
|
|
||||||
It was downloaded from http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml
|
It was downloaded from http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml
|
||||||
|
|
||||||
Upstream Author: Michael G. Henderson <mghenderson@lanl.gov>
|
Copyright: 1998, 1999 Michael G. Henderson <mghenderson@lanl.gov>
|
||||||
|
|
||||||
Copyright:
|
License:
|
||||||
It's license is GPLv2, which, on debian systems, is available at:
|
|
||||||
/usr/share/common-licenses/GPL.
|
This package 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 package 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, 51
|
||||||
|
Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
|
On Debian systems, the complete text of the GNU General Public License can be
|
||||||
|
found in `/usr/share/common-licenses/GPL'.
|
||||||
|
1
debian/docs
vendored
1
debian/docs
vendored
@ -1 +0,0 @@
|
|||||||
BUGS README TODO HINTS
|
|
3
debian/patches/00list
vendored
Normal file
3
debian/patches/00list
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
01_manpage_patch
|
||||||
|
02_30hr_patch
|
||||||
|
03_manapge_30hr_patch
|
19
debian/patches/01_manpage_patch.dpatch
vendored
Normal file
19
debian/patches/01_manpage_patch.dpatch
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||||
|
## 01_manpage_patch.dpatch by Kevin Coyner <kevin@rustybear.com>
|
||||||
|
##
|
||||||
|
## DP: manpage-patch
|
||||||
|
|
||||||
|
@DPATCH@
|
||||||
|
|
||||||
|
--- wmcalclock-1.25/Src/wmCalClock.1 1999-03-28 22:16:23.000000000 +0000
|
||||||
|
+++ wmcalclock-1.25-rwbarton/Src/wmCalClock.1 2005-01-29 10:02:30.000000000 +0000
|
||||||
|
@@ -25,6 +25,9 @@
|
||||||
|
.B \-24
|
||||||
|
Show time in 24-hour format instead of default 12-hour AM/PM format.
|
||||||
|
.TP
|
||||||
|
+.B \-g
|
||||||
|
+Show Greenwich Mean Time (GMT).
|
||||||
|
+.TP
|
||||||
|
.B \-s
|
||||||
|
Show Greenwich Mean Sidereal Time (GMST) in 24-hour format.
|
||||||
|
.TP
|
72
debian/patches/02_30hr_patch.dpatch
vendored
Normal file
72
debian/patches/02_30hr_patch.dpatch
vendored
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||||
|
## 02_30hr_patch.dpatch by Kevin Coyner <kevin@rustybear.com>
|
||||||
|
##
|
||||||
|
## DP: 30hr-patch See Debian bug #292736
|
||||||
|
## DP: Original patch from Reid W. Barton
|
||||||
|
## DP: Show local time in 30-hour format. Times between midnight and 6 AM
|
||||||
|
## DP: are displayed as belonging to the previous day,
|
||||||
|
|
||||||
|
@DPATCH@
|
||||||
|
|
||||||
|
--- wmcalclock-1.25/Src/wmCalClock.c~ 2007-06-04 11:16:43.000000000 -0400
|
||||||
|
+++ wmcalclock-1.25/Src/wmCalClock.c 2007-06-04 11:14:31.000000000 -0400
|
||||||
|
@@ -259,6 +259,7 @@
|
||||||
|
int yAMPM = 95;
|
||||||
|
int ydAMPM = 6;
|
||||||
|
int Show24HourTime = 0;
|
||||||
|
+int Show30HourTime = 0;
|
||||||
|
int ShowGreenwichTime = 0;
|
||||||
|
int ShowSiderealTime = 0;
|
||||||
|
double Longitude;
|
||||||
|
@@ -502,6 +503,26 @@
|
||||||
|
gmst = (gmst - (double)Mins)*60.0;
|
||||||
|
Secs = (int)gmst;
|
||||||
|
|
||||||
|
+ } else if (Show30HourTime){
|
||||||
|
+
|
||||||
|
+ CurrentLocalTime = time(CurrentTime);
|
||||||
|
+ Time = localtime(&CurrentLocalTime);
|
||||||
|
+
|
||||||
|
+ /* Careful. Need to handle daylight savings time changes correctly. */
|
||||||
|
+ if (Time->tm_hour < 6){
|
||||||
|
+ int old_hour = Time->tm_hour;
|
||||||
|
+ time_t new_time = CurrentLocalTime - 24 * 60 * 60;
|
||||||
|
+ Time = localtime(&new_time);
|
||||||
|
+ Time->tm_hour = old_hour + 24;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ DayOfMonth = Time->tm_mday-1;
|
||||||
|
+ DayOfWeek = Time->tm_wday;
|
||||||
|
+ Month = Time->tm_mon;
|
||||||
|
+ Hours = Time->tm_hour;
|
||||||
|
+ Mins = Time->tm_min;
|
||||||
|
+ Secs = Time->tm_sec;
|
||||||
|
+
|
||||||
|
} else {
|
||||||
|
|
||||||
|
CurrentLocalTime = time(CurrentTime);
|
||||||
|
@@ -803,6 +824,16 @@
|
||||||
|
|
||||||
|
Show24HourTime = 1;
|
||||||
|
|
||||||
|
+ } else if (!strcmp(argv[i], "-30")){
|
||||||
|
+
|
||||||
|
+ Show24HourTime = 1; /* Don't display AM/PM */
|
||||||
|
+ Show30HourTime = 1;
|
||||||
|
+
|
||||||
|
+ } else if (!strcmp(argv[i], "-30")){
|
||||||
|
+
|
||||||
|
+ Show24HourTime = 1; /* Don't display AM/PM */
|
||||||
|
+ Show30HourTime = 1;
|
||||||
|
+
|
||||||
|
} else if (!strcmp(argv[i], "-b")){
|
||||||
|
|
||||||
|
if ((i+1 >= argc)||(argv[i+1][0] == '-')) {
|
||||||
|
@@ -883,6 +914,7 @@
|
||||||
|
printf("\t-e \"Command\"\tCommand to execute via double click of mouse button 1.\n");
|
||||||
|
printf("\t-S\t\tDo not show seconds.\n");
|
||||||
|
printf("\t-24\t\tShow 24-hour time. Default is 12 hour AM/PM Time.\n");
|
||||||
|
+ printf("\t-30\t\tShow 30-hour local time (hour ranges from 6 to 29).\n");
|
||||||
|
printf("\t-g\t\tShow Greenwich time.\n");
|
||||||
|
printf("\t-s\t\tShow Greenwich Mean Sidereal Time (GMST) in 24-hour format. \n");
|
||||||
|
printf("\t-L <Longitude>\tShow Local Sidereal Time (LST) in 24-hour format. \n");
|
21
debian/patches/03_manapge_30hr_patch.dpatch
vendored
Normal file
21
debian/patches/03_manapge_30hr_patch.dpatch
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||||
|
## 03_manpage-30hr.dpatch by Kevin Coyner <kevin@rustybear.com>
|
||||||
|
##
|
||||||
|
## DP: mapage 30hr
|
||||||
|
|
||||||
|
@DPATCH@
|
||||||
|
|
||||||
|
--- wmcalclock-1.25/Src/wmCalClock.1~ 2007-06-04 11:37:04.000000000 -0400
|
||||||
|
+++ wmcalclock-1.25/Src/wmCalClock.1 2007-06-04 11:37:46.000000000 -0400
|
||||||
|
@@ -25,6 +25,11 @@
|
||||||
|
.B \-24
|
||||||
|
Show time in 24-hour format instead of default 12-hour AM/PM format.
|
||||||
|
.TP
|
||||||
|
+.B \-30
|
||||||
|
+Show local time in 30-hour format. Times between midnight and 6 AM
|
||||||
|
+are displayed as belonging to the previous day, so the hour ranges
|
||||||
|
+from 6 to 29.
|
||||||
|
+.TP
|
||||||
|
.B \-g
|
||||||
|
Show Greenwich Mean Time (GMT).
|
||||||
|
.TP
|
21
debian/rules
vendored
21
debian/rules
vendored
@ -22,19 +22,28 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
build: build-stamp
|
build: build-stamp
|
||||||
build-stamp:
|
build-stamp: patch
|
||||||
dh_testdir
|
dh_testdir
|
||||||
$(MAKE) CFLAGS="$(CFLAGS)"
|
$(MAKE) CFLAGS="$(CFLAGS)"
|
||||||
touch build-stamp
|
touch build-stamp
|
||||||
|
|
||||||
clean:
|
clean: clean-patched unpatch
|
||||||
|
|
||||||
|
clean-patched:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
rm -f build-stamp install-stamp
|
rm -f build-stamp install-stamp
|
||||||
-$(MAKE) clean
|
-$(MAKE) clean
|
||||||
|
|
||||||
dh_clean
|
dh_clean
|
||||||
|
|
||||||
|
patch: patch-stamp
|
||||||
|
patch-stamp:
|
||||||
|
dpatch apply-all
|
||||||
|
|
||||||
|
unpatch:
|
||||||
|
dpatch deapply-all
|
||||||
|
rm -rf patch-stamp debian/patched
|
||||||
|
|
||||||
install: install-stamp
|
install: install-stamp
|
||||||
install-stamp: build-stamp
|
install-stamp: build-stamp
|
||||||
dh_testdir
|
dh_testdir
|
||||||
@ -45,7 +54,6 @@ install-stamp: build-stamp
|
|||||||
mv $(BUILDDIR)/usr/man $(BUILDDIR)/usr/share
|
mv $(BUILDDIR)/usr/man $(BUILDDIR)/usr/share
|
||||||
ln -s wmcalclock $(BUILDDIR)/usr/bin/wmCalClock
|
ln -s wmcalclock $(BUILDDIR)/usr/bin/wmCalClock
|
||||||
ln -s wmcalclock.1 $(BUILDDIR)/usr/share/man/man1/wmCalClock.1
|
ln -s wmcalclock.1 $(BUILDDIR)/usr/share/man/man1/wmCalClock.1
|
||||||
|
|
||||||
touch install-stamp
|
touch install-stamp
|
||||||
|
|
||||||
# Build architecture-independent files here.
|
# Build architecture-independent files here.
|
||||||
@ -54,10 +62,9 @@ binary-indep: build install
|
|||||||
|
|
||||||
# Build architecture-dependent files here.
|
# Build architecture-dependent files here.
|
||||||
binary-arch: build install
|
binary-arch: build install
|
||||||
# dh_testversion
|
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_installdocs
|
dh_installdocs TODO BUGS
|
||||||
dh_installmenu
|
dh_installmenu
|
||||||
dh_installchangelogs CHANGES
|
dh_installchangelogs CHANGES
|
||||||
dh_link
|
dh_link
|
||||||
@ -74,4 +81,4 @@ source diff:
|
|||||||
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
|
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
|
||||||
|
|
||||||
binary: binary-indep binary-arch
|
binary: binary-indep binary-arch
|
||||||
.PHONY: build clean binary-indep binary-arch binary
|
.PHONY: build clean binary-indep binary-arch binary install patch unpatch clean-patched
|
||||||
|
Reference in New Issue
Block a user