Re: RFS: snap2 rsync-based backup program with GUI (with Debian source)
On Di, 15 Jun 2010, Lloyd Standish wrote:
> Debian source: http://files.lstandish.com/snap2-source
>
> The package appears to be lintian-clean.
How do you come to that idea?
I unpacked your package, built it with dpkg-buildpackage -us -uc -rfakeroot,
and run lintian on the resulting package:
$ ls
rules.norbert* snap2_4.16-1_amd64.changes snap2_4.16.orig.tar.gz
snap2-4.16/ snap2_4.16-1.diff.gz
snap2_4.16-1_all.deb snap2_4.16-1.dsc
$ intian snap2_4.16-1_amd64.changes
W: snap2 source: debhelper-but-no-misc-depends snap2
W: snap2 source: dh-clean-k-is-deprecated
E: snap2 source: debian-rules-missing-required-target binary-arch
W: snap2 source: ancient-standards-version 3.7.3 (current is 3.8.4)
$
So I fixed those things and build a new package, now it is lintian clean.
I attach a fixed debian/rules file (too many diffs) in which I also
removed those lines that are completely useless. The generated rules
file should only be a starting point and you should tailor it to your needs,
removing unused stuff.
Furthermore, the control file needs a change:
@@ -3,12 +3,12 @@
Priority: optional
Maintainer: Lloyd G. Standish <lloyd@crnatural.net>
Build-Depends: debhelper (>= 7)
-Standards-Version: 3.7.3
+Standards-Version: 3.8.4
Homepage: http://www.linuxbackups.org
Package: snap2
Architecture: all
-Depends: rsync (>=2.5.7), openssh-client(>=1:5.1p1-5), bash (>= 2.05a-11), sed (>= 3.02-8), grep (>= 2.4.2-3), coreutils (>= 5.0-5), gtkdialog
+Depends: rsync (>=2.5.7), openssh-client(>=1:5.1p1-5), bash (>= 2.05a-11), sed (>= 3.02-8), grep (>= 2.4.2-3), coreutils (>= 5.0-5), gtkdialog, ${misc:Depends}
Description: A fast, easy-to-use rsync-based backup program with GUI
snap2 combines the convenience of full backups with the speed and backup
storage economy of incremental backups.
---------------------------
So changing the Standards version and addin ${misc:Depends} to the dependencies.
After that it is lintian clean,......
BUT: You have a dependency on
gtkdialog
but there is no package gtkdialog anymore, and also the file is gone
(but in m68k arch, please see packages.debian.org and search for
gtkdialog file).
SO I am not sure how this program should run?
Best wishes
Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
His eyes seemed to be popping out of his head. He wasn't
certain if this was because they were trying to see more
clearly, or if they simply wanted to leave at this point.
--- Arthur trying to see who had diverted him from going to
--- a party.
--- Douglas Adams, The Hitchhikers Guide to the Galaxy
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: build-stamp
build-stamp:
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
$(MAKE) DESTDIR=$(CURDIR)/debian/snap2 clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
# Add here commands to install the package into debian/snap2.
$(MAKE) DESTDIR=$(CURDIR)/debian/snap2 install
# Build architecture-independent files here.
# We have nothing to do by default.
binary-arch:
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_install
dh_installmenu
dh_installman $(CURDIR)/debian/snap2.1
dh_link usr/share/man/man1/snap2.1 usr/share/man/man1/snap2engine.1 usr/share/man/man1/snap2.1 usr/share/man/man1/snap2shell.1
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep
.PHONY: build clean binary-indep binary install configure
Reply to: