Kaynağa Gözat

Merge branch 'master' of ssh://git.debian.org/git/dpkg/dpkg

Robert Luberda 19 yıl önce
ebeveyn
işleme
ea5926f23e
12 değiştirilmiş dosya ile 459 ekleme ve 263 silme
  1. 36 0
      ChangeLog
  2. 11 0
      debian/changelog
  3. 19 1
      man/ChangeLog
  4. 0 1
      man/deb-control.5
  5. 1 1
      man/dpkg-source.1
  6. 288 200
      man/po/de.po
  7. 5 7
      man/po/sv.po
  8. 13 13
      po/fr.po
  9. 7 2
      scripts/dpkg-buildpackage.pl
  10. 5 4
      scripts/dpkg-source.pl
  11. 4 0
      scripts/po/ChangeLog
  12. 70 34
      scripts/po/sv.po

+ 36 - 0
ChangeLog

@@ -1,3 +1,39 @@
+2007-10-07  Frank Lichtenheld  <djpig@debian.org>
+	    Marcel Toele  <mtoele@kern.nl>
+
+	* scripts/dpkg-source.pl (handleformat): Include
+	a trailing HT character in the diff labels if
+	the filename contains spaces. Apparantly this is
+	standard but undocumented diff behaviour.
+
+2007-09-29  Frank Lichtenheld  <djpig@debian.org>
+
+	* scripts/dpkg-buildpackage.pl: Call checkversion()
+	on version extracted from changelog. Since other
+	program we call later will do the same there is
+	really no reason not to fail early.
+
+	* scripts/dpkg-buildpackage.pl (testcommand):
+	Make the check more sensible. Instead of testing
+	/usr/bin/$cmd, test `which $cmd`.
+
+	* scripts/dpkg-buildpackage.pl (signfile): Call
+	gpg with --utf8-strings since otherwise the key
+	lookup fails with non-ASCII UTF8-encoded names.
+	Since Debian changelogs should be UTF8 encoded,
+	this is probably the more sane default. This
+	will probably break if one uses a non-UTF8 locale
+	and tries to give a uid on the commandline that
+	contains non-ASCII chars. I think we can live with
+	that.
+
+2007-09-28  Frank Lichtenheld  <djpig@debian.org>
+
+	* scripts/dpkg-buildpackage.pl (withecho): Remove
+	empty strings at the begin of the command array.
+	These can be caused by e.g. an emtpy $rootcommando.
+	It is easiest to filter them out here.
+
 2007-09-24  Guillem Jover  <guillem@debian.org>
 2007-09-24  Guillem Jover  <guillem@debian.org>
 
 
 	* scripts/dpkg-buildpackage.pl (signfile): Do not use absolute path
 	* scripts/dpkg-buildpackage.pl (signfile): Do not use absolute path

+ 11 - 0
debian/changelog

@@ -19,6 +19,8 @@ dpkg (1.14.7) UNRELEASED; urgency=low
   [ Frank Lichtenheld ]
   [ Frank Lichtenheld ]
   * Add _MTN to dpkg-source -i default regex. Suggested by Jari Aalto.
   * Add _MTN to dpkg-source -i default regex. Suggested by Jari Aalto.
   * Convert dpkg-buildpackage to a Perl script.
   * Convert dpkg-buildpackage to a Perl script.
+    Fix some bugs in the new script detected in experimental:
+    Closes: #444362
   * dpkg-buildpackage accepts a -j<n> option now which will set
   * dpkg-buildpackage accepts a -j<n> option now which will set
     MAKEFLAGS(-j<n>) and DEB_BUILD_OPTIONS(parallel=<n>) accordingly.
     MAKEFLAGS(-j<n>) and DEB_BUILD_OPTIONS(parallel=<n>) accordingly.
     parallel=<n> in DEB_BUILD_OPTIONS will be passed to MAKEFLAGS as
     parallel=<n> in DEB_BUILD_OPTIONS will be passed to MAKEFLAGS as
@@ -28,6 +30,14 @@ dpkg (1.14.7) UNRELEASED; urgency=low
     Jari Aalto. Closes: #440972
     Jari Aalto. Closes: #440972
   * Rework documentation of dpkg-source's -i and -I options.
   * Rework documentation of dpkg-source's -i and -I options.
     Closes: #323911, #440956
     Closes: #323911, #440956
