--- backintime-0.9.24.orig/debian/backintime-gnome.links +++ backintime-0.9.24/debian/backintime-gnome.links @@ -0,0 +1 @@ +/usr/share/man/man1/backintime.1.gz /usr/share/man/man1/backintime-gnome.1.gz --- backintime-0.9.24.orig/debian/copyright +++ backintime-0.9.24/debian/copyright @@ -0,0 +1,52 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Upstream-Name: Back In Time +Upstream-Maintainer: Oprea Dan +Upstream-Source: http://www.le-web.org/back-in-time/ + +Files: * +Copyright: Copyright (C) 2008,2009 Oprea Dan +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. + + On Debian systems, the full text of the GPLv2 can be found at + /usr/share/common-licenses/GPL-2 + +Files: docbook/* +Copyright: Copyright (C) 2008 Oprea Dan +License: GFDL-1.1+ + + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.1 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled "GNU + Free Documentation License". + + On Debian systems, the full text of the GFDLv1.2 can be found at + /usr/share/common-licenses/GFDL-1.2 + +Files: debian/* +Copyright: Copyright (C) 2009 Jonathan Wiltshire +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. + + On Debian systems, the full text of the GPLv2 can be found at + /usr/share/common-licenses/GPL-2 --- backintime-0.9.24.orig/debian/compat +++ backintime-0.9.24/debian/compat @@ -0,0 +1 @@ +7 --- backintime-0.9.24.orig/debian/watch +++ backintime-0.9.24/debian/watch @@ -0,0 +1,5 @@ +# See uscan(1) for format + +version=3 +opts=uversionmangle=s/(alpha|beta|rc)/~$1/ \ +http://www.le-web.org/download/backintime/backintime-(.*)_src\.tar\.gz --- backintime-0.9.24.orig/debian/changelog +++ backintime-0.9.24/debian/changelog @@ -0,0 +1,66 @@ +backintime (0.9.24-2) unstable; urgency=low + + * Rename binary package backintime-kde4 to backintime-kde (and handle + upgrades for users when it reaches the archive) + + -- Jonathan Wiltshire Mon, 18 May 2009 20:12:34 +0100 + +backintime (0.9.24-1) unstable; urgency=low + + * New upstream version (closes: #527447): + - backintime is no longer aware of 'backintime-gnome' and 'backintime-kde4' + (you need run 'backintime-gnome' for GNOME version and 'backintime-kde4' + for KDE4 version) + - fix a bug that crashes the program after taking a snapshot + * Update homepage field in debian/control (closes: #527595) + * Refactor packaging to fit new upstream build system (an almost entire + re-write of debian/rules) + * Make configure scripts use /bin/sh instead of /bin/bash (they don't use + bash features) + + -- Jonathan Wiltshire Sat, 16 May 2009 23:04:32 +0100 + +backintime (0.9.22.1-1) unstable; urgency=low + + * New upstream version: + - follow FreeDesktop directory specs + - treat "*~" files as hidden + - new user callback system + * Refactor debian/rules to fit new upstream build system + * Remove the tests for GNOME and KDE4 in ./configure (on an + autobuilder, they will always fail) + * Bump debhelper build-dependency to 7.2.8 + + -- Jonathan Wiltshire Sun, 03 May 2009 23:02:46 +0100 + +backintime (0.9.20-1) unstable; urgency=low + + * New upstream version + * Upload to unstable + + -- Jonathan Wiltshire Wed, 08 Apr 2009 16:47:28 +0100 + +backintime (0.9.18-1) experimental; urgency=low + + * New upstream version + * Make the new "run as root" desktop entries use su-to-root + Add "run as root" entry to Debian menu system + + -- Jonathan Wiltshire Fri, 03 Apr 2009 12:05:08 +0100 + +backintime (0.9.16.1-1) experimental; urgency=low + + * New upstream version + * Add versioned depends on the -common package + * Added dependency on python-gnome2 for -gnome + * Added dependency on python-notify for -gnome + * Bump standards version + * Make cron a Depends instead of a Recommends + + -- Jonathan Wiltshire Tue, 17 Mar 2009 01:54:40 +0000 + +backintime (0.9.4-1) experimental; urgency=low + + * Initial release (Closes: #508407) + + -- Jonathan Wiltshire Fri, 16 Jan 2009 15:34:42 +0000 --- backintime-0.9.24.orig/debian/rules +++ backintime-0.9.24/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +clean: + dh clean + rm -rf locale common/po/*.mo + find $(CURDIR) -name "*\.py[co]" -delete + rm -f common/Makefile gnome/Makefile kde4/Makefile + +override_dh_auto_configure: + cd common && ./configure + cd gnome && ./configure + cd kde4 && ./configure + +override_dh_auto_install: + cd common && DESTDIR=../debian/backintime-common $(MAKE) install + rm -rf $(CURDIR)/debian/backintime-common/usr/share/doc/backintime-common + rm -f $(CURDIR)/debian/backintime-common/usr/share/doc/backintime/LICENSE + + cd gnome && DESTDIR=../debian/backintime-gnome $(MAKE) install + rm -rf $(CURDIR)/debian/backintime-gnome/usr/share/doc/backintime-gnome + + cd kde4 && DESTDIR=../debian/backintime-kde $(MAKE) install + rm -rf $(CURDIR)/debian/backintime-kde/usr/share/doc/backintime-kde4 + +override_dh_pysupport: + dh_pysupport /usr/share/backintime/ + +%: + dh $@ --- backintime-0.9.24.orig/debian/backintime-kde.links +++ backintime-0.9.24/debian/backintime-kde.links @@ -0,0 +1 @@ +/usr/share/man/man1/backintime.1.gz /usr/share/man/man1/backintime-kde4.1.gz --- backintime-0.9.24.orig/debian/control +++ backintime-0.9.24/debian/control @@ -0,0 +1,60 @@ +Source: backintime +Section: utils +Priority: extra +Maintainer: Jonathan Wiltshire +Build-Depends: debhelper (>= 7.2.8), python-support (>= 1.0.2) +Standards-Version: 3.8.1 +Homepage: http://backintime.le-web.org/ +Vcs-Browser: http://robin.powdarrmonkey.net/cgi-bin/gitweb.cgi?p=backintime +Vcs-Git: git://robin.powdarrmonkey.net/git/backintime + +Package: backintime-common +Architecture: all +Depends: rsync, python (>= 2.5), cron, ${python:Depends}, ${misc:Depends} +Description: simple backup/snapshot system + Back In Time is a framework for rsync, diff and cron for the purpose of + taking snapshots and backups of specified folders. It minimizes disk space use + by taking a snapshot only if the directory has been changed, and hard links + for unmodified files if it has. The user can schedule regular backups using + cron. + . + This is the common framework for Back In Time. You need to choose a suitable + front-end for your desktop environment, like backintime-gnome or + backintime-kde. + +Package: backintime-gnome +Architecture: all +Depends: backintime-common (>= ${source:Version}), python-gnome2 (>= 2.22), python-notify, python-gtk2, python-glade2, ${python:Depends}, ${misc:Depends} +Recommends: nautilus-actions +Description: GNOME front-end for backintime + Back In Time is a framework for rsync, diff and cron for the purpose of + taking snapshots and backups of specified folders. It minimizes disk space use + by taking a snapshot only if the directory has been changed, and hard links + for unmodified files if it has. The user can schedule regular backups using + cron. + . + This is the GNOME front-end for the backintime-common package. If you also + install the package nautilus-actions, it can be integrated with the Nautilus + file manager to provide context-menu options. + +Package: backintime-kde +Architecture: all +Provides: backintime-kde4 +Replaces: backintime-kde4 (<< 0.9.24-1) +Conflicts: backintime-kde4 (<< 0.9.24-1) +Depends: backintime-common (>= ${source:Version}), python-kde4, ${python:Depends}, ${misc:Depends} +Description: KDE front-end for backintime + Back In Time is a framework for rsync, diff and cron for the purpose of + taking snapshots and backups of specified folders. It minimizes disk space use + by taking a snapshot only if the directory has been changed, and hard links + for unmodified files if it has. The user can schedule regular backups using + cron. + . + This is the KDE front-end for the backintime-common package. + +Package: backintime-kde4 +Architecture: all +Depends: backintime-kde +Description: transitional dummy package + This package is used only during the rename of backintime-kde4 to + backintime-kde. In normal circumstances, do not install this package. --- backintime-0.9.24.orig/debian/menu +++ backintime-0.9.24/debian/menu @@ -0,0 +1,4 @@ +?package(backintime-common):needs="X11" section="Applications/File Management"\ + title="Back In Time" command="/usr/bin/backintime" +?package(backintime-common):needs="X11" section="Applications/File Management"\ + title="Back In Time (root)" command="/usr/bin/su-to-root -X -c /usr/bin/backintime" --- backintime-0.9.24.orig/gnome/backintime-gnome-root.desktop +++ backintime-0.9.24/gnome/backintime-gnome-root.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=Back In Time (root) -Exec=gksu backintime-gnome +Exec=su-to-root -X -c backintime-gnome Icon=gtk-save Terminal=false X-MultipleArgs=false --- backintime-0.9.24.orig/gnome/configure +++ backintime-0.9.24/gnome/configure @@ -1,14 +1,15 @@ -#!/bin/bash +#!/bin/sh if [ -e Makefile ]; then rm Makefile; fi #check GNOME -if [ -z `which gnome-session` ]; then - echo "ERROR: Can't find GNOME !" - exit 1 -fi +#DISABLED for Debian (fails on autobuilders) +#if [ -z `which gnome-session` ]; then +# echo "ERROR: Can't find GNOME !" +# exit 1 +#fi cp Makefile.template Makefile --- backintime-0.9.24.orig/common/configure +++ backintime-0.9.24/common/configure @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh if [ -e Makefile ]; then rm Makefile; --- backintime-0.9.24.orig/kde4/backintime-kde4-root.desktop +++ backintime-0.9.24/kde4/backintime-kde4-root.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=Back In Time (root) -Exec=kdesudo -c backintime-kde4 +Exec=su-to-root -X -c backintime-kde4 Icon=document-save Terminal=false X-MultipleArgs=false --- backintime-0.9.24.orig/kde4/configure +++ backintime-0.9.24/kde4/configure @@ -1,12 +1,13 @@ -#!/bin/bash +#!/bin/sh #check KDE4 -if [ $kde4 = "--kde4" ]; then - if [ -z `which kdeinit4` ]; then - echo "ERROR: Can't find KDE4 !" - exit 1 - fi -fi +#DISABLED for Debian (fails on autobuilders +#if [ $kde4 = "--kde4" ]; then +# if [ -z `which kdeinit4` ]; then +# echo "ERROR: Can't find KDE4 !" +# exit 1 +# fi +#fi cp Makefile.template Makefile