debian/0000755000000000000000000000000012114731140007160 5ustar debian/control0000644000000000000000000000146612114723543010602 0ustar Source: xrestop Section: x11 Priority: optional Maintainer: Moray Allan Build-Depends: debhelper (>= 9.0), dh-autoreconf, libncurses5-dev, libxext-dev (>= 4.3.0), libx11-dev (>= 4.3.0), x11proto-core-dev, libxres-dev (>= 4.3.0), libice-dev (>= 4.3.0), pkg-config (>= 0.15.0) Standards-Version: 3.9.4 Package: xrestop Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: X11 server resource usage monitor xrestop uses the X-Resource extension to provide top(1)-like statistics for each connected X11 client's server-side resource usage. It is intended as a developer tool to aid more efficient server resource usage and debug server-side resource leakage. . xrestop requires the X-Resource extension, supported by XFree86 4.3 and above, and by the freedesktop.org X server. debian/changelog0000644000000000000000000000476512114730732011054 0ustar xrestop (0.4-9) unstable; urgency=low * Fix typo in man page. Closes: #700831. -- Moray Allan Sun, 03 Mar 2013 22:49:00 +0300 xrestop (0.4-8) unstable; urgency=low * Fix menu file to run program in a terminal. Closes: #692853. -- Moray Allan Sun, 11 Nov 2012 14:46:11 +0000 xrestop (0.4-7) unstable; urgency=low * Use DEB_LDFLAGS_MAINT_APPEND instead of editing LDFLAGS in debian/rules. -- Moray Allan Wed, 21 Mar 2012 11:24:54 +0000 xrestop (0.4-6) unstable; urgency=low * Switch from cdbs to dh 9 for package build. * Switch to dpkg-source 3.0 (quilt) format. * Use --as-needed to avoid unnecessary dependencies. -- Moray Allan Wed, 21 Mar 2012 00:42:42 +0000 xrestop (0.4-5) unstable; urgency=low * Fix batch mode output to use '0x' for hex. Closes: #637790. -- Moray Allan Tue, 20 Mar 2012 23:59:21 +0000 xrestop (0.4-4) unstable; urgency=low * Update X11 Build-Depends. Closes: #515443. -- Moray Allan Sat, 25 Jul 2009 16:26:51 +0200 xrestop (0.4-3) unstable; urgency=low * Update Debian menu file for new menu policy. -- Moray Allan Sun, 16 Mar 2008 20:12:41 +0100 xrestop (0.4-2) unstable; urgency=low * Show correct display name when -d not used. Closes: #447527. -- Moray Allan Fri, 16 Nov 2007 18:54:22 +0000 xrestop (0.4-1) unstable; urgency=low * New upstream release. * Can now quit by pressing Q. Closes: #333285. -- Moray Allan Sat, 4 Mar 2006 00:45:28 +0000 xrestop (0.3-3) unstable; urgency=low * Fix man page. Closes: #343547. -- Moray Allan Sat, 14 Jan 2006 18:54:37 +0000 xrestop (0.3-2) unstable; urgency=low * Add libxres-dev to Build-Depends, remove xlibs-static-dev. Closes: #323992. * Fix watch file URL. -- Moray Allan Sat, 20 Aug 2005 13:12:39 +0100 xrestop (0.3-1) unstable; urgency=low * New upstream release. -- Moray Allan Tue, 7 Jun 2005 00:42:28 +0100 xrestop (0.2-3) unstable; urgency=low * Upload to unstable. -- Moray Allan Thu, 19 Feb 2004 00:15:03 +0000 xrestop (0.2-2) experimental; urgency=low * Minor changes to manual page. -- Moray Allan Fri, 6 Feb 2004 23:56:44 +0000 xrestop (0.2-1) experimental; urgency=low * Initial release. Closes: #227109. -- Moray Allan Sun, 11 Jan 2004 17:03:28 +0000 debian/watch0000644000000000000000000000043711706104316010222 0ustar # 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 version=2 http://www.freedesktop.org/software/xrestop/xrestop-(.*)\.tar\.gz debian uupdate debian/rules0000755000000000000000000000030711732335202010244 0ustar #!/usr/bin/make -f export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ --with autoreconf override_dh_autoreconf: dh_autoreconf --as-needed override_dh_auto_configure: dh_auto_configure debian/dirs0000644000000000000000000000001011706104316010040 0ustar usr/bin debian/xrestop.menu0000644000000000000000000000031312047736024011562 0ustar ?package(xrestop):\ needs="x11"\ section="Applications/System/Monitoring"\ title="xrestop"\ longtitle="xrestop: monitor X11 server resource usage"\ command="x-terminal-emulator -e /usr/bin/xrestop" debian/compat0000644000000000000000000000000211732214716010370 0ustar 9 debian/source/0000755000000000000000000000000011732214727010474 5ustar debian/source/format0000644000000000000000000000001411732214727011702 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012114724412010613 5ustar debian/patches/10-fix-hex0000644000000000000000000000120511732216011012316 0ustar Description: Fix hexadecimal output to use 0x instead of ox (#637790) Author: Moray Allan Last-Update: 2012-01-19 Index: xrestop-0.4/xrestop.c =================================================================== --- xrestop-0.4.orig/xrestop.c 2012-03-21 00:08:28.933290136 +0000 +++ xrestop-0.4/xrestop.c 2012-03-21 00:08:34.549298944 +0000 @@ -587,8 +587,8 @@ else { printf("%i - %s ( PID:%s ):\n" - "\tres_base : ox%lx\n" - "\tres_mask : ox%lx\n" + "\tres_base : 0x%lx\n" + "\tres_mask : 0x%lx\n" "\twindows : %d\n" "\tGCs : %d\n" "\tfonts : %d\n" debian/patches/20-fix-man-page0000644000000000000000000000157012114724412013231 0ustar Description: Fix man page (#343547) Author: Moray Allan Last-Update: 2006-01-14 Index: xrestop-0.4/doc/xrestop.1 =================================================================== --- xrestop-0.4.orig/doc/xrestop.1 2006-02-27 23:49:42.000000000 +0300 +++ xrestop-0.4/doc/xrestop.1 2013-03-03 22:48:19.763805344 +0300 @@ -24,11 +24,11 @@ Time in seconds between taking samples. Default is 2 seconds. .TP \fB\-\-batch, \-b\fP -Run in batch mode. Slightly more detailed infomation is streamed to +Run in batch mode. Slightly more detailed information is streamed to stdout rather than the usual curses interface. This mode is intended for debugging a single client with something like .br - xrestop \-b | grep \-A 14 appname + xrestop \-b | grep \-A 15 appname .TP \fB\-\-max\-samples, \-m\fP Specify number of times to gather and display results. debian/patches/30-avoid-display-name-ugliness0000644000000000000000000000117211732217032016271 0ustar Description: Avoid ugliness in display name Avoids e.g. saying ":0.0:0" for display if run with "-d :0.0". Author: Moray Allan --- a/xrestop.c +++ b/xrestop.c @@ -528,8 +528,8 @@ clear(); - mvprintw(0, 0, "xrestop - Display: %s:%i", - app->dpy_name ? app->dpy_name : "localhost", app->screen); + mvprintw(0, 0, "xrestop - Display: %s", + app->dpy_name ? app->dpy_name : "localhost"); mvprintw(1, 0, " Monitoring %i clients. XErrors: %i", app->n_clients, app->n_xerrors); mvprintw(2, 0, " Pixmaps: %8s total, Other: %8s total, All: %8s total", debian/patches/series0000644000000000000000000000007211732220044012024 0ustar 10-fix-hex 20-fix-man-page 30-avoid-display-name-ugliness debian/README.Debian0000644000000000000000000000065211706104316011231 0ustar xrestop for Debian ------------------ Please note that, as the upstream README states, xrestop requires the X-Resource extension, supported by XFree86 4.3 or above, and by the freedesktop.org X server. This package does not require that an X server which supports this extension is installed locally, since you may wish to use it with a remote X server. -- Moray Allan , Sun, 11 Jan 2004 17:03:28 +0000 debian/copyright0000644000000000000000000000154411706104316011124 0ustar This package was debianized by Moray Allan on Sun, 11 Jan 2004 17:03:28 +0000. It was downloaded from http://www.freedesktop.org/Software/xrestop Upstream Author: Matthew Allum Copyright: Copyright 2003 Matthew Allum 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 2, or (at your option) 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. On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.