+  * Add --utf8-strings to gpg call in dpkg-buildpackage since
+    that seems to be the better default. Suggested by Székelyi Szabolcs.
+    Closes: #379418
+  * Let dpkg-buildpackage error out early if the version number from
+    the changelog is not a valid Debian version. Closes: #216075
+  * Fix dpkg-source to create correct diffs for files with spaces in
+    their name (apparantly we don't have many of those ;).
+    Based on a patch by Marcel Toele. Closes: #445380
 
 
   [ Updated dpkg translations ]
   [ Updated dpkg translations ]
   * Basque (Piarres Beobide). Closes: #440859
   * Basque (Piarres Beobide). Closes: #440859
@@ -47,6 +57,7 @@ dpkg (1.14.7) UNRELEASED; urgency=low
 
 
   [ Updated scripts translations ]
   [ Updated scripts translations ]
   * Correct a typo in the French translation. Closes: #443276
   * Correct a typo in the French translation. Closes: #443276
+  * Swedish (Peter Karlsson).
 
 
  -- Frank Lichtenheld <djpig@debian.org>  Sun, 23 Sep 2007 02:40:20 +0200
  -- Frank Lichtenheld <djpig@debian.org>  Sun, 23 Sep 2007 02:40:20 +0200
 
 

+ 19 - 1
man/ChangeLog

@@ -1,3 +1,21 @@
+2007-10-07  Helge Kreutzmann  <debian@helgefjell.de>
+
+	* po/de.po: Updated to 1238t0f52u.
+
+2007-09-30  Frank Lichtenheld  <djpig@debian.org>
+
+	* deb-control.5: Remove obsolete sentence regarding
+	the role of the Priority and Section field. They
+	have nothing to do with the archive layout since
+	woody.
+
+	* dpkg-source.1: Remove superfluous [options] from
+	-b command description.
+
+2007-09-28  Peter Karlsson  <peter@softwolves.pp.se>
+
+	* po/sv.po: Updated to 1290t.
+
 2007-09-24  Frank Lichtenheld  <djpig@debian.org>
 2007-09-24  Frank Lichtenheld  <djpig@debian.org>
 
 
 	* dpkg-source.1: Rework documentation of -i
 	* dpkg-source.1: Rework documentation of -i
@@ -26,7 +44,7 @@
 
 
 2007-09-09  Helge Kreutzmann  <debian@helgefjell.de>
 2007-09-09  Helge Kreutzmann  <debian@helgefjell.de>
 
 
-	* po/de.po: Updated to 1254t135f.
+	* po/de.po: Updated to 1254t135u.
 
 
 2007-09-08  Guillem Jover  <guillem@debian.org>
 2007-09-08  Guillem Jover  <guillem@debian.org>
 
 

+ 0 - 1
man/deb-control.5

@@ -65,7 +65,6 @@ In Debian, the
 and
 and
 .B Priority
 .B Priority
 fields have a defined set of accepted values based on the Policy Manual.
 fields have a defined set of accepted values based on the Policy Manual.
-They are used to decide how the packages are layed out in the archive.
 A list of these values can be obtained from the latest version of the
 A list of these values can be obtained from the latest version of the
 .B debian-policy
 .B debian-policy
 package.
 package.

+ 1 - 1
man/dpkg-source.1

@@ -42,7 +42,7 @@ extractors' umask; if the parent directory is setgid then the
 extracted directories will be too, and all the files and directories
 extracted directories will be too, and all the files and directories
 will inherit its group ownership.
 will inherit its group ownership.
 .TP
 .TP
-.RI "\fB\-b\fP [" options "] " directory " [" orig-directory | orig-targz |'']
+.RI "\fB\-b\fP " directory " [" orig-directory | orig-targz |'']
 Build a source package. One or two non-option arguments should
 Build a source package. One or two non-option arguments should
 be supplied. The first is taken as the name of the directory
 be supplied. The first is taken as the name of the directory
 containing the unpacked source tree. If a second argument is supplied
 containing the unpacked source tree. If a second argument is supplied

Dosya farkı çok büyük olduğundan ihmal edildi
+ 288 - 200
man/po/de.po


+ 5 - 7
man/po/sv.po

@@ -6,7 +6,7 @@ msgstr ""
 "Project-Id-Version: dpkg man pages\n"
 "Project-Id-Version: dpkg man pages\n"
 "Report-Msgid-Bugs-To: \n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2007-09-14 07:37+0300\n"
 "POT-Creation-Date: 2007-09-14 07:37+0300\n"
-"PO-Revision-Date: 2007-09-05 13:04+0100\n"
+"PO-Revision-Date: 2007-09-28 07:47+0100\n"
 "Last-Translator: Peter Karlsson <peterk@debian.org>\n"
 "Last-Translator: Peter Karlsson <peterk@debian.org>\n"
 "Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
 "Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
 "MIME-Version: 1.0\n"
 "MIME-Version: 1.0\n"
@@ -4755,9 +4755,9 @@ msgstr "dpkg-deb"
 # type: TH
 # type: TH
 #: ../../man/dpkg-deb.1:1 ../../man/dpkg-scanpackages.1:16
 #: ../../man/dpkg-deb.1:1 ../../man/dpkg-scanpackages.1:16
 #: ../../man/start-stop-daemon.8:1
 #: ../../man/start-stop-daemon.8:1
-#, fuzzy, no-wrap
+#, no-wrap
 msgid "2007-09-08"
 msgid "2007-09-08"
-msgstr "2007-03-08"
+msgstr "2007-09-08"
 
 
 # type: Plain text
 # type: Plain text
 #: ../../man/dpkg-deb.1:4
 #: ../../man/dpkg-deb.1:4
@@ -4902,7 +4902,6 @@ msgstr "B<-W>, B<--show> I<arkiv>"
 
 
 # type: Plain text
 # type: Plain text
 #: ../../man/dpkg-deb.1:101
 #: ../../man/dpkg-deb.1:101
-#, fuzzy
 msgid ""
 msgid ""
 "Provides information about a binary package archive in the format specified "
 "Provides information about a binary package archive in the format specified "
 "by the B<--showformat> argument. The default format displays the package's "
 "by the B<--showformat> argument. The default format displays the package's "
@@ -6549,7 +6548,6 @@ msgstr ""
 
 
 # type: Plain text
 # type: Plain text
 #: ../../man/dpkg-scanpackages.1:53
 #: ../../man/dpkg-scanpackages.1:53
-#, fuzzy
 msgid ""
 msgid ""
 "B<Note:> If you want to access the generated Packages file with B<apt> you "
 "B<Note:> If you want to access the generated Packages file with B<apt> you "
 "will probably need to compress the file with B<bzip2>(1)  (generating a "
 "will probably need to compress the file with B<bzip2>(1)  (generating a "
@@ -6558,7 +6556,8 @@ msgid ""
 "sources)."
 "sources)."
 msgstr ""
 msgstr ""
 "B<Observera:> Om du vill läsa den skapade Packages-filen med B<apt> måste du "
 "B<Observera:> Om du vill läsa den skapade Packages-filen med B<apt> måste du "
-"antagligen komprimera filen med B<gzip>(1) (vilket skapar filen Packages."
+"antagligen komprimera filen med B<bzip2>(1) (vilket skapar filen Packages.bz2) "
+"eller B<gzip>(1) (vilket skapar filen Packages."
 "gz). apt ignorerar okomprimerade Packages-filer, förutom vid lokal åtkomst "
 "gz). apt ignorerar okomprimerade Packages-filer, förutom vid lokal åtkomst "
 "(dvs. B<file://>-källor)."
 "(dvs. B<file://>-källor)."
 
 
@@ -10156,7 +10155,6 @@ msgstr "B<-b>, B<--background>"
 
 
 # type: Plain text
 # type: Plain text
 #: ../../man/start-stop-daemon.8:217
 #: ../../man/start-stop-daemon.8:217
-#, fuzzy
 msgid ""
 msgid ""
 "Typically used with programs that don't detach on their own. This option "
 "Typically used with programs that don't detach on their own. This option "
 "will force B<start-stop-daemon> to fork before starting the process, and "
 "will force B<start-stop-daemon> to fork before starting the process, and "

+ 13 - 13
po/fr.po

@@ -24,7 +24,7 @@ msgstr ""
 "Project-Id-Version: fr\n"
 "Project-Id-Version: fr\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
 "POT-Creation-Date: 2007-08-18 03:58+0300\n"
 "POT-Creation-Date: 2007-08-18 03:58+0300\n"
-"PO-Revision-Date: 2007-05-21 21:20+0200\n"
+"PO-Revision-Date: 2007-10-03 18:09+0200\n"
 "Last-Translator: Frederic Bothamy <frederic.bothamy@free.fr>\n"
 "Last-Translator: Frederic Bothamy <frederic.bothamy@free.fr>\n"
 "Language-Team: French <debian-l10n-french@lists.debian.org>\n"
 "Language-Team: French <debian-l10n-french@lists.debian.org>\n"
 "MIME-Version: 1.0\n"
 "MIME-Version: 1.0\n"
@@ -350,7 +350,7 @@ msgstr ""
 #: lib/ehandle.c:111
 #: lib/ehandle.c:111
 #, c-format
 #, c-format
 msgid "dpkg: too many nested errors during error recovery !!\n"
 msgid "dpkg: too many nested errors during error recovery !!\n"
-msgstr "dpkg : trop d'erreurs imbriquées lors d'une réparation !\n"
+msgstr "dpkg : trop d'erreurs imbriquées lors d'une réparation.\n"
 
 
 #: lib/ehandle.c:186
 #: lib/ehandle.c:186
 msgid "out of memory for new cleanup entry with many arguments"
 msgid "out of memory for new cleanup entry with many arguments"
@@ -963,7 +963,7 @@ msgstr "
 
 
 #: src/archives.c:209
 #: src/archives.c:209
 msgid "process_archive ...  already disappeared !"
 msgid "process_archive ...  already disappeared !"
-msgstr "process_archive ... a déjà disparu !"
+msgstr "process_archive ... a déjà disparu."
 
 
 #: src/archives.c:229
 #: src/archives.c:229
 msgid "error reading from dpkg-deb pipe"
 msgid "error reading from dpkg-deb pipe"
@@ -1180,18 +1180,18 @@ msgid ""
 "dpkg: no, cannot proceed with %s (--auto-deconfigure will help):\n"
 "dpkg: no, cannot proceed with %s (--auto-deconfigure will help):\n"
 "%s"
 "%s"
 msgstr ""
 msgstr ""
-"dpkg : non, impossible d'autoriser %s (voir --auto-deconfigure) :\n"
+"dpkg : non, impossible d'effectuer %s (voir --auto-deconfigure) :\n"
 "%s"
 "%s"
 
 
 #: src/archives.c:888
 #: src/archives.c:888
 #, c-format
 #, c-format
 msgid "removal of %.250s"
 msgid "removal of %.250s"
-msgstr "suppression de %.250s"
+msgstr "la suppression de %.250s"
 
 
 #: src/archives.c:915
 #: src/archives.c:915
 #, c-format
 #, c-format
 msgid "installation of %.250s"
 msgid "installation of %.250s"
-msgstr "installation de %.250s"
+msgstr "l'installation de %.250s"
 
 
 #: src/archives.c:916
 #: src/archives.c:916
 #, c-format
 #, c-format
@@ -1217,7 +1217,7 @@ msgstr ""
 #: src/archives.c:935
 #: src/archives.c:935
 #, c-format
 #, c-format
 msgid "dpkg: warning - ignoring breakage, may proceed anyway !\n"
 msgid "dpkg: warning - ignoring breakage, may proceed anyway !\n"
-msgstr "dpkg : avertissement - cassure ignorée, poursuite possible !\n"
+msgstr "dpkg : avertissement - cassure ignorée, poursuite possible.\n"
 
 
 #: src/archives.c:941
 #: src/archives.c:941
 #, c-format
 #, c-format
@@ -1284,7 +1284,7 @@ msgstr "paquets en conflit - %.250s non install
 #: src/archives.c:1052
 #: src/archives.c:1052
 #, c-format
 #, c-format
 msgid "dpkg: warning - ignoring conflict, may proceed anyway !\n"
 msgid "dpkg: warning - ignoring conflict, may proceed anyway !\n"
-msgstr "dpkg : avertissement - conflit ignoré, poursuite possible !\n"
+msgstr "dpkg : avertissement - conflit ignoré, poursuite possible.\n"
 
 
 #: src/archives.c:1090
 #: src/archives.c:1090
 #, c-format
 #, c-format
@@ -1595,7 +1595,7 @@ msgstr "
 msgid "Don't forget to foreground (`fg') this process when you're done !\n"
 msgid "Don't forget to foreground (`fg') this process when you're done !\n"
 msgstr ""
 msgstr ""
 "N'oubliez pas de mettre à l'avant-plan (« fg ») ce processus lorsque vous "
 "N'oubliez pas de mettre à l'avant-plan (« fg ») ce processus lorsque vous "
-"aurez fini !\n"
+"aurez fini.\n"
 
 
 #: src/configure.c:561
 #: src/configure.c:561
 #, c-format
 #, c-format
@@ -1944,7 +1944,7 @@ msgstr ""
 msgid "dpkg not recorded as installed, cannot check for epoch support !\n"
 msgid "dpkg not recorded as installed, cannot check for epoch support !\n"
 msgstr ""
 msgstr ""
 "dpkg non enregistré comme installé, impossible de vérifier s'il accepte la\n"
 "dpkg non enregistré comme installé, impossible de vérifier s'il accepte la\n"
-"notion d'époque !\n"
+"notion d'époque.\n"
 
 
 #: src/enquiry.c:307
 #: src/enquiry.c:307
 msgid "--predep-package does not take any argument"
 msgid "--predep-package does not take any argument"
@@ -2839,7 +2839,7 @@ msgid ""
 " in this run !  Only configuring it once.\n"
 " in this run !  Only configuring it once.\n"
 msgstr ""
 msgstr ""
 "Plus d'une copie du paquet %s ont été dépaquetées\n"
 "Plus d'une copie du paquet %s ont été dépaquetées\n"
