debian/0000755000000000000000000000000012264353167007177 5ustar debian/rules0000755000000000000000000000043212141200052010230 0ustar #! /usr/bin/make -f GNOME_DOWNLOAD_URL = http://www.burtonini.com./computing/$(GNOME_TARBALL) include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/gnome.mk -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk LDFLAGS += -Wl,-O1 -Wl,--as-needed debian/copyright0000644000000000000000000000201011636241705011117 0ustar This package was debianized by the upstream author, Ross Burton on Wed, 4 Sep 2002 08:35:39 +0100. It was downloaded from http://www.burtonini.com./ Copyright (C) 2002-2005, Ross Burton : 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; version 2 dated June, 1991. 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/changelog0000644000000000000000000001452512264354532011055 0ustar devilspie (0.23-2) unstable; urgency=medium * QA upload. * Upgrade to standards version 3.9.5 (No change required) * Add patch fix_memleak_in_my_wnck_get_viewport_start.patch to fix a memleak in the program (Closes: #706884) * Add patch remove_unavailable_options_from_manpage.patch to remove the options that are available in the man-page but are not available in the actual program (Closes: #709869) * Add patch to replace deprecated function wnck_class_group_get_res_class with wnck_class_group_get_id -- Andreas Rönnquist Sat, 11 Jan 2014 23:55:13 +0100 devilspie (0.23-1) unstable; urgency=low * QA upload * New upstream release * Update standard version to 3.9.4 * Removed patches (applied upstream) - fix_ftbfs_with_binutils_gold.patch - fix_gdk_display_ftbfs.patch * Add patch to fix lintian warnings (these changes are available in upstream git, but was not in time for 0.23): - fix_manpage_lintian_warnings.patch * Add hardening build flags * Bump versioned Build-Depends on gtk-3 and libwnck-3 * Update homepage field with new blog info * Fix watch file -- Andreas Rönnquist Fri, 26 Oct 2012 18:07:34 +0200 devilspie (0.22-2) unstable; urgency=low * New maintainer (closes: #642262) * Convert to source format 3.0 (quilt) * Update debhelper compatibility level to 7 * Update standards version to 3.9.2 * Fix deprecated functions causing FTBFS - fix_gdk_display_ftbfs.patch (closes: #638991) * Fix FTBFS with binutils-gold - fix_ftbfs_with_binutils_gold.patch (closes: #554305) - add dependency on libx11-dev * debian/control: Add homepage field * debian/copyright: - Fix copyright refers to versionless license file - Fix copyright without copyright notice * debian/NEWS: - Fix debian-news-entry-uses-asterisk -- Andreas Rönnquist Wed, 21 Sep 2011 01:02:59 +0200 devilspie (0.22-1) unstable; urgency=low * New upstream release. -- Ross Burton Tue, 05 Feb 2008 13:57:36 +0000 devilspie (0.21-1) unstable; urgency=low * New upstream release. -- Ross Burton Sun, 23 Sep 2007 21:32:25 +0100 devilspie (0.20.2-1) unstable; urgency=medium * Add a get-orig-source target to retrieve the upstream tarball. * New upstream bugfix release fixing "window_workspace". -- Loic Minier Mon, 29 Jan 2007 11:08:29 +0100 devilspie (0.20.1-1) unstable; urgency=low * New upstream release. -- Ross Burton Fri, 12 Jan 2007 19:22:56 +0000 devilspie (0.20-1) unstable; urgency=low * New upstream release. -- Ross Burton Fri, 12 Jan 2007 14:47:45 +0000 devilspie (0.19-1) unstable; urgency=low * New upstream release * Don't call dh_installcatalogs any more (closes: #361149) -- Ross Burton Fri, 1 Dec 2006 16:59:17 +0000 devilspie (0.17.1-1) unstable; urgency=low * New upstream release. - Fixes build with new glib (closes: #359647) * Update build-dep to new Glib * Add --as-needed to reduce dependencies -- Ross Burton Wed, 29 Mar 2006 12:24:58 +0100 devilspie (0.16-2) unstable; urgency=low * Rebuild for new libwnck 2.12 (closes: #348401) -- Ross Burton Tue, 17 Jan 2006 07:39:39 +0000 devilspie (0.16-1) unstable; urgency=low * New upstream - Fix undecorate (closes: #334852) * debian/copyright: Fix FSF address. -- Ross Burton Wed, 2 Nov 2005 11:11:39 +0000 devilspie (0.15-1) unstable; urgency=low * New upstream release - don't return NULL strings in matchers (closes: #334853) * Remove README.Debian (closes: #334850) -- Ross Burton Thu, 20 Oct 2005 11:21:10 +0100 devilspie (0.14-1) unstable; urgency=low * New upstream release - Total rewrite, no more XML, s-expressions instead - No more XML catalogue -- Ross Burton Sun, 16 Oct 2005 21:08:25 +0100 devilspie (0.11-1) unstable; urgency=low * New upstream release. - Fixed German translation (closes: #313688) -- Ross Burton Fri, 16 Sep 2005 10:50:32 +0100 devilspie (0.10-1) unstable; urgency=low * New upstream release - builds with G2.10 (closes: #313652) * Depend on libwnck-dev 2.10 to force new API usage. -- Ross Burton Wed, 22 Jun 2005 17:08:40 +0100 devilspie (0.8-3) unstable; urgency=low * devilspie.docs: Add devilspie-reference.html -- Ross Burton Thu, 3 Mar 2005 10:56:02 +0000 devilspie (0.8-2) unstable; urgency=low * Rebuild in a pbuilder, whoops (closes: #291894) * Add Build-Depends on libpopt and xsltproc -- Ross Burton Mon, 24 Jan 2005 09:00:31 +0000 devilspie (0.8-1) unstable; urgency=low * New upstream release - Add --apply-to-existing (closes: #270661) * Lower-case package summary -- Ross Burton Sun, 23 Jan 2005 18:54:48 +0000 devilspie (0.7-1) unstable; urgency=low * New upstream release (closes: #278305) -- Ross Burton Mon, 20 Sep 2004 21:59:29 +0100 devilspie (0.6-1) unstable; urgency=low * New upstream release - fullscreen action works (closes: #216780) -- Ross Burton Thu, 19 Aug 2004 20:17:11 +0100 devilspie (0.5-1) unstable; urgency=low * New upstream release. -- Ross Burton Tue, 17 Aug 2004 08:15:08 +0100 devilspie (0.4.1-2) unstable; urgency=low * Build-dep on intltool (closes: #254269) * Remove unused libpopt-dev build-depends -- Ross Burton Mon, 14 Jun 2004 07:56:25 +0100 devilspie (0.4.1-1) unstable; urgency=low * New upstream release (closes: #253818) -- Ross Burton Sun, 13 Jun 2004 12:28:48 +0100 devilspie (0.3.1-1) unstable; urgency=low * New upstream release (closes: #208963) -- Ross Burton Wed, 17 Sep 2003 18:46:49 +0100 devilspie (0.3-1) unstable; urgency=low * New upstream release * First release into Debian * Rewrite debian/rules to use CDBS -- Ross Burton Thu, 14 Aug 2003 08:17:44 +0100 devilspie (0.2.4-1) unstable; urgency=low * New release. -- Ross Burton Thu, 01 May 2003 18:49:28 +0100 devilspie (0.2.3-1) unstable; urgency=low * Initial packages. -- Ross Burton Wed, 23 Oct 2002 08:35:39 +0100 debian/NEWS0000644000000000000000000000047311636242415007675 0ustar devilspie (0.14-1) unstable; urgency=low Note that this release was a complete rewrite and no longer uses the XML file format, but uses a number of files with s-expressions in The README contains an introduction and brief tutorial. -- Ross Burton Sun, 16 Oct 2005 21:11:38 +0100 debian/devilspie.docs0000644000000000000000000000002111636241120012011 0ustar NEWS README TODO debian/watch0000644000000000000000000000014712141034764010223 0ustar version=3 http://www.burtonini.com/ .*/computing/devilspie-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) debian/compat0000644000000000000000000000000211636241120010360 0ustar 7 debian/patches/0000755000000000000000000000000012264351151010615 5ustar debian/patches/fix_manpage_lintian_warnings.patch0000644000000000000000000000172212043047350017542 0ustar Author: Andreas Rönnquist Description: Fixes lintian warnings on the manpage, already fixed in upstream git, but not in time for version 0.23. Index: devilspie-0.23/devilspie.1 =================================================================== --- devilspie-0.23.orig/devilspie.1 2012-10-01 11:30:43.000000000 +0200 +++ devilspie-0.23/devilspie.1 2012-10-26 20:05:09.628490721 +0200 @@ -31,7 +31,7 @@ .SH "ALLOWED SYMBOLS" In the input files, the following symbols are known by \fIdevilspie\fR: -."SYMBOL HELP BEGINS HERE +.\"SYMBOL HELP BEGINS HERE .TP \fBis\fR String equality, (is a b) means a is the same as b. @@ -164,7 +164,7 @@ .TP \fBspawn_sync\fR Execute a command in the foreground (returns command output as string, or FALSE on error). Command is given as a single string, or as a series of strings (similar to execl). -."SYMBOL HELP ENDS HERE +.\"SYMBOL HELP ENDS HERE .SH BUGS This manpage is almost useless, as it was thrown together on a train. debian/patches/fix_memleak_in_my_wnck_get_viewport_start.patch0000644000000000000000000000147712264350051022356 0ustar Author: Andreas Rönnquist Description: Fix my_wnck_get_viewport memleak Fixes a memleak in the my_wnck_get_viewport_start function where the result from my_wnck_get_cardinal_list wasn't freed correctly. It is already fixed in upstream git repository, but not in a release yet - See https://git.gnome.org/browse/devilspie/commit/?id=6b1af1227658ac333bfab407e02f3de6452d6de1 --- a/src/xutils.c +++ b/src/xutils.c @@ -286,13 +286,14 @@ { gulong *list; int len; + int result = -1; my_wnck_get_cardinal_list (RootWindowOfScreen (my_wnck_window_get_xscreen (win)), my_wnck_atom_get ("_NET_DESKTOP_VIEWPORT"), &list, &len); - if (len > 0) { - return list[0]; - } else { - return -1; - } + if (len > 0) result=list[0]; + + g_free(list); + + return result; } debian/patches/fix_using_deprecated_wnck_functions.patch0000644000000000000000000000241012264351366021130 0ustar Author: Andreas Rönnquist Description: Do not use depreceated libwnck function wnck_class_group_get_res_class This patch makes the source use the wnck_class_group_get_id function instead of the deprecated wnck_class_group_res_class --- a/src/actions.c +++ b/src/actions.c @@ -43,7 +43,7 @@ g_print(_("Window Title: '%s'; Application Name: '%s'; Class: '%s'; Geometry: %dx%d+%d+%d\n"), wnck_window_get_name (c->window), wnck_application_get_name (wnck_window_get_application (c->window)), - wnck_class_group_get_res_class (wnck_window_get_class_group (c->window)), + wnck_class_group_get_id (wnck_window_get_class_group (c->window)), width, height, xoffset, yoffset); return e_sexp_result_new_bool (f, TRUE); --- a/src/matchers.c +++ b/src/matchers.c @@ -71,7 +71,7 @@ ESExpResult *func_window_class(ESExp *f, int argc, ESExpResult **argv, Context *c) { ESExpResult *r; r = e_sexp_result_new(f, ESEXP_RES_STRING); - r->value.string = g_strdup (wnck_class_group_get_res_class (wnck_window_get_class_group (c->window))); + r->value.string = g_strdup (wnck_class_group_get_id (wnck_window_get_class_group (c->window))); if (r->value.string == NULL) r->value.string = g_strdup(""); return r; } debian/patches/remove_unavailable_options_from_manpage.patch0000644000000000000000000000115012264347465021776 0ustar Author: Andreas Rönnquist Description: Remove unavailable options from the manual page Removes options in the manual page that isn't available in the program. --- a/devilspie.1 +++ b/devilspie.1 @@ -22,12 +22,6 @@ .TP \fB\-d\fR \fB\-\-debug\fR Output debug information -.TP -\fB\-l\fR \fB\-\-list\-symbols\fR -List available symbols supported in input files. -.TP -\fB\-s\fR \fIsymname\fR \fB\-\-symbol\-doc\fR=\fIsymname\fR - Get detailed help on symbol \fIsymname\fR ('all' for all symbols). .SH "ALLOWED SYMBOLS" In the input files, the following symbols are known by \fIdevilspie\fR: debian/patches/series0000644000000000000000000000025312264351042012031 0ustar fix_manpage_lintian_warnings.patch fix_memleak_in_my_wnck_get_viewport_start.patch remove_unavailable_options_from_manpage.patch fix_using_deprecated_wnck_functions.patch debian/control0000644000000000000000000000115712264351622010600 0ustar Source: devilspie Section: gnome Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 7), cdbs, autotools-dev, intltool, libglib2.0-dev (>= 2.10), libgtk-3-dev, libwnck-3-dev (>= 2.12), libx11-dev Standards-Version: 3.9.5 Homepage: http://burtonini.com/wordpress/tag/devilspie Package: devilspie Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: find windows and perform actions on them This tool will find windows as they are created and perform actions on them, such as resizing, moving to another workspace, or pinning them to all workspaces. debian/source/0000755000000000000000000000000011636241120010462 5ustar debian/source/format0000644000000000000000000000001411636241120011670 0ustar 3.0 (quilt)