]> git.pld-linux.org Git - packages/aptitude.git/blob - aptitude-rpm.patch
- cosmetics
[packages/aptitude.git] / aptitude-rpm.patch
1 diff -Nur aptitude-0.2.11.1.orig/po/da.po aptitude-0.2.11.1/po/da.po
2 --- aptitude-0.2.11.1.orig/po/da.po     Mon Apr 22 05:34:36 2002
3 +++ aptitude-0.2.11.1/po/da.po  Sun Jan 19 17:11:50 2003
4 @@ -1884,7 +1884,7 @@
5  #: src/download.cc:374
6  msgid ""
7  "IMPORTANT: this log only lists intended actions; actions which fail due to\n"
8 -"dpkg problems may not be completed.\n"
9 +"rpm problems may not be completed.\n"
10  "\n"
11  msgstr ""
12  
13 @@ -1970,9 +1970,9 @@
14  
15  #: src/download.cc:490
16  msgid ""
17 -"Could not regain the system lock!  (Perhaps another apt or dpkg is running?"
18 +"Could not regain the system lock!  (Perhaps another apt or rpm is running?"
19  msgstr ""
20 -"Kunne ikke gentage system låsen!  (Måske kører en anden apt eller dpkg?"
21 +"Kunne ikke gentage system låsen!  (Måske kører en anden apt eller rpm?"
22  
23  #: src/pkg_info_screen.cc:82
24  msgid "Essential: "
25 diff -Nur aptitude-0.2.11.1.orig/po/de.po aptitude-0.2.11.1/po/de.po
26 --- aptitude-0.2.11.1.orig/po/de.po     Mon Apr 22 05:34:37 2002
27 +++ aptitude-0.2.11.1/po/de.po  Sun Jan 19 17:12:02 2003
28 @@ -1965,12 +1965,12 @@
29  #: src/download.cc:374
30  msgid ""
31  "IMPORTANT: this log only lists intended actions; actions which fail due to\n"
32 -"dpkg problems may not be completed.\n"
33 +"rpm problems may not be completed.\n"
34  "\n"
35  msgstr ""
36  "WICHTIG: dieses Protokoll zeigt nur geplante Aktionen an. Aktionen, die "
37  "wegen\n"
38 -"dpkg-Problemen fehlschlagen sind vielleicht nicht abgeschlossen.\n"
39 +"rpm-Problemen fehlschlagen sind vielleicht nicht abgeschlossen.\n"
40  
41  #: src/download.cc:375
42  #, c-format
43 @@ -2056,10 +2056,10 @@
44  
45  #: src/download.cc:490
46  msgid ""
47 -"Could not regain the system lock!  (Perhaps another apt or dpkg is running?"
48 +"Could not regain the system lock!  (Perhaps another apt or rpm is running?"
49  msgstr ""
50  "Konnte die System-Sperre nicht zurückerlangen!  (Vielleicht läuft noch ein "
51 -"apt oder dpkg?)"
52 +"apt oder rpm?)"
53  
54  #: src/pkg_info_screen.cc:82
55  msgid "Essential: "
56 diff -Nur aptitude-0.2.11.1.orig/po/es.po aptitude-0.2.11.1/po/es.po
57 --- aptitude-0.2.11.1.orig/po/es.po     Mon Nov 26 02:04:23 2001
58 +++ aptitude-0.2.11.1/po/es.po  Sun Jan 19 17:12:10 2003
59 @@ -511,12 +511,12 @@
60  #: src/download.cc:220
61  msgid ""
62  "IMPORTANT: this log only lists intended actions; actions which fail due to\n"
63 -"dpkg problems may not be completed.\n"
64 +"rpm problems may not be completed.\n"
65  "\n"
66  msgstr ""
67  "IMPORTANTE: este log sólo muestra pretensión de las acciones; las acciones "
68  "fallidas\n"
69 -"debidas a problemas dpkg no se completarán.\n"
70 +"debidas a problemas rpm no se completarán.\n"
71  "\n"
72  
73  #: src/download.cc:221
74 diff -Nur aptitude-0.2.11.1.orig/po/fi.po aptitude-0.2.11.1/po/fi.po
75 --- aptitude-0.2.11.1.orig/po/fi.po     Mon Apr 22 05:34:37 2002
76 +++ aptitude-0.2.11.1/po/fi.po  Sun Jan 19 17:12:24 2003
77 @@ -2135,11 +2135,11 @@
78  #: src/download.cc:374
79  msgid ""
80  "IMPORTANT: this log only lists intended actions; actions which fail due to\n"
81 -"dpkg problems may not be completed.\n"
82 +"rpm problems may not be completed.\n"
83  "\n"
84  msgstr ""
85  "TÄRKEÄÄ: tässä lokissa on vain aiotut toimenpiteet; jos toimenpide\n"
86 -"epäonnistuu dpkg:n ongelmien takia, sitä ei välttämättä suoritettu.\n"
87 +"epäonnistuu rpm:n ongelmien takia, sitä ei välttämättä suoritettu.\n"
88  "\n"
89  
90  #: src/download.cc:375
91 @@ -2224,9 +2224,9 @@
92  
93  #: src/download.cc:490
94  msgid ""
95 -"Could not regain the system lock!  (Perhaps another apt or dpkg is running?"
96 +"Could not regain the system lock!  (Perhaps another apt or rpm is running?"
97  msgstr ""
98 -"En saanut järjestelmälukitusta!  (Ehkä apt tai dpkg on ajossa muualta?)"
99 +"En saanut järjestelmälukitusta!  (Ehkä apt tai rpm on ajossa muualta?)"
100  
101  #: src/pkg_info_screen.cc:82
102  msgid "Essential: "
103 diff -Nur aptitude-0.2.11.1.orig/po/fr.po aptitude-0.2.11.1/po/fr.po
104 --- aptitude-0.2.11.1.orig/po/fr.po     Sat Mar 16 04:40:10 2002
105 +++ aptitude-0.2.11.1/po/fr.po  Sun Jan 19 17:12:31 2003
106 @@ -441,12 +441,12 @@
107  #: src/download.cc:220
108  msgid ""
109  "IMPORTANT: this log only lists intended actions; actions which fail due to\n"
110 -"dpkg problems may not be completed.\n"
111 +"rpm problems may not be completed.\n"
112  "\n"
113  msgstr ""
114  "IMPORTANT : Ces logs ne contiennent que les actions prévues ; Certaines "
115  "actions peuvent\n"
116 -"échouer à cause d'erreurs de dpkg, et donc ne pas être réalisées.\n"
117 +"échouer à cause d'erreurs de rpm, et donc ne pas être réalisées.\n"
118  "\n"
119  
120  #: src/download.cc:221
121 diff -Nur aptitude-0.2.11.1.orig/po/gl.po aptitude-0.2.11.1/po/gl.po
122 --- aptitude-0.2.11.1.orig/po/gl.po     Sat Mar 16 04:40:10 2002
123 +++ aptitude-0.2.11.1/po/gl.po  Sun Jan 19 17:12:38 2003
124 @@ -462,12 +462,12 @@
125  #: src/download.cc:220
126  msgid ""
127  "IMPORTANT: this log only lists intended actions; actions which fail due to\n"
128 -"dpkg problems may not be completed.\n"
129 +"rpm problems may not be completed.\n"
130  "\n"
131  msgstr ""
132  "IMPORTANTE: este rexistro só fai un listado das accións que se quixeron "
133  "facer;\n"
134 -"as accións que fallen por problemas con dpkg poden non terse completado.\n"
135 +"as accións que fallen por problemas con rpm poden non terse completado.\n"
136  "\n"
137  
138  #: src/download.cc:221
139 diff -Nur aptitude-0.2.11.1.orig/po/ja.po aptitude-0.2.11.1/po/ja.po
140 --- aptitude-0.2.11.1.orig/po/ja.po     Sat Mar 16 04:40:10 2002
141 +++ aptitude-0.2.11.1/po/ja.po  Sun Jan 19 17:12:43 2003
142 @@ -516,7 +516,7 @@
143  #: src/download.cc:220
144  msgid ""
145  "IMPORTANT: this log only lists intended actions; actions which fail due to\n"
146 -"dpkg problems may not be completed.\n"
147 +"rpm problems may not be completed.\n"
148  "\n"
149  msgstr ""
150  
151 diff -Nur aptitude-0.2.11.1.orig/po/pl.po aptitude-0.2.11.1/po/pl.po
152 --- aptitude-0.2.11.1.orig/po/pl.po     Mon Apr 22 05:34:38 2002
153 +++ aptitude-0.2.11.1/po/pl.po  Sun Jan 19 17:13:21 2003
154 @@ -2130,11 +2130,11 @@
155  #: src/download.cc:374
156  msgid ""
157  "IMPORTANT: this log only lists intended actions; actions which fail due to\n"
158 -"dpkg problems may not be completed.\n"
159 +"rpm problems may not be completed.\n"
160  "\n"
161  msgstr ""
162  "WA¯NE: ten dziennik zawiera planowane dzia³ania. Operacje, w czasie których\n"
163 -"wyst±pi³y b³êdy dpkg mog± nie byæ zakoñczone pomy¶lnie.\n"
164 +"wyst±pi³y b³êdy rpm mog± nie byæ zakoñczone pomy¶lnie.\n"
165  "\n"
166  
167  #: src/download.cc:375
168 @@ -2219,9 +2219,9 @@
169  
170  #: src/download.cc:490
171  msgid ""
172 -"Could not regain the system lock!  (Perhaps another apt or dpkg is running?"
173 +"Could not regain the system lock!  (Perhaps another apt or rpm is running?"
174  msgstr ""
175 -"Nie uda³o siê odzyskaæ blokady systemowej! Mo¿e pracuje inny apt lub dpkg?"
176 +"Nie uda³o siê odzyskaæ blokady systemowej! Mo¿e pracuje inny apt lub rpm?"
177  
178  #: src/pkg_info_screen.cc:82
179  msgid "Essential: "
180 diff -Nur aptitude-0.2.11.1.orig/src/download.cc aptitude-0.2.11.1/src/download.cc
181 --- aptitude-0.2.11.1.orig/src/download.cc      Sun Mar 24 22:21:34 2002
182 +++ aptitude-0.2.11.1/src/download.cc   Sun Jan 19 17:18:52 2003
183 @@ -30,7 +30,7 @@
184  #include <apt-pkg/init.h>
185  #include <apt-pkg/clean.h>
186  #include <apt-pkg/error.h>
187 -#include <apt-pkg/dpkgpm.h>
188 +#include <apt-pkg/rpmpm.h>
189  #include <apt-pkg/packagemanager.h>
190  #include <apt-pkg/sourcelist.h>
191  #include <apt-pkg/acquire.h>
192 @@ -267,7 +267,7 @@
193      }
194  
195    // Make a package manager, get ready to download
196 -  pkgDPkgPM pm(*apt_cache_file);
197 +  pkgRPMPM pm(*apt_cache_file);
198    if(!pm.GetArchives(&fetcher, &list, apt_package_records) || _error->PendingError())
199      {
200        _error->Error(_("Internal error: couldn't generate list of packages to download"));
201 @@ -371,7 +371,7 @@
202  
203           time_t curtime=time(NULL);
204           fprintf(f, "Aptitude " VERSION ": log report\n%s\n\n", ctime(&curtime));
205 -         fprintf(f, _("IMPORTANT: this log only lists intended actions; actions which fail due to\ndpkg problems may not be completed.\n\n"));
206 +         fprintf(f, _("IMPORTANT: this log only lists intended actions; actions which fail due to\nrpm problems may not be completed.\n\n"));
207           fprintf(f, _("Will install %li packages, and remove %li packages.\n"), (*apt_cache_file)->InstCount(), (*apt_cache_file)->DelCount());
208           if((*apt_cache_file)->UsrSize()>0)
209             fprintf(f, _("%li bytes of disk space will be used\n"), (long int) (*apt_cache_file)->UsrSize());
210 @@ -453,7 +453,7 @@
211           _error->DumpErrors();
212           cerr<<_("Ack!  Something bad happened while installing packages.  Trying to recover:")<<endl;
213           // and this is really a hack:
214 -         system("dpkg --configure -a");
215 +         // system("dpkg --configure -a");
216           _error->Discard();
217           ok=false;
218  
219 @@ -487,7 +487,7 @@
220        if(!apt_cache_file->GainLock())
221         // This really shouldn't happen.
222         {
223 -         _error->Error(_("Could not regain the system lock!  (Perhaps another apt or dpkg is running?"));
224 +         _error->Error(_("Could not regain the system lock!  (Perhaps another apt or rpm is running?"));
225           ok=false;
226           break;
227         }
228 diff -Nur aptitude-0.2.11.1.orig/src/pkg_info_screen.cc aptitude-0.2.11.1/src/pkg_info_screen.cc
229 --- aptitude-0.2.11.1.orig/src/pkg_info_screen.cc       Sun Mar 24 19:54:44 2002
230 +++ aptitude-0.2.11.1/src/pkg_info_screen.cc    Sun Jan 19 17:58:47 2003
231 @@ -84,7 +84,7 @@
232  
233        tree->add_child(new vs_staticitem(_("Priority: "),pkgCache::VerIterator(ver).PriorityType()?pkgCache::VerIterator(ver).PriorityType():"Unknown"));
234        tree->add_child(new vs_staticitem(_("Section: "),pkg.Section()?pkg.Section():_("Unknown")));
235 -      tree->add_child(new vs_staticitem(_("Maintainer: "),rec.Maintainer()));
236 +      //tree->add_child(new vs_staticitem(_("Maintainer: "),rec.Maintainer()));
237        tree->add_child(new vs_staticitem(_("Compressed size: "), SizeToStr(ver->Size)));
238        tree->add_child(new vs_staticitem(_("Uncompressed size: "), SizeToStr(ver->InstalledSize)));
239        if(!rec.SourcePkg().empty())
This page took 0.09659 seconds and 3 git commands to generate.