-" lors de ce traitement ! Une seule configuration effectuée.\n"
+" lors de ce traitement. Une seule configuration effectuée.\n"
 
 
 #: src/packages.c:269
 #: src/packages.c:269
 #, c-format
 #, c-format
@@ -2939,7 +2939,7 @@ msgstr "
 #: src/processarc.c:152
 #: src/processarc.c:152
 #, c-format
 #, c-format
 msgid "Verification on package %s failed!"
 msgid "Verification on package %s failed!"
-msgstr "La vérification du paquet %s a échoué !"
+msgstr "La vérification du paquet %s a échoué."
 
 
 #: src/processarc.c:154
 #: src/processarc.c:154
 #, c-format
 #, c-format
@@ -2994,7 +2994,7 @@ msgstr "probl
 #: src/processarc.c:273
 #: src/processarc.c:273
 #, c-format
 #, c-format
 msgid "dpkg: warning - ignoring pre-dependency problem !\n"
 msgid "dpkg: warning - ignoring pre-dependency problem !\n"
-msgstr "dpkg : avertissement - problème de pré-dépendance ignoré !\n"
+msgstr "dpkg : avertissement - problème de pré-dépendance ignoré\n"
 
 
 #: src/processarc.c:288
 #: src/processarc.c:288
 #, c-format
 #, c-format

+ 7 - 2
scripts/dpkg-buildpackage.pl

@@ -79,7 +79,9 @@ Options:
 sub testcommand {
 sub testcommand {
     my ($cmd) = @_;
     my ($cmd) = @_;
 
 
-    return -x "/usr/bin/$cmd";
+    my $fullcmd = `which $cmd`;
+    chomp $fullcmd;
+    return $fullcmd && -x $fullcmd;
 }
 }
 
 
 my $rootcommand = '';
 my $rootcommand = '';
