Sorry, the patch is somewhat wrong... :-/
Attached is a new patch.
Hauke
Index: svn-buildpackage
===================================================================
--- svn-buildpackage (Revision 11883)
+++ svn-buildpackage (Arbeitskopie)
@@ -65,6 +65,8 @@
my $opt_tag;
my $opt_only_tag;
my $opt_lintian;
+my $opt_linda; # deprecated; to be completely removed in next major release?
+ my $linda_warning = "########\nWARNING!\nlinda is not developed any more and deprecated.\nPlease remove any reference to it from your config files!\n########\n\n";
my $opt_nolinks;
my $opt_noninteractive;
my $opt_pretag;
@@ -98,6 +100,7 @@
"svn-tag" => \$opt_tag,
"svn-retag" => \$opt_retag,
"svn-lintian" => \$opt_lintian,
+ "svn-linda" => \$opt_linda,
"svn-no-links" => \$opt_nolinks,
"svn-noninteractive" => \$opt_noninteractive,
"svn-pass-diff" => \$opt_pass_diff,
@@ -190,6 +193,7 @@
# convert to options and push to args
s/^/--/;
$_=`echo -n $_` if(/[\$`~]/);
+ print $linda_warning if /--svn-linda/;
push(@CONFARGS, $_);
}
}
@@ -609,6 +613,7 @@
if($opt_lintian) {
withecho "lintian", "$destdir/$chfile";
}
+ print $linda_warning if($opt_linda);
}
if($opt_tag) {
Index: debian/NEWS.Debian
===================================================================
--- debian/NEWS.Debian (Revision 11883)
+++ debian/NEWS.Debian (Arbeitskopie)
@@ -1,3 +1,15 @@
+svn-buildpackage (0.6.24) experimental; urgency=low
+
+ Please note that the option to run package checks by linda has been droped.
+ Since linda is not developed any more and deprecated you should use lintian
+ instead. For now svn-buildpackage will trigger a warning whenever the
+ svn-linda option was found but please remove any references to it from our
+ config files. Later versions of svn-buildpackage will drop the svn-linda
+ option completely which would break your build process if you still have
+ svn-linda in your config files.
+
+ -- Jan Hauke Rahm <[EMAIL PROTECTED]> Fri, 28 Nov 2008 10:14:59 +0100
+
svn-buildpackage (0.6.22) experimental; urgency=low
IMPORTANT: changed default behaviour of saving the configuration in
Index: doc/svn-buildpackage.sgml
===================================================================
--- doc/svn-buildpackage.sgml (Revision 11883)
+++ doc/svn-buildpackage.sgml (Arbeitskopie)
@@ -109,7 +109,7 @@
</glossterm>
<glossdef>
<para>Specifies alternative build command instead of dpkg-buildpackage, eg. debuild, pdebuild, etc. Every parameters that svn-buildpackage doesn't know (<emphasis>--svn-*</emphasis>) are passed to COMMAND. There is no difference between the command line and config file parameters . They are used at the same time.</para>
- <para>WARNING: shell quotation rules do not completely apply here, better use wrappers for complex constructs. Using this option may break <emphasis>--svn-lintian</emphasis>, <emphasis>--svn-linda</emphasis> and <emphasis>--svn-move</emphasis> functionality. Some functions may be disabled when a custom build command is used because the output file location is not predictable.</para>
+ <para>WARNING: shell quotation rules do not completely apply here, better use wrappers for complex constructs. Using this option may break <emphasis>--svn-lintian</emphasis> and <emphasis>--svn-move</emphasis> functionality. Some functions may be disabled when a custom build command is used because the output file location is not predictable.</para>
</glossdef>
</glossentry>
@@ -240,11 +240,10 @@
<glossterm>
<cmdsynopsis><group>
<arg><option>--svn-lintian</option></arg>
- <arg><option>--svn-linda</option></arg>
</group></cmdsynopsis>
</glossterm>
<glossdef>
- <para>Run lintian or linda on the resulting changes file when done.</para>
+ <para>Run lintian on the resulting changes file when done.</para>
</glossdef>
</glossentry>