debian/0000755000000000000000000000000012164145016007166 5ustar debian/patches/0000755000000000000000000000000012164143602010614 5ustar debian/patches/20_fix-manpage-hyphens.patch0000644000000000000000000000204712164142701016010 0ustar Description: fix manpage to use minus sign instead of hyphens Author: Joe Nahmias Last-Update: 2013-06-28 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- xsel.orig/xsel.1x +++ xsel/xsel.1x @@ -105,7 +105,7 @@ display usage information and exit .TP \fB\-v\fR, \fB\-\-verbose\fR -Print informative messages. Additional instances of \fI-v\fR raise the +Print informative messages. Additional instances of \fI\-v\fR raise the debugging level, ie. print more information. .TP \fB\-\-version\fR @@ -121,10 +121,10 @@ from the terminal, spawning a child process to supply the new selection(s) on demand. This child exits immediately when any other program takes over the selection(s), eg. when the user next selects some text in a terminal -window or by running \fBxsel -c\fR. +window or by running \fBxsel \-c\fR. .PP .SH STANDARDS -xsel conforms to the Inter-Client Communication Conventions Manual +xsel conforms to the Inter\-Client Communication Conventions Manual Version 2.0 (ICCCM2). .PP .SH "SEE ALSO" debian/patches/30_fix-crash-when-copying-NULL-selections.patch0000644000000000000000000000104012164143454021346 0ustar From: Joe Nahmias Date: Sun, 30 Jun 2013 19:36:17 -0400 Subject: fix crash when copying NULL selections Closes: #596763 --- xsel.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) --- xsel.orig/xsel.c +++ xsel/xsel.c @@ -755,8 +755,11 @@ { unsigned char * new_sel = NULL; - new_sel = xs_strdup (s); - current_alloc = total_input = xs_strlen (s); + if (s) + new_sel = xs_strdup (s); + else + new_sel = xs_strdup (""); + current_alloc = total_input = xs_strlen (new_sel); return new_sel; } debian/patches/10_fix-spelling.patch0000644000000000000000000000105712164142701014540 0ustar Description: fix spelling mistake Author: Joe Nahmias Last-Update: 2013-06-28 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- xsel.orig/xsel.c +++ xsel/xsel.c @@ -1224,7 +1224,7 @@ it->chunk = MIN (it->max_elements, it->nelements - it->offset); /* Wait for that property to get deleted */ - print_debug (D_TRACE, "Waiting on intial property deletion (%s)", + print_debug (D_TRACE, "Waiting on initial property deletion (%s)", get_atom_name (it->property)); return HANDLE_INCOMPLETE; debian/patches/series0000644000000000000000000000014312164143602012027 0ustar 10_fix-spelling.patch 20_fix-manpage-hyphens.patch 30_fix-crash-when-copying-NULL-selections.patch debian/manpages0000644000000000000000000000001012163356430010676 0ustar xsel.1x debian/watch0000644000000000000000000000015712163137616010230 0ustar version=3 http://www.vergenet.net/~conrad/software/xsel/download/xsel-([\d\.]+)\.tar\.gz debian uupdate debian/copyright0000644000000000000000000000145012163137450011123 0ustar This package was originally debianized by Thom May on Mon, 11 Feb 2002 08:54:01 +0000, and is now maintained by Joe Nahmias . It was downloaded from http://www.vergenet.net/~conrad/software/xsel/ Upstream Author: Conrad Parker Copyright: Copyright (C) 2001 Conrad Parker Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. debian/docs0000644000000000000000000000000712163137450010040 0ustar README debian/control0000644000000000000000000000125112163356430010573 0ustar Source: xsel Section: x11 Priority: optional Maintainer: Joe Nahmias Build-Depends: debhelper (>> 9), libx11-dev, libxt-dev, autotools-dev Standards-Version: 3.9.4 Homepage: http://www.vergenet.net/~conrad/software/xsel/ Vcs-Browser: http://anonscm.debian.org/git/collab-maint/xsel.git Vcs-Git: git://anonscm.debian.org/collab-maint/xsel.git Package: xsel Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: command-line tool to access X clipboard and selection buffers XSel is a command-line program for getting and setting the contents of the X selection. It can also append and have it follow a growing file (similar to tail -f). debian/rules0000755000000000000000000000021012163356430010242 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 #export DH_OPTIONS=-v %: dh $@ --with autotools_dev debian/compat0000644000000000000000000000000212163356430010367 0ustar 9 debian/changelog0000644000000000000000000000367612164144540011055 0ustar xsel (1.2.0-2) unstable; urgency=low * convert to 3.0 (quilt) source format * fix spelling mistake pointed out by lintian * fix manpage hyphens as pointed out by lintian * move to debhelper compat v9 * minimize d/rules using dh(1) * auto-refresh config.* using autotools-dev; add build-dep * d/control: update VCS headers; add gbp config * bump std-ver to 3.9.4, no further changes needed * fix crash when copying empty/NULL selections (Closes: #596763) -- Joe Nahmias Sun, 30 Jun 2013 20:12:16 -0400 xsel (1.2.0-1) unstable; urgency=low * New upstream release * debian/control: drop, now unnecessary, x-dev from Build-Depends * bump debhelper compat to 6, no changes. -- Joe Nahmias Mon, 24 Mar 2008 23:04:35 -0400 xsel (1.0.0-1) unstable; urgency=low * New upstream release + Include UTF-8 support, closes: #231413. + fix manpage typo, closes: #203925. + fix output when backgrounded, closes: #444638. * added watch file * moved Homepage to source section of control * added Vcs-Svn and Vcs-Browser fields to source section of control * manpage section -> 1x to make lintian happy -- Joe Nahmias Mon, 14 Jan 2008 23:43:44 -0500 xsel (0.9.6-3) unstable; urgency=low * New maintainer, closes: #453669. * bump debhelper compat to 5. * bump std-ver to 3.7.3, no changes. -- Joe Nahmias Mon, 03 Dec 2007 22:31:42 -0500 xsel (0.9.6-2) unstable; urgency=low * Orphaning - maintainer set to QA Group -- Thom May Fri, 30 Nov 2007 14:22:32 +0000 xsel (0.9.6-1.1) unstable; urgency=low * Non-maintainer upload to help with xlibs-dev transition * debian/control: Replaced xlibs-dev build-dep. (Closes: #346875) -- Marc 'HE' Brockschmidt Fri, 20 Jan 2006 17:08:23 +0100 xsel (0.9.6-1) unstable; urgency=low * Initial Release. -- Thom May Mon, 11 Feb 2002 08:54:01 +0000 debian/source/0000755000000000000000000000000012163145340010465 5ustar debian/source/format0000644000000000000000000000001412163352020011666 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000003612163356430010607 0ustar [DEFAULT] pristine-tar = true