@@ -258,6 +260,7 @@ sub mustsetvar {
 
 
 my $pkg = mustsetvar($changes{source}, _g('source package'));
 my $pkg = mustsetvar($changes{source}, _g('source package'));
 my $version = mustsetvar($changes{version}, _g('source version'));
 my $version = mustsetvar($changes{version}, _g('source version'));
+checkversion($version);
 
 
 my $maintainer;
 my $maintainer;
 if ($changedby) {
 if ($changedby) {
@@ -300,7 +303,8 @@ sub signfile {
 
 
     if ($signinterface eq 'gpg') {
     if ($signinterface eq 'gpg') {
 	system("(cat ../$qfile ; echo '') | ".
 	system("(cat ../$qfile ; echo '') | ".
-	       "$signcommand --local-user ".quotemeta($signkey||$maintainer).
+	       "$signcommand --utf8-strings --local-user "
+	       .quotemeta($signkey||$maintainer).
 	       " --clearsign --armor --textmode  > ../$qfile.asc");
 	       " --clearsign --armor --textmode  > ../$qfile.asc");
     } else {
     } else {
 	system("$signcommand -u ".quotemeta($signkey||$maintainer).
 	system("$signcommand -u ".quotemeta($signkey||$maintainer).
@@ -320,6 +324,7 @@ sub signfile {
 
 
 
 
 sub withecho {
 sub withecho {
+    shift while !$_[0];
     print STDERR " @_\n";
     print STDERR " @_\n";
     system(@_)
     system(@_)
 	and subprocerr("@_");
 	and subprocerr("@_");

+ 5 - 4
scripts/dpkg-source.pl

@@ -594,10 +594,11 @@ if ($opmode eq 'build') {
 		    $ENV{'LC_ALL'}= 'C';
 		    $ENV{'LC_ALL'}= 'C';
 		    $ENV{'LANG'}= 'C';
 		    $ENV{'LANG'}= 'C';
 		    $ENV{'TZ'}= 'UTC0';
 		    $ENV{'TZ'}= 'UTC0';
-                    exec('diff','-u',
-                         '-L',"$basedirname.orig/$fn",
-                         '-L',"$basedirname/$fn",
-                         '--',"$ofnread","$dir/$fn") or &syserr(_g("exec diff"));
+		    my $tab = ("$basedirname/$fn" =~ / /) ? "\t" : '';
+		    exec('diff','-u',
+			 '-L',"$basedirname.orig/$fn$tab",
+			 '-L',"$basedirname/$fn$tab",
+			 '--',"$ofnread","$dir/$fn") or &syserr(_g("exec diff"));
                 }
                 }
 		my $difflinefound = 0;
 		my $difflinefound = 0;
                 $/= "\n";
                 $/= "\n";

+ 4 - 0
scripts/po/ChangeLog

@@ -1,3 +1,7 @@
+2007-09-28  Peter Karlsson  <peterk@debian.org>
+
+	* sv.po: Updated Swedish to 462t.
+
 2007-09-23  Frank Lichtenheld  <djpig@debian.org>
 2007-09-23  Frank Lichtenheld  <djpig@debian.org>
 
 
 	* dpkg-dev.pot: Regenerated.
 	* dpkg-dev.pot: Regenerated.

+ 70 - 34
scripts/po/sv.po

@@ -8,7 +8,7 @@ msgstr ""
 "Project-Id-Version: dpkg 1.14.6\n"
 "Project-Id-Version: dpkg 1.14.6\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
 "Report-Msgid-Bugs-To: debian-dpkg@lists.debian.org\n"
 "POT-Creation-Date: 2007-09-23 02:59+0200\n"
 "POT-Creation-Date: 2007-09-23 02:59+0200\n"
-"PO-Revision-Date: 2007-08-30 19:55+0100\n"
+"PO-Revision-Date: 2007-09-28 14:18+0100\n"
 "Last-Translator: Peter Karlsson <peterk@debian.org>\n"
 "Last-Translator: Peter Karlsson <peterk@debian.org>\n"
 "Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
 "Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
 "MIME-Version: 1.0\n"
 "MIME-Version: 1.0\n"
@@ -381,7 +381,6 @@ msgid "%s is not a supported variable name"
 msgstr "%s är inte ett variabelnamn som stöds"
 msgstr "%s är inte ett variabelnamn som stöds"
 
 
 #: scripts/dpkg-buildpackage.pl:20
 #: scripts/dpkg-buildpackage.pl:20
-#, fuzzy
 msgid ""
 msgid ""
 "\n"
 "\n"
 "Copyright (C) 1996 Ian Jackson.\n"
 "Copyright (C) 1996 Ian Jackson.\n"
@@ -391,7 +390,7 @@ msgstr ""
 "\n"
 "\n"
 "Copyright © 1996 Ian Jackson.\n"
 "Copyright © 1996 Ian Jackson.\n"
 "Copyright © 2000 Wichert Akkerman.\n"
 "Copyright © 2000 Wichert Akkerman.\n"
-"Copyright © 2006 Frank Lichtenheld."
+"Copyright © 2007 Frank Lichtenheld."
 
 
 #: scripts/dpkg-buildpackage.pl:32
 #: scripts/dpkg-buildpackage.pl:32
 #, perl-format
 #, perl-format
@@ -438,103 +437,140 @@ msgid ""
 "  -h, --help     show this help message.\n"
 "  -h, --help     show this help message.\n"
 "      --version  show the version.\n"
 "      --version  show the version.\n"
 msgstr ""
 msgstr ""
+"\n"
+"Använd: %s [<flaggor> ...]\n"
+"\n"
+"Flaggor:\n"
+"  -r<få-root-kommando>\n"
+"                 kommando för att få root-behörighet (standard är fakeroot\n"
+"                 om det finns).\n"
+"  -p<signeringskommando>\n"
+"  -d             kontrollera inte byggberoenden och -konflikter.\n"
+"  -D             kontrollera byggberoenden och -konflikter.\n"
+"  -k<nyckelid>   nyckeln som skall användas vid signering.\n"
+"  -sgpg          signeringskommandot anropas som GPG.\n"
+"  -spgp          signeringskommandot anropas som PGP.\n"
+"  -us            osignerad källkod.\n"
+"  -uc            osignerad changes-fil.\n"
+"  -a<arch>       Debianarkitektur vi bygger för (implicerar -d).\n"
+"  -b             endast binär, bygger inte källkod.  } sänds även till\n"
+"  -B             endast binär, inga ark-ober. filer. } dpkg-genchanges\n"
+"  -S             endast källkod, inga binärfiler     }\n"
+"  -t<system>     välj GNU-systemtyp.           } sänds till dpkg-"
+"architecture\n"
+"  -v<version>    ändringar sedan version <version>.     }\n"
+"  -m<ansvarig>   ansvarig för paketet är <ansvarig>.   }\n"
+"  -e<ansvarig>   ansvarig för utgivningen är <maint>.  } sänds bara\n"
+"  -C<ändrfil>    ändringar beskrivs i <ändrfil>.       } till dpkg-genchangs\n"
+"  -si (standard) källk innehåller orig. för rev. 0/1.  }\n"
+"  -sa            insänd källkod innehåller alltid orig.}\n"
+"  -sd            insänd källkod är endast diff och .dsc}\n"
+"  -sn            force Debian native source format.      } only passed\n"
+"  -s[sAkurKUR]   see dpkg-source for explanation.        } to dpkg-source\n"
+"  -nc            do not clean source tree (implies -b).\n"
+"  -tc            clean source tree when finished.\n"
+"  -ap            add pause before starting signature process.\n"
+"  -W             turn certain errors into warnings.       } passed to\n"
+"  -E             when -W is turned on, -E turns it off.   } dpkg-source\n"
+"  -i[<regex>]    ignore diffs of files matching regex.    } only passed\n"
+"  -I<filename>   filter out files when building tarballs. } to dpkg-source\n"
+"  --admindir=<directory>\n"
+"                 change the administrative directory.\n"
+"  -h, --help     show this help message.\n"
+"      --version  show the version.\n"
 
 
 #: scripts/dpkg-buildpackage.pl:152 scripts/dpkg-buildpackage.pl:162
 #: scripts/dpkg-buildpackage.pl:152 scripts/dpkg-buildpackage.pl:162
 #: scripts/dpkg-buildpackage.pl:169 scripts/dpkg-buildpackage.pl:175
 #: scripts/dpkg-buildpackage.pl:169 scripts/dpkg-buildpackage.pl:175
-#, fuzzy, perl-format
+#, perl-format
 msgid "cannot combine %s and %s"
 msgid "cannot combine %s and %s"
-msgstr "kan inte kombinera -b eller -B och -S"
+msgstr "kan inte kombinera %s och %s"
 
 
 #: scripts/dpkg-buildpackage.pl:192
 #: scripts/dpkg-buildpackage.pl:192
-#, fuzzy, perl-format
+#, perl-format
 msgid "unknown option or argument %s"
 msgid "unknown option or argument %s"
-msgstr "okänd flagga \"%s\""
+msgstr "okänd flagga eller argument %s"
 
 
 #: scripts/dpkg-buildpackage.pl:209
 #: scripts/dpkg-buildpackage.pl:209
 msgid "unknown sign command, assuming pgp style interface"
 msgid "unknown sign command, assuming pgp style interface"
-msgstr ""
+msgstr "okänt signeringskommando, antar pgp-gränssnittstyp"
 
 
 #: scripts/dpkg-buildpackage.pl:230
 #: scripts/dpkg-buildpackage.pl:230
-#, fuzzy, perl-format
+#, perl-format
 msgid "unable to determine %s"
 msgid "unable to determine %s"
-msgstr "kan inte skapa \"%s\""
+msgstr "kan inte bestämma %s"
 
 
 #: scripts/dpkg-buildpackage.pl:237
 #: scripts/dpkg-buildpackage.pl:237
 msgid "source package"
 msgid "source package"
-msgstr ""
+msgstr "källkodspaket"
 
 
 #: scripts/dpkg-buildpackage.pl:238
 #: scripts/dpkg-buildpackage.pl:238
 msgid "source version"
 msgid "source version"
-msgstr ""
+msgstr "källkodsversion"
 
 
 #: scripts/dpkg-buildpackage.pl:246
 #: scripts/dpkg-buildpackage.pl:246
 msgid "source changed by"
 msgid "source changed by"
-msgstr ""
+msgstr "källkod ändrad av"
 
 
 #: scripts/dpkg-buildpackage.pl:264
 #: scripts/dpkg-buildpackage.pl:264
 msgid "host architecture"
 msgid "host architecture"
-msgstr ""
+msgstr "värdarkitektur"
 
 
 #: scripts/dpkg-buildpackage.pl:312
 #: scripts/dpkg-buildpackage.pl:312
 msgid "Build dependencies/conflicts unsatisfied; aborting.\n"
 msgid "Build dependencies/conflicts unsatisfied; aborting.\n"
-msgstr ""
+msgstr "Byggberoenden/-konflikter ej uppfyllda; avbryter.\n"
 
 
 #: scripts/dpkg-buildpackage.pl:313
 #: scripts/dpkg-buildpackage.pl:313
 msgid "(Use -d flag to override.)"
 msgid "(Use -d flag to override.)"
-msgstr ""
+msgstr "(Använd flaggan -d för att överstyra.)"
 
 
 #: scripts/dpkg-buildpackage.pl:335
 #: scripts/dpkg-buildpackage.pl:335
 msgid "Press the return key to start signing process\n"
 msgid "Press the return key to start signing process\n"
-msgstr ""
+msgstr "Tryck på Enter för att inleda signeringsproceduren\n"
 
 
 #: scripts/dpkg-buildpackage.pl:342
 #: scripts/dpkg-buildpackage.pl:342
 msgid "Failed to sign .dsc and .changes file"
 msgid "Failed to sign .dsc and .changes file"
-msgstr ""
+msgstr "Misslyckades att signera .dsc- och .changes-filerna"
 
 
 #: scripts/dpkg-buildpackage.pl:363 scripts/dpkg-buildpackage.pl:367
 #: scripts/dpkg-buildpackage.pl:363 scripts/dpkg-buildpackage.pl:367
 #: scripts/dpkg-buildpackage.pl:380
 #: scripts/dpkg-buildpackage.pl:380
-#, fuzzy
 msgid "write changes file"
 msgid "write changes file"
-msgstr "tolkar ändringslogg"
+msgstr "skriv ändringsfil"
 
 
 #: scripts/dpkg-buildpackage.pl:379
 #: scripts/dpkg-buildpackage.pl:379
 msgid "dpkg-genchanges"
 msgid "dpkg-genchanges"
-msgstr ""
+msgstr "dpkg-genchanges"
 
 
 #: scripts/dpkg-buildpackage.pl:392
 #: scripts/dpkg-buildpackage.pl:392
 msgid "source only upload: Debian-native package"
 msgid "source only upload: Debian-native package"
-msgstr ""
+msgstr "insändning med endast källkod: Debianeget paket"
 
 
 #: scripts/dpkg-buildpackage.pl:394
 #: scripts/dpkg-buildpackage.pl:394
 msgid "source only, diff-only upload (original source NOT included)"
 msgid "source only, diff-only upload (original source NOT included)"
-msgstr ""
+msgstr "insändning enbart med källkod, enbart med diff (originalkällkod tas EJ med)"
 
 
 #: scripts/dpkg-buildpackage.pl:396
 #: scripts/dpkg-buildpackage.pl:396
-#, fuzzy
 msgid "source only upload (original source is included)"
 msgid "source only upload (original source is included)"
-msgstr "tar inte med ursprunglig källkod i denna insändning"
+msgstr "insändning enbart med källkod (originalkällkod tas med)"
 
 
 #: scripts/dpkg-buildpackage.pl:399 scripts/dpkg-buildpackage.pl:407
 #: scripts/dpkg-buildpackage.pl:399 scripts/dpkg-buildpackage.pl:407
 msgid "full upload (original source is included)"
 msgid "full upload (original source is included)"
-msgstr ""
+msgstr "komplett insändning (originalkällkod tas med)"
 
 
 #: scripts/dpkg-buildpackage.pl:401
 #: scripts/dpkg-buildpackage.pl:401
-#, fuzzy
 msgid "binary only upload (no source included)"
 msgid "binary only upload (no source included)"
-msgstr "endast binär insändning - tar inte med någon källkod"
+msgstr "endast binär insändning (ingen källkod tas med)"
 
 
 #: scripts/dpkg-buildpackage.pl:403
 #: scripts/dpkg-buildpackage.pl:403
 msgid "full upload; Debian-native package (full source is included)"
 msgid "full upload; Debian-native package (full source is included)"
-msgstr ""
+msgstr "komplett insändnig; Debianeget paket (komplett källkod tas med)"
 
 
 #: scripts/dpkg-buildpackage.pl:405
 #: scripts/dpkg-buildpackage.pl:405
-#, fuzzy
 msgid "binary and diff upload (original source NOT included)"
 msgid "binary and diff upload (original source NOT included)"
-msgstr "endast binär insändning - tar inte med någon källkod"
+msgstr "binär- och diffinsändning (originalkällkod tas EJ med)"
 
 
 #: scripts/dpkg-buildpackage.pl:412
 #: scripts/dpkg-buildpackage.pl:412
 msgid "Failed to sign .changes file"
 msgid "Failed to sign .changes file"
-msgstr ""
+msgstr "Misslyckades att signera .changes-fil"
 
 
 #: scripts/dpkg-checkbuilddeps.pl:20
 #: scripts/dpkg-checkbuilddeps.pl:20
 #, perl-format
 #, perl-format
@@ -932,11 +968,11 @@ msgid "must specify package since control info has many (%s)"
 msgstr "måste ange paket eftersom styrinfo har flera (%s)"
 msgstr "måste ange paket eftersom styrinfo har flera (%s)"
 
 
 #: scripts/dpkg-gencontrol.pl:180
 #: scripts/dpkg-gencontrol.pl:180
-#, fuzzy, perl-format
+#, perl-format
 msgid "`%s' is not a legal architecture string."
 msgid "`%s' is not a legal architecture string."
 msgid_plural "`%s' are not legal architecture strings."
 msgid_plural "`%s' are not legal architecture strings."
 msgstr[0] "\"%s\" är inte en giltig arkitektursträng."
 msgstr[0] "\"%s\" är inte en giltig arkitektursträng."
-msgstr[1] "\"%s\" är inte en giltig arkitektursträng."
+msgstr[1] "\"%s\" är inte giltiga arkitektursträngar."
 
 
 #: scripts/dpkg-gencontrol.pl:186
 #: scripts/dpkg-gencontrol.pl:186
 #, perl-format
 #, perl-format