--- libpoe-perl-0.9989.orig/debian/docs +++ libpoe-perl-0.9989/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- libpoe-perl-0.9989.orig/debian/xvfb-run +++ libpoe-perl-0.9989/debian/xvfb-run @@ -0,0 +1,123 @@ +#!/bin/sh + +# xvfb-run - run the specified command in a virtual X server + +# This script starts an instance of Xvfb, the "fake" X server, runs a +# command with that server available, and kills the X server when +# done. The return value of the command becomes the return value of +# this script. +# +# If anyone is using this to build a Debian package, make sure the +# package Build-Depends on xvfb, xbase-clients, and xfonts-base. + +set -e + +PROGNAME=xvfb-run +SERVERNUM=99 +AUTHFILE=$(pwd)/.Xauthority +ERRORFILE=/dev/null +STARTWAIT=3 +LISTENTCP="-nolisten tcp" +XAUTHPROTO=. + +# display a usage message +usage () { + cat << EOF +Usage: $PROGNAME [OPTION ...] command + +run specified X client or command in a virtual X server environment + +-a --auto-servernum try to get a free server number, starting at + --server-num +-e FILE --error-file=FILE file used to store xauth errors and Xvfb output + (defualt: $ERRORFILE) +-f FILE --auth-file=FILE file used to store auth cookie + (default: ./.Xauthority) +-h --help display this usage message and exit +-n NUM --server-num=NUM server number to use (default: $SERVERNUM) +-l --listen-tcp enable TCP port listening in the X server +-p PROTO --xauth-protocol=PROTO X authority protocol name to use + (defaults to xauth's default) +-w DELAY --wait=DELAY delay in seconds to wait for Xvfb to start + (default: $STARTWAIT) +EOF + :; +} + +# find free server number by looking at .X*-lock files in /tmp +find_free_servernum() { + i=$SERVERNUM + while [ -f /tmp/.X$i-lock ]; do + i=$(($i + 1)) + done + echo $i; +} + +# parse command line +ARGS=$(getopt --options +ae:f:hn:lp:w: \ + --long auto-servernum,authority-file:,server-num:error-file:,help,listen-tcp,wait:,xauth-protocol: \ + --name "$PROGNAME" -- "$@") + +if [ $? -ne 0 ]; then + echo "$PROGNAME: error while getting options" >&2 + exit 1 +fi + +eval set -- "$ARGS" + +while :; do + case "$1" in + -a|--auto-servernum) SERVERNUM=$(find_free_servernum) ;; + -e|--error-file) ERRORFILE="$1"; shift ;; + -f|--auth-file) AUTHFILE="$1"; shift ;; + -h|--help) SHOWHELP=1 ;; + -n|--server-num) SERVERNUM="$1"; shift ;; + -l|--listen-tcp) LISTENTCP="" ;; + -p|--xauth-protocol) XAUTHPROTO="$1"; shift ;; + -w|--wait) STARTWAIT="$1"; shift ;; + --) shift; break ;; + *) echo "$PROGNAME: error while parsing option \"$1\"" >&2; USAGE=$(usage); echo "$USAGE" >&2; exit 1 ;; + esac + shift +done + +if [ "$SHOWHELP" ]; then + usage + exit 0 +fi + +if [ -z "$*" ]; then + echo "$PROGNAME: need a command to run" >&2 + exit 2 +fi + +if ! which xauth > /dev/null; then + echo "$PROGNAME: xauth command not found; exiting." >&2 + exit 3 +fi + +# start Xvfb +rm -f $AUTHFILE +MCOOKIE=$(mcookie) +XAUTHORITY=$AUTHFILE xauth add :$SERVERNUM $XAUTHPROTO $MCOOKIE > $ERRORFILE 2>&1 +XAUTHORITY=$AUTHFILE Xvfb :$SERVERNUM -screen 0 1024x768x24 $LISTENTCP > $ERRORFILE 2>&1 & +XVFBPID=$! +sleep $STARTWAIT + +# start the command and save its exit status +set +e +DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE $@ 2>&1 +RETVAL=$? +set -e + +# kill Xvfb now that the command has exited +kill $XVFBPID + +# clean up +XAUTHORITY=$AUTHFILE xauth remove :$SERVERNUM > $ERRORFILE 2>&1 +rm $AUTHFILE + +# return the executed command's exit status +exit $RETVAL + +# vim:set ai et sts=4 sw=4 tw=0: --- libpoe-perl-0.9989.orig/debian/control +++ libpoe-perl-0.9989/debian/control @@ -0,0 +1,19 @@ +Source: libpoe-perl +Section: perl +Priority: optional +Maintainer: Steve Kowalik +Build-Depends-Indep: debhelper (>= 4), perl (>= 5.6.0-17), libfilter-perl, libio-pty-perl, libcurses-perl, libterm-readkey-perl, libevent-perl, libcompress-zlib-perl, libsocket6-perl, libtime-hires-perl, libwww-perl, perl-tk +Standards-Version: 3.6.1 + +Package: libpoe-perl +Architecture: all +Depends: ${perl:Depends}, libfilter-perl +Recommends: libwww-perl, libtime-hires-perl +Suggests: libio-pty-perl, libcurses-perl, libterm-readkey-perl, libevent-perl, libcompress-zlib-perl, libsocket6-perl, libgtk-perl, perl-tk +Conflicts: libpoe-perl0 (<= 0.1204-1) +Replaces: libpoe-perl0 (<= 0.1204-1) +Description: An event driven component architecture. + Stands for "Perl Object Environment", libraries for event driven state + machines, I/O abstraction and object management. It includes high level + interfaces for sockets, alarms, file I/O. It can be used as a cooperative + threading environment and/or a portable component architecture. --- libpoe-perl-0.9989.orig/debian/rules +++ libpoe-perl-0.9989/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +# Made with the aid of dh_make, by Craig Small +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Some lines taken from debmake, by Christoph Lameter. + +ifndef PERL +PERL=/usr/bin/perl +endif + +build: build-stamp +build-stamp: + dh_testdir + + echo 'y' | $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) CFLAGS="-O2 -g -Wall" + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp install-stamp + -${MAKE} realclean + + dh_clean + +test: build-stamp + chmod +x debian/xvfb-run + debian/xvfb-run $(MAKE) test + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean + dh_installdirs + + $(MAKE) install PREFIX=$(CURDIR)/debian/libpoe-perl/usr + + touch install-stamp + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installchangelogs CHANGES + dh_compress + dh_fixperms + dh_installdeb + dh_perl + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch + +.PHONY: binary binary-arch binary-indep clean test --- libpoe-perl-0.9989.orig/debian/watch +++ libpoe-perl-0.9989/debian/watch @@ -0,0 +1,5 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +ftp.cpan.org /pub/CPAN/authors/id/R/RC/RCAPUTO/ POE-(.*)\.tar\.gz debian uupdate --- libpoe-perl-0.9989.orig/debian/changelog +++ libpoe-perl-0.9989/debian/changelog @@ -0,0 +1,205 @@ +libpoe-perl (2:0.9989-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Do not build-depend upon libgtk-perl anymore (Closes: 462641). + + -- Pierre Habouzit Mon, 04 Feb 2008 15:57:53 +0100 + +libpoe-perl (2:0.9989-1) unstable; urgency=low + + * New upstream release. + * Fixes lots of CPU time usage when using Tk. (Closes: #345544) + * Remove xvfb, xbase-clients, xfonts-base, netbase from the + Build-Depends. + + -- Steve Kowalik Sun, 22 Apr 2007 16:38:46 +1000 + +libpoe-perl (2:0.3502-1) unstable; urgency=low + + * New upstream release. + * Disable the testsuite, it seems to want to access terminals, and the + network. + + -- Steve Kowalik Mon, 7 Aug 2006 20:04:28 +1000 + +libpoe-perl (2:0.3301-1) unstable; urgency=low + + * New upstream release. + + -- Steve Kowalik Sat, 7 Jan 2006 21:47:26 +1100 + +libpoe-perl (2:0.3202-1) unstable; urgency=low + + * New upstream release. (Closes: #322216) + - Don't throw a warning when using AF_UNIX in PoCo::Server::TCP. + (Closes: #292526) + * Remove local-variables from changelog. + * Drop our own libscan from Makefile.PL. + * Drop required Tk version in Makefile.PL to 800.025. + * Pipe 'n' to $(PERL) Makefile.PL. + + -- Steve Kowalik Mon, 14 Nov 2005 16:10:30 +1100 + +libpoe-perl (2:0.29-1) unstable; urgency=low + + * New upstream release. + * Bump Standards-Version to 3.6.1; no changes needed. + + -- Steve Kowalik Mon, 2 Aug 2004 14:24:37 +1000 + +libpoe-perl (2:0.28-1) unstable; urgency=low + + * New upstream release. + + -- Steve Kowalik Fri, 30 Jan 2004 11:14:46 +1100 + +libpoe-perl (2:0.27-1) unstable; urgency=low + + * New upstream release. (Closes: #217907) + + -- Steve Kowalik Tue, 28 Oct 2003 16:37:57 +1100 + +libpoe-perl (2:0.26-5) unstable; urgency=low + + * Fix yet another FTBFS by Build-Depending on libwww-perl, and netbase. + (Closes: #202296) + * Bump version for debhelper Build-Depends to >= 4. + + -- Steve Kowalik Tue, 22 Jul 2003 10:11:11 +1000 + +libpoe-perl (2:0.26-4) unstable; urgency=low + + * Fix another FTBFS by Build-Depending on xbase-clients and xfonts-base. + Sigh. (Closes: #202144) + + -- Steve Kowalik Mon, 21 Jul 2003 01:04:26 +1000 + +libpoe-perl (2:0.26-3) unstable; urgency=low + + * Fix FTBFS by chmod +x'ing debian/xvfb-run. (Closes: #202031) + + -- Steve Kowalik Sat, 19 Jul 2003 17:20:09 +1000 + +libpoe-perl (2:0.26-2) unstable; urgency=low + + * Oops. Promote libfilter-perl to Depends. It is required by POE to work. + + -- Steve Kowalik Fri, 18 Jul 2003 22:43:23 +1000 + +libpoe-perl (2:0.26-1) unstable; urgency=low + + * New upstream release. + * Move all Depends bar libtime-hires-perl and ${perl:Depends} to + Suggests. Move libtime-hires-perl to Recommends. (Closes: #189220) + * Build-Depend on xvfb, and copy debian/xvfb-run from vtk, so that I can + run make test; it needs X stuff. + * Run make test in debian/rules again. + * Perform some clean up in debian/rules. + * Bump Standards-Version to 3.6.0; no changes needed. + + -- Steve Kowalik Fri, 18 Jul 2003 22:08:44 +1000 + +libpoe-perl (2:0.25-1) unstable; urgency=low + + * New upstream release. + * Move Section from interpreters to perl. + * Add libgtk-perl and perl-tk to {Build-,}Depends. + + -- Steve Kowalik Tue, 1 Apr 2003 11:43:38 +1000 + +libpoe-perl (2:0.24-1) unstable; urgency=low + + * New upstream release. + + -- Steve Kowalik Fri, 27 Dec 2002 17:18:45 +1100 + +libpoe-perl (2:0.23-1) unstable; urgency=low + + * New upstream release. (Closes: #165474) + * Crickey, I only uploaded 0.22 last night. + * Drag libtime-hires-perl up from Recommends to Depends. + + -- Steve Kowalik Sun, 20 Oct 2002 13:38:42 +1000 + +libpoe-perl (2:0.22-1) unstable; urgency=low + + * New upstream release. + * Fix up debian/copyright. (Closes: #157644) + * Add the five other perl modules POE now needs to Build-Depends-Indep and + Depends. + * Bump Standards-Version to 3.5.7. + + -- Steve Kowalik Sat, 19 Oct 2002 15:46:32 +1000 + +libpoe-perl (2:0.19-1) unstable; urgency=low + + * New upstream release + + -- Steve Kowalik Fri, 29 Mar 2002 19:01:45 +1100 + +libpoe-perl (2:0.18-1) unstable; urgency=low + + # The "Damnit, I'm late" release. + * New upstream version. + + -- Steve Kowalik Mon, 18 Feb 2002 23:16:53 +1100 + +libpoe-perl (2:0.17-3) unstable; urgency=low + + * Changing from Build-Depends to Build-Depends-Indep. + + -- Steve Kowalik Sat, 3 Nov 2001 17:21:55 +1100 + +libpoe-perl (2:0.17-2) unstable; urgency=low + + * Don't install examples in an sub-directory in the examples directory. + * Include TODO as a doc. + + -- Steve Kowalik Wed, 5 Sep 2001 09:47:40 +1000 + +libpoe-perl (2:0.17-1) unstable; urgency=low + + * New upstream release + + -- Steve Kowalik Mon, 3 Sep 2001 22:24:52 +1000 + +libpoe-perl (2:0.15-2) unstable; urgency=medium + + * Fix a silly typo in package description. (Closes: #110488) + * Ooops. Fix up the Conflicts and Replaces. + + -- Steve Kowalik Thu, 30 Aug 2001 00:21:06 +1000 + +libpoe-perl (2:0.15-1) unstable; urgency=low + + * New maintainer. + * New upstream version. (Closes: #84036) + * Sigh, adding epoch. :-( + * Renaming package from libpoe-perl0 to libpoe-perl. (Closes: #89524) + * Add dependancy on libfilter-perl. (Closes: #97023) + * Adding libfilter-perl as a Build-Depend, as building also requires it. + * Conflict again the old version of libpoe-perl0. + * Hacked at debian/rules to use vendor install directories. + * Also fixed up the "Not in MANIFEST" spew from a bad clean target. + + -- Steve Kowalik Sat, 25 Aug 2001 19:08:25 +1000 + +libpoe-perl (0.1204-1) unstable; urgency=low + + * Too long since upgrade from upstream version: #84036 + + -- Rafael Kitover Thu, 8 Feb 2001 19:39:22 -0800 + +libpoe-perl (0.0703-2) unstable; urgency=low + + * Minor fixes to package side of things. + * Fixed package name. + + -- Rafael Kitover Sun, 12 Sep 1999 17:58:32 -0700 + +libpoe-perl (0.0703-1) unstable; urgency=low + + * Initial Release. + + -- Rafael Kitover Mon, 6 Sep 1999 23:44:39 -0700 + --- libpoe-perl-0.9989.orig/debian/compat +++ libpoe-perl-0.9989/debian/compat @@ -0,0 +1 @@ +4 --- libpoe-perl-0.9989.orig/debian/copyright +++ libpoe-perl-0.9989/debian/copyright @@ -0,0 +1,16 @@ +This package was debianized by Rafael Kitover on +Mon, 6 Sep 1999 23:44:39 -0700. + +It was downloaded from http://www.newts.org/~troc/poe.html + +Upstream Author: Rocco Caputo + +Copyright: + +Except where otherwise noted, POE is Copyright 1998-1999 Rocco Caputo. +All rights reserved. POE is free software; you may redistribute it +and/or modify it under the same terms as Perl itself. + +The GPL and Artistic licenses can be found under +/usr/share/common-licenses/{GPL,Artistic} on Debian systems. + --- libpoe-perl-0.9989.orig/debian/examples +++ libpoe-perl-0.9989/debian/examples @@ -0,0 +1 @@ +samples/* --- libpoe-perl-0.9989.orig/Makefile.PL +++ libpoe-perl-0.9989/Makefile.PL @@ -16,7 +16,7 @@ "====================================================================\n", "\n", ); - push @ARGV, "--default"; + #push @ARGV, "--default"; } # Remind the user she can use --default.