Add initial files

parents
xarclock (1.0-15) unstable; urgency=medium
* QA upload.
* debian/control:
- Added Vcs-* fields.
- Bumped Standards-Version to 4.3.0.
- New format to debhelper-compat and updated level to 12.
* debian/compat: deleted.
* debian/copyright:
- Updated Format field with https.
- Updated Paulo's email.
- Updated packaging copyright years.
* debian/upstream/metadada: created.
-- Paulo Henrique de Lima Santana (phls) <phls@debian.org> Thu, 31 Jan 2019 14:48:53 -0200
xarclock (1.0-14) unstable; urgency=medium
* QA upload.
* Ack for NMU. (Closes: #346758)
* Updated DH level to 10.
* debian/control:
- Bumped Standards-Version to 3.9.8.
- Homepage field updated.
* debian/copyright:
- Converted to format 1.0.
- Updated all information.
* debian/dirs: deleted because it is unnecessary.
* debian/docs: created to include README file.
* debian/patches/10_fix-gcc-hardening.patch: fixed hardening problems
with CFLAGS and LDFLAGS.
* debian/rules: added the DEB_BUILD_MAINT_OPTIONS variable to improve
the GCC hardening.
* debian/xarclock.1: fixed spelling error in manpage.
* debian/watch:
- Added a fake site to explain about the current status of the original
upstream site.
- Bumped to version 4.
-- Paulo Henrique de Lima Santana (phls) <phls@softwarelivre.org> Mon, 02 Jan 2017 15:43:20 -0200
xarclock (1.0-13) unstable; urgency=low
* QA upload.
* debian/control, debian/compat
- Set maintainer to Debian QA group
- Add ${misc:Depends} to binary package depends
- Require debhelper version 9
- Update Standards-Version to 3.9.3 (no other changes)
- Add Homepage field pointing to freecode page because web page
in download directory lacks download links
* debian/rules, debian/manpages, debian/install
- Switch to debhelper sequencer
* debian/source/format, debian/patches/*
- Switch to dpkg-source 3.0 (quilt) format
* debian/watch
- Add watch file
-- Ricardo Mones <mones@debian.org> Sun, 01 Apr 2012 01:39:16 +0200
xarclock (1.0-12) unstable; urgency=low
* Fix bad (obsolete) build dependency on xutils (closes: #485531).
* Support nostrip option for dpkg build (closes: #438283).
* Fix man page typo found thanks to A. Costa (closes: #477630).
* Rename round() to iround() to avoid conflict with standard library.
* Updated to newest standards.
-- Chris Waters <xtifr@debian.org> Thu, 02 Oct 2008 01:08:06 -0700
xarclock (1.0-11.1) unstable; urgency=low
* Non-maintainer upload to do xlibs-dev transition.
* Updated Build-Depends to not depend on xlibs-dev but libx11-dev,
libxkbfile-dev, libxmu-dev, libxt-dev and x-dev. (Closes: #346758)
-- Marc 'HE' Brockschmidt <he@debian.org> Wed, 18 Jan 2006 10:05:34 +0100
xarclock (1.0-11) unstable; urgency=low
* Updated to newest standards.
-- Chris Waters <xtifr@debian.org> Thu, 22 May 2003 20:50:15 -0700
xarclock (1.0-10) unstable; urgency=low
* Added missing build-depends on libxaw7-dev (closes: #113272)
-- Chris Waters <xtifr@debian.org> Mon, 24 Sep 2001 03:25:06 -0700
xarclock (1.0-9) unstable; urgency=low
* added '#include <time.h>' to work around annoying change to xlibs
headers. (closes:#87364)
* added missing build-depends on xutils (closes:#86587, #86616)
-- Chris Waters <xtifr@debian.org> Wed, 28 Feb 2001 13:27:13 -0800
xarclock (1.0-8) unstable; urgency=low
* updated standards version, added build-depends
* moved everything out of /usr/X11R6 (new policy)
-- Chris Waters <xtifr@debian.org> Wed, 14 Feb 2001 13:42:42 -0800
xarclock (1.0-7) unstable; urgency=low
* added menu entry
* made -arabic the default (now matches documentation and probably
people's expectations).
-- Chris Waters <xtifr@debian.org> Mon, 22 Nov 1999 01:07:46 -0800
xarclock (1.0-6) unstable; urgency=low
* fixed illegal declaration of main(), no longer returns random garbage.
* new maintainer
-- Chris Waters <xtifr@debian.org> Mon, 5 Jul 1999 04:17:33 -0700
xarclock (1.0-5) unstable; urgency=low
* Changed location of man-page to /usr/X11R6/man
-- Andreas Franzen <Andreas.Franzen@nordkom.netsurf.de> Fri, 13 Mar 1998 03:55:00 +1100
xarclock (1.0-4) unstable; urgency=low
* New maintainer
* Priority changed from extra to optional
* Converted from X11R4 to X11R6.3
-- Andreas Franzen <Andreas.Franzen@nordkom.netsurf.de> Sat, 13 Dec 1997 23:55:00 +1100
xarclock (1.0-3.1) unstable; urgency=low
* Non-maintainer release
* Compiled with libc6
-- Hamish Moffatt <hamish@debian.org> Tue, 9 Dec 1997 12:36:00 +1100
xarclock (1.0-3) unstable; urgency=low
* New package format
* New maintainer address
-- Martin Schulze <joey@infodrom.north.de> Mon, 28 Apr 1997 11:52:12 +0200
Sat Jan 4 17:12:42 1997 Martin Schulze <joey@finlandia.infodrom.north.de>
* Converted to new name schema
* Removed empty conffiles
Sun Dec 22 11:55:14 1996 Martin Schulze <joey@finlandia.infodrom.north.de>
* debian.rules: Installed ChangeLog
Wed May 29 22:47:31 1996 Martin Schulze <joey@finlandia.infodrom.north.de>
* xarclock.1: wrote it
* tried it
* packaged it
* fetched the package
Source: xarclock
Section: x11
Priority: optional
Maintainer: Debian QA Group <packages@qa.debian.org>
Standards-Version: 4.3.0
Build-Depends: debhelper-compat (= 12),
libx11-dev,
libxaw7-dev,
libxmu-dev,
libxt-dev,
xutils-dev,
Homepage: https://www.ibiblio.org/pub/Linux/X11/clocks
Vcs-Browser: https://salsa.debian.org/phls/xarclock
Vcs-Git: https://salsa.debian.org/phls/xarclock.git
Package: xarclock
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
Description: reversed xclock
If clocks had been invented in Argentina (southern hemisphere), they
would run counter-clockwise. Down there a sundial runs the other way
around!
.
The program is an extension of the standard X clock widget. New
features are: Configurable direction of rotation and font support in
analog mode.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: xarclock
Source: https://www.ibiblio.org/pub/Linux/X11/clocks
Files: *
Copyright: 1987-1988, Digital Equipment Corporation, Maynard, Massachusetts
1987-1989, X Consortium
1994, Jaime Garcia Ghirelli <jaime@inforamp.net>
License: X/MIT and MIT-variant
Files: debian/*
Copyright: 1996-1997, Martin Schulze <joey@infodrom.north.de>
1997-1998, Andreas Franzen <Andreas.Franzen@nordkom.netsurf.de>
1997, Hamish Moffatt <hamish@debian.org>
1999-2003, 2008, Chris Waters <xtifr@debian.org>
2006, Marc 'HE' Brockschmidt <he@debian.org>
2012, Ricardo Mones <mones@debian.org>
2017-2019, Paulo Henrique de Lima Santana (phls) <phls@debian.org>
License: X/MIT and MIT-variant
License: X/MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
.
Except as contained in this notice, the name of the X Consortium shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from the X Consortium.
License: MIT-variant
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Digital not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
.
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
xarclock_1.0-15_source.buildinfo x11 optional
xarclock /usr/bin
debian/xarclock.1
?package(xarclock):needs="X11" \
section="Games/Toys" \
hints="Clocks" \
longtitle="Reverse Clock (for Southern Hemisphere)" \
title="xarclock" \
command="/usr/bin/xarclock"
Description: fix hardening problems with CFLAGS and LDFLAGS.
Author: Paulo Henrique de Lima Santana (phls) <phls@softwarelivre>
Last-Update: 2017-01-05
Index: xarclock-1.0/Imakefile
===================================================================
--- xarclock-1.0.orig/Imakefile
+++ xarclock-1.0/Imakefile
@@ -1,6 +1,6 @@
XCOMM $XConsortium: Imakefile /main/17 1996/01/14 16:50:54 kaleb $
# modified by Andreas Franzen, 13 Dez 1997
- CCOPTIONS = -O2 -g -Wall
+ CCOPTIONS = -O2 -g -Wall -fstack-protector-strong -Wformat -Werror=format-security -fPIE -pie -Wl,-z,relro -Wl,-z,now
DEPLIBS = XkbClientDepLibs XawClientDepLibs
LOCAL_LIBRARIES = XkbClientLibs XawClientLibs -lm
SRCS = xarclock.c ARClock.c
This diff is collapsed.
debian-1.0-12.patch
10_fix-gcc-hardening.patch
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@
override_dh_auto_build:
xmkmf
dh_auto_build
Name: trueprint
Bug-Database: http://www.ibiblio.org/pub/Linux/X11/clocks/
Bug-Submit: http://www.ibiblio.org/pub/Linux/X11/clocks/
Contact: jaime@inforamp.net
Repository: http://www.ibiblio.org/pub/Linux/X11/clocks/
Repository-Browse: http://www.ibiblio.org/pub/Linux/X11/clocks/
version=4
opts=dversionmangle=s/.*/0.No-Site/ \
https://people.debian.org/~eriberto/ FakeWatchNoUpstreamSiteForThisPackage-(\d\S+)\.gz
.\" xarclock - extended xclock(1)
.\" Copyright (c) 1995 Martin Schulze <Martin.Schulze@Linux.DE>
.\"
.\" 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 program; if not, write to the Free Software
.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.\"
.\" Some of the sentences used are taken from the xclock(1x)
.\" manpage that comes with X11.
.\"
.\" This manpage is written especially for Debian Linux.
.\"
.TH XARCLOCK 1 "29 May, 1996" "X11" "X Version 11"
.SH NAME
xarclock \- extended xclock(1)
.SH SYNOPSIS
.B xarclock
.RB [ "\-roman" ]
.RB [ "\-arabic" ]
.RB [ "\-south" ]
.RB [ "\-north" ]
.RB [ "\-analog" ]
.RB [ "\-digital" ]
.RB [ "\-chime" ]
.IR pixels ]
.RB [ "\-fg"
.IR color ]
.RB [ "\-bg"
.IR color ]
.RB [ "\-hd"
.IR color ]
.RB [ "\-hl"
.IR color ]
.RB [ "\-bd"
.IR color ]
.RB [ "\-fn"
.IR fontname ]
.RB [ "\-help" ]
.RB [ "\-padding"
.IR pixels ]
.RB [ "\-rv" ]
.RB [ "\-update"
.IR seconds ]
.RB [ "\-display"
.IR displayname ]
.RB [ "\-geometry"
.IR geom ]
.SH DESCRIPTION
The
.I xarclock
program displays the time in analog or digital, reverse or normal
form. The time is continuously updated at a frequency which may be
specified by the user. This program is based on the program
.BR xlock (1)
that is distributed together with the X11 release and is nothing more
than a wrapper around the Athena Clock widget.
This program is an extension of the standard X clock widget. New
features are: Configurable direction of rotation and font support in
analog mode.
.SH OPTIONS
.B Xarclock
accepts all of the standard X Toolkit command line options along with
the additional options listed below:
.TP
.B \-roman
This option specifies that roman digits should be used on an analog
clock.
.TP
.B \-arabic
This option specifies that arabic digits should be used on an analog
clock.
This is the default
.TP
.B \-south
This option specifies the direction the clock will turn, on the
southern half of the earth the 3, early afternoon, is on the left
side. This is the default.
.TP
.B \-north
This option specifies that the clock will behave like
.BR xclock (1).
.TP
.B \-analog
This option indicates that a conventional 12 hour clock face with tick
marks and hands should be used. This is the default.
.TP
.BR \-digital " (or " \-d )
This option indicates that a 24 hour digital clock should be used.
.TP
.B \-chime
This option indicates that the clock should chime
once on the half hour and twice on the hour.
.TP
.BI \-hd " color" " \fR(or\fP \-hands " color "\fR)"
This option specifies the color of the hands on an analog clock. The
default is
.IR black .
.TP
.BI \-hl " color" " \fR(or\fP \-highlight " color "\fR)"
This option specifies the color of the edges of the hands on an analog
clock, and is only useful on color displays. The default is
.IR black .
.TP
.BI \-fn " fontname"
This option sets the name of the used fonts on the analog clock to
.IR fontname .
.TP
.B \-help
This option indicates that a brief summary of the allowed options
should be printed on the standard error.
.TP
.BI \-padding " pixels"
This option specifies the width in pixels of the padding
between the window border and clock text or picture. The default is
10 on a digital clock and 8 on an analog clock.
.TP
.BI \-update " seconds"
This option specifies the frequency in seconds at which \fIxclock\fP
should update its display. If the clock is obscured and then exposed,
it will be updated immediately. A value of less than 30 seconds will
enable a second hand on an analog clock. The default is 60 seconds.
.SH X DEFAULTS
This program uses the
.I Athena Clock
widget. It understands all of the core resource names and classes as
well as:
.TP
.BR "width (" "class " Width)
Specifies the width of the clock. The default for analog clocks is 164
pixels; the default for digital clocks is whatever is needed to hold the
clock when displayed in the chosen font.
.TP
.BR "height (" "class " Height)
Specifies the height of the clock. The default for analog clocks is 164
pixels; the default for digital clocks is whatever is needed to hold the
clock when displayed in the chosen font.
.TP
.BR "update (" "class " Interval)
Specifies the frequency in seconds at which the time should be redisplayed.
.TP
.BR "foreground (" "class " Foreground)
Specifies the color for the tic marks. The default is depends on whether
\fIreverseVideo\fP is specified. If \fIreverseVideo\fP is specified
the default is \fIlwhite\fP, otherwise the default is \fIblack\fP.
.TP
.BR "hands (" "class " Foreground)
Specifies the color of the insides of the clock's hands. The default is
depends on whether
\fIreverseVideo\fP is specified. If \fIreverseVideo\fP is specified
the default is \fIlwhite\fP, otherwise the default is \fIblack\fP.
.TP
.BR "highlight (" "class " Foreground)
Specifies the color used to highlight the clock's hands. The default is
depends on whether
\fIreverseVideo\fP is specified. If \fIreverseVideo\fP is specified
the default is \fIlwhite\fP, otherwise the default is \fIblack\fP.
.TP
.BR "analog (" "class " Boolean)
Specifies whether or not an analog clock should be used instead of a digital
one. The default is True.
.TP
.BR "roman (" "class " Boolean)
Specifies whether roman or arabic digits should be used on the analog
clock. The default is True.
.TP
.BR "north (" "class " Boolean)
Specifies whether or not reverse direction of rotation of hands of the
analog clock should be used. The default is False.
.TP
.BR "chime (" "class " Boolean)
Specifies whether or not a bell should be rung on the hour and half hour.
.TP
.BR "padding (" "class " Margin)
Specifies the amount of internal padding in pixels to be used. The
default is 8.
.TP
.BR "font (" "class " Font)
Specifies the font to be used for the digital clock. Note that variable width
fonts currently will not always display correctly.
.SH WIDGETS
In order to specify resources, it is useful to know the hierarchy of
the widgets which compose \fIxclock\fR. In the notation below,
indentation indicates hierarchical structure. The widget class name
is given first, followed by the widget instance name.
.sp
.nf
.\" .TA .5i
.ta .5i
XClock xclock
Clock clock
.fi
.sp
.SH ENVIRONMENT
.PP
.TP
.B DISPLAY
to get the default host and display number.
.TP
.B XENVIRONMENT
to get the name of a resource file that overrides the global resources
stored in the RESOURCE_MANAGER property.
.SH FILES
.TP
.I /usr/X11R6/lib/X11/app-defaults/XClock
Specifies required resources
.SH COPYRIGHT
Original code copyrighted by Digital Equipment Corporation and the
Massachusetts Institute of Technology. The modifications made by
Jaime Garcia-Ghirelli (jaime@inforamp.net) remain in the public
domain.
This manual page is a mixture of recycled
.BR xclock (1)
stuff and new stuff by Martin Schulze (Martin.Schulze@linux.de)
.SH "SEE ALSO"
.BR X (1),
.BR xclock (1),
.BR xrdb (1),
.BR time (3C),
Athena Clock widget.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment