Przeglądaj źródła

Synchronize to the potato branch again

Wichert Akkerman 26 lat temu
rodzic
commit
e15491b471

+ 10 - 0
ChangeLog

@@ -1,3 +1,13 @@
+Sat Mar 18 19:08:20 CET 2000 Wichert Akkerman <wakkerma@debian.org>
+
+  * Synchronize with potato-branch again:
+  * scripts/dpkg-buildpackage: improve test for default signcommand
+  * po/ja.po: updated
+  * dselect/*.cc: remove includes for signal.h and curses.h
+  * dselect/dselect.h: include both signal.h and curses.h and #undef
+    the ERR from sys/ucontext.h which breaks curses
+  * scripts/dpkg-divert.pl: fix syntax error
+ 
 Sat Mar  4 16:52:38 CET 2000 Wichert Akkerman <wakkerma@debian.org>
 Sat Mar  4 16:52:38 CET 2000 Wichert Akkerman <wakkerma@debian.org>
 
 
   * Synchronize with potato-branch again:
   * Synchronize with potato-branch again:

+ 8 - 0
debian/changelog

@@ -6,6 +6,14 @@ dpkg (1.7.0) unstable; urgency=low
 
 
  -- Wichert Akkerman <wakkerma@debian.org>  UNRELEASED
  -- Wichert Akkerman <wakkerma@debian.org>  UNRELEASED
 
 
+dpkg (1.6.11) frozen unstable; urgency=high
+
+  * Oops, missed one case where the libc/ncurses conflict reared its
+    ugly head and broke dselect miserably. 
+  * fix syntax error in dpkg-divert. Closes: Bug#60050
+
+ -- Wichert Akkerman <wakkerma@debian.org>  Fri, 10 Mar 2000 11:52:07 +1100
+
 dpkg (1.6.10) frozen unstable; urgency=low
 dpkg (1.6.10) frozen unstable; urgency=low
 
 
   * The `it rains in Sydney' release
   * The `it rains in Sydney' release

+ 1 - 1
dpkg-deb/extract.c

@@ -317,7 +317,7 @@ static void controlextractvextract(int admin,
     else ohshit(_("--%s needs a target directory.\n"
     else ohshit(_("--%s needs a target directory.\n"
                 "Perhaps you should be using dpkg --install ?"),cipaction->olong);
                 "Perhaps you should be using dpkg --install ?"),cipaction->olong);
   } else if (*argv) {
   } else if (*argv) {
-    badusage(_("--%s takes at most two arguments (.deb and directory"),cipaction->olong);
+    badusage(_("--%s takes at most two arguments (.deb and directory)"),cipaction->olong);
   }
   }
   extracthalf(debar, directory, taroptions, admin);
   extracthalf(debar, directory, taroptions, admin);
 }
 }

+ 1 - 1
dselect/Makefile.in

@@ -47,7 +47,7 @@ install-doc:
 	done
 	done
 
 
 dselect: $(OBJECTS) ../lib/libdpkg.a
 dselect: $(OBJECTS) ../lib/libdpkg.a
-	$(CC) $(LDFLAGS) -L../lib -o $@ $(OBJECTS) $(LIBS) $(NLS_LIBS) -ldpkg -lncurses
+	$(CXX) $(LDFLAGS) -L../lib -o $@ $(OBJECTS) $(LIBS) $(NLS_LIBS) -ldpkg -lncurses
 
 
 basecmds.o: helpmsgs.h
 basecmds.o: helpmsgs.h
 curkeys.o: curkeys.h
 curkeys.o: curkeys.h

+ 0 - 2
dselect/basecmds.cc

@@ -21,9 +21,7 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
-#include <curses.h>
 #include <assert.h>
 #include <assert.h>
-#include <signal.h>
 
 
 extern "C" {
 extern "C" {
 #include <config.h>
 #include <config.h>

+ 2 - 2
dselect/baselist.cc

@@ -21,10 +21,10 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
-#include <curses.h>
 #include <assert.h>
 #include <assert.h>
-#include <signal.h>
 #include <ctype.h>
 #include <ctype.h>
+#include <sys/ioctl.h>
+#include <sys/termios.h>
 
 
 extern "C" {
 extern "C" {
 #include <config.h>
 #include <config.h>

+ 0 - 2
dselect/basetop.cc

@@ -21,9 +21,7 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
-#include <curses.h>
 #include <assert.h>
 #include <assert.h>
-#include <signal.h>
 #include <ctype.h>
 #include <ctype.h>
 
 
 extern "C" {
 extern "C" {

+ 0 - 2
dselect/bindings.cc

@@ -21,9 +21,7 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
-#include <curses.h>
 #include <assert.h>
 #include <assert.h>
-#include <signal.h>
 
 
 extern "C" {
 extern "C" {
 #include <config.h>
 #include <config.h>

+ 0 - 1
dselect/curkeys.cc

@@ -20,7 +20,6 @@
  */
  */
 
 
 extern "C" {
 extern "C" {
-#include <curses.h>
 #include <config.h>
 #include <config.h>
 #include <dpkg.h>
 #include <dpkg.h>
 #include <dpkg-db.h>
 #include <dpkg-db.h>

+ 2 - 0
dselect/dselect.h

@@ -26,6 +26,8 @@
 #define MAX_DISPLAY_INFO 120
 #define MAX_DISPLAY_INFO 120
 
 
 #include <signal.h>
 #include <signal.h>
+#undef ERR
+#include <curses.h>
 
 
 struct helpmenuentry {
 struct helpmenuentry {
   char key;
   char key;

+ 0 - 2
dselect/main.cc

@@ -22,7 +22,6 @@
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
 #include <stdlib.h>
 #include <stdlib.h>
-#include <signal.h>
 #include <sys/stat.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <sys/wait.h>
@@ -33,7 +32,6 @@
 #include <ctype.h>
 #include <ctype.h>
 #include <assert.h>
 #include <assert.h>
 
 
-#include <curses.h>
 #include <term.h>
 #include <term.h>
 
 
 extern "C" {
 extern "C" {

+ 0 - 2
dselect/methkeys.cc

@@ -21,9 +21,7 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
-#include <curses.h>
 #include <assert.h>
 #include <assert.h>
-#include <signal.h>
 
 
 extern "C" {
 extern "C" {
 #include <config.h>
 #include <config.h>

+ 0 - 2
dselect/methlist.cc

@@ -21,9 +21,7 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
-#include <curses.h>
 #include <assert.h>
 #include <assert.h>
-#include <signal.h>
 #include <errno.h>
 #include <errno.h>
 
 
 extern "C" {
 extern "C" {

+ 0 - 2
dselect/methparse.cc

@@ -22,7 +22,6 @@
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
 #include <stdlib.h>
 #include <stdlib.h>
-#include <signal.h>
 #include <sys/stat.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <sys/wait.h>
@@ -33,7 +32,6 @@
 #include <ctype.h>
 #include <ctype.h>
 #include <assert.h>
 #include <assert.h>
 
 
-#include <curses.h>
 
 
 extern "C" {
 extern "C" {
 #include <config.h>
 #include <config.h>

+ 0 - 2
dselect/pkgcmds.cc

@@ -21,9 +21,7 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
-#include <curses.h>
 #include <assert.h>
 #include <assert.h>
-#include <signal.h>
 
 
 extern "C" {
 extern "C" {
 #include <config.h>
 #include <config.h>

+ 0 - 1
dselect/pkgdepcon.cc

@@ -21,7 +21,6 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
-#include <curses.h>
 #include <assert.h>
 #include <assert.h>
 
 
 extern "C" {
 extern "C" {

+ 0 - 2
dselect/pkgdisplay.cc

@@ -21,9 +21,7 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
-#include <curses.h>
 #include <assert.h>
 #include <assert.h>
-#include <signal.h>
 
 
 extern "C" {
 extern "C" {
 #include <config.h>
 #include <config.h>

+ 0 - 1
dselect/pkginfo.cc

@@ -21,7 +21,6 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
-#include <curses.h>
 #include <assert.h>
 #include <assert.h>
 #include <ctype.h>
 #include <ctype.h>
 
 

+ 0 - 2
dselect/pkgkeys.cc

@@ -21,9 +21,7 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
-#include <curses.h>
 #include <assert.h>
 #include <assert.h>
-#include <signal.h>
 
 
 extern "C" {
 extern "C" {
 #include <config.h>
 #include <config.h>

+ 0 - 2
dselect/pkglist.cc

@@ -21,9 +21,7 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
-#include <curses.h>
 #include <assert.h>
 #include <assert.h>
-#include <signal.h>
 #include <errno.h>
 #include <errno.h>
 
 
 extern "C" {
 extern "C" {

+ 0 - 2
dselect/pkgsublist.cc

@@ -21,9 +21,7 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
-#include <curses.h>
 #include <assert.h>
 #include <assert.h>
-#include <signal.h>
 
 
 extern "C" {
 extern "C" {
 #include <config.h>
 #include <config.h>

+ 0 - 2
dselect/pkgtop.cc

@@ -21,9 +21,7 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
-#include <curses.h>
 #include <assert.h>
 #include <assert.h>
-#include <signal.h>
 #include <ctype.h>
 #include <ctype.h>
 
 
 extern "C" {
 extern "C" {

+ 2 - 2
main/archives.c

@@ -761,8 +761,8 @@ void archivefiles(const char *const *argv) {
     if (fclose(pf)) ohshite(_("error closing find's pipe"));
     if (fclose(pf)) ohshite(_("error closing find's pipe"));
     waitsubproc(fc,"find",0);
     waitsubproc(fc,"find",0);
 
 
-    if (!nfiles) ohshit(_("searched, but found no packages (files matching "
-                        "*.deb"));
+    if (!nfiles)
+      ohshit(_("searched, but found no packages (files matching *.deb)"));
 
 
     varbufaddc(&findoutput,0);
     varbufaddc(&findoutput,0);
     varbufaddc(&findoutput,0);
     varbufaddc(&findoutput,0);

+ 2 - 2
main/dpkg.8

@@ -377,10 +377,10 @@ If a conffile has been modified always choose the default action. If
 always default. If there is no default then we use the old or new
 always default. If there is no default then we use the old or new
 version, depending on the option given.
 version, depending on the option given.
 
 
-\fBoverwrite\fP:
+\fBoverwrite\fP(*):
 Overwrite one package's file with another's file.
 Overwrite one package's file with another's file.
 
 
-\fBoverwrite-dir\fP:
+\fBoverwrite-dir\fP
 Overwrite one package's directory with another's file.
 Overwrite one package's directory with another's file.
 
 
 \fBoverwrite-diverted\fP:
 \fBoverwrite-diverted\fP:

+ 70 - 54
po/cs.po

@@ -8,7 +8,7 @@
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Project-Id-Version: dpkg 1.6.9\n"
 "Project-Id-Version: dpkg 1.6.9\n"
-"POT-Creation-Date: 2000-02-24 08:31+0100\n"
+"POT-Creation-Date: 2000-03-10 13:52+1100\n"
 "PO-Revision-Date: 2000-02-24 08:35+01:00\n"
 "PO-Revision-Date: 2000-02-24 08:35+01:00\n"
 "Last-Translator: Petr Cech <cech@debian.org>\n"
 "Last-Translator: Petr Cech <cech@debian.org>\n"
 "Language-Team: Czech <cs@li.org>\n"
 "Language-Team: Czech <cs@li.org>\n"
@@ -1498,7 +1498,7 @@ msgstr "N
 msgid "Version"
 msgid "Version"
 msgstr "Verze"
 msgstr "Verze"
 
 
-#: dselect/methlist.cc:112 dselect/pkgtop.cc:296 main/enquiry.c:96
+#: dselect/methlist.cc:113 dselect/pkgtop.cc:296 main/enquiry.c:96
 msgid "Description"
 msgid "Description"
 msgstr "Popis"
 msgstr "Popis"
 
 
@@ -2162,26 +2162,33 @@ msgstr ""
 "  dpkg --set-selections                   nastaví výběr ze stdin\n"
 "  dpkg --set-selections                   nastaví výběr ze stdin\n"
 "  dpkg --update-avail <Packages>          nahradí informace o dostupných\n"
 "  dpkg --update-avail <Packages>          nahradí informace o dostupných\n"
 "                                           balících\n"
 "                                           balících\n"
-"  dpkg --merge-avail <Packages>           sloučí informace o dostupnýh balících\n"
+"  dpkg --merge-avail <Packages>           sloučí informace o dostupnýh "
+"balících\n"
 "  dpkg --clear-avail                      zruší informace o balících\n"
 "  dpkg --clear-avail                      zruší informace o balících\n"
-"  dpkg --forget-old-unavail               zapomene nenainstalované nedostupné\n"
+"  dpkg --forget-old-unavail               zapomene nenainstalované "
+"nedostupné\n"
 "                                           balíky\n"
 "                                           balíky\n"
 "  dpkg -s|--status <balík> ...            zobrazí detailní stav balíku\n"
 "  dpkg -s|--status <balík> ...            zobrazí detailní stav balíku\n"
-"  dpkg -p|--print-avail <balík> ...       zobrazí informaci o dostupné verzi\n"
+"  dpkg -p|--print-avail <balík> ...       zobrazí informaci o dostupné "
+"verzi\n"
 "                                           balíku\n"
 "                                           balíku\n"
-"  dpkg -L|--listfiles <balík> ...         vypíše soubory `vlastněné' balíkem\n"
+"  dpkg -L|--listfiles <balík> ...         vypíše soubory `vlastněné' "
+"balíkem\n"
 "  dpkg -l|--list [<vzorek> ...]           stručný seznam balíků\n"
 "  dpkg -l|--list [<vzorek> ...]           stručný seznam balíků\n"
 "  dpkg -S|--search <vzorek> ...           nalezne balík, který vlastní\n"
 "  dpkg -S|--search <vzorek> ...           nalezne balík, který vlastní\n"
 "                                           soubor(y)\n"
 "                                           soubor(y)\n"
 "  dpkg -C|--audit                         vyhledá pokažené balíky\n"
 "  dpkg -C|--audit                         vyhledá pokažené balíky\n"
 "  dpkg --abort-after <n>                  ukončí se po <n> chybách\n"
 "  dpkg --abort-after <n>                  ukončí se po <n> chybách\n"
-"  dpkg --print-architecture               vypíše cílovou architekturu (pomocí\n"
+"  dpkg --print-architecture               vypíše cílovou architekturu "
+"(pomocí\n"
 "                                           GCC)\n"
 "                                           GCC)\n"
-"  dpkg --print-gnu-build-architecture     vypíše GNU verzi cílové architektury\n"
+"  dpkg --print-gnu-build-architecture     vypíše GNU verzi cílové "
+"architektury\n"
 "  dpkg --print-installation-architecture  vypíše architekturu počítače (pro\n"
 "  dpkg --print-installation-architecture  vypíše architekturu počítače (pro\n"
 "                                           instalaci)\n"
 "                                           instalaci)\n"
 "  dpkg --compare-versions <a> <rel> <b>   porovná čísla verzí - viz. dole\n"
 "  dpkg --compare-versions <a> <rel> <b>   porovná čísla verzí - viz. dole\n"
-"  dpkg --help | --version                 vypíše tuto nápovědu / číslo verze\n"
+"  dpkg --help | --version                 vypíše tuto nápovědu / číslo "
+"verze\n"
 "  dpkg --force-help | -Dh|--debug=help    nápověda pro force resp. ladění\n"
 "  dpkg --force-help | -Dh|--debug=help    nápověda pro force resp. ladění\n"
 "  dpkg --licence                          vypíše licenční podmínky\n"
 "  dpkg --licence                          vypíše licenční podmínky\n"
 "\n"
 "\n"
@@ -2193,7 +2200,8 @@ msgstr ""
 "\n"
 "\n"
 "Přepínače:\n"
 "Přepínače:\n"
 "  --admindir=<adresář>       Použije <adresář> místo %s\n"
 "  --admindir=<adresář>       Použije <adresář> místo %s\n"
-"  --root=<adresář>           Nainstaluje do systému s jiným kořenovým adresářem\n"
+"  --root=<adresář>           Nainstaluje do systému s jiným kořenovým "
+"adresářem\n"
 "  --instdir=<adresář>        Změní instalační kořen bez změny admindir\n"
 "  --instdir=<adresář>        Změní instalační kořen bez změny admindir\n"
 "  -O|--selected-only         Přeskočí balíky, které nejsou vybrány pro\n"
 "  -O|--selected-only         Přeskočí balíky, které nejsou vybrány pro\n"
 "                              instalaci/aktualizaci\n"
 "                              instalaci/aktualizaci\n"
@@ -2201,16 +2209,20 @@ msgstr ""
 "  -G|--refuse-downgrade      Neinstaluje starší verze balíku\n"
 "  -G|--refuse-downgrade      Neinstaluje starší verze balíku\n"
 "  -B|--auto-deconfigure      Nainstaluje balík, i když se poruší závislosti\n"
 "  -B|--auto-deconfigure      Nainstaluje balík, i když se poruší závislosti\n"
 "                              jiného\n"
 "                              jiného\n"
-"  --largemem | --smallmem    Optimalizuje pro hodně (>4MB) nebo málo (<4MB) RAM\n"
-"  --no-act                   Pouze vypisuje, co by se stalo, ale neprovádí se\n"
+"  --largemem | --smallmem    Optimalizuje pro hodně (>4MB) nebo málo (<4MB) "
+"RAM\n"
+"  --no-act                   Pouze vypisuje, co by se stalo, ale neprovádí "
+"se\n"
 "  -D|--debug=<octal>         Povolí ladění - viz. -Dhelp nebo --debug==help\n"
 "  -D|--debug=<octal>         Povolí ladění - viz. -Dhelp nebo --debug==help\n"
 "  --ignore-depends=<balík>,...   Ignoruje závislosti s <balíkem>\n"
 "  --ignore-depends=<balík>,...   Ignoruje závislosti s <balíkem>\n"
 "  --force-...                    Ignoruje problémy - viz. --force-help\n"
 "  --force-...                    Ignoruje problémy - viz. --force-help\n"
 "  --no-force-...|--refuse-...    Zastaví se při problémech\n"
 "  --no-force-...|--refuse-...    Zastaví se při problémech\n"
 "\n"
 "\n"
 "Operátory porovnání pro --compare-versions jsou:\n"
 "Operátory porovnání pro --compare-versions jsou:\n"
-" lt le eq ne ge gt        (neexistenci verze považuje za starší než cokoli);\n"
-" lt-nl le-nl ge-nl gt-nl  (neexistenci verze považuje za novější než cokoli);\n"
+" lt le eq ne ge gt        (neexistenci verze považuje za starší než "
+"cokoli);\n"
+" lt-nl le-nl ge-nl gt-nl  (neexistenci verze považuje za novější než "
+"cokoli);\n"
 " < << <= = >= >> >        (pro kompatibilitu se syntaxí souboru control).\n"
 " < << <= = >= >> >        (pro kompatibilitu se syntaxí souboru control).\n"
 "\n"
 "\n"
 "Použijte `dselect' pro uživatelsky přívětivé rozhraní ke správě balíků.\n"
 "Použijte `dselect' pro uživatelsky přívětivé rozhraní ke správě balíků.\n"
@@ -3872,68 +3884,72 @@ msgstr ""
 msgid "error reading keyboard in help"
 msgid "error reading keyboard in help"
 msgstr "chyba při čtení klávesnice v nápovědě"
 msgstr "chyba při čtení klávesnice v nápovědě"
 
 
-#: dselect/baselist.cc:52
+#: dselect/baselist.cc:53
+msgid "ioctl(TIOCGWINSZ) failed"
+msgstr ""
+
+#: dselect/baselist.cc:56
 msgid "doupdate in SIGWINCH handler failed"
 msgid "doupdate in SIGWINCH handler failed"
 msgstr "selhání doupdate v ovladači SIGWINCH"
 msgstr "selhání doupdate v ovladači SIGWINCH"
 
 
-#: dselect/baselist.cc:59
+#: dselect/baselist.cc:63
 msgid "failed to restore old SIGWINCH sigact"
 msgid "failed to restore old SIGWINCH sigact"
 msgstr "nepovedlo se obnovit původní zpracování signálu v SIGWINCH"
 msgstr "nepovedlo se obnovit původní zpracování signálu v SIGWINCH"
 
 
-#: dselect/baselist.cc:61
+#: dselect/baselist.cc:65
 msgid "failed to restore old signal mask"
 msgid "failed to restore old signal mask"
 msgstr "nepovedlo se obnovit původní masku signálů"
 msgstr "nepovedlo se obnovit původní masku signálů"
 
 
-#: dselect/baselist.cc:71
+#: dselect/baselist.cc:75
 msgid "failed to get old signal mask"
 msgid "failed to get old signal mask"
 msgstr "nepovedlo se získat původní masku signálů"
 msgstr "nepovedlo se získat původní masku signálů"
 
 
-#: dselect/baselist.cc:72
+#: dselect/baselist.cc:76
 msgid "failed to get old SIGWINCH sigact"
 msgid "failed to get old SIGWINCH sigact"
 msgstr "nepovedlo se získat původní nastavení zpracování signálu v SIGWINCH"
 msgstr "nepovedlo se získat původní nastavení zpracování signálu v SIGWINCH"
 
 
-#: dselect/baselist.cc:76
+#: dselect/baselist.cc:80
 msgid "failed to block SIGWINCH"
 msgid "failed to block SIGWINCH"
 msgstr "nepovedlo se zablokovat SIGWINCH"
 msgstr "nepovedlo se zablokovat SIGWINCH"
 
 
 #. nsigact.sa_flags= SA_INTERRUPT;
 #. nsigact.sa_flags= SA_INTERRUPT;
-#: dselect/baselist.cc:81
+#: dselect/baselist.cc:85
 msgid "failed to set new SIGWINCH sigact"
 msgid "failed to set new SIGWINCH sigact"
 msgstr "nepovedlo se nastavit nové zpracování signálu v SIGWINCH"
 msgstr "nepovedlo se nastavit nové zpracování signálu v SIGWINCH"
 
 
-#: dselect/baselist.cc:117
+#: dselect/baselist.cc:121
 msgid "failed to allocate colour pairs"
 msgid "failed to allocate colour pairs"
 msgstr "nepovedlo se alokovat páry barev"
 msgstr "nepovedlo se alokovat páry barev"
 
 
-#: dselect/baselist.cc:149
+#: dselect/baselist.cc:153
 msgid "failed to create title window"
 msgid "failed to create title window"
 msgstr "nepovedlo se vytvořit titulní okno"
 msgstr "nepovedlo se vytvořit titulní okno"
 
 
-#: dselect/baselist.cc:153
+#: dselect/baselist.cc:157
 msgid "failed to create whatinfo window"
 msgid "failed to create whatinfo window"
 msgstr "nepovedlo se vytvořit informační okno"
 msgstr "nepovedlo se vytvořit informační okno"
 
 
-#: dselect/baselist.cc:157
+#: dselect/baselist.cc:161
 msgid "failed to create baselist pad"
 msgid "failed to create baselist pad"
 msgstr "nepovedlo se vytvořit okno základního seznamu"
 msgstr "nepovedlo se vytvořit okno základního seznamu"
 
 
-#: dselect/baselist.cc:160
+#: dselect/baselist.cc:164
 msgid "failed to create heading pad"
 msgid "failed to create heading pad"
 msgstr "nepovedlo se vytvořit hlavičkové okno"
 msgstr "nepovedlo se vytvořit hlavičkové okno"
 
 
-#: dselect/baselist.cc:164
+#: dselect/baselist.cc:168
 msgid "failed to create thisstate pad"
 msgid "failed to create thisstate pad"
 msgstr "nepodařilo se vytvořit stavové okno"
 msgstr "nepodařilo se vytvořit stavové okno"
 
 
-#: dselect/baselist.cc:168
+#: dselect/baselist.cc:172
 msgid "failed to create info pad"
 msgid "failed to create info pad"
 msgstr "nepodařilo se vytvořit informační okno"
 msgstr "nepodařilo se vytvořit informační okno"
 
 
-#: dselect/baselist.cc:172
+#: dselect/baselist.cc:176
 msgid "failed to create query window"
 msgid "failed to create query window"
 msgstr "nepodařilo se vytvořit dotazovací okno"
 msgstr "nepodařilo se vytvořit dotazovací okno"
 
 
-#: dselect/baselist.cc:184
+#: dselect/baselist.cc:188
 #, c-format
 #, c-format
 msgid ""
 msgid ""
 "baselist::startdisplay() done ...\n"
 "baselist::startdisplay() done ...\n"
@@ -3958,20 +3974,20 @@ msgstr ""
 " whatinfo_row=%d, list_row=%d;\n"
 " whatinfo_row=%d, list_row=%d;\n"
 "\n"
 "\n"
 
 
-#: dselect/baselist.cc:240
+#: dselect/baselist.cc:244
 msgid "keybindings"
 msgid "keybindings"
 msgstr "funkce kláves"
 msgstr "funkce kláves"
 
 
-#: dselect/baselist.cc:295
+#: dselect/baselist.cc:299
 msgid "  -- %d%%, press "
 msgid "  -- %d%%, press "
 msgstr "  -- %d%%, stiskněte "
 msgstr "  -- %d%%, stiskněte "
 
 
-#: dselect/baselist.cc:298
+#: dselect/baselist.cc:302
 #, c-format
 #, c-format
 msgid "%s for more"
 msgid "%s for more"
 msgstr "%s pro zobrazení další informace"
 msgstr "%s pro zobrazení další informace"
 
 
-#: dselect/baselist.cc:302
+#: dselect/baselist.cc:306
 #, c-format
 #, c-format
 msgid "%s to go back"
 msgid "%s to go back"
 msgstr "%s pro návrat zpět"
 msgstr "%s pro návrat zpět"
@@ -4214,20 +4230,20 @@ msgstr ""
 "        --help  --version  --licence  --expert  --debug <file> | -D<file>\n"
 "        --help  --version  --licence  --expert  --debug <file> | -D<file>\n"
 "Akce:   access update select install config remove quit menu\n"
 "Akce:   access update select install config remove quit menu\n"
 
 
-#: dselect/main.cc:144
+#: dselect/main.cc:118
 #, c-format
 #, c-format
 msgid "couldn't open debug file `%.255s'\n"
 msgid "couldn't open debug file `%.255s'\n"
 msgstr "nepodařilo se otevřít ladící soubor `%.255s'\n"
 msgstr "nepodařilo se otevřít ladící soubor `%.255s'\n"
 
 
-#: dselect/main.cc:175
+#: dselect/main.cc:149
 msgid "Terminal does not appear to support cursor addressing.\n"
 msgid "Terminal does not appear to support cursor addressing.\n"
 msgstr "Zdá se, že terminál nepodporuje adresaci kurzoru.\n"
 msgstr "Zdá se, že terminál nepodporuje adresaci kurzoru.\n"
 
 
-#: dselect/main.cc:177
+#: dselect/main.cc:151
 msgid "Terminal does not appear to support highlighting.\n"
 msgid "Terminal does not appear to support highlighting.\n"
 msgstr "Zdá se, že terminál nepodporuje zvýrazňování.\n"
 msgstr "Zdá se, že terminál nepodporuje zvýrazňování.\n"
 
 
-#: dselect/main.cc:178
+#: dselect/main.cc:152
 msgid ""
 msgid ""
 "Set your TERM variable correctly, use a better terminal,\n"
 "Set your TERM variable correctly, use a better terminal,\n"
 "or make do with the per-package management tool "
 "or make do with the per-package management tool "
@@ -4235,11 +4251,11 @@ msgstr ""
 "Nastavte správně proměnnou TERM, použijte lepší terminál\n"
 "Nastavte správně proměnnou TERM, použijte lepší terminál\n"
 "nebo použijte řádkový nástroj pro správu balíků "
 "nebo použijte řádkový nástroj pro správu balíků "
 
 
-#: dselect/main.cc:180
+#: dselect/main.cc:154
 msgid "terminal lacks necessary features, giving up"
 msgid "terminal lacks necessary features, giving up"
 msgstr "terminál postrádá nezbytné funkce, vzdávám to"
 msgstr "terminál postrádá nezbytné funkce, vzdávám to"
 
 
-#: dselect/main.cc:259
+#: dselect/main.cc:233
 msgid ""
 msgid ""
 "\n"
 "\n"
 "\n"
 "\n"
@@ -4254,7 +4270,7 @@ msgstr ""
 "číslic; Volbu potvrďte stiskem klávesy <enter>. Obrazovku překreslí ^L.\n"
 "číslic; Volbu potvrďte stiskem klávesy <enter>. Obrazovku překreslí ^L.\n"
 "\n"
 "\n"
 
 
-#: dselect/main.cc:273
+#: dselect/main.cc:247
 msgid ""
 msgid ""
 "\n"
 "\n"
 "\n"
 "\n"
@@ -4264,53 +4280,53 @@ msgstr ""
 "\n"
 "\n"
 "Přístup pouze pro čtení: k dispozici je pouze přehled aktuálních nastavení!"
 "Přístup pouze pro čtení: k dispozici je pouze přehled aktuálních nastavení!"
 
 
-#: dselect/main.cc:287
+#: dselect/main.cc:261
 msgid "failed to getch in main menu"
 msgid "failed to getch in main menu"
 msgstr "nepovedlo se getch v hlavním menu"
 msgstr "nepovedlo se getch v hlavním menu"
 
 
-#: dselect/main.cc:358
+#: dselect/main.cc:328
 #, c-format
 #, c-format
 msgid "unknown action string `%.50s'"
 msgid "unknown action string `%.50s'"
 msgstr "neznámý akční řetězec `%.50s'"
 msgstr "neznámý akční řetězec `%.50s'"
 
 
-#: dselect/methlist.cc:68
+#: dselect/methlist.cc:69
 msgid "dselect - list of access methods"
 msgid "dselect - list of access methods"
 msgstr "dselect - seznam přístupových metod"
 msgstr "dselect - seznam přístupových metod"
 
 
-#: dselect/methlist.cc:77
+#: dselect/methlist.cc:78
 #, c-format
 #, c-format
 msgid "Access method `%s'."
 msgid "Access method `%s'."
 msgstr "Přístupová metoda `%s'."
 msgstr "Přístupová metoda `%s'."
 
 
-#: dselect/methlist.cc:111
+#: dselect/methlist.cc:112
 msgid "Abbrev."
 msgid "Abbrev."
 msgstr "Zkratka"
 msgstr "Zkratka"
 
 
-#: dselect/methlist.cc:156
+#: dselect/methlist.cc:157
 msgid "doupdate failed"
 msgid "doupdate failed"
 msgstr "nepovedlo se doupdate"
 msgstr "nepovedlo se doupdate"
 
 
-#: dselect/methlist.cc:158
+#: dselect/methlist.cc:159
 msgid "failed to unblock SIGWINCH"
 msgid "failed to unblock SIGWINCH"
 msgstr "nepovedlo se odblokovat SIGWINCH"
 msgstr "nepovedlo se odblokovat SIGWINCH"
 
 
-#: dselect/methlist.cc:160
+#: dselect/methlist.cc:163
 msgid "failed to re-block SIGWINCH"
 msgid "failed to re-block SIGWINCH"
 msgstr "nepovedlo se znovu zablokovat SIGWINCH"
 msgstr "nepovedlo se znovu zablokovat SIGWINCH"
 
 
-#: dselect/methlist.cc:161
+#: dselect/methlist.cc:164
 msgid "getch failed"
 msgid "getch failed"
 msgstr "nepovedlo se getch"
 msgstr "nepovedlo se getch"
 
 
-#: dselect/methlist.cc:165 dselect/pkgdepcon.cc:242 dselect/pkgdepcon.cc:281
+#: dselect/methlist.cc:168 dselect/pkgdepcon.cc:242 dselect/pkgdepcon.cc:281
 msgid "[none]"
 msgid "[none]"
 msgstr "[none]"
 msgstr "[none]"
 
 
-#: dselect/methlist.cc:179
+#: dselect/methlist.cc:182
 msgid "explanation of "
 msgid "explanation of "
 msgstr "popis "
 msgstr "popis "
 
 
-#: dselect/methlist.cc:189
+#: dselect/methlist.cc:192
 msgid "No explanation available."
 msgid "No explanation available."
 msgstr "Popis není k dispozici."
 msgstr "Popis není k dispozici."
 
 
@@ -4872,7 +4888,7 @@ msgstr "informace o dostupn
 msgid "available version of control info for "
 msgid "available version of control info for "
 msgstr "informace o dostupné verzi pro "
 msgstr "informace o dostupné verzi pro "
 
 
-#: dselect/pkglist.cc:121 dselect/pkglist.cc:122
+#: dselect/pkglist.cc:122 dselect/pkglist.cc:123
 msgid "<null>"
 msgid "<null>"
 msgstr "<null>"
 msgstr "<null>"
 
 

Plik diff jest za duży
+ 868 - 501
po/en.po


Plik diff jest za duży
+ 578 - 288
po/es.po


Plik diff jest za duży
+ 883 - 512
po/fr.po


Plik diff jest za duży
+ 704 - 635
po/ja.po


Plik diff jest za duży
+ 438 - 347
po/pl.po


Plik diff jest za duży
+ 312 - 283
po/ru.po


Plik diff jest za duży
+ 227 - 207
po/sv.po


+ 12 - 4
scripts/dpkg-buildpackage.sh

@@ -40,13 +40,21 @@ END
 }
 }
 
 
 rootcommand=''
 rootcommand=''
-if [ -e $HOME/.gnupg/secring.gpg ] ; then
+signcommand=""
+if [ -e $GNUPGHOME/secring.pgp -o -e $HOME/.gnupg/secring.gpg ] && \
+		command -v gpg > /dev/null 2>&1; then
 	signcommand=gpg
 	signcommand=gpg
-else
+elif command -v pgp > /dev/null 2>&1 ; then
 	signcommand=pgp
 	signcommand=pgp
 fi
 fi
-signsource='withecho signfile'
-signchanges='withecho signfile'
+
+if [ -n "$signcommand"  ] ; then
+	signsource='withecho signfile'
+	signchanges='withecho signfile'
+else
+	signsource=:
+	signchanges=:
+fi
 cleansource=false
 cleansource=false
 binarytarget=binary
 binarytarget=binary
 sourcestyle=''
 sourcestyle=''

+ 2 - 1
scripts/dpkg-divert.pl

@@ -204,8 +204,9 @@ sub checkrename {
 	close TMP;
 	close TMP;
 	if ($1 == ENOENT) {
 	if ($1 == ENOENT) {
 		$dorename = 0;
 		$dorename = 0;
-	} else
+	} else {
 		unlink ("${file}.dpkg-devert.tmp");
 		unlink ("${file}.dpkg-devert.tmp");
+	}
     }
     }
     if (@ssrc && @sdest &&
     if (@ssrc && @sdest &&
         !($ssrc[0] == $sdest[0] && $ssrc[1] == $sdest[1])) {
         !($ssrc[0] == $sdest[0] && $ssrc[1] == $sdest[1])) {

+ 1 - 1
version-nr

@@ -1 +1 @@
-1.6.8
+1.7.0