Bug#602119: defoma: please drop perl dependency

2010-11-01 Thread Martin Pitt
Package: defoma
Version: 0.11.11
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch natty

Hello,

in Ubuntu we are trying to get rid of Perl in the default installation
(that is, the full Perl, not perl-base of course); for this I'm
currently enabling the remaining reverse dependencies.

With this patch, this package will work with just perl-base.

I know that defoma itself is obsolete, but I'm filing this patch
for the record. It'll probably still take some time until defoma is
fully eliminated.

Thanks for considering,

Martin

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
 * Drop perl dependency and imports of File::Copy, and replace the copy()
   calls with /bin/cp.
diff -Nru defoma-0.11.11ubuntu1/debian/rules defoma-0.11.11ubuntu2/debian/rules
--- defoma-0.11.11ubuntu1/debian/rules  2010-06-03 17:24:14.0 -0400
+++ defoma-0.11.11ubuntu2/debian/rules  2010-11-01 14:02:14.0 -0400
@@ -74,7 +74,7 @@
 #  You may want to make some executables suid here.
 #  dh_suidregister
dh_installdeb
-   dh_perl
+   dh_perl -d
dh_gencontrol
dh_md5sums
dh_builddeb
diff -Nru defoma-0.11.11ubuntu1/libs/libdefoma-subst.pl 
defoma-0.11.11ubuntu2/libs/libdefoma-subst.pl
--- defoma-0.11.11ubuntu1/libs/libdefoma-subst.pl   2010-06-03 
17:24:14.0 -0400
+++ defoma-0.11.11ubuntu2/libs/libdefoma-subst.pl   2010-11-01 
14:15:55.0 -0400
@@ -27,7 +27,7 @@
 
 chomp($newfile);
 
-copy($rulefile, $newfile);
+system('cp', $rulefile, $newfile);
 system('/usr/bin/sensible-editor', $newfile);
 
 my @new = ();
@@ -59,7 +59,7 @@
 defoma_subst_close($sb);
 
 term_all();
-copy($newfile, $rulefile);
+system('cp', $newfile, $rulefile);
 unlink($newfile, $newfile.'~');
 mylock(0);
 
diff -Nru defoma-0.11.11ubuntu1/man/po4a/po/fr.po 
defoma-0.11.11ubuntu2/man/po4a/po/fr.po
--- defoma-0.11.11ubuntu1/pm/Defoma/Common.pm   2010-06-03 17:24:14.0 
-0400
+++ defoma-0.11.11ubuntu2/pm/Defoma/Common.pm   2010-11-01 14:15:15.0 
-0400
@@ -730,7 +730,6 @@
 use strict;
 #no strict 'subs';
 use POSIX;
-use File::Copy;
 
 use vars qw(@ISA $DEFAULT_PACKAGE $DEFAULT_CATEGORY
@ACCEPT_CATEGORIES $APPINFO);
@@ -960,7 +959,7 @@
 
 my $suffix = (USERSPACE) ? "udefoma" : "defoma";
 
