debian/0000755000000000000000000000000011753173535007200 5ustar debian/xcb.manpages0000644000000000000000000000001511753163727011467 0ustar debian/xcb.1 debian/menu0000644000000000000000000000014111753163727010065 0ustar ?package(xcb):needs="X11" section="Applications/Graphics" \ title="xcb" command="/usr/bin/xcb" debian/patches/0000755000000000000000000000000011753163727010631 5ustar debian/patches/03-xcb.man.patch0000644000000000000000000000234511753163727013424 0ustar From: Jari Aalto Subject: Fix hypens in manual page. --- xcb.man | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/xcb.man +++ b/xcb.man @@ -186,11 +186,11 @@ : cut() \\n\\ Shift : clear() \\n\\ : paste() \\n\\ -Shift : rotate(-1) \\n\\ +Shift : rotate(\-1) \\n\\ : rotate(1) \\n\\ -Left: rotate(-1) \\n\\ +Left: rotate(\-1) \\n\\ Right: rotate(1) \\n\\ -Up: rotate(-1) \\n\\ +Up: rotate(\-1) \\n\\ Down: rotate(1) \\n\\ q: quit() \\n\\ : selreq() \\n\\ @@ -210,7 +210,7 @@ This loads the string "G'day." into four of the cut buffers on the display "bigears". .sp 1 -xsendevent -win buffer5 '' +xsendevent \-win buffer5 '' .br This uses the program xsendevent to send a synthetic mouse click event to an xcb subwindow, thereby making that window the owner of @@ -227,7 +227,7 @@ This concatenates the values in the first 8 cut buffers, and places the result back in cut buffer zero. .sp 1 -xcb -S 0 && xcb -p 0 +xcb \-S 0 && xcb \-p 0 .br The first command copies the current PRIMARY selection into the first cut buffer. If the copy succeeds, then debian/patches/01-Xcb.ad.patch0000644000000000000000000000406611753163727013175 0ustar From: Unknown Subject: Debian local changes --- /dev/null +++ b/Xcb.ad @@ -0,0 +1,65 @@ + +! Xcb application defaults resource file. +! ====================================================================== + + +! The xcb widget hierarchy consists of a number of custom buffer +! widgets contained within a single Athena form widget. +! The widget names and classes are as follows: +! +! buffer widgets name = "buffer" class = "Buffer" +! form widget name = "container" class = "Form" + + + +! Buffer widgets are numbered from 0... onwards, and are named accordingly. +! As well as the standard core resources, each buffer widget supports +! resources for "foreground" and "fontSet". + +! Application wide resources are as follows: +! +! "bufferCount" (default value 8) +! This is the number of buffer widgets to create. +! Any number of widgets (greater than zero) can be created. +! +! "layout" (default value "h") +! Only the first character of the resource value is significant. +! This is the geometry arrangement to apply in the container widget. +! The layout can be "h" (horizontal), "v" (vertical), or some +! other value to disable the inbuilt geometry code and specify +! the layout via your X resources. + +Xcb.bufferCount: 8 +Xcb.layout: horizontal +Xcb*fontSet: fixed +Xcb*borderWidth: 1 +Xcb*Buffer.width: 60 +Xcb*Buffer.height: 60 + + +Xcb*container.defaultDistance: 0 + + + + + +! Below is an example of a layout scheme which arranges +! 10 cut buffer widgets in two rows of 5 windows. +! Refer to the "Athena Widget Set" manual for full details. +! +!Xcb.bufferCount: 10 +!Xcb.layout: custom +!Xcb*buffer1.fromHoriz: buffer0 +!Xcb*buffer2.fromHoriz: buffer1 +!Xcb*buffer3.fromHoriz: buffer2 +!Xcb*buffer4.fromHoriz: buffer3 +!Xcb*buffer5.fromVert: buffer0 +!Xcb*buffer6.fromHoriz: buffer5 +!Xcb*buffer6.fromVert: buffer1 +!Xcb*buffer7.fromHoriz: buffer6 +!Xcb*buffer7.fromVert: buffer2 +!Xcb*buffer8.fromHoriz: buffer7 +!Xcb*buffer8.fromVert: buffer3 +!Xcb*buffer9.fromHoriz: buffer8 +!Xcb*buffer9.fromVert: buffer4 + debian/patches/02-xcb.c.patch0000644000000000000000000000201311753163727013062 0ustar From: Unknown Subject: Debian local changes --- xcb.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) --- a/xcb.c +++ b/xcb.c @@ -1167,6 +1167,13 @@ XtGetApplicationResources (top, &ares, res, XtNumber (res), 0, 0); nbuffs = max (ares.nbuffs, 1); + xa_compound_text = XInternAtom (dpy, "COMPOUND_TEXT", False); + xa_utf8_string = XInternAtom (dpy, "UTF8_STRING", False); + xa_text = XInternAtom (dpy, "TEXT", False); + + if (!xa_utf8_string) + xa_utf8_string = xa_compound_text; + /* search for the -u and -v switches first */ for (p = argv + 1; p < argv + argc; p++) { @@ -1284,13 +1291,6 @@ XSetWMProtocols (dpy, XtWindow (top), &delwin, 1); XtAddEventHandler (top, 0, True, wmdel, (XtPointer) 0); - xa_compound_text = XInternAtom (dpy, "COMPOUND_TEXT", False); - xa_utf8_string = XInternAtom (dpy, "UTF8_STRING", False); - xa_text = XInternAtom (dpy, "TEXT", False); - - if (!xa_utf8_string) - xa_utf8_string = xa_compound_text; - initialize_properties (); } debian/patches/series0000644000000000000000000000006011753163727012042 0ustar 01-Xcb.ad.patch 02-xcb.c.patch 03-xcb.man.patch debian/compat0000644000000000000000000000000211753163727010400 0ustar 9 debian/control0000644000000000000000000000105011753163727010601 0ustar Source: xcb Section: x11 Priority: optional Maintainer: Michael Schiansky Build-Depends: debhelper (>= 9), xutils-dev, libxaw7-dev | libxaw-dev Standards-Version: 3.9.3 Package: xcb Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: Pigeon holes for your cut and paste selections xcb provides easy access to the cut buffers built into every X server. It allows the buffers to be manipulated either via the command line, or with the mouse in a point and click manner. This version is also utf-8 capable. . debian/changelog0000644000000000000000000000672211753173433011056 0ustar xcb (2.4-4.3) unstable; urgency=low * Non-maintainer upload. * Enable all hardened build flags. Patch thanks to Simon Ruderich . -- Jari Aalto Fri, 11 May 2012 14:25:15 +0300 xcb (2.4-4.2) unstable; urgency=low * Non-maintainer upload. * Update to packaging format "3.0 quilt" * debian/copyright - Update to format 1.0. * debian/control - Update to Standards-Version to 3.9.3 and debhelper to 9. - Add ${misc:Depends}. - Remove Homepage; dead upstream. * debian/menu - Update section from obsolete Apps/Tools to Applications/Graphics. - Change the path to the binary in the menu file. This together with a rebuild makes xcb work with xorg 7.0. Patch thanks to Erik Johansson (Closes: #363172, #585539). * debian/patches - (01, 02): Convert in-line patches to individual debian/patches. - (03): New. Fix hyphens in manual page. * debian/rules - Migrate to dh(1) dues to hardened build flags. - Install manual pages with standard suffix *.1, not *.1x. - Use all hardened build flags http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags * debian/watch - Update to format 3 (Closes: #529149). Patch thanks to Erik Johansson . -- Jari Aalto Thu, 26 Apr 2012 18:05:19 +0300 xcb (2.4-4.1) unstable; urgency=low * Non-maintainer upload. * Fix FTBFS by replacing xutils with xutils-dev in Build-Depends (Closes: #485538). * Fix FTBFS by using “rm -f Makefile” instead of “rm Makefile” in the clean target (Closes: #533965). * debian/control: Move the Homepage where it belongs. -- Cyril Brulebois Sun, 19 Jul 2009 03:30:22 +0200 xcb (2.4-4) unstable; urgency=low * Applied patch from CVS (http://software.schmorp.de/) fix by Paul Fox to restore -S functionality that was broken with 2.4. (Closes: #250203) -- Michael Schiansky Wed, 9 Jun 2004 13:49:05 +0200 xcb (2.4-3) unstable; urgency=low * New Maintainer (now DD) * Bumped Standard to 3.6.1 (no changes needed) -- Michael Schiansky Wed, 18 Feb 2004 12:09:34 +0100 xcb (2.4-2) unstable; urgency=low * Updated debian/copyright 'cause of lintian warning: W: xcb: copyright-lists-upstream-authors-with-dh_make-boilerplate -- Michael Schiansky Thu, 11 Sep 2003 03:36:10 +0200 xcb (2.4-1) unstable; urgency=low * New upstream release * New maintainer (Closes: #187732) * Fixed Build-Depends (Closes: #170008) * Updated debian/copyright * Added xcb-Homepage to debian/control -- Michael Schiansky Sat, 23 Aug 2003 04:03:23 +0200 xcb (2.3i-4) unstable; urgency=low * Initialised the cut buffers, so that rotating doesn't crash if all buffers haven't yet been touched (Closes: #104222) -- Cyrille Chepelov Fri, 20 Jul 2001 16:08:36 +0200 xcb (2.3i-3) unstable; urgency=low * I have mis-understood the license (in the paranoider way, fortunately). In fact, it's really Free. -- Cyrille Chepelov Tue, 3 Jul 2001 09:39:37 +0200 xcb (2.3i-2) unstable; urgency=low * rebuilt with dpkg-dev == 1.9.10. -- Cyrille Chepelov Fri, 29 Jun 2001 22:11:08 +0200 xcb (2.3i-1) unstable; urgency=low * Initial Release (closes #97840). -- Cyrille Chepelov Wed, 27 Jun 2001 23:09:40 +0200 debian/watch0000644000000000000000000000027111753163727010233 0ustar # format version number, currently 3; this line is compulsory! version=3 # Full-site-with-pattern [Version [Action]] http://goof.com/pcg/marc/data/xcb-(.*)\.tar\.gz debian uupdate debian/rules0000755000000000000000000000111211753164215010246 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed override_dh_auto_configure: xmkmf -a override_dh_auto_build: # CCOPTIONS is used to pass CFLAGS, CPPFLAGS when compiling .c files, # EXTRA_LOAD_FLAGS when linking the program. $(MAKE) \ CCOPTIONS="$(CFLAGS) $(CPPFLAGS)" \ EXTRA_LOAD_FLAGS="-I. $(CFLAGS) $(LDFLAGS)" cp xcb.man debian/xcb.1 override_dh_clean: [ ! -f Makefile ] && xmkmf -a || : [ ! -f Makefile ] || $(MAKE) clean dh_clean %: dh $@ # End of file debian/docs0000644000000000000000000000001011753163727010044 0ustar README debian/copyright0000644000000000000000000000512411753163727011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: xcb Upstream-Contact: None (dead upstream) Source: None X-Upstream-Comment: As of 2012-04-04 the sources are no longer at http://goof.com/pcg/marc/data Files: * Copyright: 1992-1994 Farrel McKay (original author) 1992-1994 Marc Lehmann (I18N, current de facto maintainer) 1992-1994 Danny Vanderryn License: BSD-like Files: debian/* Copyright: 2012 Jari Aalto 2009 Cyril Brulebois 2003-2004 Michael Schiansky 2001 Cyrille Chepelov License: GPL-2+ License: BSD-like [From xcb.c] /* * xcb: Copyright (C) 1992,1993,1994 by Farrell McKay. * XView modifications provided by Danny Vanderryn. * mb/utf8 support by Marc Lehmann . * * Simple X interface to the cut buffers in an X server. * The program creates a window subdivided into a number of subwindows, * one per cut buffer. The user may copy cut buffer contents around * using mouse buttons 1 and 2, or rotate the buffers using mouse * button 3. Buffers may be cleared by using Shift-button 2. * * Note that this program assumes the cut buffers contain textual * information, and displays buffer contents using the XDrawString * function. It is not suitable for use in any other environment. * * 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 appears in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation. This software is provided "as is" without express or * implied warranty. */ License: GPL-2+ This package 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 package 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, see . . On Debian systems, the complete text of the GNU General Public License can be found in "/usr/share/common-licenses/GPL-2". debian/source/0000755000000000000000000000000011753163727010502 5ustar debian/source/format0000644000000000000000000000001411753163727011710 0ustar 3.0 (quilt) debian/clean0000644000000000000000000000002411753163727010203 0ustar Makefile debian/*.1