debian/0000755000000000000000000000000011771136543007176 5ustar debian/source/0000755000000000000000000000000011765373210010473 5ustar debian/source/format0000644000000000000000000000001411765373210011701 0ustar 3.0 (quilt) debian/wmctrl.docs0000644000000000000000000000000711765373035011357 0ustar README debian/copyright0000644000000000000000000000301011771136543011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: wmctrl Upstream-Contact: Tomas Styblo Source: http://tomas.styblo.name/wmctrl/dist/wmctrl-1.07.tar.gz Comment: This package was debianized by Shyamal Prasad on Thu, 12 Dec 2004 18:59:40 -0800. Files: * Copyright: 2003-2005, Tomas Styblo License: GPL-2+ Files: wmctrl.1 Copyright: 2004, Shyamal Prasad License: GPL-2+ Files: debian/* Copyright: 2004, Shyamal Prasad 2004-2006, Decklin Foster 2012, Jeroen Schot License: GPL-2+ License: GPL-2+ 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 of the License, 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. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/control0000644000000000000000000000161211765401012010566 0ustar Source: wmctrl Section: x11 Priority: optional Maintainer: Jeroen Schot Build-Depends: debhelper (>= 9), libglib2.0-dev, libx11-dev, libxmu-dev, x11proto-core-dev Standards-Version: 3.9.3 Homepage: http://tomas.styblo.name/wmctrl/ Package: wmctrl Architecture: any Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends} Description: control an EWMH/NetWM compatible X Window Manager Wmctrl is a command line tool to interact with an EWMH/NetWM compatible X Window Manager (examples include Enlightenment, icewm, kwin, metacity, and sawfish). . Wmctrl provides command line access to almost all the features defined in the EWMH specification. For example it can maximize windows, make them sticky, set them to be always on top. It can switch and resize desktops and perform many other useful operations. debian/wmctrl.clean0000644000000000000000000000001311765373577011521 0ustar config.log debian/patches/0000755000000000000000000000000011771024547010625 5ustar debian/patches/series0000644000000000000000000000005411765376775012061 0ustar 01_64-bit-data.patch 02_manpage-fixes.patch debian/patches/02_manpage-fixes.patch0000644000000000000000000000617211765374553014711 0ustar Description: Fix formatting problems in man page. Author: Jeroen Schot --- wmctrl-1.07.orig/wmctrl.1 +++ wmctrl-1.07/wmctrl.1 @@ -55,11 +55,9 @@ property change is achived by using the request. The supported property names (for .IR prop1 " and " prop2 ) are -.nh -.BR modal ", " sticky ", " maximized_vert ", " maximized_horz , -.BR shaded ", " skip_taskbar ", " skip_pager ", " hidden , -.BR fullscreen ", " above " and " below . -.ny +.BR \%modal ", " \%sticky ", " \%maximized_vert ", " \%maximized_horz , +.BR \%shaded ", " \%skip_taskbar ", " \%skip_pager ", " \%hidden , +.BR \%fullscreen ", " \%above " and " \%below . Two properties are supported to allow operations like maximizing a window to full screen mode. Note that this action is made up of exactly two shell command line arguments. @@ -136,8 +134,8 @@ number (a \-1 is used to identify a stic option is specified the next column will contain the PID for the window as a decimal integer. If the .B \-G -option is specified then four integer columns will follow: x-offset, -y-offset, width and height. The next column always contains the client +option is specified then four integer columns will follow: x\-offset, +y\-offset, width and height. The next column always contains the client machine name. The remainder of the line contains the window title (possibly with multiple spaces in the title). @@ -149,7 +147,7 @@ Display information about the window man .BI \-n " N" Change the number of desktops to .IR N -(a non-negative integer). +(a non\-negative integer). .TP .BI \-N " name" @@ -236,7 +234,7 @@ not support it. .TP .B \-u -Override auto-detection and force UTF-8 mode. +Override auto\-detection and force UTF\-8 mode. .TP .B \-v @@ -311,7 +309,7 @@ to use the currently active window for t There is only one work around currently implemeted. It is specified by using the string .B DESKTOP_TITLES_INVALID_UTF8 -and it causes the printing of non-ASCII desktop tiles correctly when +and it causes the printing of non\-ASCII desktop tiles correctly when using Window Maker. @@ -320,32 +318,32 @@ using Window Maker. .PP Getting a list of windows managed by the window manager .IP -wmctrl -l +wmctrl \-l .PP Getting a list of windows with PID and geometry information. .IP -wmctrl -p -G -l +wmctrl \-p \-G \-l .PP Going to the window with a name containing 'emacs' in it .IP -wmctrl -a emacs +wmctrl \-a emacs .PP Shade a window with a title that contains the word 'mozilla' .IP -wmctrl -r mozilla -b add,shaded +wmctrl \-r mozilla \-b add,shaded .PP Close a very specifically titled window sticky .IP -wmctrl -F -c 'Debian bug tracking system - Mozilla' +wmctrl \-F \-c 'Debian bug tracking system \- Mozilla' .PP Toggle the 'stickiness' of a window with a specific window identity .IP -wmctrl -i -r 0x0120002 -b add,sticky +wmctrl \-i \-r 0x0120002 \-b add,sticky .PP Change the title of window to a specified string but choose the window by clicking on it .IP -wmctrl -r :SELECT: -T "Selected Window" +wmctrl \-r :SELECT: \-T "Selected Window" .SH SEE ALSO .BR zenity (1) is a useful dialog program for building scripts with debian/patches/01_64-bit-data.patch0000644000000000000000000000252211765373424014067 0ustar Description: Correct 64 Architecture implementation of 32 bit data Author: Chris Donoghue Bug-Debian: http://bugs.debian.org/362068 --- wmctrl-1.07.orig/main.c +++ wmctrl-1.07/main.c @@ -1425,6 +1425,16 @@ static gchar *get_property (Display *dis * * long_length = Specifies the length in 32-bit multiples of the * data to be retrieved. + * + * NOTE: see + * http://mail.gnome.org/archives/wm-spec-list/2003-March/msg00067.html + * In particular: + * + * When the X window system was ported to 64-bit architectures, a + * rather peculiar design decision was made. 32-bit quantities such + * as Window IDs, atoms, etc, were kept as longs in the client side + * APIs, even when long was changed to 64 bits. + * */ if (XGetWindowProperty(disp, win, xa_prop_name, 0, MAX_PROPERTY_VALUE_LEN / 4, False, xa_prop_type, &xa_ret_type, &ret_format, @@ -1441,6 +1451,8 @@ static gchar *get_property (Display *dis /* null terminate the result to make string handling easier */ tmp_size = (ret_format / 8) * ret_nitems; + /* Correct 64 Architecture implementation of 32 bit data */ + if(ret_format==32) tmp_size *= sizeof(long)/4; ret = g_malloc(tmp_size + 1); memcpy(ret, ret_prop, tmp_size); ret[tmp_size] = '\0'; debian/compat0000644000000000000000000000000211765373556010406 0ustar 9 debian/watch0000644000000000000000000000010411771025343010215 0ustar version=3 http://tomas.styblo.name/wmctrl dist/wmctrl-(.*)\.tar\.gz debian/rules0000755000000000000000000000021511771031661010247 0ustar #!/usr/bin/make -f # Avoid useless dependencies on libSM.so.6 and libICE.so.6. export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ debian/changelog0000644000000000000000000000551411771032377011055 0ustar wmctrl (1.07-7) unstable; urgency=low * New maintainer. (Closes: #660499) * Convert to source format 3.0 quilt. * Update to debhelper 9. * Remove versioned Build-Depends libglib2.0-dev (>= 2.4.0), already met in sarge. * Mark Multi-Arch: foreign. * Bump Standards-Version to 3.9.3. * Add Homepage field. * Enable default hardening flags. * Link with --as-needed to avoid useless dependencies. * Update debian/watch file. * Convert debian/copyright to copyright-format 1.0. -- Jeroen Schot Mon, 11 Jun 2012 15:58:52 +0200 wmctrl (1.07-6) unstable; urgency=low * Reverted CARD32 patch, which was broken on amd64; use fix from Chris Donoghue instead. (Closes: #362068) * Change x-dev -> x11proto-core-dev build-dep. -- Decklin Foster Tue, 18 Apr 2006 10:20:00 -0400 wmctrl (1.07-5) unstable; urgency=low * Not all the new build-deps from -2 were actually added to debian/control. (Closes: #345816) -- Decklin Foster Tue, 3 Jan 2006 14:26:57 -0500 wmctrl (1.07-4) unstable; urgency=low * Get rid of huge mess in .diff.gz caused by vim's braindead folding. -- Decklin Foster Mon, 2 Jan 2006 23:27:14 -0500 wmctrl (1.07-3) unstable; urgency=low * Fix typo in description (Closes: #345576) -- Decklin Foster Mon, 2 Jan 2006 22:53:30 -0500 wmctrl (1.07-2) unstable; urgency=low * Patch main.c to use CARD32 for all EWMH properties instead of unsigned long, which may be 64 bits on 64-bit archs. (Closes: #344080) * Replace xlibs-dev build-dep with libx11-dev, x-dev, libxmu-dev. * Update Standards-Version to 3.6.2. -- Decklin Foster Mon, 2 Jan 2006 22:34:27 -0500 wmctrl (1.07-1) unstable; urgency=low * New upstream release -- Decklin Foster Sat, 29 Jan 2005 09:45:14 -0500 wmctrl (1.06-1) unstable; urgency=low * New upstream release - debian/wmctrl.1: merged upstream. * debian/watch: added trailing / to directory (Thanks, Shyamal). * debian/control: lowercase first letter of description. -- Decklin Foster Sat, 22 Jan 2005 14:04:09 -0500 wmctrl (1.05-2) unstable; urgency=low * Adopting package created by Debian user Shyamal Prasad . * Removed debian/{pre,post}{inst,rm}.ex and config.{sub,guess}, and do not generate config.{sub,guess} in clean. * Removed example cruft in copyright and watch. * Install ChangeLog as the upstream changelog, not a doc. Do not install NEWS, since it is empty. -- Decklin Foster Mon, 13 Dec 2004 10:41:11 -0500 wmctrl (1.05-1) unstable; urgency=low * Initial Release. Added man page wmctrl.1 (closes: #285397) -- Shyamal Prasad Thu, 12 Dec 2004 18:59:40 -0800