-unless (copy($OriginalScripts{$app}, SCRIPTDIR . "/$app.$suffix")) {
+if (system('cp', $OriginalScripts{$app}, SCRIPTDIR . "/$app.$suffix") != 
0) {
printe("Failed to copy " . $OriginalScripts{$app} . "to " .
   SCRIPTDIR . ".");
set_app_info($app, 'error', 1);
diff -Nru defoma-0.11.11ubuntu1/src/defoma defoma-0.11.11ubuntu2/src/defoma
--- defoma-0.11.11ubuntu1/src/defoma2010-06-03 17:24:14.0 -0400
+++ defoma-0.11.11ubuntu2/src/defoma2010-11-01 14:03:37.0 -0400
@@ -4,7 +4,6 @@
 use strict;
 use POSIX;
 use vars qw($COMNAME %SIG $ARG0);
-use File::Copy;
 use Debian::Defoma::Common;
 use Debian::Defoma::Font;
 use Debian::Defoma::Id;


signature.asc
Description: Digital signature


Bug#602121: sgml-data: please drop perl dependency

2010-11-01 Thread Martin Pitt
Package: sgml-data
Version: 2.0.4
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch natty

Hello,

in Ubuntu we are trying to get rid of Perl in the default installation
(that is, the full Perl, not perl-base of course); for this I'm
currently eliminating the remaining reverse dependencies.

With this patch, this package will work with just perl-base.

Thanks for considering,

Martin

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Nru sgml-data-2.0.4/debian/changelog 
sgml-data-2.0.4ubuntu1/debian/changelog
--- sgml-data-2.0.4/debian/changelog2009-12-20 22:55:14.0 -0500
+++ sgml-data-2.0.4ubuntu1/debian/changelog 2010-11-01 14:49:41.0 
-0400
@@ -1,3 +1,11 @@
+sgml-data (2.0.4ubuntu1) natty; urgency=low
+
+  * sgml-catalog-check.pl: Use Getopt::Long instead of Getopt::Std, since the
+former is in perl-base.
+  * debian/rules: Run dh_perl with -d, to get rid of "perl" dependency.
+
+ -- Martin Pitt   Mon, 01 Nov 2010 14:48:14 -0400
+
 sgml-data (2.0.4) unstable; urgency=low
 
   * QA upload.
diff -Nru sgml-data-2.0.4/debian/rules sgml-data-2.0.4ubuntu1/debian/rules
--- sgml-data-2.0.4/debian/rules2005-04-21 11:50:14.0 -0400
+++ sgml-data-2.0.4ubuntu1/debian/rules 2010-11-01 14:49:18.0 -0400
@@ -97,7 +97,7 @@
dh_compress -i
 
dh_installdeb -i
-   dh_perl -i
+   dh_perl -d -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
diff -Nru sgml-data-2.0.4/sgml-catalog-check.pl 
sgml-data-2.0.4ubuntu1/sgml-catalog-check.pl
--- sgml-data-2.0.4/sgml-catalog-check.pl   2004-01-11 00:53:25.0 
-0500
+++ sgml-data-2.0.4ubuntu1/sgml-catalog-check.pl2010-11-01 
14:47:09.0 -0400
@@ -12,7 +12,7 @@
 #  make a nice lintian script from this
 #  deal with declation and notation files
 
-use Getopt::Std;
+use Getopt::Long;
 
 $Verbose = 1;  # verboseness, 1 == chatty, 2 == loud
 $SGMLdir = "debian/tmp/usr/share/sgml"; # default dir for link making etc
@@ -32,7 +32,7 @@
 
 $warnings = $errors = 0;   # error and warning count
 
-&getopts('ehlv:d:') || die $Usage;
+&GetOptions('e', 'h', 'l', 'v=i', 'd=s');
 
 if ( $opt_h ) 
 {


signature.asc
Description: Digital signature


Processing of unhtml_2.3.9-1_i386.changes

2010-11-01 Thread Debian FTP Masters
unhtml_2.3.9-1_i386.changes uploaded successfully to localhost
along with the files:
  unhtml_2.3.9-1.dsc
  unhtml_2.3.9-1.debian.tar.gz
  unhtml_2.3.9-1_i386.deb

Greetings,

Your Debian queue daemon (running on host franck.debian.org)


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1pd3l4-0006rb...@franck.debian.org



unhtml_2.3.9-1_i386.changes REJECTED

2010-11-01 Thread Debian FTP Masters



Reject Reasons:
unhtml_2.3.9-1.dsc refers to unhtml_2.3.9.orig.tar.gz, but I can't find it in 
the queue or in the pool.
'dpkg-source -x' failed for unhtml_2.3.9-1.dsc [return code: 2].
 [dpkg-source output:] dpkg-source: warning: -sn is not a valid option for 
Dpkg::Source::Package::V3::quilt
 [dpkg-source output:] gpg: Signature made Mon Nov  1 22:52:41 2010 UTC using 
RSA key ID 974B3E96
 [dpkg-source output:] gpg: Can't check signature: public key not found
 [dpkg-source output:] dpkg-source: failure: cannot fstat file 
./unhtml_2.3.9.orig.tar.gz: No such file or directory



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1pd3cd-0004ga...@franck.debian.org



Processing of unhtml_2.3.9-1_i386.changes

2010-11-01 Thread Debian FTP Masters
unhtml_2.3.9-1_i386.changes uploaded successfully to localhost
along with the files:
  unhtml_2.3.9-1.dsc
  unhtml_2.3.9.orig.tar.gz
  unhtml_2.3.9-1.debian.tar.gz
  unhtml_2.3.9-1_i386.deb

Greetings,

Your Debian queue daemon (running on host franck.debian.org)


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1pd3t2-0007xr...@franck.debian.org



unhtml_2.3.9-1_i386.changes ACCEPTED into unstable

2010-11-01 Thread Debian FTP Masters



Accepted:
unhtml_2.3.9-1.debian.tar.gz
  to main/u/unhtml/unhtml_2.3.9-1.debian.tar.gz
unhtml_2.3.9-1.dsc
  to main/u/unhtml/unhtml_2.3.9-1.dsc
unhtml_2.3.9-1_i386.deb
  to main/u/unhtml/unhtml_2.3.9-1_i386.deb
unhtml_2.3.9.orig.tar.gz
  to main/u/unhtml/unhtml_2.3.9.orig.tar.gz


Override entries for your package:
unhtml_2.3.9-1.dsc - source text
unhtml_2.3.9-1_i386.deb - extra text

Announcing to debian-devel-chan...@lists.debian.org
Closing bugs: 364236 534757 


Thank you for your contribution to Debian.


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1pd4cz-oq...@franck.debian.org