--- xnee-3.02.orig/debian/libxnee0.postrm +++ xnee-3.02/debian/libxnee0.postrm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" = remove ]; then + ldconfig +fi + +#DEBHELPER# + +exit 0 --- xnee-3.02.orig/debian/gnee.menu +++ xnee-3.02/debian/gnee.menu @@ -0,0 +1,6 @@ +?package(gnee):\ + needs="X11"\ + section="Applications/Programming"\ + title="GNU gnee"\ + command="gnee"\ + icon="/usr/share/xnee/pixmaps/xnee.xpm" --- xnee-3.02.orig/debian/libxnee0.install +++ xnee-3.02/debian/libxnee0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libxnee.so.* --- xnee-3.02.orig/debian/xnee-doc.postinst +++ xnee-3.02/debian/xnee-doc.postinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +if [ "$1" = configure ]; then + if which install-docs >/dev/null 2>&1; then + install-docs -i /usr/share/doc-base/xnee-doc + fi +fi + +#DEBHELPER# + +exit 0 --- xnee-3.02.orig/debian/rules +++ xnee-3.02/debian/rules @@ -0,0 +1,17 @@ +#! /usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +DEB_CONFIGURE_EXTRA_FLAGS := --enable-gui --enable-gnome-applet \ + --enable-cli --enable-lib --enable-xosd --enable-static-programs=no \ + --docdir=/usr/share/doc/xnee + +DEB_DBG_PACKAGE_libxnee0 = libxnee-dbg + +binary-predeb/gnee:: + mogrify -resize 32x32 debian/gnee/usr/share/xnee/pixmaps/xnee.xpm + +clean:: + rm -f examples/simple_bash.sh share/xnee.sh --- xnee-3.02.orig/debian/cnee.install +++ xnee-3.02/debian/cnee.install @@ -0,0 +1,3 @@ +debian/tmp/usr/bin/cnee +debian/tmp/usr/share/man/man1/cnee.1 +share/xnee.sh usr/share/xnee --- xnee-3.02.orig/debian/xnee-doc.doc-base +++ xnee-3.02/debian/xnee-doc.doc-base @@ -0,0 +1,22 @@ +Document: xnee +Title: Xnee Manual +Author: Henrik Sandklef +Abstract: This document descibes GNU Xnee, a suite of programs that + can record, replay and distribute user actions under the X11 + environment. Think of it as a robot that can imitate the job you just + did. +Section: System/Administration + +Format: text +Files: /usr/share/doc/xnee/xnee.txt.gz + +Format: HTML +Index: /usr/share/doc/xnee/xnee.html +Files: /usr/share/doc/xnee/*.html + +Format: PDF +Files: /usr/share/doc/xnee/xnee.pdf.gz + +Format: info +Files: /usr/share/info/xnee.info +Index: /usr/share/info/xnee.info --- xnee-3.02.orig/debian/compat +++ xnee-3.02/debian/compat @@ -0,0 +1 @@ +5 --- xnee-3.02.orig/debian/watch +++ xnee-3.02/debian/watch @@ -0,0 +1,2 @@ +version=2 +ftp://ftp.gnu.org/gnu/xnee/xnee-([\d\.]+).tar.gz --- xnee-3.02.orig/debian/cnee.examples +++ xnee-3.02/debian/cnee.examples @@ -0,0 +1 @@ +examples/simple_bash.sh --- xnee-3.02.orig/debian/libxnee-dev.install +++ xnee-3.02/debian/libxnee-dev.install @@ -0,0 +1,3 @@ +libxnee/include/libxnee usr/include +debian/tmp/usr/lib/libxnee.a usr/lib +debian/tmp/usr/lib/libxnee.so usr/lib --- xnee-3.02.orig/debian/copyright +++ xnee-3.02/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Ross Burton on +Wed, 4 Sep 2002 08:35:39 +0100. + +It was downloaded from http://www.sandklef.com/xnee + +Files: * +Copyright: © 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 + Henrik Sandklef and Jon-Erling Dahl +License: GPL-3+ + 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 3 + of the License, or 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., 51 Franklin Street, Boston, + MA 02110-1301, USA. + +Files: debian/* +Copyright: © 2002-2005 Ross Burton + © 2008 Vincent Bernat +License: GPL + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-3'. --- xnee-3.02.orig/debian/source.lintian-overrides +++ xnee-3.02/debian/source.lintian-overrides @@ -0,0 +1,4 @@ +# upstream ships CVS +xnee source: source-contains-cvs-control-dir libxnee/autotools/CVS +xnee source: source-contains-cvs-control-dir autotools/CVS +xnee source: source-contains-cvs-control-dir cnee/autotools/CVS --- xnee-3.02.orig/debian/xnee-doc.prerm +++ xnee-3.02/debian/xnee-doc.prerm @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +if [ "$1" = remove ] || [ "$1" = upgrade ]; then + if which install-docs >/dev/null 2>&1; then + install-docs -r /usr/share/doc-base/xnee-doc + fi +fi + +#DEBHELPER# + +exit 0 --- xnee-3.02.orig/debian/xnee-doc.install +++ xnee-3.02/debian/xnee-doc.install @@ -0,0 +1,3 @@ +debian/tmp/usr/share/doc/xnee/* +debian/tmp/usr/share/man/man1/xnee.1 +doc/xnee.info usr/share/info/xnee.info --- xnee-3.02.orig/debian/pnee.install +++ xnee-3.02/debian/pnee.install @@ -0,0 +1,10 @@ +# There seems to be a problem with install +# debian/tmp/usr/lib/gnome-panel/pnee +pnee/src/.libs/pnee usr/lib/gnome-panel + +debian/tmp/usr/lib/bonobo/servers/pnee.server +debian/tmp/usr/share/man/man1/pnee.1 +debian/tmp/usr/share/xnee/pixmaps/pnee-record.png +debian/tmp/usr/share/xnee/pixmaps/pnee-replay.png +debian/tmp/usr/share/xnee/pixmaps/pnee-stop-mini.png +debian/tmp/usr/share/xnee/pixmaps/pnee-stop.png --- xnee-3.02.orig/debian/libxnee0.postinst +++ xnee-3.02/debian/libxnee0.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" = configure ]; then + ldconfig +fi + +#DEBHELPER# + +exit 0 --- xnee-3.02.orig/debian/gnee.install +++ xnee-3.02/debian/gnee.install @@ -0,0 +1,4 @@ +debian/tmp/usr/bin/gnee +debian/tmp/usr/share/man/man1/gnee.1 +debian/tmp/usr/share/xnee/pixmaps/xnee.xpm +debian/tmp/usr/share/xnee/pixmaps/xnee.png --- xnee-3.02.orig/debian/control +++ xnee-3.02/debian/control @@ -0,0 +1,169 @@ +Source: xnee +Section: x11 +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Vincent Bernat +Uploaders: Barry deFreese +Build-Depends: debhelper (>= 5), cdbs, autotools-dev, libxtst-dev, libpanel-applet2-dev, imagemagick, quilt +Standards-Version: 3.8.0 +Homepage: http://www.sandklef.com/xnee/ +Vcs-Browser: http://git.debian.org/?p=collab-maint/xnee.git +Vcs-Git: git://git.debian.org/git/collab-maint/xnee.git + +Package: xnee +Architecture: all +Section: x11 +Depends: ${shlibs:Depends}, ${misc:Depends}, cnee | gnee +Description: X event recorder/replayer - metapackage + GNU Xnee is a suite of programs that can record, replay and + distribute user actions under the X11 environment. Think of it as a + robot that can imitate the job you just did. + . + Xnee can be used to + - automate tests + - demonstrate programs + - distribute actions + - record and replay 'macro' + - retype a file + . + This package contains a metapackage depending on one of the + implementation of Xnee (command line, graphical user interface or + GNOME panel). + +Package: libxnee0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: X event recorder/replayer - library + GNU Xnee is a suite of programs that can record, replay and + distribute user actions under the X11 environment. Think of it as a + robot that can imitate the job you just did. + . + Xnee can be used to + - automate tests + - demonstrate programs + - distribute actions + - record and replay 'macro' + - retype a file + . + This package contains the library common to gnee, pnee and gnee. + +Package: libxnee-dev +Architecture: any +Section: libdevel +Depends: ${shlibs:Depends}, ${misc:Depends}, libxnee0 (= ${binary:Version}) +Description: X event recorder/replayer - development files + GNU Xnee is a suite of programs that can record, replay and + distribute user actions under the X11 environment. Think of it as a + robot that can imitate the job you just did. + . + Xnee can be used to + - automate tests + - demonstrate programs + - distribute actions + - record and replay 'macro' + - retype a file + . + This package contains the header files and library for writing applications + using libxnee. + +Package: libxnee-dbg +Architecture: any +Section: libdevel +Priority: extra +Depends: ${shlibs:Depends}, ${misc:Depends}, libxnee0 (= ${binary:Version}) +Description: X event recorder/replayer - debugging symbols + GNU Xnee is a suite of programs that can record, replay and + distribute user actions under the X11 environment. Think of it as a + robot that can imitate the job you just did. + . + Xnee can be used to + - automate tests + - demonstrate programs + - distribute actions + - record and replay 'macro' + - retype a file + . + This package contains the debugging symbols for the library. + +Package: xnee-doc +Architecture: all +Section: doc +Conflicts: xnee (<< 3.02-1) +Replaces: xnee (<< 3.02-1) +Description: X event recorder/replayer - documentation + GNU Xnee is a suite of programs that can record, replay and + distribute user actions under the X11 environment. Think of it as a + robot that can imitate the job you just did. + . + Xnee can be used to + - automate tests + - demonstrate programs + - distribute actions + - record and replay 'macro' + - retype a file + . + This package contains the complete documentation of Xnee. + +Package: cnee +Architecture: any +Section: x11 +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: xnee-doc +Conflicts: xnee (<< 3.02-1) +Replaces: xnee (<< 3.02-1) +Description: X event recorder/replayer - command-line flavor + GNU Xnee is a suite of programs that can record, replay and + distribute user actions under the X11 environment. Think of it as a + robot that can imitate the job you just did. + . + Xnee can be used to + - automate tests + - demonstrate programs + - distribute actions + - record and replay 'macro' + - retype a file + . + This package contains the command-line flavor of Xnee. + +Package: gnee +Architecture: any +Section: x11 +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: xnee-doc +Conflicts: xnee (<< 3.02-1) +Replaces: xnee (<< 3.02-1) +Description: X event recorder/replayer - GUI flavor + GNU Xnee is a suite of programs that can record, replay and + distribute user actions under the X11 environment. Think of it as a + robot that can imitate the job you just did. + . + Xnee can be used to + - automate tests + - demonstrate programs + - distribute actions + - record and replay 'macro' + - retype a file + . + This package contains the GUI flavor of Xnee. + +Package: pnee +Architecture: any +Section: x11 +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: xnee-doc +Conflicts: xnee (<< 3.02-1) +Replaces: xnee (<< 3.02-1) +Description: X event recorder/replayer - GNOME panel applet + GNU Xnee is a suite of programs that can record, replay and + distribute user actions under the X11 environment. Think of it as a + robot that can imitate the job you just did. + . + Xnee can be used to + - automate tests + - demonstrate programs + - distribute actions + - record and replay 'macro' + - retype a file + . + This package contains the GNOME panel applet for Xnee. --- xnee-3.02.orig/debian/changelog +++ xnee-3.02/debian/changelog @@ -0,0 +1,60 @@ +xnee (3.02-2ubuntu1) jaunty; urgency=low + + * debian/control: + - Re-enable pnee binary package. + - Add Conflicts/Replaces to xnee (<< 3.02-1) for cnee, gnee, pnee and + xnee-doc to allow a clean upgrade from Intrepid. + * debian/patches/pnee_SIGSEGV.patch: + - Fix segmentation fault in pnee applet (LP: #278614). + + -- Luca Falavigna Wed, 24 Dec 2008 00:25:57 +0100 + +xnee (3.02-2) unstable; urgency=low + + * Call ldconfig in postinst and postrm for libxnee0. + * Small fix to debian/copyright + + -- Vincent Bernat Sun, 03 Aug 2008 10:27:23 +0200 + +xnee (3.02-1) unstable; urgency=low + + * New upstream version (Closes: #349668) + * In debian/control: + + bump Standards-Version to 3.8.0 + + add Homepage field + + add Vcs-* fields + + depends on debhelper >= 5 + + adjust build-dependencies to be able to build the new packages + + create new packages: cnee, gnee, pnee, libxnee and xnee-doc + + update long description (Closes: #349309) + + adopt package, thanks to Ross Burton for his work + + add Barry deFreese as uploader + * Fix xnee.info (Closes: #349660) + * Ship examples with cnee (Closes: #315457) + * Remove debian/TODO + * Add a patch to avoid to cleanup documentation + * Add a patch to fix documentation installation + * Update debian/copyright since Xnee is now GPLv3 licensed + * We don't ship pnee since it is segfaulting + + -- Vincent Bernat Thu, 24 Jul 2008 15:01:48 +0200 + +xnee (1.08-3) unstable; urgency=low + + * debian/control: Fix override/control differences. + * Add debian/watch + + -- Ross Burton Wed, 30 Mar 2005 11:07:34 +0100 + +xnee (1.08-2) unstable; urgency=low + + * debian/control: build-depend on libxt-dev (closes: #300396) + * debian/copyright: fix upstream URL + + -- Ross Burton Sun, 27 Mar 2005 13:48:23 +0100 + +xnee (1.08-1) unstable; urgency=low + + * Initial packaging. + + -- Ross Burton Wed, 17 Nov 2004 15:40:11 +0000 --- xnee-3.02.orig/debian/patches/correct-doc-path.patch +++ xnee-3.02/debian/patches/correct-doc-path.patch @@ -0,0 +1,42 @@ +diff --git a/doc/Makefile.in b/doc/Makefile.in +index 4c93670..1b77d79 100644 +--- a/doc/Makefile.in ++++ b/doc/Makefile.in +@@ -205,7 +205,7 @@ build_os = @build_os@ + build_vendor = @build_vendor@ + datadir = @datadir@ + datarootdir = @datarootdir@ +-docdir = $(datadir)/xnee ++docdir = $(datadir)/doc/xnee + dvidir = @dvidir@ + exec_prefix = @exec_prefix@ + host = @host@ +@@ -396,7 +396,7 @@ maintainer-clean-aminfo: + done + install-docDATA: $(doc_DATA) + @$(NORMAL_INSTALL) +- test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)" ++ test -z "$(DESTDIR)$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)" + @list='$(doc_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ +@@ -505,7 +505,7 @@ install-info: install-info-am + + install-info-am: $(INFO_DEPS) + @$(NORMAL_INSTALL) +- test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)" ++ test -z "$(DESTDIR)$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + list='$(INFO_DEPS)'; \ + for file in $$list; do \ +@@ -623,8 +623,8 @@ ${IMG_PNG}: ${IMG_EPS} + ${IMG_JPG}: ${IMG_EPS} + + install: +- mkdir -p $(docdir) +- cp $(MANUALS) $(GEN_IMAGES_TO_INSTALL) $(docdir)/ ++ mkdir -p $(DESTDIR)$(docdir) ++ cp $(MANUALS) $(GEN_IMAGES_TO_INSTALL) $(DESTDIR)$(docdir)/ + + api-doc: xnee.dox + \rm -fr alldocs/ --- xnee-3.02.orig/debian/patches/no-doc-clean.patch +++ xnee-3.02/debian/patches/no-doc-clean.patch @@ -0,0 +1,35 @@ +diff --git a/doc/Makefile.in b/doc/Makefile.in +index 4c93670..96d9737 100644 +--- a/doc/Makefile.in ++++ b/doc/Makefile.in +@@ -256,9 +256,8 @@ EXTRA_DIST = xnee_copying fdl.texi *.dia xnee.dox xnee.pdf \ + info_TEXINFOS = xnee.texi + CLEANFILES = xnee.acs xnee.cvs xnee.mss xnee.prs \ + xnee.ats xnee.evs xnee.fns xnee.ovs \ +- xnee.tmp *.1 *.html \ +- stamp-vti *.pdf *.txt *.info \ +- */*.png */*.eps */*.pdf *.png *.eps *.pdf ++ xnee.tmp \ ++ */*.png */*.eps */*.pdf *.eps + + all: all-am + +@@ -385,8 +384,7 @@ dist-info: $(INFO_DEPS) + + mostlyclean-aminfo: + -rm -rf xnee.aux xnee.cp xnee.cps xnee.fn xnee.ky xnee.log xnee.pg xnee.tmp \ +- xnee.toc xnee.tp xnee.tps xnee.vr xnee.dvi xnee.pdf xnee.ps \ +- xnee.html ++ xnee.toc xnee.tp xnee.tps xnee.vr xnee.dvi + + maintainer-clean-aminfo: + @list='$(INFO_DEPS)'; for i in $$list; do \ +@@ -641,8 +639,6 @@ manual: $(MANUALS) + all: $(DOC_DEP) + default: all + +-clean: +- \rm -f *.pdf *.ps *.jpg *.png *.info + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: --- xnee-3.02.orig/debian/patches/xnee-info.patch +++ xnee-3.02/debian/patches/xnee-info.patch @@ -0,0 +1,13 @@ +diff --git a/doc/xnee.info b/doc/xnee.info +index 305ce06..7eb8722 100644 +--- a/doc/xnee.info ++++ b/doc/xnee.info +@@ -2,7 +2,7 @@ This is xnee.info, produced by makeinfo version 4.8 from xnee.texi. + + INFO-DIR-SECTION Miscellaneous + START-INFO-DIR-ENTRY +-* : (Xnee). Xnee's Not Event Emulator. ++ * Xnee: (Xnee). Xnee's Not Event Emulator. + END-INFO-DIR-ENTRY + +  --- xnee-3.02.orig/debian/patches/manpages-fix.patch +++ xnee-3.02/debian/patches/manpages-fix.patch @@ -0,0 +1,77 @@ +--- a/cnee/src/cnee.1 ++++ b/cnee/src/cnee.1 +@@ -20,7 +20,7 @@ + .\" + .TH "CNEE" 1 2007 "xnee" + .SH "NAME" +-cnee record, replays or distributes X11 data ++cnee \- record, replays or distributes X11 data + .SH "SYNOPSIS" + .BI "cnee [" options "] + .sp +--- a/gnee/man/gnee.1 ++++ b/gnee/man/gnee.1 +@@ -19,7 +19,7 @@ + .\" + .TH "GNEE" 1 2007 "Xnee" + .SH "NAME" +-gnee record, replays or distributes X11 data ++gnee \- record, replays or distributes X11 data + .SH "SYNOPSIS" + .BI "gnee + .sp +--- a/gnee/man/gnee.1.in ++++ b/gnee/man/gnee.1.in +@@ -19,7 +19,7 @@ + .\" + .TH "GNEE" 1 2007 "Xnee" + .SH "NAME" +-gnee record, replays or distributes X11 data ++gnee \- record, replays or distributes X11 data + .SH "SYNOPSIS" + .BI "gnee + .sp +--- a/man/xnee.1 ++++ b/man/xnee.1 +@@ -19,7 +19,7 @@ + .\" + .TH "XNEE" 1 2007 "GNU Xnee" + .SH "NAME" +-GNU Xnee records, replays or distributes X11 data ++xnee \- records, replays or distributes X11 data + .sp + .SH "DESCRIPTION" + The program suite GNU Xnee can record and replay an X session. GNU Xnee also has the ability to distribute events to multiple displays. +--- a/man/xnee.1.in ++++ b/man/xnee.1.in +@@ -19,7 +19,7 @@ + .\" + .TH "XNEE" 1 2007 "GNU Xnee" + .SH "NAME" +-GNU Xnee records, replays or distributes X11 data ++xnee \- records, replays or distributes X11 data + .sp + .SH "DESCRIPTION" + The program suite GNU Xnee can record and replay an X session. GNU Xnee also has the ability to distribute events to multiple displays. +--- a/pnee/man/pnee.1 ++++ b/pnee/man/pnee.1 +@@ -19,7 +19,7 @@ + .\" + .TH "PNEE" 1 2007 "Xnee" + .SH "NAME" +-pnee record, replays or distributes X11 data ++pnee \- record, replays or distributes X11 data + .SH "SYNOPSIS" + .BI "pnee + .sp +--- a/pnee/man/pnee.1.in ++++ b/pnee/man/pnee.1.in +@@ -19,7 +19,7 @@ + .\" + .TH "PNEE" 1 2007 "Xnee" + .SH "NAME" +-pnee record, replays or distributes X11 data ++pnee \- record, replays or distributes X11 data + .SH "SYNOPSIS" + .BI "pnee + .sp --- xnee-3.02.orig/debian/patches/series +++ xnee-3.02/debian/patches/series @@ -0,0 +1,5 @@ +no-doc-clean.patch +correct-doc-path.patch +xnee-info.patch +manpages-fix.patch +pnee_SIGSEGV.patch --- xnee-3.02.orig/debian/patches/pnee_SIGSEGV.patch +++ xnee-3.02/debian/patches/pnee_SIGSEGV.patch @@ -0,0 +1,14 @@ +Upstream: http://cvs.savannah.gnu.org/viewvc/xnee/libxnee/src/xnee_range.c?root=xnee&r1=1.33&r2=1.34&view=patch + +Index: xnee-3.02/libxnee/src/xnee_range.c +=================================================================== +--- xnee-3.02.orig/libxnee/src/xnee_range.c 2008-12-24 00:25:19.217720011 +0100 ++++ xnee-3.02/libxnee/src/xnee_range.c 2008-12-24 00:48:46.173725231 +0100 +@@ -181,6 +181,7 @@ + { + XNEE_FREE_AND_NULL(xrs->type[i].data); + xrs->type[i].data = NULL; ++ xrs->type[i].index = 0; + } + need_init = 1 ; +