--- maximus-0.4.14.orig/debian/manpages +++ maximus-0.4.14/debian/manpages @@ -0,0 +1 @@ +debian/maximus.1 --- maximus-0.4.14.orig/debian/watch +++ maximus-0.4.14/debian/watch @@ -0,0 +1,3 @@ +version=3 +https://launchpad.net/maximus/+download \ + .*/maximus-(.*)\.tar\.gz --- maximus-0.4.14.orig/debian/rules +++ maximus-0.4.14/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/utils.mk +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +LDFLAGS += -Wl,-O1 -Wl,-z,defs -Wl,--as-needed + +get-orig-source: + uscan --force-download + --- maximus-0.4.14.orig/debian/maximus.postinst +++ maximus-0.4.14/debian/maximus.postinst @@ -0,0 +1,25 @@ +#!/bin/sh -e + +# Move a conffile without triggering a dpkg question +mv_conffile() { + local OLDCONFFILE="$1" + local NEWCONFFILE="$2" + + [ -e "$OLDCONFFILE" ] || return 0 + + echo "Preserving user changes to $NEWCONFFILE ..." + mv -f "$NEWCONFFILE" "$NEWCONFFILE".dpkg-new + mv -f "$OLDCONFFILE" "$NEWCONFFILE" +} + +case "$1" in +configure) + if dpkg --compare-versions "$2" le "0.4.14-1ubuntu1"; then + mv_conffile "/etc/xdg/xdg-une/autostart/maximus-autostart.desktop" \ + "/etc/xdg/autostart/maximus-autostart.desktop" + fi +esac + +#DEBHELPER# + +exit 0 --- maximus-0.4.14.orig/debian/maximus.1 +++ maximus-0.4.14/debian/maximus.1 @@ -0,0 +1,34 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH MAXIMUS 1 "1 September 2008" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +MAXIMUS \- force all windows to be full-screen +.SH SYNOPSIS +.B maximus +.SH DESCRIPTION +This manual page documents briefly +.B maximus\fP. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBmaximus\fP is an X program that forces all windows to be full-screen. +.SH OPTIONS +.B maximus\fP takes no command line arguments. +.SH AUTHOR +This manual page was written by Steve Kowalik , for use with Ubuntu. + --- maximus-0.4.14.orig/debian/control +++ maximus-0.4.14/debian/control @@ -0,0 +1,17 @@ +Source: maximus +Section: gnome +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Guido Günther +Build-Depends: cdbs, debhelper (>= 5), autotools-dev, gnome-pkg-tools (>= 0.10), libglib2.0-dev (>= 2.15.5), libgtk2.0-dev (>= 2.10.0), libgconf2-dev (>= 2.16.0), libwnck-dev, libgnomeui-dev, libxtst-dev, libfakekey-dev, libxtst-dev, libunique-dev +Standards-Version: 3.8.4 +Vcs-Git: git://git.debian.org/users/agx/maximus.git +Vcs-Browser: http://git.debian.org/?p=users/agx/maximus.git;a=summary + +Package: maximus +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, metacity | x-window-manager +Description: Automaximizing window management tool + Maximus is a desktop daemon which will automatically maximise and optionally + un-decorate windows. It has support for exclusion lists and will work with any + EWMH-spec compliant window-manager. --- maximus-0.4.14.orig/debian/changelog +++ maximus-0.4.14/debian/changelog @@ -0,0 +1,111 @@ +maximus (0.4.14-1ubuntu2) maverick; urgency=low + + * debian/control: + - bump Standards-Version + * debian/rules, debian/postinst, debian/preinst: + - move autostart desktop file to /etc/xdg/autostart as no more needed in + UNE session + + -- Didier Roche Wed, 09 Jun 2010 12:41:45 +0200 + +maximus (0.4.14-1ubuntu1) maverick; urgency=low + + * Give back some ubuntu changes as alpha1 will still be netbook-launcher: + - debian/patches/01_change_autostart_for_une.patch: + Move autostart phase from desktop to applications, so that it doesn't + block the startup of other programs, and the scheduler can sort out + which program to give the CPU to. This compacts the CPU usage on + startup. + - debian/rules: move autostart .desktop file to etc/xdg/xdg-une/ + (start only in une session) + - debian/{pre,post}inst: handle conffile move + + -- Didier Roche Mon, 31 May 2010 14:45:35 +0200 + +maximus (0.4.14-1) unstable; urgency=low + + * [454633a] Imported Upstream version 0.4.14 + + -- Guido Günther Thu, 14 Jan 2010 15:24:46 +0100 + +maximus (0.4.12-1) unstable; urgency=low + + * [c84ebec] depend on a window manager it's pretty useless without one + * [4cba576] typo in short description + * [ab35c73] Imported Upstream version 0.4.12 + * [0293740] build-dep on libunique-dev + * [0a4e30b] bump standards version + + -- Guido Günther Tue, 29 Sep 2009 13:55:49 +0200 + +maximus (0.4.9-1) unstable; urgency=low + + * [ef3a32a] Imported Upstream version 0.4.9 + * [c2303c5] add Vcs-{Git,Browser} + + -- Guido Günther Thu, 28 May 2009 16:07:19 +0200 + +maximus (0.4.8-1) unstable; urgency=low + + * first upload to Debian (Closes: #530563) + * [32af1a4] update description, change maintainer + * [3d2ca65] bump standars version + * [1dac2c7] don't link against unused libraries and optimize hash + table + + -- Guido Günther Thu, 28 May 2009 15:46:59 +0200 + +maximus (0.4.8-0ubuntu3) jaunty; urgency=low + + * Provide x-window-manager. + + -- Loic Minier Mon, 20 Apr 2009 20:29:10 +0200 + +maximus (0.4.8-0ubuntu2) jaunty; urgency=low + + * Add missing bdep on libxtst-dev. + * Drop unused libdbus-1-dev, libdbus-glib-1-dev, libpango1.0-dev, + libcairo2-dev bdeps. + + -- Loic Minier Thu, 02 Apr 2009 12:39:11 +0200 + +maximus (0.4.8-0ubuntu1) jaunty; urgency=low + + * New upstream release. + + -- Steve Kowalik Wed, 18 Mar 2009 10:30:30 +1100 + +maximus (0.4.7-0ubuntu1) jaunty; urgency=low + + * New upstream release. + + -- Steve Kowalik Tue, 24 Feb 2009 15:15:51 +1100 + +maximus (0.4.6-0ubuntu1) jaunty; urgency=low + + * New upstream release + * Standards-Version goes in the source stanza. + + -- Steve Kowalik Wed, 18 Feb 2009 11:13:08 +1100 + +maximus (0.4.3-0ubuntu1) jaunty; urgency=low + + * New upstream release. + + -- Steve Kowalik Wed, 28 Jan 2009 01:17:28 +1100 + +maximus (0.4.0-0ubuntu1) intrepid; urgency=low + + * New upstream release (LP: #283355) + - Fix gnome client errors + - Better wrappers around x errors + * Update the control to add libgnomeui to the depends + + -- Neil J. Patel Mon, 13 Oct 2008 17:17:05 +0100 + +maximus (0.3-0ubuntu1) intrepid; urgency=low + + * Inital release, based for Intrepid. (LP: #263493) + + -- Steve Kowalik Mon, 01 Sep 2008 14:38:02 +1000 + --- maximus-0.4.14.orig/debian/copyright +++ maximus-0.4.14/debian/copyright @@ -0,0 +1,50 @@ +This package was debianized by Neil J. Patel on +Tue, 29 Apr 2008 11:19:58 +0100. + +It was downloaded from https://launchpad.net/maximus/+download + +Upstream Author: Neil J. Patel + +Copyright (C) 2008 Canonical Ltd + + 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 3 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 program. If not, see . + +src/eggaccelerator.{c,h} are Copyright Red Hat, authored by Havoc +Pennington and Tim Janik and are under the terms of the LGPL 2 or later. + +src/tomboykeybinder.{c,h} are Copyright Novell, and are also under the terms +of the LGPL 2 or later. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA + 02110-1301 USA + +The packaging is copyright 2008 Canonical Ltd, and is also under the terms +of the GPL version 3. + +On Debian/Ubuntu systems, the full text of GPL v3 can be found in +`/usr/share/common-licenses/GPL-3', and the full text of the LGPL 2 can be +found in `/usr/share/common-licenses/LGPL-2'. + --- maximus-0.4.14.orig/debian/compat +++ maximus-0.4.14/debian/compat @@ -0,0 +1 @@ +5 --- maximus-0.4.14.orig/debian/maximus.preinst +++ maximus-0.4.14/debian/maximus.preinst @@ -0,0 +1,27 @@ +#!/bin/sh -e + +# Prepare to move a conffile without triggering a dpkg question +prep_mv_conffile() { + local PKGNAME="$1" + local CONFFILE="$2" + + [ -e "$CONFFILE" ] || return 0 + + local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')" + local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \ + sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")" + if [ "$md5sum" = "$old_md5sum" ]; then + rm -f "$CONFFILE" + fi +} + +case "$1" in +install|upgrade) + if dpkg --compare-versions "$2" le "0.4.14-1ubuntu1"; then + prep_mv_conffile maximus "/etc/xdg/xdg-une/autostart/maximus-autostart.desktop" + fi +esac + +#DEBHELPER# + +exit 0 --- maximus-0.4.14.orig/debian/patches/01_change_autostart_for_une.patch +++ maximus-0.4.14/debian/patches/01_change_autostart_for_une.patch @@ -0,0 +1,10 @@ +diff -Nur -x '*.orig' -x '*~' maximus-0.4.14//data/maximus-autostart.desktop maximus-0.4.14.new//data/maximus-autostart.desktop +--- maximus-0.4.14//data/maximus-autostart.desktop 2009-09-08 18:08:14.000000000 +0200 ++++ maximus-0.4.14.new//data/maximus-autostart.desktop 2010-05-31 14:45:27.732220263 +0200 +@@ -8,6 +8,5 @@ + Type=Application + Categories= + OnlyShowIn=GNOME;XFCE; +-X-GNOME-Autostart-Phase=Desktop + X-GNOME-Autostart-Notify=false +