--- xphoon-20000613.orig/xphoon.man +++ xphoon-20000613/xphoon.man @@ -1,4 +1,4 @@ -.TH xphoon 1 "6 April 1999" +.TH xphoon 6 "6 April 1999" .SH NAME xphoon - displays the PHase of the mOON on the root window .SH SYNOPSIS --- xphoon-20000613.orig/xphoon.c +++ xphoon-20000613/xphoon.c @@ -25,6 +25,7 @@ #include #include /* added by Lalo Martins */ #include +#include /* added by Jeff King */ #include "tws.h" @@ -202,9 +203,14 @@ tty = open( "/dev/tty", 0 ); if ( tty < 0 ) { - (void) fprintf( stderr, "%s: ", argv0 ); - perror( "/dev/tty open" ); - exit( 1 ); + /* if we don't have a tty, don't flag an error + * Jeff King, Aug 20 2003 */ + if ( errno != ENXIO ) + { + (void) fprintf( stderr, "%s: ", argv0 ); + perror( "/dev/tty open" ); + exit( 1 ); + } } else { --- xphoon-20000613.orig/debian/menu +++ xphoon-20000613/debian/menu @@ -1,2 +1,5 @@ -?package(xphoon):needs="x11" section="Screen/Root-window"\ - title="X Phoon" command="/usr/games/xphoon" +?package(xphoon):\ + needs="x11"\ + section="Games/Toys"\ + title="X Phase of Moon"\ + command="/usr/games/xphoon" --- xphoon-20000613.orig/debian/compat +++ xphoon-20000613/debian/compat @@ -0,0 +1 @@ +5 --- xphoon-20000613.orig/debian/control +++ xphoon-20000613/debian/control @@ -1,13 +1,14 @@ Source: xphoon Section: games -Priority: extra -Build-Depends: debhelper -Maintainer: Sean 'Shaleh' Perry -Standards-Version: 3.0 +Priority: optional +Build-Depends: debhelper (>= 5), libxext-dev, libx11-dev, xutils-dev +Maintainer: Ricardo Mones +Standards-Version: 3.8.3 +Homepage: http://xphoon.sourceforge.net/ Package: xphoon Architecture: any -Depends: ${shlibs:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} Description: sets the root window to a picture of the moon xphoon sets the X root window to a picture of the moon in its current phase, including the partial lighting of the dark side by reflected earthlight. --- xphoon-20000613.orig/debian/changelog +++ xphoon-20000613/debian/changelog @@ -1,6 +1,114 @@ +xphoon (20000613-15) unstable; urgency=low + + * debian/control + - Update Standards-Version to 3.8.3 (no other changes) + - Added ${misc:Depends} to binary package + + -- Ricardo Mones Sat, 16 Jan 2010 01:04:42 +0100 + +xphoon (20000613-14) unstable; urgency=low + + * New maintainer (Closes: #435898) + * debian/control + - Changed maintainer address, bumped Standards-Version, added Homepage + * debian/menu; debian/xphoon.files; debian/post* + - Better title; removed trailing blank line; removed default scripts + + -- Ricardo Mones Fri, 17 Oct 2008 02:40:36 +0200 + +xphoon (20000613-13) unstable; urgency=low + + * QA upload. + * Switch to debhelper 5. + * Update build dependencies for X11R7. + - Replace xutils with xutils-dev. + - Remove x-dev. + * debian/menu: Update section to Games/Toys. + * debian/rules: Let dh_strip take care of stripping. Closes: #438318. + * debian/rules: Add support for DEB_BUILD_OPTIONS=noopt. + * debian/rules: Don't ignore errors when cleaning. + + -- Matej Vela Sun, 26 Aug 2007 19:32:23 +0200 + +xphoon (20000613-12) unstable; urgency=low + + * orphan + + -- Junichi Uekawa Sat, 04 Aug 2007 09:34:44 +0900 + +xphoon (20000613-11) unstable; urgency=low + + * dh_compat: 4 + * Standards-Version: 3.7.2 + * xphoon.man is section 6, reflect it to content. + + -- Junichi Uekawa Sat, 12 Aug 2006 23:51:23 +0900 + +xphoon (20000613-10) unstable; urgency=low + + * Bug fix: "xphoon: FTBFS: build-depends on removed xlibs-dev" + change to libxext-dev and libx11-dev + (Closes: #346835). + + -- Junichi Uekawa Mon, 9 Jan 2006 13:10:58 +0900 + +xphoon (20000613-9) unstable; urgency=low + + * Apply fix for the patch from Jeff King + + -- Junichi Uekawa Fri, 22 Aug 2003 19:03:02 +0900 + +xphoon (20000613-8) unstable; urgency=low + + * No idea what the current status of this package is, but noone seems to + have touched it, and I'm still listed as the maintainer, I'm taking + my liberty to upload a new package. + * Bug#206319: xphoon: -i (background) requires a tty + Apply patch from Jeff King , (closes: #206319) + + -- Junichi Uekawa Wed, 20 Aug 2003 23:30:32 +0900 + +xphoon (20000613-7) unstable; urgency=low + + * new maintainer. (closes: #106110) + + -- Matthew Vernon Fri, 26 Oct 2001 11:22:18 +0100 + +xphoon (20000613-6) unstable; urgency=low + + * new maintainer. (closes: 100273) + * bumped standards-version to 3.5.5 + + -- Junichi Uekawa Sat, 21 Jul 2001 23:51:44 +0900 + +xphoon (20000613-5) unstable; urgency=low + + * Changed priority from extra to optional to fix override disparity. + + -- Dr. Guenter Bechly Sat, 24 Feb 2001 23:36:11 +0100 + +xphoon (20000613-4) unstable; urgency=low + + * Adopting package; closes: #86869 + + -- Dr. Guenter Bechly Fri, 23 Feb 2001 21:21:34 +0100 + +xphoon (20000613-3) unstable; urgency=low + + * Orphaning package + + -- Sean 'Shaleh' Perry Tue, 20 Feb 2001 15:52:39 -0800 + +xphoon (20000613-2) unstable; urgency=low + + * Brought package to 3.2.x policy, Closes: #84673 + + -- Sean 'Shaleh' Perry Wed, 7 Feb 2001 15:37:54 -0800 + xphoon (20000613-1) unstable; urgency=low * New maintainer upload + * closes: #42217 -- Sean 'Shaleh' Perry Tue, 13 Jun 2000 14:36:54 -0700 @@ -53,7 +161,4 @@ -- David Frey Tue, 4 Nov 1997 00:01:00 +0100 -Local variables: -mode: debian-changelog -add-log-mailing-address: "shaleh@debian.org" -End: + --- xphoon-20000613.orig/debian/rules +++ xphoon-20000613/debian/rules @@ -2,43 +2,46 @@ package=xphoon -b=$(shell pwd)/debian/build -i=$(shell pwd)/debian/tmp +CDEBUGFLAGS = -Dlint -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CDEBUGFLAGS += -O0 +else + CDEBUGFLAGS += -O2 +endif -build: - xmkmf && make CCOPTIONS="-O2 -Wall -Dlint" && touch build +build: build-stamp +build-stamp: + dh_testdir + xmkmf + $(MAKE) CDEBUGFLAGS="$(CDEBUGFLAGS)" + touch build-stamp clean: - -rm -f build - -make clean - -rm -f `find . -name "*~"` Makefile - -rm -rf debian/tmp debian/files* core debian/substvars + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean install: build dh_testdir dh_testroot - dh_clean - rm -rf debian/build - mkdir -p debian/tmp/usr/doc/xphoon + dh_clean -k + dh_installdirs + dh_install $(package) usr/games binary-indep: build install -# There are no architecture-independent files to be uploaded -# generated by this package. If there were any they would be -# made here. - -binary-arch: build install \ - xphoon - -xphoon: install - install -d $(i) -d $(i)/usr/games -d $(i)/usr/man/man6 - install -s -m 755 $(package) $(i)/usr/games - install -m 644 $(package).man $(i)/usr/man/man6/$(package).6x - dh_installdocs README + +binary-arch: build install + dh_testdir + dh_testroot dh_installchangelogs - dh_strip - dh_compress + dh_installdocs README dh_installmenu - dh_installmanpages + dh_installman $(package).man + dh_link + dh_strip + dh_compress dh_fixperms dh_installdeb dh_shlibdeps @@ -46,8 +49,5 @@ dh_md5sums dh_builddeb -# Below here is fairly generic really - -binary: binary-indep binary-arch - -.PHONY: binary binary-arch binary-indep clean +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- xphoon-20000613.orig/debian/xphoon.files +++ xphoon-20000613/debian/xphoon.files @@ -1,4 +1,3 @@ usr/games usr/man/man6 usr/doc - --- xphoon-20000613.orig/debian/copyright +++ xphoon-20000613/debian/copyright @@ -1,7 +1,8 @@ -This package was debianized by David Frey on +This package was initially debianized by David Frey on Mon Nov 3 21:41:25 CET 1997 -Now maintained by Sean 'Shaleh' Perry +and was maintained by Sean 'Shaleh' Perry +and is now maintained by Junichi Uekawa I (David Frey) got it from sunsite.cnlab-switch.ch:/mirror/X11/R5-contrib/xphoon.tar.Z. --- xphoon-20000613.orig/debian/pbuilder-test/001_ldd +++ xphoon-20000613/debian/pbuilder-test/001_ldd @@ -0,0 +1,3 @@ +#!/bin/bash + +ldd /usr/games/xphoon