[PackageKit-commit] packagekit: Branch 'master' - 19 commits
Richard Hughes
hughsient at kemper.freedesktop.org
Mon Oct 5 03:11:55 PDT 2009
NEWS | 154 +++++
RELEASE | 12
backends/opkg/pk-backend-opkg.c | 2
backends/poldek/pk-backend-poldek.c | 74 +-
backends/smart/pk-backend-smart.c | 56 -
backends/smart/smartBackend.py | 1
backends/zypp/zypp-utils.cpp | 2
contrib/command-not-found/pk-command-not-found.c | 26
contrib/gstreamer-plugin/pk-gstreamer-install.c | 2
contrib/gtk-module/pk-gtk-module.c | 38 -
docs/html/pk-download.html | 1
lib/packagekit-glib/pk-enum.c | 154 +++--
lib/packagekit-glib/pk-enum.h | 153 +++-
lib/packagekit-glib2/pk-bitfield.c | 14
lib/packagekit-glib2/pk-control.c | 2
lib/packagekit-glib2/pk-enum.c | 26
lib/packagekit-glib2/pk-enum.h | 53 +
lib/packagekit-glib2/pk-package-sack.c | 42 +
lib/packagekit-glib2/pk-package-sack.h | 2
lib/packagekit-glib2/pk-package.c | 6
lib/packagekit-glib2/pk-progress.c | 4
lib/packagekit-glib2/pk-results.c | 2
lib/packagekit-qt/src/package.h | 2
po/es.po | 705 +++++++++++++----------
po/pl.po | 39 -
src/pk-backend.c | 10
src/pk-transaction-db.c | 2
src/pk-transaction.c | 2
28 files changed, 1037 insertions(+), 549 deletions(-)
New commits:
commit 5fc51d634733ee273a3c1ab7b511db79c90c7755
Author: Richard Hughes <richard at hughsie.com>
Date: Mon Oct 5 11:09:34 2009 +0100
Release version 0.5.3
diff --git a/NEWS b/NEWS
index 39b8315..57ed0a8 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,157 @@
+Version 0.5.3
+~~~~~~~~~~~~~
+Released: 2009-10-05
+
+Notes:
+ - Quite a few method and property additions and clarifications to the spec,
+ with 7 methods now deprecated. We'll be supporting the deprecated methods all
+ through 0.5.x so client code does not have to worry until 0.6.x.
+ - Support for using idle bandwidth, disk and CPU in some circumstances.
+ - A new 'slapt' backend for slackware packages as a preview release.
+ - This is the first release to use the glib2 library internally. This makes the
+ client tools faster, more stable and more supportable. The headers are also
+ now used in the daemon and many of the synchronous methods are now async.
+ It is not yet recommended for external client programs use packagekit-glib2
+ as the API is not yet set in stone and may change. This is expected in 0.6.x.
+
+Specification
+ - Add a Speed property to the interface as some users require the download speed (Richard Hughes)
+ - Add a per-Transaction ::Changed() signal and deprecate the other FooChanged() signals (Richard Hughes)
+ - Add OR delimiters to SearchName, SearchDetails, SearchGroup, SearchFile and WhatProvides (Richard Hughes)
+ - Add ElapsedTime and RemainingTime as properties on the Transaction interface (Richard Hughes)
+ - Mandate that ::Files() from DownloadPackages must be one per package, with the package_id set correctly (Richard Hughes)
+ - Deprecate SetLocale() and add another method to replace it, SetHints() (Richard Hughes)
+ - Deprecate ::Locked() and ::NetworkStateChanged() and add properties and a ::Changed() signal (Richard Hughes)
+
+Translations
+ - Updated translation for Assamese (amitakhya)
+ - Updated translation for Bengali (runab)
+ - Updated translation for Brazilian Portuguese (igor)
+ - Updated translation for Catalan (xconde)
+ - Updated translation for Chinese Simplified (cyrushmh)
+ - Updated translation for Czech (hunter688)
+ - Updated translation for Danish (kristho)
+ - Updated translation for Dutch (warrink)
+ - Updated translation for Finnish (vpv)
+ - Updated translation for Gujarati (swkothar)
+ - Updated translation for Hindi (rajesh)
+ - Updated translation for Hungarian (kelemeng)
+ - Updated translation for Italian (perplex)
+ - Updated translation for Japanese (hyuuga)
+ - Updated translation for Kannada (shanky)
+ - Updated translation for Malayalam (anipeter)
+ - Updated translation for Marathi (sandeeps)
+ - Updated translation for Oriya (mgiri)
+ - Updated translation for Polish (raven)
+ - Updated translation for Portuguese (ruigo)
+ - Updated translation for Punjabi (aalam)
+ - Updated translation for Punjabi (jassy)
+ - Updated translation for Russian (sergeyr)
+ - Updated translation for Serbian (kmilos)
+ - Updated translation for Spanish (beckerde)
+ - Updated translation for Spanish (fgonz)
+ - Updated translation for Swedish (yeager)
+ - Updated translation for Tamil (ifelix)
+ - Updated translation for Telugu (kkrothap)
+ - Updated translation for Ukrainian (mvdz)
+
+Backends
+ - alpm: migrated to new packagekit-glib2 library (Valeriy Lyasotskiy)
+ - alpm: fixed download_files to comply with new spec (Valeriy Lyasotskiy)
+ - aptcc: Fix aptcc to work with glib2 (Daniel Nicoletti)
+ - dummy: Do the resolve in an idle loop, not just sync (Richard Hughes)
+ - dummy: Match the new spec for DownloadPackages (Richard Hughes)
+ - opkg: Require opkg in version greater or equal than 0.1.5, not just equal 0.1.5 (Sebastian Krzyszkowiak)
+ - poldek: Make it compile with pk-glib2 (Marcin Banasiak)
+ - slapt: Add new backend for Slackware packages (Anders F Bjorklund)
+ - smart: Fix get_mime_types for slack (Anders F Bjorklund)
+ - smart: Use noninteractive debconf (Anders F Bjorklund)
+ - yum: Add moblin-desktop to desktop-other metagroup (Richard Hughes)
+ - yum: Be more agressive about not downloading all metadata before we do anything (Richard Hughes)
+ - yum: Catch RepoError in one more place if the yum sqlite is malformed (Richard Hughes)
+ - yum: Disable MediaGrabber until we have a backend we can use by default (Richard Hughes)
+ - yum: Don't explicitly download the file lists as we're not globbing (Richard Hughes)
+ - yum: Fix yum-comps-groups.conf to bring back the Xfce packages (Christoph Wickert)
+ - yum: Match the new spec for DownloadPackages (Richard Hughes)
+ - yum: Support the OR delimitors for the search methods (Richard Hughes)
+ - yum: Support using idle bandwidth in special circumstances (Richard Hughes)
+
+New Features
+ - cnf: Print more status values now they are translated for us (Richard Hughes)
+ - daemon: Add a check to ensure that ::Files() are sent for DownloadPackages (Richard Hughes)
+ - daemon: Add a PkTransaction warning if a backend does not download files to the specified directory (Richard Hughes)
+ - debuginfo-install: Add a --noninteractive command line option to suppress the simulate (Richard Hughes)
+ - Add a --enable-glib configure entry, but default this to TRUE (Richard Hughes)
+ - Add a compile time agreement of API unstableness in any external tools using the glib2 library (Richard Hughes)
+ - Add a developer tool to download the Fedora licensing page and parse it for free licenses (Richard Hughes)
+ - Add an initial version of the glib1->glib2 migration document (Richard Hughes)
+ - Add an option to use idle bandwidth when we are getting the update lists (Richard Hughes)
+ - Add two new new package status 'Decompressing' and 'Preparing' (Daniel Nicoletti)
+ - Add --noninteractive and --idle command line switches to pkcon (Richard Hughes)
+ - Add some more translations to make the output of pkcon better in non-English locales (Richard Hughes)
+ - Allow multiple search terms in packagekit-glib2, and add support in the client programs (Richard Hughes)
+ - Convert all the daemon to use the new glib2 headers (Richard Hughes)
+ - Schedule non-idle tasks before idle tasks (Richard Hughes)
+ - Monitor network-status in pkmon (Richard Hughes)
+ - Store the is-idle information in the backend and use it as a policy choice (Richard Hughes)
+ - Switch the doc-generation to glib2 (Richard Hughes)
+ - Use different values of BackendSpawnNiceValue and BackendSpawnIdleIO when we are idle or not-idle (Richard Hughes)
+ - glib2: Make PkControl cancel pending DBus calls when cancelled (Richard Hughes)
+ - glib2: Make the PkItem structures refcountable (Richard Hughes)
+ - glib2: Add an 'idle' parameter to PkSpawn (Richard Hughes)
+ - glib2: Add a PkTransactionList class which is like a stripped down glib1 PkTaskList (Richard Hughes)
+ - glib2: Add a simulate property to PkTask so the simulate step can be supressed if it would be run (Richard Hughes)
+ - glib2: Add a transaction-id property to PkProgress (Richard Hughes)
+ - glib2: Add a transaction-id property to PkResults (Richard Hughes)
+ - glib2: Add helper alias to get corresponding fields from the results of pk_package_id_split (Valeriy Lyasotskiy)
+ - glib2: Add pk_client_get_progress_async() so we can peek at the transaction without adopting it (Richard Hughes)
+ - glib2: Add some self tests that fail for downloading (Richard Hughes)
+ - glib2: Add the missing pk_client_adopt() function to PkClient (Richard Hughes)
+ - glib2: Add two properties to PkClient, idle and interactive (Richard Hughes)
+ - glib2: Add UID attribute to PkProgress (Richard Hughes)
+ - glib2: Allow getting the complete PkProgress object from PkResults (Richard Hughes)
+ - glib2: Copy non-native files before we try to install them to avoid GUI clients having to do this (Richard Hughes)
+ - glib2: Export the locale as a read-write property on PkClient (Richard Hughes)
+ - glib2: Port PkCatalog from glib1, and speed things up by an order of magnitude (Richard Hughes)
+ - glib2: Print warning if pk_progress_bar_set_percentage() is called before pk_progress_bar_start (Richard Hughes)
+ - glib2: Ship the -sync versions of PkClient and PkControl in the shared library (Richard Hughes)
+ - glib2: Split out pk-client-sync.[c|h] from the shared console code (Richard Hughes)
+ - glib2: Use SetHints() rather than SetLocale(), and pass the idle and interactive hints (Richard Hughes)
+
+Bugfixes:
+ - browser-plugin: Don't unref plugin twice to fix a crash when firefox is closed (Richard Hughes)
+ - Actually make the PackageKit GTK module resident (Matthias Clasen)
+ - Add a check for glib-2.0 >= 2.22.0 for the new glib2 library (Richard Hughes)
+ - Call dbus_g_thread_init() in the client tools, even though nothing bad seems to happen if we dont (Richard Hughes)
+ - Don't free stuff allocated by fontconfig with g_free (Matthias Clasen)
+ - Don't set the last element to NULL in pk_ptr_array_to_strv (Richard Hughes)
+ - Do the legacy fallback in the daemon, not generally, else we try to run methods that do not exist (Richard Hughes)
+ - Emit the correct transaction-id in the glib2 PkTransactionList code (Richard Hughes)
+ - Ensure we invalidate the updates cache every time the daemon sends updates-changed. Fixes rh#523593 (Richard Hughes)
+ - Exit pk-command-not-found with 127 when we have not run a program. Fixes rh#527044 (Richard Hughes)
+ - Fix a client crash when we're doing a simulated install of a local package (Richard Hughes)
+ - Fix a couple of crashers in pk_transaction_pre_transaction_checks (Richard Hughes)
+ - Fix double free in pk-gstreamer-install which caused a crash. Fixes rh#526600 (Dave Airlie)
+ - Localise the info enums in pkcon (Richard Hughes)
+ - Read unbuffered input rather than using ungetc. Fixes rh#522679 (Richard Hughes)
+ - Refresh the free licenses we can parse from the Fedora wiki. Fixes rh#519394 (Richard Hughes)
+ - cnf: Directly install packages using PkTaskText rather than calling out to pkcon (Richard Hughes)
+ - cnf: Don't print critical warnings if run with no arguments (Richard Hughes)
+ - contrib: Fix crash on 64 bit architectures in the plugin installer. Fixes rh#523861 (Richard Hughes)
+ - debuginfo-install: Correctly list all the dependant packages (Richard Hughes)
+ - glib2: Don't stomp on state->call when the interface changes (Richard Hughes)
+ - glib2: Don't use weak pointers, use a proper reference to avoid clearing the proxy (Richard Hughes)
+ - glib2: Ensure we call the progress callback when initially setting the role in PkClient (Richard Hughes)
+ - glib2: Check for OOM and connection failure in PkClient and PkControl (Richard Hughes)
+ - glib2: Don't append blank version and arch sections in pk_package_id_to_printable (Richard Hughes)
+ - glib2: Use ARCH and NEWEST filters when getting the deps for a service pack (Richard Hughes)
+ - glib2: We're treating PK_foo_ENUM_UNKNOWN as a delimiter, but it's actually part of the ABI. Use PK_foo_LAST (Richard Hughes)
+ - glib: Use the newest filter when getting catalog data (Richard Hughes)
+ - packagekit-qt: Fix crash when using getOldTransactions to get uid (Daniel Nicoletti)
+ - packagekit-qt: Fix simulateInstallPackage call (Daniel Nicoletti)
+ - pkcon: When removing packages, allow removal of deps too (Richard Hughes)
+ - pkmon: Don't print transactions before we have properties set (Richard Hughes)
+
Version 0.5.2
~~~~~~~~~~~~~
Released: 2009-09-07
diff --git a/RELEASE b/RELEASE
index 56e0111..c2f7262 100644
--- a/RELEASE
+++ b/RELEASE
@@ -2,7 +2,7 @@ PackageKit Release Notes
1. Write NEWS entries for PackageKit in the same format as usual.
-git shortlog PACKAGEKIT_0_5_1.. | grep -i -v trivial | grep -v Merge > NEWS.new
+git shortlog PACKAGEKIT_0_5_2.. | grep -i -v trivial | grep -v Merge > NEWS.new
2. Add download date to docs/html/pk-download.html, save file.
@@ -10,8 +10,8 @@ git shortlog PACKAGEKIT_0_5_1.. | grep -i -v trivial | grep -v Merge > NEWS.new
4. Commit changes in PackageKit git:
-git commit -a -m "Release version 0.5.2"
-git tag -a -f -m "Release 0.5.2" PACKAGEKIT_0_5_2
+git commit -a -m "Release version 0.5.3"
+git tag -a -f -m "Release 0.5.3" PACKAGEKIT_0_5_3
git push --tags
git push
git push git+ssh://hughsient@git.freedesktop.org/git/packagekit
@@ -21,7 +21,7 @@ git push --tags git+ssh://hughsient@git.freedesktop.org/git/packagekit
6. Upload tarball to:
-scp *.tar.gz packagekit.org:/srv/www/html/releases/
+scp *.tar.* packagekit.org:/srv/www/html/releases/
7. Do post release version bump in configure.ac
@@ -35,9 +35,9 @@ git push
10. Send an email to packagekit at lists.freedesktop.org
=================================================
-Subject: PackageKit 0.5.2 released!
+Subject: PackageKit 0.5.3 released!
-Today I released PackageKit 0.5.2.
+Today I released PackageKit 0.5.3.
PackageKit release notes: http://cgit.freedesktop.org/packagekit/tree/NEWS
diff --git a/docs/html/pk-download.html b/docs/html/pk-download.html
index 3dce067..323db44 100644
--- a/docs/html/pk-download.html
+++ b/docs/html/pk-download.html
@@ -71,6 +71,7 @@ Releases are normally once every 3-4 weeks.
<tr><td>0.5.0</td><td></td><td>2009-07-06</td></tr>
<tr><td>0.5.1</td><td></td><td>2009-08-03</td></tr>
<tr><td>0.5.2</td><td></td><td>2009-09-07</td></tr>
+<tr><td>0.5.3</td><td></td><td>2009-10-05</td></tr>
</table>
<h3>
ABI Stable Versions:
commit 069824ee211b8a26009ce191bec9e37dffb60a33
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Oct 5 09:40:00 2009 +0100
bugfix: Fix double free in pk-gstreamer-install which caused a crash. Fixes rh#526600
Signed-off-by: Richard Hughes <richard at hughsie.com>
diff --git a/contrib/gstreamer-plugin/pk-gstreamer-install.c b/contrib/gstreamer-plugin/pk-gstreamer-install.c
index 1507ed7..643164e 100644
--- a/contrib/gstreamer-plugin/pk-gstreamer-install.c
+++ b/contrib/gstreamer-plugin/pk-gstreamer-install.c
@@ -102,7 +102,7 @@ pk_gst_parse_codec (const gchar *codec)
info = g_new0 (PkGstCodecInfo, 1);
info->app_name = g_strdup (split[2]);
info->codec_name = g_strdup (split[3]);
- info->type_name = type_name;
+ info->type_name = g_strdup (type_name);
info->structure = s;
out:
commit 1178a74c4d29033a934aa4c3fbd9ea0054e9ab53
Author: Matthias Clasen <mclasen at redhat.com>
Date: Mon Oct 5 09:33:55 2009 +0100
Actually make the PackageKit GTK module resident
I noticed that we try to make the pk gtk module resident, but that is
not quite good enough, since gtk will call the module-init function
again anyway, and install_pango_font_map is not idempotent.
Signed-off-by: Richard Hughes <richard at hughsie.com>
diff --git a/contrib/gtk-module/pk-gtk-module.c b/contrib/gtk-module/pk-gtk-module.c
index 5149b8d..3d76ad8 100644
--- a/contrib/gtk-module/pk-gtk-module.c
+++ b/contrib/gtk-module/pk-gtk-module.c
@@ -306,20 +306,23 @@ pk_pango_fc_font_map_overload_type (GType default_pango_fc_font_map_type)
static void
install_pango_font_map (void)
{
- PangoFontMap *font_map;
- GType font_map_type;
-
- font_map = pango_cairo_font_map_get_default ();
- if (!PANGO_IS_FC_FONT_MAP (font_map)) {
- g_warning ("Default pangocairo font map is not a pangofc fontmap. "
- "Skipping automatic missing-font installation.");
- return;
+ static GType font_map_type = 0;
+
+ if (!font_map_type) {
+ PangoFontMap *font_map;
+
+ font_map = pango_cairo_font_map_get_default ();
+ if (!PANGO_IS_FC_FONT_MAP (font_map)) {
+ g_warning ("Default pangocairo font map is not a pangofc fontmap. "
+ "Skipping automatic missing-font installation.");
+ return;
+ }
+
+ font_map_type = pk_pango_fc_font_map_overload_type (G_TYPE_FROM_INSTANCE (font_map));
+ font_map = g_object_new (font_map_type, NULL);
+ pango_cairo_font_map_set_default (PANGO_CAIRO_FONT_MAP (font_map));
+ g_object_unref (font_map);
}
-
- font_map_type = pk_pango_fc_font_map_overload_type (G_TYPE_FROM_INSTANCE (font_map));
- font_map = g_object_new (font_map_type, NULL);
- pango_cairo_font_map_set_default (PANGO_CAIRO_FONT_MAP (font_map));
- g_object_unref (font_map);
}
commit 0be91f975be64dada85d9c7636a471ec9e2bbec5
Author: Matthias Clasen <mclasen at redhat.com>
Date: Mon Oct 5 09:29:34 2009 +0100
bugfix: Don't free stuff allocated by fontconfig with g_free
Signed-off-by: Richard Hughes <richard at hughsie.com>
diff --git a/contrib/gtk-module/pk-gtk-module.c b/contrib/gtk-module/pk-gtk-module.c
index 0924986..5149b8d 100644
--- a/contrib/gtk-module/pk-gtk-module.c
+++ b/contrib/gtk-module/pk-gtk-module.c
@@ -192,7 +192,8 @@ pk_font_not_found (PangoLanguage *language)
out:
if (pat != NULL)
FcPatternDestroy (pat);
- g_free (tag);
+ if (tag != NULL)
+ free (tag);
}
@@ -204,14 +205,14 @@ out:
typedef struct {
PangoLanguage *language;
gboolean found;
-} FonsetForeachClosure;
+} FontsetForeachClosure;
static gboolean
fontset_foreach_cb (PangoFontset *fontset G_GNUC_UNUSED,
PangoFont *font,
gpointer data)
{
- FonsetForeachClosure *closure = data;
+ FontsetForeachClosure *closure = data;
PangoFcFont *fcfont = PANGO_FC_FONT (font);
const FcPattern *pattern = NULL;
FcLangSet *langset = NULL;
@@ -264,7 +265,7 @@ pk_pango_fc_font_map_load_fontset (PangoFontMap *font_map,
seen_languages = g_hash_table_new (NULL, NULL);
if (G_UNLIKELY (!g_hash_table_lookup (seen_languages, language))) {
- FonsetForeachClosure closure;
+ FontsetForeachClosure closure;
g_hash_table_insert (seen_languages, language, language);
commit b28d59e63c854edc4e779d1c75c96ace56cfdd53
Merge: 74f91ff... 64ac97b...
Author: Anders F Bjorklund <afb at users.sourceforge.net>
Date: Sun Oct 4 23:40:38 2009 +0200
Merge branch 'master' of git+ssh://afb@git.packagekit.org/srv/git/PackageKit
commit 64ac97b54aa90af2f125652f37c087d7a32f5844
Author: fgonz <fgonz at fedoraproject.org>
Date: Sun Oct 4 19:31:19 2009 +0000
Sending translation for Spanish
diff --git a/po/es.po b/po/es.po
index 089d008..fdf20b4 100644
--- a/po/es.po
+++ b/po/es.po
@@ -6,14 +6,15 @@
# Héctor Daniel Cabrera <h.daniel.cabrera at gmail.com>, 2009.
#
# Fernando Gonzalez <fgonz at fedoraproject.org>, 2009.
+# Fernando Gonzalez Blanco <fgonz at fedoraproject.org>, 2009.
msgid ""
msgstr ""
"Project-Id-Version: packagekit\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-09-29 08:49+0000\n"
-"PO-Revision-Date: 2009-09-29 11:44-0300\n"
-"Last-Translator: Domingo Becker <domingobecker at gmail.com>\n"
-"Language-Team: Fedora Spanish <fedora-trans-es at redhat.com>\n"
+"POT-Creation-Date: 2009-10-04 16:21+0000\n"
+"PO-Revision-Date: 2009-10-04 21:25+0200\n"
+"Last-Translator: Fernando Gonzalez Blanco <fgonz at fedoraproject.org>\n"
+"Language-Team: Spanish <fedora-trans-es at redhat.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -45,8 +46,7 @@ msgstr "Falso"
#. TRANSLATORS: this is the transactions role, e.g. "update-system"
#. TRANSLATORS: the trasaction role, e.g. update-system
-#: ../client/pk-console.c:149
-#: ../src/pk-polkit-action-lookup.c:336
+#: ../client/pk-console.c:149 ../src/pk-polkit-action-lookup.c:336
msgid "Role"
msgstr "Rol"
@@ -61,8 +61,7 @@ msgstr "(segundos)"
#. TRANSLATORS: this is The command line used to do the action
#. TRANSLATORS: the command line of the thing that wants the authentication
-#: ../client/pk-console.c:158
-#: ../src/pk-polkit-action-lookup.c:350
+#: ../client/pk-console.c:158 ../src/pk-polkit-action-lookup.c:350
msgid "Command line"
msgstr "LÃnea de comandos"
@@ -101,8 +100,7 @@ msgstr "Tipo"
#. TRANSLATORS: this is any summary text describing the upgrade
#. TRANSLATORS: this is the summary of the group
-#: ../client/pk-console.c:205
-#: ../client/pk-console.c:226
+#: ../client/pk-console.c:205 ../client/pk-console.c:226
msgid "Summary"
msgstr "Resúmen"
@@ -140,9 +138,8 @@ msgstr "Detalles acerca de la actualización:"
#. TRANSLATORS: the package that is not signed by a known key
#. TRANSLATORS: the package name that was trying to be installed
#. TRANSLATORS: title, the names of the packages that the method is processing
-#: ../client/pk-console.c:249
-#: ../lib/packagekit-glib2/pk-task-text.c:105
-#: ../lib/packagekit-glib2/pk-task-text.c:172
+#: ../client/pk-console.c:249 ../lib/packagekit-glib2/pk-task-text.c:107
+#: ../lib/packagekit-glib2/pk-task-text.c:174
#: ../src/pk-polkit-action-lookup.c:361
msgid "Package"
msgid_plural "Packages"
@@ -161,8 +158,7 @@ msgstr "Sustituye"
#. TRANSLATORS: details about the update, the vendor URLs
#. TRANSLATORS: the vendor (e.g. vmware) that is providing the EULA
-#: ../client/pk-console.c:260
-#: ../lib/packagekit-glib2/pk-task-text.c:175
+#: ../client/pk-console.c:260 ../lib/packagekit-glib2/pk-task-text.c:177
msgid "Vendor"
msgstr "Fabricante"
@@ -203,8 +199,7 @@ msgstr "Emitido"
#. TRANSLATORS: details about the update, date the update was updated
#. TRANSLATORS: The action of the package, in past tense
-#: ../client/pk-console.c:294
-#: ../lib/packagekit-glib2/pk-console-shared.c:498
+#: ../client/pk-console.c:294 ../lib/packagekit-glib2/pk-console-shared.c:502
msgid "Updated"
msgstr "Actualizado"
@@ -270,8 +265,8 @@ msgstr "Error fatal"
#. TRANSLATORS: the transaction failed in a way we could not expect
#: ../client/pk-console.c:484
-#: ../contrib/command-not-found/pk-command-not-found.c:426
-#: ../contrib/command-not-found/pk-command-not-found.c:567
+#: ../contrib/command-not-found/pk-command-not-found.c:430
+#: ../contrib/command-not-found/pk-command-not-found.c:597
msgid "The transaction failed"
msgstr "La transacción no pudo realizarse"
@@ -287,13 +282,22 @@ msgstr "Cierre la sesión y vuelva a entrar para completar la actualización."
#. TRANSLATORS: a package needs to restart their system (due to security)
#: ../client/pk-console.c:558
-msgid "Please restart the computer to complete the update as important security updates have been installed."
-msgstr "Por favor, reinicie el equipo para completar la actualización, ya que se han instalado actualizaciones de seguridad importantes."
+msgid ""
+"Please restart the computer to complete the update as important security "
+"updates have been installed."
+msgstr ""
+"Por favor, reinicie el equipo para completar la actualización, ya que se han "
+"instalado actualizaciones de seguridad importantes."
#. TRANSLATORS: a package needs to restart the session (due to security)
#: ../client/pk-console.c:561
-msgid "Please logout and login to complete the update as important security updates have been installed."
-msgstr "Por favor, cierre la sesión y vuelva a registrarse para completar la actualización, ya que se han instalado actualizaciones de seguridad importantes."
+msgid ""
+"Please logout and login to complete the update as important security updates "
+"have been installed."
+msgstr ""
+"Por favor, cierre la sesión y vuelva a registrarse para completar la "
+"actualización, ya que se han instalado actualizaciones de seguridad "
+"importantes."
#. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
#: ../client/pk-console.c:584
@@ -308,8 +312,7 @@ msgid "This tool could not find the installed package: %s"
msgstr "Esta herramienta no pudo encontrar el paquete instalado: %s"
#. TRANSLATORS: There was an error getting the list of files for the package. The detailed error follows
-#: ../client/pk-console.c:640
-#: ../client/pk-console.c:668
+#: ../client/pk-console.c:640 ../client/pk-console.c:668
#, c-format
msgid "This tool could not find the package: %s"
msgstr "Esta herramienta no pudo encontrar el paquete: %s"
@@ -318,10 +321,8 @@ msgstr "Esta herramienta no pudo encontrar el paquete: %s"
#. TRANSLATORS: There was an error getting the dependencies for the package. The detailed error follows
#. TRANSLATORS: There was an error getting the details about the package. The detailed error follows
#. TRANSLATORS: The package name was not found in any software sources. The detailed error follows
-#: ../client/pk-console.c:696
-#: ../client/pk-console.c:724
-#: ../client/pk-console.c:752
-#: ../client/pk-console.c:780
+#: ../client/pk-console.c:696 ../client/pk-console.c:724
+#: ../client/pk-console.c:752 ../client/pk-console.c:780
#: ../client/pk-console.c:808
#, c-format
msgid "This tool could not find all the packages: %s"
@@ -349,150 +350,155 @@ msgstr "Falló al obtener la hora de la última vez que se completó esta acció
#. TRANSLATORS: command line argument, if we should show debugging information
#. TRANSLATORS: if we should show debugging data
-#: ../client/pk-console.c:987
-#: ../client/pk-generate-pack.c:223
+#: ../client/pk-console.c:989 ../client/pk-generate-pack.c:223
#: ../client/pk-monitor.c:281
-#: ../contrib/command-not-found/pk-command-not-found.c:620
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:511
-#: ../contrib/device-rebind/pk-device-rebind.c:293
-#: ../src/pk-main.c:211
+#: ../contrib/command-not-found/pk-command-not-found.c:651
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:512
+#: ../contrib/device-rebind/pk-device-rebind.c:293 ../src/pk-main.c:211
msgid "Show extra debugging information"
msgstr "Mostrar información extra de depuración"
#. TRANSLATORS: command line argument, just show the version string
-#: ../client/pk-console.c:990
-#: ../client/pk-monitor.c:283
+#: ../client/pk-console.c:992 ../client/pk-monitor.c:283
msgid "Show the program version and exit"
msgstr "Mostrar la versión del programa y salir"
#. TRANSLATORS: command line argument, use a filter to narrow down results
-#: ../client/pk-console.c:993
+#: ../client/pk-console.c:995
msgid "Set the filter, e.g. installed"
msgstr "Establecer el filtro, ej. instalado"
#. TRANSLATORS: command line argument, work asynchronously
-#: ../client/pk-console.c:996
+#: ../client/pk-console.c:998
msgid "Exit without waiting for actions to complete"
msgstr "Salir sin esperar que las acciones se completen"
+#. command line argument, do we ask questions
+#: ../client/pk-console.c:1001
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:524
+msgid "Install the packages without asking for confirmation"
+msgstr "Instalar los paquetes sin confirmación"
+
+#. TRANSLATORS: command line argument, this command is not a priority
+#: ../client/pk-console.c:1004
+msgid "Run the command using idle network bandwidth and also using less power"
+msgstr ""
+"Corra el comando usando ancho de bando libre y también usando menos potencia"
+
#. TRANSLATORS: we failed to contact the daemon
-#: ../client/pk-console.c:1022
+#: ../client/pk-console.c:1030
msgid "Failed to contact PackageKit"
msgstr "Falló al contactar con PackageKit"
#. TRANSLATORS: The user specified an incorrect filter
-#: ../client/pk-console.c:1074
+#: ../client/pk-console.c:1086
msgid "The filter specified was invalid"
msgstr "El filtro especificado fue inválido"
#. TRANSLATORS: a search type can be name, details, file, etc
-#: ../client/pk-console.c:1093
+#: ../client/pk-console.c:1105
msgid "A search type is required, e.g. name"
msgstr "Se necesita un tipo de búsqueda, por ejemplo, nombre"
#. TRANSLATORS: the user needs to provide a search term
-#: ../client/pk-console.c:1100
-#: ../client/pk-console.c:1112
-#: ../client/pk-console.c:1124
-#: ../client/pk-console.c:1136
+#: ../client/pk-console.c:1112 ../client/pk-console.c:1124
+#: ../client/pk-console.c:1136 ../client/pk-console.c:1148
msgid "A search term is required"
msgstr "Se necesita un término de búsqueda"
#. TRANSLATORS: the search type was provided, but invalid
-#: ../client/pk-console.c:1146
+#: ../client/pk-console.c:1158
msgid "Invalid search type"
msgstr "Tipo de búsqueda inválido"
#. TRANSLATORS: the user did not specify what they wanted to install
-#: ../client/pk-console.c:1152
+#: ../client/pk-console.c:1164
msgid "A package name to install is required"
msgstr "Se necesita un nombre de paquete a instalar"
#. TRANSLATORS: the user did not specify what they wanted to install
-#: ../client/pk-console.c:1161
+#: ../client/pk-console.c:1173
msgid "A filename to install is required"
msgstr "Se requiere un nombre de archivo a instalar"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:1173
+#: ../client/pk-console.c:1185
msgid "A type, key_id and package_id are required"
msgstr "Se necesita un tipo, key_id y package_id"
#. TRANSLATORS: the user did not specify what they wanted to remove
-#: ../client/pk-console.c:1184
+#: ../client/pk-console.c:1196
msgid "A package name to remove is required"
msgstr "Necesita un nombre de paquete para eliminar"
#. TRANSLATORS: the user did not specify anything about what to download or where
-#: ../client/pk-console.c:1193
+#: ../client/pk-console.c:1205
msgid "A destination directory and the package names to download are required"
-msgstr "Se necesita un directorio de destino y los nombres de los paquetes a descargar"
+msgstr ""
+"Se necesita un directorio de destino y los nombres de los paquetes a "
+"descargar"
#. TRANSLATORS: the directory does not exist, so we can't continue
-#: ../client/pk-console.c:1200
+#: ../client/pk-console.c:1212
msgid "Directory not found"
msgstr "Directorio no encontrado"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:1209
+#: ../client/pk-console.c:1221
msgid "A licence identifier (eula-id) is required"
msgstr "Se necesita un identificador de licencia (eula-id)"
#. TRANSLATORS: geeky error, 99.9999% of users won't see this
-#: ../client/pk-console.c:1220
+#: ../client/pk-console.c:1232
msgid "A transaction identifier (tid) is required"
msgstr "Se necesita un identificador de transacción (tid)"
#. TRANSLATORS: The user did not specify a package name
-#: ../client/pk-console.c:1241
+#: ../client/pk-console.c:1253
msgid "A package name to resolve is required"
msgstr "Se necesita un nombre de paquete para resolver"
#. TRANSLATORS: The user did not specify a repository (software source) name
-#: ../client/pk-console.c:1252
-#: ../client/pk-console.c:1263
+#: ../client/pk-console.c:1264 ../client/pk-console.c:1275
msgid "A repository name is required"
msgstr "Se necesita un nombre de repositorio"
#. TRANSLATORS: The user didn't provide any data
-#: ../client/pk-console.c:1274
+#: ../client/pk-console.c:1286
msgid "A repo name, parameter and value are required"
msgstr "Debe especificar un nombre de repositorio, parámetro y valor"
#. TRANSLATORS: The user didn't specify what action to use
-#: ../client/pk-console.c:1291
+#: ../client/pk-console.c:1303
msgid "An action, e.g. 'update-system' is required"
msgstr "Debe especificar una acción, por ejemplo, «update-system»"
#. TRANSLATORS: The user specified an invalid action
-#: ../client/pk-console.c:1298
+#: ../client/pk-console.c:1310
msgid "A correct role is required"
msgstr "Se necesita un rol correcto"
#. TRANSLATORS: The user did not provide a package name
#. TRANSLATORS: This is when the user fails to supply the package name
-#: ../client/pk-console.c:1308
-#: ../client/pk-console.c:1323
-#: ../client/pk-console.c:1332
-#: ../client/pk-console.c:1352
-#: ../client/pk-console.c:1361
-#: ../client/pk-generate-pack.c:287
+#: ../client/pk-console.c:1320 ../client/pk-console.c:1335
+#: ../client/pk-console.c:1344 ../client/pk-console.c:1364
+#: ../client/pk-console.c:1373 ../client/pk-generate-pack.c:287
msgid "A package name is required"
msgstr "Se necesita un nombre de paquete"
#. TRANSLATORS: each package "provides" certain things, e.g. mime(gstreamer-decoder-mp3), the user didn't specify it
-#: ../client/pk-console.c:1341
+#: ../client/pk-console.c:1353
msgid "A package provide string is required"
msgstr "Se necesita la cadena de lo que proporciona el paquete"
#. TRANSLATORS: The user tried to use an unsupported option on the command line
-#: ../client/pk-console.c:1421
+#: ../client/pk-console.c:1433
#, c-format
msgid "Option '%s' is not supported"
msgstr "La opción «%s» no está soportada"
#. TRANSLATORS: Generic failure of what they asked to do
-#: ../client/pk-console.c:1431
+#: ../client/pk-console.c:1443
msgid "Command failed"
msgstr "Falló el comando"
@@ -503,8 +509,10 @@ msgstr "Establezca el nombre del archivo de dependencias para excluir"
#. TRANSLATORS: the output location
#: ../client/pk-generate-pack.c:229
-msgid "The output file or directory (the current directory is used if ommitted)"
-msgstr "El directorio o archivo de salida (se usará si se omite el directorio actual)"
+msgid ""
+"The output file or directory (the current directory is used if ommitted)"
+msgstr ""
+"El directorio o archivo de salida (se usará si se omite el directorio actual)"
#. TRANSLATORS: put a list of packages in the pack
#: ../client/pk-generate-pack.c:232
@@ -538,20 +546,25 @@ msgstr "Fallo del demonio en el inicio"
#. TRANSLATORS: This is when the backend doesn't have the capability to get-depends
#. TRANSLATORS: This is when the backend doesn't have the capability to download
-#: ../client/pk-generate-pack.c:324
-#: ../client/pk-generate-pack.c:330
+#: ../client/pk-generate-pack.c:324 ../client/pk-generate-pack.c:330
msgid "The package manager cannot perform this type of operation."
msgstr "El gestor de paquetes no puede realizar este tipo de operación."
#. TRANSLATORS: This is when the distro didn't include libarchive support into PK
#: ../client/pk-generate-pack.c:337
-msgid "Service packs cannot be created as PackageKit was not built with libarchive support."
-msgstr "No se pueden crear paquetes de servicio ya que PackageKit no se construyó con soporte para libarchive."
+msgid ""
+"Service packs cannot be created as PackageKit was not built with libarchive "
+"support."
+msgstr ""
+"No se pueden crear paquetes de servicio ya que PackageKit no se construyó "
+"con soporte para libarchive."
#. TRANSLATORS: the user specified an absolute path, but didn't get the extension correct
#: ../client/pk-generate-pack.c:348
msgid "If specifying a file, the service pack name must end with"
-msgstr "Si especifica un archivo, el nombre del paquete de servicio debe finalizar con"
+msgstr ""
+"Si especifica un archivo, el nombre del paquete de servicio debe finalizar "
+"con"
#. TRANSLATORS: This is when file already exists
#: ../client/pk-generate-pack.c:364
@@ -665,91 +678,97 @@ msgid "Installing..."
msgstr "Instalando..."
#. TRANSLATORS: downloading repo data so we can search
-#: ../contrib/command-not-found/pk-command-not-found.c:361
+#: ../contrib/command-not-found/pk-command-not-found.c:365
msgid "Downloading details about the software sources."
msgstr "Descargando detalles acerca de las fuentes de software"
#. TRANSLATORS: downloading file lists so we can search
-#: ../contrib/command-not-found/pk-command-not-found.c:365
+#: ../contrib/command-not-found/pk-command-not-found.c:369
msgid "Downloading filelists (this may take some time to complete)."
-msgstr "Descargando listas de archivo (esto podrÃa tardar un tiempo en completarse)."
+msgstr ""
+"Descargando listas de archivo (esto podrÃa tardar un tiempo en completarse)."
#. TRANSLATORS: waiting for native lock
-#: ../contrib/command-not-found/pk-command-not-found.c:369
+#: ../contrib/command-not-found/pk-command-not-found.c:373
msgid "Waiting for package manager lock."
msgstr "Esperando bloqueo del administrador de paquetes."
#. TRANSLATORS: loading package cache so we can search
-#: ../contrib/command-not-found/pk-command-not-found.c:373
+#: ../contrib/command-not-found/pk-command-not-found.c:377
msgid "Loading list of packages."
msgstr "Cargando listas de paquetes"
#. TRANSLATORS: we failed to find the package, this shouldn't happen
-#: ../contrib/command-not-found/pk-command-not-found.c:417
+#: ../contrib/command-not-found/pk-command-not-found.c:421
msgid "Failed to search for file"
msgstr "Falló al buscar el archivo"
+#. TRANSLATORS: we failed to launch the executable, the error follows
+#: ../contrib/command-not-found/pk-command-not-found.c:560
+msgid "Failed to launch:"
+msgstr "Falló al iniciar:"
+
#. TRANSLATORS: we failed to install the package
-#: ../contrib/command-not-found/pk-command-not-found.c:558
+#: ../contrib/command-not-found/pk-command-not-found.c:588
msgid "Failed to install packages"
msgstr "No se han podido instalar los paquetes"
#. TRANSLATORS: tool that gets called when the command is not found
-#: ../contrib/command-not-found/pk-command-not-found.c:636
+#: ../contrib/command-not-found/pk-command-not-found.c:667
msgid "PackageKit Command Not Found"
msgstr "No se encontró el comando PackageKit"
#. TRANSLATORS: the prefix of all the output telling the user why it's not executing
-#: ../contrib/command-not-found/pk-command-not-found.c:664
+#: ../contrib/command-not-found/pk-command-not-found.c:697
msgid "Command not found."
msgstr "Comando no encontrado."
#. TRANSLATORS: tell the user what we think the command is
-#: ../contrib/command-not-found/pk-command-not-found.c:671
+#: ../contrib/command-not-found/pk-command-not-found.c:710
msgid "Similar command is:"
msgstr "Un comando similar es:"
#. TRANSLATORS: Ask the user if we should run the similar command
-#: ../contrib/command-not-found/pk-command-not-found.c:680
+#: ../contrib/command-not-found/pk-command-not-found.c:720
msgid "Run similar command:"
msgstr "Ejecutar un comando similar:"
#. TRANSLATORS: show the user a list of commands that they could have meant
#. TRANSLATORS: show the user a list of commands we could run
-#: ../contrib/command-not-found/pk-command-not-found.c:692
-#: ../contrib/command-not-found/pk-command-not-found.c:701
+#: ../contrib/command-not-found/pk-command-not-found.c:734
+#: ../contrib/command-not-found/pk-command-not-found.c:743
msgid "Similar commands are:"
msgstr "Los comandos similares son:"
#. TRANSLATORS: ask the user to choose a file to run
-#: ../contrib/command-not-found/pk-command-not-found.c:708
+#: ../contrib/command-not-found/pk-command-not-found.c:750
msgid "Please choose a command to run"
msgstr "Elija un comando para ejecutar"
#. TRANSLATORS: tell the user what package provides the command
-#: ../contrib/command-not-found/pk-command-not-found.c:724
+#: ../contrib/command-not-found/pk-command-not-found.c:766
msgid "The package providing this file is:"
msgstr "El paquete que proporciona este archivo es:"
#. TRANSLATORS: as the user if we want to install a package to provide the command
-#: ../contrib/command-not-found/pk-command-not-found.c:729
+#: ../contrib/command-not-found/pk-command-not-found.c:771
#, c-format
msgid "Install package '%s' to provide command '%s'?"
msgstr "¿Instalar el paquete «%s» para proporcionar el comando «%s»?"
#. TRANSLATORS: Show the user a list of packages that provide this command
-#: ../contrib/command-not-found/pk-command-not-found.c:747
+#: ../contrib/command-not-found/pk-command-not-found.c:795
msgid "Packages providing this file are:"
msgstr "Los paquetes que proporcionan este archivo son:"
#. TRANSLATORS: Show the user a list of packages that they can install to provide this command
-#: ../contrib/command-not-found/pk-command-not-found.c:757
+#: ../contrib/command-not-found/pk-command-not-found.c:805
msgid "Suitable packages are:"
msgstr "Los posibles paquetes son:"
#. get selection
#. TRANSLATORS: ask the user to choose a file to install
-#: ../contrib/command-not-found/pk-command-not-found.c:766
+#: ../contrib/command-not-found/pk-command-not-found.c:814
msgid "Please choose a package to install"
msgstr "Elija un paquete para instalar"
@@ -762,186 +781,191 @@ msgstr "Iniciando la instalación"
#: ../contrib/debuginfo-install/pk-debuginfo-install.c:409
#, c-format
msgid "Failed to find the package %s, or already installed: %s"
-msgstr "No se ha podido encontrar el paquete %s, o tal vez ya se encuentre instalado: %s"
+msgstr ""
+"No se ha podido encontrar el paquete %s, o tal vez ya se encuentre "
+"instalado: %s"
#. command line argument, simulate what would be done, but don't actually do it
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:514
-msgid "Don't actually install any packages, only simulate what would be installed"
-msgstr "No se instala ningún paquete realmente, solo se indica cuáles serÃan instalados"
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:515
+msgid ""
+"Don't actually install any packages, only simulate what would be installed"
+msgstr ""
+"No se instala ningún paquete realmente, solo se indica cuáles serÃan "
+"instalados"
#. command line argument, do we skip packages that depend on the ones specified
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:517
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:518
msgid "Do not install dependencies of the core packages"
msgstr "No se instalan dependencias de los paquetes principales"
#. command line argument, do we operate quietly
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:520
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:521
msgid "Do not display information or progress"
msgstr "No se muestra información ni progreso"
#. TRANSLATORS: tool that gets called when the command is not found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:535
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:539
msgid "PackageKit Debuginfo Installer"
msgstr "Instalador de depuración de errores de PackageKit"
#. TRANSLATORS: the use needs to specify a list of package names on the command line
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:550
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:554
#, c-format
msgid "ERROR: Specify package names to install."
msgstr "ERROR: Debe especificar los nombres de los paquetes a instalar."
#. TRANSLATORS: we are getting the list of repositories
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:579
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:590
#, c-format
msgid "Getting sources list"
msgstr "Obteniendo lista desde las fuentes"
#. TRANSLATORS: operation was not successful
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:589
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:664
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:748
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:792
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:859
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:903
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:600
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:675
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:759
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:803
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:870
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:914
msgid "FAILED."
msgstr "FALLO."
#. TRANSLATORS: all completed 100%
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:604
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:644
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:679
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:763
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:807
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:874
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:918
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:615
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:655
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:690
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:774
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:818
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:885
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:929
#, c-format
msgid "OK."
msgstr "OK."
#. TRANSLATORS: tell the user what we found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:607
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:618
#, c-format
msgid "Found %i enabled and %i disabled sources."
msgstr "Se han encontrado %i fuentes activas y %i fuentes deshabilitadas."
#. TRANSLATORS: we're finding repositories that match out pattern
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:614
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:625
#, c-format
msgid "Finding debugging sources"
msgstr "Buscando fuentes para depuración"
#. TRANSLATORS: tell the user what we found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:647
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:658
#, c-format
msgid "Found %i disabled debuginfo repos."
msgstr "Se han encontrado %i repositorios deshabilitados para depuración."
#. TRANSLATORS: we're now enabling all the debug sources we found
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:654
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:665
#, c-format
msgid "Enabling debugging sources"
msgstr "Habilitando fuentes para depuración"
#. TRANSLATORS: tell the user how many we enabled
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:682
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:693
#, c-format
msgid "Enabled %i debugging sources."
msgstr "Se han habilitado %i fuentes para depuración."
#. TRANSLATORS: we're now finding packages that match in all the repos
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:689
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:700
#, c-format
msgid "Finding debugging packages"
msgstr "Buscando paquetes de depuración."
#. TRANSLATORS: we couldn't find the package name, non-fatal
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:701
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:712
#, c-format
msgid "Failed to find the package %s: %s"
msgstr "Falló al buscar el paquete %s: %s"
#. TRANSLATORS: we couldn't find the debuginfo package name, non-fatal
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:724
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:735
#, c-format
msgid "Failed to find the debuginfo package %s: %s"
msgstr "Fallo al buscar el paquete de depuración %s: %s"
#. TRANSLATORS: no debuginfo packages could be found to be installed
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:752
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:763
#, c-format
msgid "Found no packages to install."
msgstr "No se han encontrado paquetes para instalar."
#. TRANSLATORS: tell the user we found some packages, and then list them
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:766
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:777
#, c-format
msgid "Found %i packages:"
msgstr "Se han encontrado %i paquetes:"
#. TRANSLATORS: tell the user we are searching for deps
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:782
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:793
#, c-format
msgid "Finding packages that depend on these packages"
msgstr "Buscando paquetes que dependan de esos paquetes."
#. TRANSLATORS: could not install, detailed error follows
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:795
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:806
#, c-format
msgid "Could not find dependant packages: %s"
msgstr "No se han podido encontrar paquetes dependientes: %s"
#. TRANSLATORS: tell the user we found some more packages
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:811
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:822
#, c-format
msgid "Found %i extra packages."
msgstr "Se han encontrado %i paquetes extra."
#. TRANSLATORS: tell the user we found some more packages
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:815
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:826
#, c-format
msgid "No extra packages required."
msgstr "No son necesarios paquetes extra."
#. TRANSLATORS: tell the user we found some packages (and deps), and then list them
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:824
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:835
#, c-format
msgid "Found %i packages to install:"
msgstr "Se han encontrado %i paquetes para instalar:"
#. TRANSLATORS: simulate mode is a testing mode where we quit before the action
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:837
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:848
#, c-format
msgid "Not installing packages in simulate mode"
msgstr "No se instalan paquetes en modo de simulación"
#. TRANSLATORS: we are now installing the debuginfo packages we found earlier
#. TRANSLATORS: transaction state, installing packages
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:849
-#: ../lib/packagekit-glib2/pk-console-shared.c:270
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:860
+#: ../lib/packagekit-glib2/pk-console-shared.c:274
#, c-format
msgid "Installing packages"
msgstr "Instalando paquetes"
#. TRANSLATORS: could not install, detailed error follows
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:862
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:873
#, c-format
msgid "Could not install packages: %s"
msgstr "No se han podido instalar paquetes: %s"
#. TRANSLATORS: we are now disabling all debuginfo repos we previously enabled
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:894
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:905
#, c-format
msgid "Disabling sources previously enabled"
msgstr "Deshabilitando fuentes previamente habilitadas"
#. TRANSLATORS: no debuginfo packages could be found to be installed, detailed error follows
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:906
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:917
#, c-format
msgid "Could not disable the debugging sources: %s"
msgstr "No es posible deshabilitar las fuentes para depuración:%s"
#. TRANSLATORS: we disabled all the debugging repos that we enabled before
-#: ../contrib/debuginfo-install/pk-debuginfo-install.c:921
+#: ../contrib/debuginfo-install/pk-debuginfo-install.c:932
#, c-format
msgid "Disabled %i debugging sources."
msgstr "Se han deshabilitado %i fuentes para la depuración. "
@@ -1044,604 +1068,604 @@ msgstr "Lista de paquetes de PackageKit"
msgid "PackageKit Service Pack"
msgstr "Paquete de servicio de PackageKit"
-#: ../lib/packagekit-glib2/pk-console-shared.c:55
+#: ../lib/packagekit-glib2/pk-console-shared.c:59
#, c-format
msgid "Please enter a number from 1 to %i: "
msgstr "Introduzca un número de 1 a %i: "
#. TRANSLATORS: more than one package could be found that matched, to follow is a list of possible packages
-#: ../lib/packagekit-glib2/pk-console-shared.c:177
+#: ../lib/packagekit-glib2/pk-console-shared.c:181
msgid "More than one package matches:"
msgstr "Coincide más de un paquete:"
#. TRANSLATORS: This finds out which package in the list to use
-#: ../lib/packagekit-glib2/pk-console-shared.c:186
+#: ../lib/packagekit-glib2/pk-console-shared.c:190
msgid "Please choose the correct package: "
msgstr "Elija el paquete correcto: "
#. TRANSLATORS: This is when the transaction status is not known
-#: ../lib/packagekit-glib2/pk-console-shared.c:238
+#: ../lib/packagekit-glib2/pk-console-shared.c:242
msgid "Unknown state"
msgstr "Estado desconocido"
#. TRANSLATORS: transaction state, the daemon is in the process of starting
-#: ../lib/packagekit-glib2/pk-console-shared.c:242
+#: ../lib/packagekit-glib2/pk-console-shared.c:246
msgid "Starting"
msgstr "Comenzando"
#. TRANSLATORS: transaction state, the transaction is waiting for another to complete
-#: ../lib/packagekit-glib2/pk-console-shared.c:246
+#: ../lib/packagekit-glib2/pk-console-shared.c:250
msgid "Waiting in queue"
msgstr "Esperando en cola"
#. TRANSLATORS: transaction state, just started
-#: ../lib/packagekit-glib2/pk-console-shared.c:250
+#: ../lib/packagekit-glib2/pk-console-shared.c:254
msgid "Running"
msgstr "Corriendo"
#. TRANSLATORS: transaction state, is querying data
-#: ../lib/packagekit-glib2/pk-console-shared.c:254
+#: ../lib/packagekit-glib2/pk-console-shared.c:258
msgid "Querying"
msgstr "Consultando"
#. TRANSLATORS: transaction state, getting data from a server
-#: ../lib/packagekit-glib2/pk-console-shared.c:258
+#: ../lib/packagekit-glib2/pk-console-shared.c:262
msgid "Getting information"
msgstr "Obteniendo.información"
#. TRANSLATORS: transaction state, removing packages
-#: ../lib/packagekit-glib2/pk-console-shared.c:262
+#: ../lib/packagekit-glib2/pk-console-shared.c:266
msgid "Removing packages"
msgstr "Eliminando paquetes"
#. TRANSLATORS: transaction state, downloading package files
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:266
-#: ../lib/packagekit-glib2/pk-console-shared.c:644
+#: ../lib/packagekit-glib2/pk-console-shared.c:270
+#: ../lib/packagekit-glib2/pk-console-shared.c:648
msgid "Downloading packages"
msgstr "Descargando paquetes"
#. TRANSLATORS: transaction state, refreshing internal lists
-#: ../lib/packagekit-glib2/pk-console-shared.c:274
+#: ../lib/packagekit-glib2/pk-console-shared.c:278
msgid "Refreshing software list"
msgstr "Refrescando listado de software"
#. TRANSLATORS: transaction state, installing updates
-#: ../lib/packagekit-glib2/pk-console-shared.c:278
+#: ../lib/packagekit-glib2/pk-console-shared.c:282
msgid "Installing updates"
msgstr "Instalando actualizaciones"
#. TRANSLATORS: transaction state, removing old packages, and cleaning config files
-#: ../lib/packagekit-glib2/pk-console-shared.c:282
+#: ../lib/packagekit-glib2/pk-console-shared.c:286
msgid "Cleaning up packages"
msgstr "Limpiando paquetes"
#. TRANSLATORS: transaction state, obsoleting old packages
-#: ../lib/packagekit-glib2/pk-console-shared.c:286
+#: ../lib/packagekit-glib2/pk-console-shared.c:290
msgid "Obsoleting packages"
msgstr "Paquetes obsoletos"
#. TRANSLATORS: transaction state, checking the transaction before we do it
-#: ../lib/packagekit-glib2/pk-console-shared.c:290
+#: ../lib/packagekit-glib2/pk-console-shared.c:294
msgid "Resolving dependencies"
msgstr "Resolviendo dependencias"
#. TRANSLATORS: transaction state, checking if we have all the security keys for the operation
-#: ../lib/packagekit-glib2/pk-console-shared.c:294
+#: ../lib/packagekit-glib2/pk-console-shared.c:298
msgid "Checking signatures"
msgstr "Comprobando firmas"
#. TRANSLATORS: transaction state, when we return to a previous system state
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:298
-#: ../lib/packagekit-glib2/pk-console-shared.c:604
+#: ../lib/packagekit-glib2/pk-console-shared.c:302
+#: ../lib/packagekit-glib2/pk-console-shared.c:608
msgid "Rolling back"
msgstr "Retrocediendo"
#. TRANSLATORS: transaction state, when we're doing a test transaction
-#: ../lib/packagekit-glib2/pk-console-shared.c:302
+#: ../lib/packagekit-glib2/pk-console-shared.c:306
msgid "Testing changes"
msgstr "Comprobando cambios"
#. TRANSLATORS: transaction state, when we're writing to the system package database
-#: ../lib/packagekit-glib2/pk-console-shared.c:306
+#: ../lib/packagekit-glib2/pk-console-shared.c:310
msgid "Committing changes"
msgstr "Realizando cambios"
#. TRANSLATORS: transaction state, requesting data from a server
-#: ../lib/packagekit-glib2/pk-console-shared.c:310
+#: ../lib/packagekit-glib2/pk-console-shared.c:314
msgid "Requesting data"
msgstr "Solicitando datos"
#. TRANSLATORS: transaction state, all done!
-#: ../lib/packagekit-glib2/pk-console-shared.c:314
+#: ../lib/packagekit-glib2/pk-console-shared.c:318
msgid "Finished"
msgstr "Finalizado"
#. TRANSLATORS: transaction state, in the process of cancelling
-#: ../lib/packagekit-glib2/pk-console-shared.c:318
+#: ../lib/packagekit-glib2/pk-console-shared.c:322
msgid "Cancelling"
msgstr "Cancelado"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:322
+#: ../lib/packagekit-glib2/pk-console-shared.c:326
msgid "Downloading repository information"
msgstr "Descargando información del repositorio"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:326
+#: ../lib/packagekit-glib2/pk-console-shared.c:330
msgid "Downloading list of packages"
msgstr "Descargando listas de paquetes"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:330
+#: ../lib/packagekit-glib2/pk-console-shared.c:334
msgid "Downloading file lists"
msgstr "Descargando listados de archivos"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:334
+#: ../lib/packagekit-glib2/pk-console-shared.c:338
msgid "Downloading lists of changes"
msgstr "Descargando listas de cambios"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:338
+#: ../lib/packagekit-glib2/pk-console-shared.c:342
msgid "Downloading groups"
msgstr "Descargando grupos"
#. TRANSLATORS: transaction state, downloading metadata
-#: ../lib/packagekit-glib2/pk-console-shared.c:342
+#: ../lib/packagekit-glib2/pk-console-shared.c:346
msgid "Downloading update information"
msgstr "Descargando información de la actualización"
#. TRANSLATORS: transaction state, repackaging delta files
-#: ../lib/packagekit-glib2/pk-console-shared.c:346
+#: ../lib/packagekit-glib2/pk-console-shared.c:350
msgid "Repackaging files"
msgstr "Empaquetando archivos"
#. TRANSLATORS: transaction state, loading databases
-#: ../lib/packagekit-glib2/pk-console-shared.c:350
+#: ../lib/packagekit-glib2/pk-console-shared.c:354
msgid "Loading cache"
msgstr "Cargando caché"
#. TRANSLATORS: transaction state, scanning for running processes
-#: ../lib/packagekit-glib2/pk-console-shared.c:354
+#: ../lib/packagekit-glib2/pk-console-shared.c:358
msgid "Scanning applications"
msgstr "Escaneando aplicaciones"
#. TRANSLATORS: transaction state, generating a list of packages installed on the system
-#: ../lib/packagekit-glib2/pk-console-shared.c:358
+#: ../lib/packagekit-glib2/pk-console-shared.c:362
msgid "Generating package lists"
msgstr "Generando la lista de paquetes"
#. TRANSLATORS: transaction state, when we're waiting for the native tools to exit
-#: ../lib/packagekit-glib2/pk-console-shared.c:362
+#: ../lib/packagekit-glib2/pk-console-shared.c:366
msgid "Waiting for package manager lock"
msgstr "Esperando bloqueo del administrador de paquetes"
#. TRANSLATORS: transaction state, waiting for user to type in a password
-#: ../lib/packagekit-glib2/pk-console-shared.c:366
+#: ../lib/packagekit-glib2/pk-console-shared.c:370
msgid "Waiting for authentication"
msgstr "Esperando por la autentificación"
#. TRANSLATORS: transaction state, we are updating the list of processes
-#: ../lib/packagekit-glib2/pk-console-shared.c:370
+#: ../lib/packagekit-glib2/pk-console-shared.c:374
msgid "Updating running applications"
msgstr "Actualizando aplicaciones ejecutadas"
#. TRANSLATORS: transaction state, we are checking executable files currently in use
-#: ../lib/packagekit-glib2/pk-console-shared.c:374
+#: ../lib/packagekit-glib2/pk-console-shared.c:378
msgid "Checking applications in use"
msgstr "Comprobando aplicaciones en uso"
#. TRANSLATORS: transaction state, we are checking for libraries currently in use
-#: ../lib/packagekit-glib2/pk-console-shared.c:378
+#: ../lib/packagekit-glib2/pk-console-shared.c:382
msgid "Checking libraries in use"
msgstr "Comprobando LibrerÃas en uso"
#. TRANSLATORS: transaction state, we are copying package files before or after the transaction
-#: ../lib/packagekit-glib2/pk-console-shared.c:382
+#: ../lib/packagekit-glib2/pk-console-shared.c:386
msgid "Copying files"
msgstr "Copiando archivos"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:400
+#: ../lib/packagekit-glib2/pk-console-shared.c:404
msgid "Trivial"
msgstr "Trivial"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:404
+#: ../lib/packagekit-glib2/pk-console-shared.c:408
msgid "Normal"
msgstr "Normal"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:408
+#: ../lib/packagekit-glib2/pk-console-shared.c:412
msgid "Important"
msgstr "Importante"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:412
+#: ../lib/packagekit-glib2/pk-console-shared.c:416
msgid "Security"
msgstr "Seguridad"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:416
+#: ../lib/packagekit-glib2/pk-console-shared.c:420
msgid "Bug fix "
msgstr "Corrijiendo error"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:420
+#: ../lib/packagekit-glib2/pk-console-shared.c:424
msgid "Enhancement"
msgstr "Mejora"
#. TRANSLATORS: The type of update
-#: ../lib/packagekit-glib2/pk-console-shared.c:424
+#: ../lib/packagekit-glib2/pk-console-shared.c:428
msgid "Blocked"
msgstr "Bloqueado"
#. TRANSLATORS: The state of a package
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:429
-#: ../lib/packagekit-glib2/pk-console-shared.c:502
+#: ../lib/packagekit-glib2/pk-console-shared.c:433
+#: ../lib/packagekit-glib2/pk-console-shared.c:506
msgid "Installed"
msgstr "Instalado"
#. TRANSLATORS: The state of a package, i.e. not installed
-#: ../lib/packagekit-glib2/pk-console-shared.c:434
+#: ../lib/packagekit-glib2/pk-console-shared.c:438
msgid "Available"
msgstr "Disponible"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:452
+#: ../lib/packagekit-glib2/pk-console-shared.c:456
msgid "Downloading"
msgstr "Descargando"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:456
+#: ../lib/packagekit-glib2/pk-console-shared.c:460
msgid "Updating"
msgstr "Actualizando"
#. TRANSLATORS: The action of the package, in present tense
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:460
-#: ../lib/packagekit-glib2/pk-console-shared.c:580
+#: ../lib/packagekit-glib2/pk-console-shared.c:464
+#: ../lib/packagekit-glib2/pk-console-shared.c:584
msgid "Installing"
msgstr "Instalando"
#. TRANSLATORS: The action of the package, in present tense
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:464
-#: ../lib/packagekit-glib2/pk-console-shared.c:576
+#: ../lib/packagekit-glib2/pk-console-shared.c:468
+#: ../lib/packagekit-glib2/pk-console-shared.c:580
msgid "Removing"
msgstr "Eliminando"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:468
+#: ../lib/packagekit-glib2/pk-console-shared.c:472
msgid "Cleaning up"
msgstr "Limpiando"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:472
+#: ../lib/packagekit-glib2/pk-console-shared.c:476
msgid "Obsoleting"
msgstr "Obsoleto"
#. TRANSLATORS: The action of the package, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:476
+#: ../lib/packagekit-glib2/pk-console-shared.c:480
msgid "Reinstalling"
msgstr "Reinstalando"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:494
+#: ../lib/packagekit-glib2/pk-console-shared.c:498
msgid "Downloaded"
msgstr "Descargado"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:506
+#: ../lib/packagekit-glib2/pk-console-shared.c:510
msgid "Removed"
msgstr "Eliminados"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:510
+#: ../lib/packagekit-glib2/pk-console-shared.c:514
msgid "Cleaned up"
msgstr "Limpiados"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:514
+#: ../lib/packagekit-glib2/pk-console-shared.c:518
msgid "Obsoleted"
msgstr "Obsoleto"
#. TRANSLATORS: The action of the package, in past tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:518
+#: ../lib/packagekit-glib2/pk-console-shared.c:522
msgid "Reinstalled"
msgstr "Reinstalado"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:536
+#: ../lib/packagekit-glib2/pk-console-shared.c:540
msgid "Unknown role type"
msgstr "Tipo de rol desconocido"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:540
+#: ../lib/packagekit-glib2/pk-console-shared.c:544
msgid "Getting dependencies"
msgstr "Obteniendo dependencias"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:544
+#: ../lib/packagekit-glib2/pk-console-shared.c:548
msgid "Getting update details"
msgstr "Obteniendo detalles de la actualización"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:548
+#: ../lib/packagekit-glib2/pk-console-shared.c:552
msgid "Getting details"
msgstr "Obteniendo detalles"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:552
+#: ../lib/packagekit-glib2/pk-console-shared.c:556
msgid "Getting requires"
msgstr "Obteniendo lo que requiere"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:556
+#: ../lib/packagekit-glib2/pk-console-shared.c:560
msgid "Getting updates"
msgstr "Obteniendo actualizaciones"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:560
+#: ../lib/packagekit-glib2/pk-console-shared.c:564
msgid "Searching by details"
msgstr "Buscando por detalles"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:564
+#: ../lib/packagekit-glib2/pk-console-shared.c:568
msgid "Searching by file"
msgstr "Buscando por archivos"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:568
+#: ../lib/packagekit-glib2/pk-console-shared.c:572
msgid "Searching groups"
msgstr "Buscando grupos"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:572
+#: ../lib/packagekit-glib2/pk-console-shared.c:576
msgid "Searching by name"
msgstr "Buscando por nombre"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:584
+#: ../lib/packagekit-glib2/pk-console-shared.c:588
msgid "Installing files"
msgstr "Instalando archivos"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:588
+#: ../lib/packagekit-glib2/pk-console-shared.c:592
msgid "Refreshing cache"
msgstr "Refrescando caché"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:592
+#: ../lib/packagekit-glib2/pk-console-shared.c:596
msgid "Updating packages"
msgstr "Actualizando paquetes"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:596
+#: ../lib/packagekit-glib2/pk-console-shared.c:600
msgid "Updating system"
msgstr "Actualizando sistema"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:600
+#: ../lib/packagekit-glib2/pk-console-shared.c:604
msgid "Canceling"
msgstr "Cancelando"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:608
+#: ../lib/packagekit-glib2/pk-console-shared.c:612
msgid "Getting repositories"
msgstr "Obteniendo repositorios"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:612
+#: ../lib/packagekit-glib2/pk-console-shared.c:616
msgid "Enabling repository"
msgstr "Habilitando repositorio"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:616
+#: ../lib/packagekit-glib2/pk-console-shared.c:620
msgid "Setting data"
msgstr "Poniendo datos"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:620
+#: ../lib/packagekit-glib2/pk-console-shared.c:624
msgid "Resolving"
msgstr "Resolviendo"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:624
+#: ../lib/packagekit-glib2/pk-console-shared.c:628
msgid "Getting file list"
msgstr "Obteniendo lista de archivos"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:628
+#: ../lib/packagekit-glib2/pk-console-shared.c:632
msgid "Getting provides"
msgstr "Obteniendo lo que provee"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:632
+#: ../lib/packagekit-glib2/pk-console-shared.c:636
msgid "Installing signature"
msgstr "Instalando firma"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:636
+#: ../lib/packagekit-glib2/pk-console-shared.c:640
msgid "Getting packages"
msgstr "Obteniendo paquetes"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:640
+#: ../lib/packagekit-glib2/pk-console-shared.c:644
msgid "Accepting EULA"
msgstr "Aceptando EULA"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:648
+#: ../lib/packagekit-glib2/pk-console-shared.c:652
msgid "Getting upgrades"
msgstr "Obteniendo actualizaciones"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:652
+#: ../lib/packagekit-glib2/pk-console-shared.c:656
msgid "Getting categories"
msgstr "Obteniendo categorÃas"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:656
+#: ../lib/packagekit-glib2/pk-console-shared.c:660
msgid "Getting transactions"
msgstr "Obteniendo transacciones"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:660
#: ../lib/packagekit-glib2/pk-console-shared.c:664
+#: ../lib/packagekit-glib2/pk-console-shared.c:668
msgid "Simulating install"
msgstr "Simulando la instalación"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:668
+#: ../lib/packagekit-glib2/pk-console-shared.c:672
msgid "Simulating remove"
msgstr "Simulando eliminación"
#. TRANSLATORS: The role of the transaction, in present tense
-#: ../lib/packagekit-glib2/pk-console-shared.c:672
+#: ../lib/packagekit-glib2/pk-console-shared.c:676
msgid "Simulating update"
msgstr "Sumulando la actualización"
#. TRANSLATORS: ask the user if they are comfortable installing insecure packages
-#: ../lib/packagekit-glib2/pk-task-text.c:64
+#: ../lib/packagekit-glib2/pk-task-text.c:66
msgid "Do you want to allow installing of unsigned software?"
msgstr "¿Desea permitir la instalación de software que no esté identificado?"
#. TRANSLATORS: tell the user we've not done anything
-#: ../lib/packagekit-glib2/pk-task-text.c:69
+#: ../lib/packagekit-glib2/pk-task-text.c:71
msgid "The unsigned software will not be installed."
msgstr "El software no identificado no será instalado."
#. TRANSLATORS: the package repository is signed by a key that is not recognised
-#: ../lib/packagekit-glib2/pk-task-text.c:102
+#: ../lib/packagekit-glib2/pk-task-text.c:104
msgid "Software source signature required"
msgstr "Se necesita la firma de la fuente del software"
#. TRANSLATORS: the package repository name
-#: ../lib/packagekit-glib2/pk-task-text.c:108
+#: ../lib/packagekit-glib2/pk-task-text.c:110
msgid "Software source name"
msgstr "Nombre de la fuente del software"
#. TRANSLATORS: the key URL
-#: ../lib/packagekit-glib2/pk-task-text.c:111
+#: ../lib/packagekit-glib2/pk-task-text.c:113
msgid "Key URL"
msgstr "URL de la clave"
#. TRANSLATORS: the username of the key
-#: ../lib/packagekit-glib2/pk-task-text.c:114
+#: ../lib/packagekit-glib2/pk-task-text.c:116
msgid "Key user"
msgstr "Usuario de la clave"
#. TRANSLATORS: the key ID, usually a few hex digits
-#: ../lib/packagekit-glib2/pk-task-text.c:117
+#: ../lib/packagekit-glib2/pk-task-text.c:119
msgid "Key ID"
msgstr "ID de la clave"
#. TRANSLATORS: the key fingerprint, again, yet more hex
-#: ../lib/packagekit-glib2/pk-task-text.c:120
+#: ../lib/packagekit-glib2/pk-task-text.c:122
msgid "Key fingerprint"
msgstr "Huella digital de la clave"
#. TRANSLATORS: the timestamp (a bit like a machine readable time)
-#: ../lib/packagekit-glib2/pk-task-text.c:123
+#: ../lib/packagekit-glib2/pk-task-text.c:125
msgid "Key Timestamp"
msgstr "Fecha y hora de la clave"
#. TRANSLATORS: ask the user if they want to import
-#: ../lib/packagekit-glib2/pk-task-text.c:129
+#: ../lib/packagekit-glib2/pk-task-text.c:131
msgid "Do you accept this signature?"
msgstr "¿Acepta esta firma?"
#. TRANSLATORS: tell the user we've not done anything
-#: ../lib/packagekit-glib2/pk-task-text.c:134
+#: ../lib/packagekit-glib2/pk-task-text.c:136
msgid "The signature was not accepted."
msgstr "No se aceptó la firma."
#. TRANSLATORS: this is another name for a software licence that has to be read before installing
-#: ../lib/packagekit-glib2/pk-task-text.c:169
+#: ../lib/packagekit-glib2/pk-task-text.c:171
msgid "End user licence agreement required"
msgstr "Se necesita un acuerdo de licencia de usuario final"
#. TRANSLATORS: the EULA text itself (long and boring)
-#: ../lib/packagekit-glib2/pk-task-text.c:178
+#: ../lib/packagekit-glib2/pk-task-text.c:180
msgid "Agreement"
msgstr "Acuerdo"
#. TRANSLATORS: ask the user if they've read and accepted the EULA
-#: ../lib/packagekit-glib2/pk-task-text.c:184
+#: ../lib/packagekit-glib2/pk-task-text.c:186
msgid "Do you accept this agreement?"
msgstr "¿Acepta este acuerdo?"
#. TRANSLATORS: tell the user we've not done anything
-#: ../lib/packagekit-glib2/pk-task-text.c:189
+#: ../lib/packagekit-glib2/pk-task-text.c:191
msgid "The agreement was not accepted."
msgstr "El acuerdo no fue aceptado."
#. TRANSLATORS: the user needs to change media inserted into the computer
-#: ../lib/packagekit-glib2/pk-task-text.c:219
+#: ../lib/packagekit-glib2/pk-task-text.c:221
msgid "Media change required"
msgstr "Es necesario cambiar el medio"
#. TRANSLATORS: the type, e.g. DVD, CD, etc
-#: ../lib/packagekit-glib2/pk-task-text.c:222
+#: ../lib/packagekit-glib2/pk-task-text.c:224
msgid "Media type"
msgstr "Tipo de medio"
#. TRANSLATORS: the media label, usually like 'disk-1of3'
-#: ../lib/packagekit-glib2/pk-task-text.c:225
+#: ../lib/packagekit-glib2/pk-task-text.c:227
msgid "Media label"
msgstr "Etiqueta del medio"
#. TRANSLATORS: the media description, usually like 'Fedora 12 disk 5'
-#: ../lib/packagekit-glib2/pk-task-text.c:228
+#: ../lib/packagekit-glib2/pk-task-text.c:230
msgid "Text"
msgstr "TExto"
#. TRANSLATORS: ask the user to insert the media
-#: ../lib/packagekit-glib2/pk-task-text.c:232
+#: ../lib/packagekit-glib2/pk-task-text.c:234
msgid "Please insert the correct media"
msgstr "Por favor, inserte el medio correcto "
#. TRANSLATORS: tell the user we've not done anything as they are lazy
-#: ../lib/packagekit-glib2/pk-task-text.c:237
+#: ../lib/packagekit-glib2/pk-task-text.c:239
msgid "The correct media was not inserted."
msgstr "El medio correcto no fue insertado."
#. TRANSLATORS: When processing, we might have to remove other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:252
+#: ../lib/packagekit-glib2/pk-task-text.c:254
msgid "The following packages have to be removed:"
msgstr "Se eliminarán los siguientes paquetes:"
#. TRANSLATORS: When processing, we might have to install other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:257
+#: ../lib/packagekit-glib2/pk-task-text.c:259
msgid "The following packages have to be installed:"
msgstr "Los siguientes paquetes se deben instalar:"
#. TRANSLATORS: When processing, we might have to update other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:262
+#: ../lib/packagekit-glib2/pk-task-text.c:264
msgid "The following packages have to be updated:"
msgstr "Los siguientes paquetes se deben actualizar:"
#. TRANSLATORS: When processing, we might have to reinstall other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:267
+#: ../lib/packagekit-glib2/pk-task-text.c:269
msgid "The following packages have to be reinstalled:"
msgstr "Los siguientes paquetes se deben reinstalar:"
#. TRANSLATORS: When processing, we might have to downgrade other dependencies
-#: ../lib/packagekit-glib2/pk-task-text.c:272
+#: ../lib/packagekit-glib2/pk-task-text.c:274
msgid "The following packages have to be downgraded:"
msgstr "Los siguientes paquetes se deben desactualizar:"
#. TRANSLATORS: ask the user if the proposed changes are okay
-#: ../lib/packagekit-glib2/pk-task-text.c:331
+#: ../lib/packagekit-glib2/pk-task-text.c:333
msgid "Proceed with changes?"
msgstr "¿Proceder con los cambios?"
#. TRANSLATORS: tell the user we didn't do anything
-#: ../lib/packagekit-glib2/pk-task-text.c:336
+#: ../lib/packagekit-glib2/pk-task-text.c:338
msgid "The transaction did not proceed."
msgstr "La transacción no pudo realizarse."
@@ -1660,16 +1684,22 @@ msgid "Authentication is required to accept a EULA"
msgstr "Se necesita autenticación para aceptar una EULA"
#: ../policy/org.freedesktop.packagekit.policy.in.h:9
-msgid "Authentication is required to cancel a task that was not started by yourself"
+msgid ""
+"Authentication is required to cancel a task that was not started by yourself"
msgstr "Se necesita autenticación para cancelar una tarea que no inició usted"
#: ../policy/org.freedesktop.packagekit.policy.in.h:10
msgid "Authentication is required to change software source parameters"
-msgstr "Se necesita autenticación para cambiar los parámetros de fuente de software"
+msgstr ""
+"Se necesita autenticación para cambiar los parámetros de fuente de software"
#: ../policy/org.freedesktop.packagekit.policy.in.h:11
-msgid "Authentication is required to consider a key used for signing packages as trusted"
-msgstr "Se necesita autenticación para considerar una clave usada para firmar paquetes como confiable"
+msgid ""
+"Authentication is required to consider a key used for signing packages as "
+"trusted"
+msgstr ""
+"Se necesita autenticación para considerar una clave usada para firmar "
+"paquetes como confiable"
#: ../policy/org.freedesktop.packagekit.policy.in.h:12
msgid "Authentication is required to install a signed package"
@@ -1685,7 +1715,9 @@ msgstr "Se necesita autenticación para refrescar las fuentes del sistema"
#: ../policy/org.freedesktop.packagekit.policy.in.h:15
msgid "Authentication is required to reload the device with a new driver"
-msgstr "Se necesita autenticación para recargar el dispositivo con un controlador nuevo"
+msgstr ""
+"Se necesita autenticación para recargar el dispositivo con un controlador "
+"nuevo"
#: ../policy/org.freedesktop.packagekit.policy.in.h:16
msgid "Authentication is required to remove packages"
@@ -1696,8 +1728,12 @@ msgid "Authentication is required to rollback a transaction"
msgstr "Se necesita autenticación para deshacer una transacción"
#: ../policy/org.freedesktop.packagekit.policy.in.h:18
-msgid "Authentication is required to set the network proxy used for downloading packages"
-msgstr "Se necesita autenticación para cambiar el proxy de red usado para descargar paquetes"
+msgid ""
+"Authentication is required to set the network proxy used for downloading "
+"packages"
+msgstr ""
+"Se necesita autenticación para cambiar el proxy de red usado para descargar "
+"paquetes"
#: ../policy/org.freedesktop.packagekit.policy.in.h:19
msgid "Authentication is required to update packages"
@@ -1828,8 +1864,12 @@ msgstr "El usuario correcto no esta lanzando el ejecutable (generalmente root)"
#. TRANSLATORS: or we are installed in a prefix
#: ../src/pk-main.c:93
-msgid "The org.freedesktop.PackageKit.conf file is not installed in the system directory:"
-msgstr "El archivo org.freedesktop.PackageKit.conf no está instalado en el directorio del sistema:"
+msgid ""
+"The org.freedesktop.PackageKit.conf file is not installed in the system "
+"directory:"
+msgstr ""
+"El archivo org.freedesktop.PackageKit.conf no está instalado en el "
+"directorio del sistema:"
#. TRANSLATORS: a backend is the system package tool, e.g. yum, apt
#: ../src/pk-main.c:205
@@ -1878,34 +1918,42 @@ msgstr "Error intentando iniciar:"
#: ../src/pk-polkit-action-lookup.c:150
msgid "To install debugging packages, extra sources need to be enabled"
-msgstr "Para poder instalar paquetes de depuración, es necesario habilitar nuevas fuentes"
+msgstr ""
+"Para poder instalar paquetes de depuración, es necesario habilitar nuevas "
+"fuentes"
#. TRANSLATORS: is not GPG signed
-#: ../src/pk-polkit-action-lookup.c:171
-#: ../src/pk-polkit-action-lookup.c:190
+#: ../src/pk-polkit-action-lookup.c:171 ../src/pk-polkit-action-lookup.c:190
msgid "The software is not from a trusted source."
msgstr "El software no proviene de una fuente confiable."
#: ../src/pk-polkit-action-lookup.c:176
msgid "Do not update this package unless you are sure it is safe to do so."
-msgstr "No actualice este paquete a menos que sepa con certeza que es seguro hacerlo."
+msgstr ""
+"No actualice este paquete a menos que sepa con certeza que es seguro hacerlo."
#: ../src/pk-polkit-action-lookup.c:177
msgid "Do not update these packages unless you are sure it is safe to do so."
-msgstr "No actualice estos paquete a menos que sepa con certeza que es seguro hacerlo."
+msgstr ""
+"No actualice estos paquete a menos que sepa con certeza que es seguro "
+"hacerlo."
#: ../src/pk-polkit-action-lookup.c:195
msgid "Do not install this package unless you are sure it is safe to do so."
-msgstr "No instale este paquete a menos que sepa con certeza que es seguro hacerlo."
+msgstr ""
+"No instale este paquete a menos que sepa con certeza que es seguro hacerlo."
#: ../src/pk-polkit-action-lookup.c:196
msgid "Do not install these packages unless you are sure it is safe to do so."
-msgstr "No instale estos paquete a menos que sepa con certeza que es seguro hacerlo."
+msgstr ""
+"No instale estos paquete a menos que sepa con certeza que es seguro hacerlo."
#. TRANSLATORS: warn the user that all bets are off
#: ../src/pk-polkit-action-lookup.c:202
msgid "Malicious software can damage your computer or cause other harm."
-msgstr "Un software considerado maligno puede provocar diferentes clases de daño, por ejemplo, podrÃa dañar su computadora. "
+msgstr ""
+"Un software considerado maligno puede provocar diferentes clases de daño, "
+"por ejemplo, podrÃa dañar su computadora. "
#. TRANSLATORS: too many packages to list each one
#: ../src/pk-polkit-action-lookup.c:277
@@ -1919,230 +1967,319 @@ msgstr "Solo confiable"
#~ msgid "Transaction failed with no error"
#~ msgstr "La transacción fallida sin error"
-#~ msgid "Failed to launch:"
-#~ msgstr "Falló al iniciar:"
+
#~ msgid "Failed to get transaction list"
#~ msgstr "Falló al obtener la lista de transacciones"
+
#~ msgid "Percentage"
#~ msgstr "Porcentaje"
+
#~ msgid "Please restart the application as it is being used."
#~ msgstr "Reinicie la aplicación que está usando."
+
#~ msgid "The package %s is already installed"
#~ msgstr "El paquete %s ya está instalado"
+
#~ msgid "The package %s could not be installed: %s"
#~ msgstr "No se pudo instalar el paquete %s: %s"
+
#~ msgid "The package install was canceled!"
#~ msgstr "¡Se canceló la instalación del paquete!"
+
#~ msgid "This tool could not install the packages: %s"
#~ msgstr "Esta herramienta no pudo instalar los paquetes: %s"
+
#~ msgid "This tool could not install the files: %s"
#~ msgstr "Esta herramienta no pudo instalar los archivos: %s"
+
#~ msgid "This tool could not remove %s: %s"
#~ msgstr "Esta herramienta no pudo eliminar %s: %s"
+
#~ msgid "This tool could not remove the packages: %s"
#~ msgstr "Esta herramienta no pudo eliminar los paquetes: %s"
+
#~ msgid "Proceed with additional packages?"
#~ msgstr "¿Proceder con los paquetes adicionales?"
+
#~ msgid "The package removal was canceled!"
#~ msgstr "Se canceló la eliminación de paquetes"
+
#~ msgid "This tool could not download the package %s as it could not be found"
#~ msgstr ""
#~ "Esta herramienta no pudo descargar el paquete %s debido a que no se "
#~ "encontró"
+
#~ msgid "This tool could not download the packages: %s"
#~ msgstr "Esta herramienta no pudo descargar los paquetes: %s"
+
#~ msgid "This tool could not update %s: %s"
#~ msgstr "Esta herramienta no pudo actualizar %s: %s"
+
#~ msgid "The package update was canceled!"
#~ msgstr "¡Se canceló la actualización del paquete!"
+
#~ msgid "This tool could not get the requirements for %s: %s"
#~ msgstr "Esta herramienta no pudo obtener los requerimientos de %s: %s"
+
#~ msgid "This tool could not get the dependencies for %s: %s"
#~ msgstr "Esta herramienta no pudo obtener las dependencias de %s: %s"
+
#~ msgid "This tool could not get package details for %s: %s"
#~ msgstr "Esta herramienta no pudo obtener los detalles del paquete %s: %s"
+
#~ msgid "This tool could not find the files for %s: %s"
#~ msgstr "Esta herramienta no pudo encontrar los archivos de %s: %s"
+
#~ msgid "This tool could not get the file list for %s: %s"
#~ msgstr "Esta herramienta no pudo obtener la lista de archivos de %s: %s"
+
#~ msgid "File already exists: %s"
#~ msgstr "El archivo ya existe: %s"
+
#~ msgid "This tool could not get package list: %s"
#~ msgstr "Esta herramienta no pudo obtener la lista de paquetes: %s"
+
#~ msgid "Failed to save to disk"
#~ msgstr "Falló al guardar en el disco"
+
#~ msgid "File does not exist: %s"
#~ msgstr "El archivo no existe: %s"
+
#~ msgid "Packages to add"
#~ msgstr "Paquetes para añadir"
+
#~ msgid "Packages to remove"
#~ msgstr "Paquetes para eliminar"
+
#~ msgid "No new packages need to be installed"
#~ msgstr "No hay paquetes nuevos para instalar"
+
#~ msgid "not found."
#~ msgstr "no encontrado."
+
#~ msgid "No packages can be found to install"
#~ msgstr "No se encontró ningún paquete para instalar"
+
#~ msgid "This tool could not find the update details for %s: %s"
#~ msgstr ""
#~ "Esta herramienta no pudo encontrar los detalles de actualización de %s: %s"
+
#~ msgid "This tool could not get the update details for %s: %s"
#~ msgstr ""
#~ "Esta herramienta no pudo obtener los detalles de actualización de %s: %s"
+
#~ msgid "Error:"
#~ msgstr "Error:"
+
#~ msgid "Repository signature required"
#~ msgstr "Se requiere la firma del repositorio"
+
#~ msgid "End user license agreement required"
#~ msgstr "Se requiere un acuerdo de licencia de usuario final"
+
#~ msgid "Do you agree to this license?"
#~ msgstr "¿Está de acuerdo con esta licencia?"
+
#~ msgid "The license was refused."
#~ msgstr "Se rechazó la licencia."
+
#~ msgid "This tool could not connect to system DBUS."
#~ msgstr "Esta herramienta no se pudo conectar al DBUS del sistema."
+
#~ msgid "A package name or filename to install is required"
#~ msgstr "Se requiere un nombre de paquete o nombre de archivo para instalar"
+
#~ msgid "A list file name to create is required"
#~ msgstr "Se necesita un nombre de archivo de la lista"
+
#~ msgid "A list file to open is required"
#~ msgstr "Se necesita un archivo de lista para abrir"
+
#~ msgid "Incorrect privileges for this operation"
#~ msgstr "Privilegios incorrectos para esta operación"
+
#~ msgid "Cannot show the list of transactions"
#~ msgstr "No es posible mostrar la lista de transacciones"
+
#~ msgid "The package could not be found"
#~ msgstr "No se pudo encontrar el paquete"
+
#~ msgid "EULA ID"
#~ msgstr "ID del acuerdo de licencia de usuario final (EULA) "
+
#~ msgid "Media ID"
#~ msgstr "ID de medio"
+
#~ msgid "Main cache file to use (if not specififed, default is used)"
#~ msgstr ""
#~ "Archivo caché principal a usar (si no se especifica, se usará el "
#~ "predeterminado)"
+
#~ msgid "Source cache file to add to the main database"
#~ msgstr "Archivo caché fuente para agregar a la base de datos principal"
+
#~ msgid "Icon directory"
#~ msgstr "Directorio de Iconos"
+
#~ msgid "Name of the remote repo"
#~ msgstr "Nombre del repo remoto"
+
#~ msgid "PackageKit Application Database Installer"
#~ msgstr "Instalador de la Base de Datos de Aplicaciones de PackageKit"
+
#~ msgid "Main database file to use (if not specififed, default is used)"
#~ msgstr ""
#~ "Base de datos principal a usar (si no se especifica se usará el "
#~ "predeterminado)"
+
#~ msgid "You need to specify a search type, e.g. name"
#~ msgstr "Debe especificar el tipo de búsqueda, por ejemplo, nombre"
+
#~ msgid "You need to specify a search term"
#~ msgstr "Debe especificar un término de búsqueda"
+
#~ msgid "You need to specify a package to remove"
#~ msgstr "Debe especificar un paquete a eliminar"
+
#~ msgid "You need to specify a package name to resolve"
#~ msgstr "Debe especificar un nombre de paquete a resolver"
+
#~ msgid "You need to specify a repository name"
#~ msgstr "Debe especificar un nombre de repositorio"
+
#~ msgid "You need to specify a correct role"
#~ msgstr "Debe especificar un rol correcto"
+
#~ msgid "You need to specify a package to find the details for"
#~ msgstr "Debe especificar un paquete para el que buscar la descripción"
+
#~ msgid "You need to specify a package to find the files for"
#~ msgstr "Debe especificar un paquete para el que buscar los archivos"
+
#~ msgid "You need to specify a list file to open"
#~ msgstr "Debe especificar un archivo de lista a abrir"
+
#~ msgid "This tool could not remove the packages: '%s'"
#~ msgstr "Esta herramienta no pudo eliminar los paquetes: '%s'"
+
#~ msgid "Install local file"
#~ msgstr "Instalar archivo local"
+
#~ msgid "Okay to import key?"
#~ msgstr "¿De acuerto con importer la clave?"
+
#~ msgid "Did not import key"
#~ msgstr "No se importó la clave"
+
#~ msgid "Do you agree?"
#~ msgstr "¿Está de acuerdo?"
+
#~ msgid "Could not find package to remove"
#~ msgstr "No se pudo encontrar el paquete a eliminar"
+
#~ msgid "Could not find package to update"
#~ msgstr "No se pudo encontrar el paquete a actualizar"
+
#~ msgid "Could not find what packages require"
#~ msgstr "No se pudo encontrar cuales paquetes requiere este paquete"
+
#~ msgid "Could not find details for"
#~ msgstr "No se pudieron obtener los detalles de "
#, fuzzy
#~ msgid "Could not set database readonly"
#~ msgstr "No se pudo abrir la base de datos: %s"
+
#~ msgid "Could not open database: %s"
#~ msgstr "No se pudo abrir la base de datos: %s"
+
#~ msgid "You probably need to run this program as the root user"
#~ msgstr "Probablemente necesita ejecutar este programa como el usuario root"
+
#~ msgid "<span color='#%06x' underline='single' size='larger'>Run %s</span>"
#~ msgstr ""
#~ "<span color='#%06x' underline='single' size='larger'>Ejecutar %s</span>"
+
#~ msgid "<big>%s</big>"
#~ msgstr "<big>%s</big>"
+
#~ msgid ""
#~ "\n"
#~ "<span color='#%06x' underline='single'>Run version %s now</span>"
#~ msgstr ""
#~ "\n"
#~ "<span color='#%06x' underline='single'>Ejecutar versión %s ahora</span>"
+
#~ msgid ""
#~ "\n"
#~ "<span color='#%06x' underline='single'>Run now</span>"
#~ msgstr ""
#~ "\n"
#~ "<span color='#%06x' underline='single'>Ejecutar ahora</span>"
+
#~ msgid ""
#~ "\n"
#~ "<span color='#%06x' underline='single'>Upgrade to version %s</span>"
#~ msgstr ""
#~ "\n"
#~ "<span color='#%06x' underline='single'>Actualizar a la versión %s</span>"
+
#~ msgid ""
#~ "<span color='#%06x' underline='single' size='larger'>Install %s Now</span>"
#~ msgstr ""
#~ "<span color='#%06x' underline='single' size='larger'>Instalar %s Ahora</"
#~ "span>"
+
#~ msgid ""
#~ "\n"
#~ "<small>Version: %s</small>"
#~ msgstr ""
#~ "\n"
#~ "<small>Versión: %s</small>"
+
#~ msgid "failed to download: invalid package_id and/or directory"
#~ msgstr "falló la descarga: id de paquete inválido y/o directorio"
+
#~ msgid "Could not find a valid metadata file"
#~ msgstr "No se pudo encontrar un archivo de metadatos válido"
+
#~ msgid "Okay to download the additional packages"
#~ msgstr "Listo para descargar los paquetes adicionales"
+
#~ msgid "You need to specify the pack name and packages to be packed\n"
#~ msgstr "Debe especificar el nombre de grupo y los paquetes a agrupar\n"
+
#~ msgid ""
#~ "Invalid name for the service pack, Specify a name with .servicepack "
#~ "extension\n"
#~ msgstr ""
#~ "Nombre inválido para el paquete de servicio. Especifique un nombre con la "
#~ "extensión .servicepack\n"
+
#~ msgid "Authentication is required to install a local file"
#~ msgstr "Se requiere autenticación para instalar un archivo local"
+
#~ msgid "Authentication is required to install a security signature"
#~ msgstr "Se requiere autenticación para instalar una firma de seguridad"
+
#~ msgid "Authentication is required to update all packages"
#~ msgstr "Se requiere autenticación para actualizar todos los paquetes"
+
#~ msgid "Update all packages"
#~ msgstr "Actualizar todos los paquetes"
+
#~ msgid ""
#~ "Could not find a package with that name to install, or package already "
#~ "installed"
#~ msgstr ""
#~ "No se pudo encontrar un paquete con ese nombre para instalar, o el "
#~ "paquete ya está instalado"
+
#~ msgid "Could not find a package with that name to update"
#~ msgstr "No se pudo encontrar un paquete con ese nombre para actualizar"
+
#~ msgid "Could not find a description for this package"
#~ msgstr "No se pudo encontrar una descripcion para este paquete"
+
#~ msgid "You need to specify a package to find the description for"
#~ msgstr "Debe especificar un paquete para el que buscar la descripción"
-
commit 0f74acbc7e967f1e80712c9a39bef3d8196b4806
Author: Richard Hughes <richard at hughsie.com>
Date: Sun Oct 4 16:54:41 2009 +0100
Exit pk-command-not-found with 127 when we have not run a program. Fixes rh#527044
diff --git a/contrib/command-not-found/pk-command-not-found.c b/contrib/command-not-found/pk-command-not-found.c
index 4ea8718..da273b4 100644
--- a/contrib/command-not-found/pk-command-not-found.c
+++ b/contrib/command-not-found/pk-command-not-found.c
@@ -22,6 +22,7 @@
#include "config.h"
#include <string.h>
+#include <stdlib.h>
#include <locale.h>
#include <sys/types.h>
#include <unistd.h>
@@ -56,6 +57,9 @@ typedef struct {
static PkTask *task = NULL;
static GCancellable *cancellable = NULL;
+/* bash reserved code */
+#define EXIT_COMMAND_NOT_FOUND 127
+
/**
* pk_cnf_find_alternatives_swizzle:
*
@@ -640,6 +644,7 @@ main (int argc, char *argv[])
gchar *text;
const gchar *possible;
gchar **parts;
+ guint retval = EXIT_SUCCESS;
const GOptionEntry options[] = {
{ "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose,
@@ -680,8 +685,10 @@ main (int argc, char *argv[])
/* get length */
len = egg_strlen (argv[1], 1024);
- if (len < 1)
+ if (len < 1) {
+ retval = EXIT_COMMAND_NOT_FOUND;
goto out;
+ }
/* generate swizzles */
array = pk_cnf_find_alternatives (argv[1], len);
@@ -689,12 +696,19 @@ main (int argc, char *argv[])
/* TRANSLATORS: the prefix of all the output telling the user why it's not executing */
g_print ("%s ", _("Command not found."));
+ /* no possibilities */
+ if (array->len == 0) {
+ retval = EXIT_COMMAND_NOT_FOUND;
+ goto out;
+ }
+
/* one exact possibility */
if (array->len == 1) {
possible = g_ptr_array_index (array, 0);
if (config->single_match == PK_CNF_POLICY_WARN) {
/* TRANSLATORS: tell the user what we think the command is */
g_print ("%s '%s'\n", _("Similar command is:"), possible);
+ retval = EXIT_COMMAND_NOT_FOUND;
/* run */
} else if (config->single_match == PK_CNF_POLICY_RUN) {
@@ -707,6 +721,8 @@ main (int argc, char *argv[])
ret = pk_console_get_prompt (text, TRUE);
if (ret)
pk_cnf_spawn_command (possible, &argv[1]);
+ else
+ retval = EXIT_COMMAND_NOT_FOUND;
g_free (text);
}
goto out;
@@ -759,6 +775,8 @@ main (int argc, char *argv[])
ret = pk_cnf_install_package_id (package_ids[0]);
if (ret)
pk_cnf_spawn_command (argv[0], &argv[1]);
+ else
+ retval = EXIT_COMMAND_NOT_FOUND;
}
/* install */
@@ -766,6 +784,8 @@ main (int argc, char *argv[])
ret = pk_cnf_install_package_id (package_ids[0]);
if (ret)
pk_cnf_spawn_command (argv[0], &argv[1]);
+ else
+ retval = EXIT_COMMAND_NOT_FOUND;
}
g_strfreev (parts);
goto out;
@@ -797,6 +817,8 @@ main (int argc, char *argv[])
ret = pk_cnf_install_package_id (package_ids[i]);
if (ret)
pk_cnf_spawn_command (argv[0], &argv[1]);
+ else
+ retval = EXIT_COMMAND_NOT_FOUND;
}
goto out;
}
@@ -817,6 +839,6 @@ out:
if (array != NULL)
g_ptr_array_unref (array);
- return 0;
+ return retval;
}
commit 74f91ffd6eb8a8cb7d556d0aeb0115da959ba606
Author: Anders F Bjorklund <afb at users.sourceforge.net>
Date: Sun Oct 4 13:30:10 2009 +0200
smart: use noninteractive debconf (for the deb backend of the smart backend)
diff --git a/backends/smart/smartBackend.py b/backends/smart/smartBackend.py
index 5346c13..af61888 100755
--- a/backends/smart/smartBackend.py
+++ b/backends/smart/smartBackend.py
@@ -61,6 +61,7 @@ class PackageKitSmartInterface(Interface):
def __init__(self, ctrl, backend):
Interface.__init__(self, ctrl)
smart.sysconf.set("max-active-downloads", 1, soft=True)
+ smart.sysconf.set("deb-non-interactive", True, soft=True)
self._progress = PackageKitSmartProgress(True, backend)
def getProgress(self, obj, hassub=False):
commit 7426f3921fd103886185d0df58576e44c1a7a127
Author: Anders F Bjorklund <afb at users.sourceforge.net>
Date: Sun Oct 4 11:19:34 2009 +0200
smart: fix get_mime_types for slack (compressed-tar)
diff --git a/backends/smart/pk-backend-smart.c b/backends/smart/pk-backend-smart.c
index 15e6410..69850b2 100644
--- a/backends/smart/pk-backend-smart.c
+++ b/backends/smart/pk-backend-smart.c
@@ -116,10 +116,10 @@ backend_get_mime_types (PkBackend *backend)
{
return g_strdup ("application/x-rpm;"
"application/x-deb;"
- "application/x-gzip;" /* .tgz */
- "application/x-bzip2;" /* .tbz */
- "application/x-lzma;" /* .tlz */
- "application/x-xz;" /* .txz */
+ "application/x-compressed-tar;" /* .tgz */
+ "application/x-bzip-compressed-tar;" /* .tbz */
+ "application/x-lzma-compressed-tar;" /* .tlz */
+ "application/x-xz-compressed-tar;" /* .txz */
"application/x-arch-pkg");
}
commit fcf9d55c11c41bf8494374ae773fff6cb4601e0b
Author: Anders F Bjorklund <afb at users.sourceforge.net>
Date: Sun Oct 4 11:11:22 2009 +0200
trivial: avoid macro use
diff --git a/backends/smart/pk-backend-smart.c b/backends/smart/pk-backend-smart.c
index 3b1b189..15e6410 100644
--- a/backends/smart/pk-backend-smart.c
+++ b/backends/smart/pk-backend-smart.c
@@ -25,7 +25,7 @@
static PkBackendSpawn *spawn;
-#define BACKEND(x) "smartBackend.py", x
+static const gchar* BACKEND_FILE = "smartBackend.py";
/**
* backend_initialize:
@@ -143,7 +143,7 @@ backend_download_packages (PkBackend *backend, gchar **package_ids, const gchar
/* send the complete list as stdin */
package_ids_temp = pk_package_ids_to_text (package_ids);
- pk_backend_spawn_helper (spawn, BACKEND("download-packages"), directory, package_ids_temp, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "download-packages", directory, package_ids_temp, NULL);
g_free (package_ids_temp);
}
@@ -157,7 +157,7 @@ backend_get_depends (PkBackend *backend, PkBitfield filters, gchar **package_ids
gchar *package_ids_temp;
package_ids_temp = pk_package_ids_to_text (package_ids);
filters_text = pk_filter_bitfield_to_text (filters);
- pk_backend_spawn_helper (spawn, BACKEND("get-depends"), filters_text, package_ids_temp, pk_backend_bool_to_text (recursive), NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "get-depends", filters_text, package_ids_temp, pk_backend_bool_to_text (recursive), NULL);
g_free (filters_text);
g_free (package_ids_temp);
}
@@ -170,7 +170,7 @@ backend_get_details (PkBackend *backend, gchar **package_ids)
{
gchar *package_ids_temp;
package_ids_temp = pk_package_ids_to_text (package_ids);
- pk_backend_spawn_helper (spawn, BACKEND("get-details"), package_ids_temp, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "get-details", package_ids_temp, NULL);
g_free (package_ids_temp);
}
@@ -182,7 +182,7 @@ backend_get_files (PkBackend *backend, gchar **package_ids)
{
gchar *package_ids_temp;
package_ids_temp = pk_package_ids_to_text (package_ids);
- pk_backend_spawn_helper (spawn, BACKEND("get-files"), package_ids_temp, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "get-files", package_ids_temp, NULL);
g_free (package_ids_temp);
}
@@ -196,7 +196,7 @@ backend_get_requires (PkBackend *backend, PkBitfield filters, gchar **package_id
gchar *filters_text;
package_ids_temp = pk_package_ids_to_text (package_ids);
filters_text = pk_filter_bitfield_to_text (filters);
- pk_backend_spawn_helper (spawn, BACKEND("get-requires"), filters_text, package_ids_temp, pk_backend_bool_to_text (recursive), NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "get-requires", filters_text, package_ids_temp, pk_backend_bool_to_text (recursive), NULL);
g_free (filters_text);
g_free (package_ids_temp);
}
@@ -209,7 +209,7 @@ backend_get_updates (PkBackend *backend, PkBitfield filters)
{
gchar *filters_text;
filters_text = pk_filter_bitfield_to_text (filters);
- pk_backend_spawn_helper (spawn, BACKEND("get-updates"), filters_text, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "get-updates", filters_text, NULL);
g_free (filters_text);
}
@@ -221,7 +221,7 @@ backend_get_packages (PkBackend *backend, PkBitfield filters)
{
gchar *filters_text;
filters_text = pk_filter_bitfield_to_text (filters);
- pk_backend_spawn_helper (spawn, BACKEND("get-packages"), filters_text, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "get-packages", filters_text, NULL);
g_free (filters_text);
}
@@ -233,7 +233,7 @@ backend_get_update_detail (PkBackend *backend, gchar **package_ids)
{
gchar *package_ids_temp;
package_ids_temp = pk_package_ids_to_text (package_ids);
- pk_backend_spawn_helper (spawn, BACKEND("get-update-detail"), package_ids_temp, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "get-update-detail", package_ids_temp, NULL);
g_free (package_ids_temp);
}
@@ -254,7 +254,7 @@ backend_install_packages (PkBackend *backend, gboolean only_trusted, gchar **pac
/* send the complete list as stdin */
package_ids_temp = pk_package_ids_to_text (package_ids);
- pk_backend_spawn_helper (spawn, BACKEND("install-packages"), pk_backend_bool_to_text (only_trusted), package_ids_temp, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "install-packages", pk_backend_bool_to_text (only_trusted), package_ids_temp, NULL);
g_free (package_ids_temp);
}
@@ -268,7 +268,7 @@ backend_install_files (PkBackend *backend, gboolean only_trusted, gchar **full_p
/* send the complete list as stdin */
full_paths_temp = g_strjoinv (PK_BACKEND_SPAWN_FILENAME_DELIM, full_paths);
- pk_backend_spawn_helper (spawn, BACKEND("install-files"), pk_backend_bool_to_text (only_trusted), full_paths_temp, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "install-files", pk_backend_bool_to_text (only_trusted), full_paths_temp, NULL);
g_free (full_paths_temp);
}
@@ -285,7 +285,7 @@ backend_refresh_cache (PkBackend *backend, gboolean force)
return;
}
- pk_backend_spawn_helper (spawn, BACKEND("refresh-cache"), pk_backend_bool_to_text (force), NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "refresh-cache", pk_backend_bool_to_text (force), NULL);
}
/**
@@ -298,7 +298,7 @@ backend_remove_packages (PkBackend *backend, gchar **package_ids, gboolean allow
/* send the complete list as stdin */
package_ids_temp = pk_package_ids_to_text (package_ids);
- pk_backend_spawn_helper (spawn, BACKEND("remove-packages"), pk_backend_bool_to_text (allow_deps), pk_backend_bool_to_text (autoremove), package_ids_temp, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "remove-packages", pk_backend_bool_to_text (allow_deps), pk_backend_bool_to_text (autoremove), package_ids_temp, NULL);
g_free (package_ids_temp);
}
@@ -310,7 +310,7 @@ backend_search_details (PkBackend *backend, PkBitfield filters, const gchar *sea
{
gchar *filters_text;
filters_text = pk_filter_bitfield_to_text (filters);
- pk_backend_spawn_helper (spawn, BACKEND("search-details"), filters_text, search, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "search-details", filters_text, search, NULL);
g_free (filters_text);
}
@@ -322,7 +322,7 @@ backend_search_file (PkBackend *backend, PkBitfield filters, const gchar *search
{
gchar *filters_text;
filters_text = pk_filter_bitfield_to_text (filters);
- pk_backend_spawn_helper (spawn, BACKEND("search-file"), filters_text, search, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "search-file", filters_text, search, NULL);
g_free (filters_text);
}
@@ -334,7 +334,7 @@ backend_search_group (PkBackend *backend, PkBitfield filters, const gchar *searc
{
gchar *filters_text;
filters_text = pk_filter_bitfield_to_text (filters);
- pk_backend_spawn_helper (spawn, BACKEND("search-group"), filters_text, search, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "search-group", filters_text, search, NULL);
g_free (filters_text);
}
@@ -346,7 +346,7 @@ backend_search_name (PkBackend *backend, PkBitfield filters, const gchar *search
{
gchar *filters_text;
filters_text = pk_filter_bitfield_to_text (filters);
- pk_backend_spawn_helper (spawn, BACKEND("search-name"), filters_text, search, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "search-name", filters_text, search, NULL);
g_free (filters_text);
}
@@ -367,7 +367,7 @@ backend_update_packages (PkBackend *backend, gboolean only_trusted, gchar **pack
/* send the complete list as stdin */
package_ids_temp = pk_package_ids_to_text (package_ids);
- pk_backend_spawn_helper (spawn, BACKEND("update-packages"), pk_backend_bool_to_text (only_trusted), package_ids_temp, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "update-packages", pk_backend_bool_to_text (only_trusted), package_ids_temp, NULL);
g_free (package_ids_temp);
}
@@ -377,7 +377,7 @@ backend_update_packages (PkBackend *backend, gboolean only_trusted, gchar **pack
static void
backend_update_system (PkBackend *backend, gboolean only_trusted)
{
- pk_backend_spawn_helper (spawn, BACKEND("update-system"), pk_backend_bool_to_text (only_trusted), NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "update-system", pk_backend_bool_to_text (only_trusted), NULL);
}
/**
@@ -390,7 +390,7 @@ backend_resolve (PkBackend *backend, PkBitfield filters, gchar **package_ids)
gchar *package_ids_temp;
filters_text = pk_filter_bitfield_to_text (filters);
package_ids_temp = pk_package_ids_to_text (package_ids);
- pk_backend_spawn_helper (spawn, BACKEND("resolve"), filters_text, package_ids_temp, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "resolve", filters_text, package_ids_temp, NULL);
g_free (filters_text);
g_free (package_ids_temp);
}
@@ -403,7 +403,7 @@ backend_get_repo_list (PkBackend *backend, PkBitfield filters)
{
gchar *filters_text;
filters_text = pk_filter_bitfield_to_text (filters);
- pk_backend_spawn_helper (spawn, BACKEND("get-repo-list"), filters_text, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "get-repo-list", filters_text, NULL);
g_free (filters_text);
}
@@ -414,9 +414,9 @@ static void
backend_repo_enable (PkBackend *backend, const gchar *rid, gboolean enabled)
{
if (enabled == TRUE) {
- pk_backend_spawn_helper (spawn, BACKEND("repo-enable"), rid, "true", NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "repo-enable", rid, "true", NULL);
} else {
- pk_backend_spawn_helper (spawn, BACKEND("repo-enable"), rid, "false", NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "repo-enable", rid, "false", NULL);
}
}
@@ -426,7 +426,7 @@ backend_repo_enable (PkBackend *backend, const gchar *rid, gboolean enabled)
static void
backend_repo_set_data (PkBackend *backend, const gchar *rid, const gchar *parameter, const gchar *value)
{
- pk_backend_spawn_helper (spawn, BACKEND("repo-set-data"), rid, parameter, value, NULL);
+ pk_backend_spawn_helper (spawn, BACKEND_FILE, "repo-set-data", rid, parameter, value, NULL);
}
PK_BACKEND_OPTIONS (
commit 2e42eafa91b9dd0d6c2d55fa61dd3a30ef3d6ef5
Author: Richard Hughes <richard at hughsie.com>
Date: Sun Oct 4 09:15:24 2009 +0100
trivial: fix up a couple of UNKNOWN to LAST problems I've spotted in the backends
diff --git a/backends/opkg/pk-backend-opkg.c b/backends/opkg/pk-backend-opkg.c
index 7105531..ef9a6b6 100644
--- a/backends/opkg/pk-backend-opkg.c
+++ b/backends/opkg/pk-backend-opkg.c
@@ -698,7 +698,7 @@ backend_get_details_thread (PkBackend *backend)
newid = g_strdup_printf ("%s;%s;%s;%s", pkg->name, pkg->version, pkg->architecture, pkg->repository);
if (pkg->tags) {
- for (group_index = 0; group < PK_GROUP_ENUM_UNKNOWN; group_index++) {
+ for (group_index = 0; group < PK_GROUP_ENUM_LAST; group_index++) {
group = 1 << group_index;
if (!(group & backend_get_groups(backend))) continue;
if (opkg_check_tag(pkg, (const gchar *)pk_group_enum_to_text(group)))
diff --git a/backends/zypp/zypp-utils.cpp b/backends/zypp/zypp-utils.cpp
index 6664423..ffadfd6 100644
--- a/backends/zypp/zypp-utils.cpp
+++ b/backends/zypp/zypp-utils.cpp
@@ -561,7 +561,7 @@ zypp_emit_packages_in_list (PkBackend *backend, std::vector<zypp::sat::Solvable>
// iterate through the given filters
if (filters != 0){
gboolean print = TRUE;
- for (guint i = 0; i < PK_FILTER_ENUM_UNKNOWN; i++) {
+ for (guint i = 0; i < PK_FILTER_ENUM_LAST; i++) {
if ((filters & pk_bitfield_value (i)) == 0)
continue;
if (i == PK_FILTER_ENUM_INSTALLED && !(it->isSystem ()))
commit 380090b7be27440f543f8beecb64c75c0fd68451
Author: Richard Hughes <richard at hughsie.com>
Date: Sat Oct 3 12:13:31 2009 +0100
trivial: add two functions to PkPackageSack we need for gpk-application
diff --git a/lib/packagekit-glib2/pk-package-sack.c b/lib/packagekit-glib2/pk-package-sack.c
index 69e3d06..28e8438 100644
--- a/lib/packagekit-glib2/pk-package-sack.c
+++ b/lib/packagekit-glib2/pk-package-sack.c
@@ -74,12 +74,52 @@ G_DEFINE_TYPE (PkPackageSack, pk_package_sack, G_TYPE_OBJECT)
guint
pk_package_sack_get_size (PkPackageSack *sack)
{
- g_return_val_if_fail (PK_IS_PACKAGE_SACK (sack), FALSE);
+ g_return_val_if_fail (PK_IS_PACKAGE_SACK (sack), 0);
return sack->priv->array->len;
}
/**
+ * pk_package_sack_clear:
+ * @sack: a valid #PkPackageSack instance
+ *
+ * Empty all the packages from the sack
+ **/
+void
+pk_package_sack_clear (PkPackageSack *sack)
+{
+ g_return_if_fail (PK_IS_PACKAGE_SACK (sack));
+ g_ptr_array_set_size (sack->priv->array, 0);
+}
+
+/**
+ * pk_package_sack_get_ids:
+ * @sack: a valid #PkPackageSack instance
+ *
+ * Returns all the Package IDs in the sack
+ *
+ * Return value: the number of packages in the sack, free with g_strfreev()
+ **/
+gchar **
+pk_package_sack_get_ids (PkPackageSack *sack)
+{
+ gchar **package_ids;
+ GPtrArray *array;
+ guint i;
+ PkPackage *package;
+
+ g_return_val_if_fail (PK_IS_PACKAGE_SACK (sack), NULL);
+
+ array = sack->priv->array;
+ package_ids = g_new0 (gchar *, array->len + 1);
+ for (i=0; i<array->len; i++) {
+ package = g_ptr_array_index (array, i);
+ package_ids[i] = g_strdup (pk_package_get_id (package));
+ }
+ return package_ids;
+}
+
+/**
* pk_package_sack_get_index:
* @sack: a valid #PkPackageSack instance
* @i: the instance to get
diff --git a/lib/packagekit-glib2/pk-package-sack.h b/lib/packagekit-glib2/pk-package-sack.h
index d4b3762..7303788 100644
--- a/lib/packagekit-glib2/pk-package-sack.h
+++ b/lib/packagekit-glib2/pk-package-sack.h
@@ -76,6 +76,8 @@ void pk_package_sack_test (gpointer user_data);
guint pk_package_sack_get_size (PkPackageSack *sack);
PkPackage *pk_package_sack_get_index (PkPackageSack *sack,
guint i);
+void pk_package_sack_clear (PkPackageSack *sack);
+gchar **pk_package_sack_get_ids (PkPackageSack *sack);
void pk_package_sack_sort_package_id (PkPackageSack *sack);
void pk_package_sack_sort_info (PkPackageSack *sack);
void pk_package_sack_sort_summary (PkPackageSack *sack);
commit b6b555783c52eaf48592d0a97f8492f799da0568
Author: Richard Hughes <richard at hughsie.com>
Date: Sat Oct 3 09:18:12 2009 +0100
trivial: Fix up more brokenness from the UNKNOWN to LAST change
diff --git a/lib/packagekit-glib2/pk-control.c b/lib/packagekit-glib2/pk-control.c
index 2ae7fa1..e351eb7 100644
--- a/lib/packagekit-glib2/pk-control.c
+++ b/lib/packagekit-glib2/pk-control.c
@@ -2070,7 +2070,7 @@ pk_control_class_init (PkControlClass *klass)
* PkControl:network-state:
*/
pspec = g_param_spec_uint ("network-state", NULL, NULL,
- 0, G_MAXUINT, PK_NETWORK_ENUM_UNKNOWN,
+ 0, G_MAXUINT, PK_NETWORK_ENUM_LAST,
G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_NETWORK_STATE, pspec);
diff --git a/lib/packagekit-glib2/pk-package.c b/lib/packagekit-glib2/pk-package.c
index 851aafd..95114c5 100644
--- a/lib/packagekit-glib2/pk-package.c
+++ b/lib/packagekit-glib2/pk-package.c
@@ -410,7 +410,7 @@ pk_package_class_init (PkPackageClass *klass)
*/
pspec = g_param_spec_uint ("group", NULL,
"The package group",
- 0, PK_GROUP_ENUM_UNKNOWN, PK_GROUP_ENUM_UNKNOWN,
+ 0, PK_GROUP_ENUM_LAST, PK_GROUP_ENUM_UNKNOWN,
G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_GROUP, pspec);
@@ -491,7 +491,7 @@ pk_package_class_init (PkPackageClass *klass)
*/
pspec = g_param_spec_uint ("update-restart", NULL,
"The update restart type",
- 0, PK_RESTART_ENUM_UNKNOWN, PK_RESTART_ENUM_UNKNOWN,
+ 0, PK_RESTART_ENUM_LAST, PK_RESTART_ENUM_UNKNOWN,
G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_UPDATE_RESTART, pspec);
@@ -518,7 +518,7 @@ pk_package_class_init (PkPackageClass *klass)
*/
pspec = g_param_spec_uint ("update-state", NULL,
"The update state",
- 0, PK_UPDATE_STATE_ENUM_UNKNOWN, PK_UPDATE_STATE_ENUM_UNKNOWN,
+ 0, PK_UPDATE_STATE_ENUM_LAST, PK_UPDATE_STATE_ENUM_UNKNOWN,
G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_UPDATE_STATE, pspec);
diff --git a/lib/packagekit-glib2/pk-progress.c b/lib/packagekit-glib2/pk-progress.c
index 4f64315..b3da4d4 100644
--- a/lib/packagekit-glib2/pk-progress.c
+++ b/lib/packagekit-glib2/pk-progress.c
@@ -458,7 +458,7 @@ pk_progress_class_init (PkProgressClass *klass)
* PkProgress:status:
*/
pspec = g_param_spec_uint ("status", NULL, NULL,
- 0, PK_STATUS_ENUM_UNKNOWN, PK_STATUS_ENUM_UNKNOWN,
+ 0, PK_STATUS_ENUM_LAST, PK_STATUS_ENUM_UNKNOWN,
G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_STATUS, pspec);
@@ -466,7 +466,7 @@ pk_progress_class_init (PkProgressClass *klass)
* PkProgress:role:
*/
pspec = g_param_spec_uint ("role", NULL, NULL,
- 0, PK_ROLE_ENUM_UNKNOWN, PK_ROLE_ENUM_UNKNOWN,
+ 0, PK_ROLE_ENUM_LAST, PK_ROLE_ENUM_UNKNOWN,
G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_ROLE, pspec);
diff --git a/lib/packagekit-glib2/pk-results.c b/lib/packagekit-glib2/pk-results.c
index 97fca39..7f623f2 100644
--- a/lib/packagekit-glib2/pk-results.c
+++ b/lib/packagekit-glib2/pk-results.c
@@ -779,7 +779,7 @@ pk_results_class_init (PkResultsClass *klass)
* PkResults:role:
*/
pspec = g_param_spec_uint ("role", NULL, NULL,
- 0, PK_ROLE_ENUM_UNKNOWN, PK_ROLE_ENUM_UNKNOWN,
+ 0, PK_ROLE_ENUM_LAST, PK_ROLE_ENUM_UNKNOWN,
G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_ROLE, pspec);
diff --git a/src/pk-backend.c b/src/pk-backend.c
index fb49eb3..19ca698 100644
--- a/src/pk-backend.c
+++ b/src/pk-backend.c
@@ -2141,7 +2141,7 @@ pk_backend_get_property (GObject *object, guint prop_id, GValue *value, GParamSp
switch (prop_id) {
case PROP_BACKGROUND:
- g_value_set_boolean (value, priv->background);
+ g_value_set_uint (value, priv->background);
break;
case PROP_STATUS:
g_value_set_uint (value, priv->status);
@@ -2169,7 +2169,7 @@ pk_backend_set_property (GObject *object, guint prop_id, const GValue *value, GP
switch (prop_id) {
case PROP_BACKGROUND:
- priv->background = g_value_get_boolean (value);
+ priv->background = g_value_get_uint (value);
break;
case PROP_STATUS:
priv->status = g_value_get_uint (value);
@@ -2232,9 +2232,9 @@ pk_backend_class_init (PkBackendClass *klass)
/**
* PkBackend:background:
*/
- pspec = g_param_spec_boolean ("background", NULL, NULL,
- FALSE,
- G_PARAM_READWRITE);
+ pspec = g_param_spec_uint ("background", NULL, NULL,
+ PK_TRISTATE_FALSE, PK_TRISTATE_UNSET, PK_TRISTATE_FALSE,
+ G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_BACKGROUND, pspec);
/**
diff --git a/src/pk-transaction-db.c b/src/pk-transaction-db.c
index b976bb5..bd62cf0 100644
--- a/src/pk-transaction-db.c
+++ b/src/pk-transaction-db.c
@@ -837,7 +837,7 @@ pk_transaction_db_init (PkTransactionDb *tdb)
/* create values for now */
timespec = pk_iso8601_present ();
- for (i=0; i<PK_ROLE_ENUM_UNKNOWN; i++) {
+ for (i=0; i<PK_ROLE_ENUM_LAST; i++) {
role_text = pk_role_enum_to_text (i);
/* reset to now if the role does not exist */
text = g_strdup_printf ("INSERT INTO last_action (role, timespec) VALUES ('%s', '%s')", role_text, timespec);
diff --git a/src/pk-transaction.c b/src/pk-transaction.c
index 9060eb6..e9443d0 100644
--- a/src/pk-transaction.c
+++ b/src/pk-transaction.c
@@ -1299,7 +1299,7 @@ out:
}
/**
- * pk_transaction_set_running:
+ * pk_transaction_set_proxy:
*/
static gboolean
pk_transaction_set_proxy (PkTransaction *transaction, GError **error)
commit 238d39d0985fedc2e9a067627f10de623e30dd0d
Merge: 0366c20... ad0b8dd...
Author: Richard Hughes <richard at hughsie.com>
Date: Sat Oct 3 08:42:58 2009 +0100
Merge branch 'master' of git+ssh://git.packagekit.org/srv/git/PackageKit
commit 0366c20e4b05c512800695fc6b213e6eeee256ac
Author: Richard Hughes <richard at hughsie.com>
Date: Sat Oct 3 08:42:37 2009 +0100
glib2: we're treating PK_foo_ENUM_UNKNOWN as a delimiter, but it's actually part of the ABI. Use PK_foo_LAST as the terminator.
This breaks API and ABI, but there are no external programs using glib2 yet, and it's the only time
we can make such a bold fix.
diff --git a/lib/packagekit-glib2/pk-bitfield.c b/lib/packagekit-glib2/pk-bitfield.c
index 3fff654..d54af58 100644
--- a/lib/packagekit-glib2/pk-bitfield.c
+++ b/lib/packagekit-glib2/pk-bitfield.c
@@ -118,7 +118,7 @@ pk_role_bitfield_to_text (PkBitfield roles)
guint i;
string = g_string_new ("");
- for (i=0; i<=PK_ROLE_ENUM_UNKNOWN; i++) {
+ for (i=0; i<PK_ROLE_ENUM_LAST; i++) {
if ((roles & pk_bitfield_value (i)) == 0)
continue;
g_string_append_printf (string, "%s;", pk_role_enum_to_text (i));
@@ -186,7 +186,7 @@ pk_group_bitfield_to_text (PkBitfield groups)
guint i;
string = g_string_new ("");
- for (i=0; i<=PK_GROUP_ENUM_UNKNOWN; i++) {
+ for (i=0; i<PK_GROUP_ENUM_LAST; i++) {
if ((groups & pk_bitfield_value (i)) == 0)
continue;
g_string_append_printf (string, "%s;", pk_group_enum_to_text (i));
@@ -255,10 +255,10 @@ pk_filter_bitfield_to_text (PkBitfield filters)
/* shortcut */
if (filters == 0)
- return g_strdup (pk_filter_enum_to_text (filters));
+ return g_strdup (pk_filter_enum_to_text (PK_FILTER_ENUM_NONE));
string = g_string_new ("");
- for (i=0; i<=PK_FILTER_ENUM_UNKNOWN; i++) {
+ for (i=0; i<PK_FILTER_ENUM_LAST; i++) {
if ((filters & pk_bitfield_value (i)) == 0)
continue;
g_string_append_printf (string, "%s;", pk_filter_enum_to_text (i));
@@ -285,7 +285,7 @@ pk_filter_bitfield_to_text (PkBitfield filters)
PkBitfield
pk_filter_bitfield_from_text (const gchar *filters)
{
- PkBitfield filters_enum = PK_FILTER_ENUM_NONE;
+ PkBitfield filters_enum = 0;
gchar **split;
guint length;
guint i;
@@ -491,7 +491,7 @@ pk_bitfield_test (gpointer user_data)
egg_test_title (test, "group bitfield to text (first and last)");
values = pk_bitfield_from_enums (PK_GROUP_ENUM_ACCESSIBILITY, PK_GROUP_ENUM_UNKNOWN, -1);
text = pk_group_bitfield_to_text (values);
- if (g_strcmp0 (text, "accessibility;unknown") == 0)
+ if (g_strcmp0 (text, "unknown;accessibility") == 0)
egg_test_success (test, NULL);
else
egg_test_failed (test, "returned bitfield text %s (%" PK_BITFIELD_FORMAT ")", text, values);
@@ -501,7 +501,7 @@ pk_bitfield_test (gpointer user_data)
egg_test_title (test, "group bitfield to text (random)");
values = pk_bitfield_from_enums (PK_GROUP_ENUM_UNKNOWN, PK_GROUP_ENUM_REPOS, -1);
text = pk_group_bitfield_to_text (values);
- if (g_strcmp0 (text, "repos;unknown") == 0)
+ if (g_strcmp0 (text, "unknown;repos") == 0)
egg_test_success (test, NULL);
else
egg_test_failed (test, "returned bitfield text %s (%" PK_BITFIELD_FORMAT ")", text, values);
diff --git a/lib/packagekit-glib2/pk-enum.c b/lib/packagekit-glib2/pk-enum.c
index 85922e6..905709e 100644
--- a/lib/packagekit-glib2/pk-enum.c
+++ b/lib/packagekit-glib2/pk-enum.c
@@ -1134,7 +1134,7 @@ pk_enum_test (gpointer user_data)
/************************************************************/
egg_test_title (test, "check we convert all the role bitfield");
- for (i=1; i<=PK_ROLE_ENUM_UNKNOWN; i++) {
+ for (i=1; i<PK_ROLE_ENUM_LAST; i++) {
string = pk_role_enum_to_text (i);
if (string == NULL) {
egg_test_failed (test, "failed to get %i", i);
@@ -1145,7 +1145,7 @@ pk_enum_test (gpointer user_data)
/************************************************************/
egg_test_title (test, "check we convert all the status bitfield");
- for (i=1; i<=PK_STATUS_ENUM_UNKNOWN; i++) {
+ for (i=1; i<PK_STATUS_ENUM_LAST; i++) {
string = pk_status_enum_to_text (i);
if (string == NULL) {
egg_test_failed (test, "failed to get %i", i);
@@ -1156,7 +1156,7 @@ pk_enum_test (gpointer user_data)
/************************************************************/
egg_test_title (test, "check we convert all the exit bitfield");
- for (i=0; i<=PK_EXIT_ENUM_UNKNOWN; i++) {
+ for (i=0; i<PK_EXIT_ENUM_LAST; i++) {
string = pk_exit_enum_to_text (i);
if (string == NULL) {
egg_test_failed (test, "failed to get %i", i);
@@ -1167,7 +1167,7 @@ pk_enum_test (gpointer user_data)
/************************************************************/
egg_test_title (test, "check we convert all the filter bitfield");
- for (i=0; i<=PK_FILTER_ENUM_UNKNOWN; i++) {
+ for (i=0; i<PK_FILTER_ENUM_LAST; i++) {
string = pk_filter_enum_to_text (i);
if (string == NULL) {
egg_test_failed (test, "failed to get %i", i);
@@ -1178,7 +1178,7 @@ pk_enum_test (gpointer user_data)
/************************************************************/
egg_test_title (test, "check we convert all the restart bitfield");
- for (i=0; i<=PK_RESTART_ENUM_UNKNOWN; i++) {
+ for (i=0; i<PK_RESTART_ENUM_LAST; i++) {
string = pk_restart_enum_to_text (i);
if (string == NULL) {
egg_test_failed (test, "failed to get %i", i);
@@ -1189,7 +1189,7 @@ pk_enum_test (gpointer user_data)
/************************************************************/
egg_test_title (test, "check we convert all the error_code bitfield");
- for (i=0; i<=PK_ERROR_ENUM_UNKNOWN; i++) {
+ for (i=0; i<PK_ERROR_ENUM_LAST; i++) {
string = pk_error_enum_to_text (i);
if (string == NULL) {
egg_test_failed (test, "failed to get %i", i);
@@ -1200,7 +1200,7 @@ pk_enum_test (gpointer user_data)
/************************************************************/
egg_test_title (test, "check we convert all the group bitfield");
- for (i=1; i<=PK_GROUP_ENUM_UNKNOWN; i++) {
+ for (i=1; i<PK_GROUP_ENUM_LAST; i++) {
string = pk_group_enum_to_text (i);
if (string == NULL) {
egg_test_failed (test, "failed to get %i", i);
@@ -1211,7 +1211,7 @@ pk_enum_test (gpointer user_data)
/************************************************************/
egg_test_title (test, "check we convert all the info bitfield");
- for (i=1; i<=PK_INFO_ENUM_UNKNOWN; i++) {
+ for (i=1; i<PK_INFO_ENUM_LAST; i++) {
string = pk_info_enum_to_text (i);
if (string == NULL) {
egg_test_failed (test, "failed to get %i", i);
@@ -1222,7 +1222,7 @@ pk_enum_test (gpointer user_data)
/************************************************************/
egg_test_title (test, "check we convert all the sig_type bitfield");
- for (i=0; i<=PK_SIGTYPE_ENUM_UNKNOWN; i++) {
+ for (i=0; i<PK_SIGTYPE_ENUM_LAST; i++) {
string = pk_sig_type_enum_to_text (i);
if (string == NULL) {
egg_test_failed (test, "failed to get %i", i);
@@ -1233,7 +1233,7 @@ pk_enum_test (gpointer user_data)
/************************************************************/
egg_test_title (test, "check we convert all the upgrade bitfield");
- for (i=0; i<=PK_DISTRO_UPGRADE_ENUM_UNKNOWN; i++) {
+ for (i=0; i<PK_DISTRO_UPGRADE_ENUM_LAST; i++) {
string = pk_distro_upgrade_enum_to_text (i);
if (string == NULL) {
egg_test_failed (test, "failed to get %i", i);
@@ -1244,7 +1244,7 @@ pk_enum_test (gpointer user_data)
/************************************************************/
egg_test_title (test, "check we convert all the license bitfield");
- for (i=0; i<=PK_LICENSE_ENUM_UNKNOWN; i++) {
+ for (i=0; i<PK_LICENSE_ENUM_LAST; i++) {
string = pk_license_enum_to_text (i);
if (string == NULL) {
egg_test_failed (test, "failed to get %i", i);
@@ -1255,7 +1255,7 @@ pk_enum_test (gpointer user_data)
/************************************************************/
egg_test_title (test, "check we convert all the media type bitfield");
- for (i=0; i<=PK_MEDIA_TYPE_ENUM_UNKNOWN; i++) {
+ for (i=0; i<PK_MEDIA_TYPE_ENUM_LAST; i++) {
string = pk_media_type_enum_to_text (i);
if (string == NULL) {
egg_test_failed (test, "failed to get %i", i);
diff --git a/lib/packagekit-glib2/pk-enum.h b/lib/packagekit-glib2/pk-enum.h
index 6c99e05..2cec4c0 100644
--- a/lib/packagekit-glib2/pk-enum.h
+++ b/lib/packagekit-glib2/pk-enum.h
@@ -49,6 +49,7 @@ typedef struct {
* these constants
**/
typedef enum {
+ PK_ROLE_ENUM_UNKNOWN,
PK_ROLE_ENUM_CANCEL,
PK_ROLE_ENUM_GET_DEPENDS,
PK_ROLE_ENUM_GET_DETAILS,
@@ -83,7 +84,7 @@ typedef enum {
PK_ROLE_ENUM_SIMULATE_INSTALL_PACKAGES,
PK_ROLE_ENUM_SIMULATE_REMOVE_PACKAGES,
PK_ROLE_ENUM_SIMULATE_UPDATE_PACKAGES,
- PK_ROLE_ENUM_UNKNOWN
+ PK_ROLE_ENUM_LAST
} PkRoleEnum;
/**
@@ -107,6 +108,7 @@ typedef enum {
* when they are ready to start running the transaction and after a lock has been got.
**/
typedef enum {
+ PK_STATUS_ENUM_UNKNOWN,
PK_STATUS_ENUM_WAIT,
PK_STATUS_ENUM_SETUP,
PK_STATUS_ENUM_RUNNING,
@@ -143,7 +145,7 @@ typedef enum {
PK_STATUS_ENUM_CHECK_EXECUTABLE_FILES,
PK_STATUS_ENUM_CHECK_LIBRARIES,
PK_STATUS_ENUM_COPY_FILES,
- PK_STATUS_ENUM_UNKNOWN
+ PK_STATUS_ENUM_LAST
} PkStatusEnum;
/**
@@ -152,6 +154,7 @@ typedef enum {
* How the backend exited
**/
typedef enum {
+ PK_EXIT_ENUM_UNKNOWN,
PK_EXIT_ENUM_SUCCESS,
PK_EXIT_ENUM_FAILED,
PK_EXIT_ENUM_CANCELLED,
@@ -160,19 +163,20 @@ typedef enum {
PK_EXIT_ENUM_KILLED, /* when we forced the cancel, but had to SIGKILL */
PK_EXIT_ENUM_MEDIA_CHANGE_REQUIRED,
PK_EXIT_ENUM_NEED_UNTRUSTED,
- PK_EXIT_ENUM_UNKNOWN
+ PK_EXIT_ENUM_LAST
} PkExitEnum;
/**
* PkNetworkEnum:
**/
typedef enum {
+ PK_NETWORK_ENUM_UNKNOWN,
PK_NETWORK_ENUM_OFFLINE,
PK_NETWORK_ENUM_ONLINE,
PK_NETWORK_ENUM_WIRED,
PK_NETWORK_ENUM_WIFI,
PK_NETWORK_ENUM_MOBILE,
- PK_NETWORK_ENUM_UNKNOWN
+ PK_NETWORK_ENUM_LAST
} PkNetworkEnum;
/**
@@ -181,6 +185,7 @@ typedef enum {
* The filter types
**/
typedef enum {
+ PK_FILTER_ENUM_UNKNOWN,
PK_FILTER_ENUM_NONE,
PK_FILTER_ENUM_INSTALLED,
PK_FILTER_ENUM_NOT_INSTALLED,
@@ -206,7 +211,7 @@ typedef enum {
PK_FILTER_ENUM_NOT_COLLECTIONS,
PK_FILTER_ENUM_APPLICATION,
PK_FILTER_ENUM_NOT_APPLICATION,
- PK_FILTER_ENUM_UNKNOWN
+ PK_FILTER_ENUM_LAST,
} PkFilterEnum;
/**
@@ -215,13 +220,14 @@ typedef enum {
* What restart we need to after a transaction, ordered by severity
**/
typedef enum {
+ PK_RESTART_ENUM_UNKNOWN,
PK_RESTART_ENUM_NONE,
PK_RESTART_ENUM_APPLICATION,
PK_RESTART_ENUM_SESSION,
PK_RESTART_ENUM_SYSTEM,
PK_RESTART_ENUM_SECURITY_SESSION, /* a library that is being used by this package has been updated for security */
PK_RESTART_ENUM_SECURITY_SYSTEM,
- PK_RESTART_ENUM_UNKNOWN
+ PK_RESTART_ENUM_LAST
} PkRestartEnum;
/**
@@ -230,6 +236,7 @@ typedef enum {
* What message type we need to show
**/
typedef enum {
+ PK_MESSAGE_ENUM_UNKNOWN,
PK_MESSAGE_ENUM_BROKEN_MIRROR,
PK_MESSAGE_ENUM_CONNECTION_REFUSED,
PK_MESSAGE_ENUM_PARAMETER_INVALID,
@@ -244,7 +251,7 @@ typedef enum {
PK_MESSAGE_ENUM_PACKAGE_ALREADY_INSTALLED,
PK_MESSAGE_ENUM_AUTOREMOVE_IGNORED,
PK_MESSAGE_ENUM_REPO_METADATA_DOWNLOAD_FAILED,
- PK_MESSAGE_ENUM_UNKNOWN
+ PK_MESSAGE_ENUM_LAST
} PkMessageEnum;
/**
@@ -253,6 +260,7 @@ typedef enum {
* The error type
**/
typedef enum {
+ PK_ERROR_ENUM_UNKNOWN,
PK_ERROR_ENUM_OOM,
PK_ERROR_ENUM_NO_NETWORK,
PK_ERROR_ENUM_NOT_SUPPORTED,
@@ -312,7 +320,7 @@ typedef enum {
PK_ERROR_ENUM_PACKAGE_FAILED_TO_BUILD,
PK_ERROR_ENUM_PACKAGE_FAILED_TO_INSTALL,
PK_ERROR_ENUM_PACKAGE_FAILED_TO_REMOVE,
- PK_ERROR_ENUM_UNKNOWN
+ PK_ERROR_ENUM_LAST
} PkErrorCodeEnum;
/**
@@ -321,6 +329,7 @@ typedef enum {
* The group type
**/
typedef enum {
+ PK_GROUP_ENUM_UNKNOWN,
PK_GROUP_ENUM_ACCESSIBILITY,
PK_GROUP_ENUM_ACCESSORIES,
PK_GROUP_ENUM_ADMIN_TOOLS,
@@ -355,7 +364,7 @@ typedef enum {
PK_GROUP_ENUM_COLLECTIONS,
PK_GROUP_ENUM_VENDOR,
PK_GROUP_ENUM_NEWEST,
- PK_GROUP_ENUM_UNKNOWN
+ PK_GROUP_ENUM_LAST
} PkGroupEnum;
/**
@@ -364,10 +373,11 @@ typedef enum {
* What state the update is in
**/
typedef enum {
+ PK_UPDATE_STATE_ENUM_UNKNOWN,
PK_UPDATE_STATE_ENUM_STABLE,
PK_UPDATE_STATE_ENUM_UNSTABLE,
PK_UPDATE_STATE_ENUM_TESTING,
- PK_UPDATE_STATE_ENUM_UNKNOWN
+ PK_UPDATE_STATE_ENUM_LAST
} PkUpdateStateEnum;
/**
@@ -377,6 +387,7 @@ typedef enum {
* package action, rather than a general state
**/
typedef enum {
+ PK_INFO_ENUM_UNKNOWN,
PK_INFO_ENUM_INSTALLED,
PK_INFO_ENUM_AVAILABLE,
PK_INFO_ENUM_LOW,
@@ -399,7 +410,7 @@ typedef enum {
PK_INFO_ENUM_DOWNGRADING,
PK_INFO_ENUM_PREPARING,
PK_INFO_ENUM_DECOMPRESSING,
- PK_INFO_ENUM_UNKNOWN
+ PK_INFO_ENUM_LAST
} PkInfoEnum;
/**
@@ -408,9 +419,10 @@ typedef enum {
* The distro upgrade status
**/
typedef enum {
+ PK_DISTRO_UPGRADE_ENUM_UNKNOWN,
PK_DISTRO_UPGRADE_ENUM_STABLE,
PK_DISTRO_UPGRADE_ENUM_UNSTABLE,
- PK_DISTRO_UPGRADE_ENUM_UNKNOWN
+ PK_DISTRO_UPGRADE_ENUM_LAST
} PkDistroUpgradeEnum;
/**
@@ -419,8 +431,9 @@ typedef enum {
* The signature type type
**/
typedef enum {
+ PK_SIGTYPE_ENUM_UNKNOWN,
PK_SIGTYPE_ENUM_GPG,
- PK_SIGTYPE_ENUM_UNKNOWN
+ PK_SIGTYPE_ENUM_LAST
} PkSigTypeEnum;
/**
@@ -429,6 +442,7 @@ typedef enum {
* The signature type type
**/
typedef enum {
+ PK_PROVIDES_ENUM_UNKNOWN,
PK_PROVIDES_ENUM_ANY,
PK_PROVIDES_ENUM_MODALIAS,
PK_PROVIDES_ENUM_CODEC,
@@ -436,10 +450,11 @@ typedef enum {
PK_PROVIDES_ENUM_FONT,
PK_PROVIDES_ENUM_HARDWARE_DRIVER,
PK_PROVIDES_ENUM_POSTSCRIPT_DRIVER,
- PK_PROVIDES_ENUM_UNKNOWN
+ PK_PROVIDES_ENUM_LAST
} PkProvidesEnum;
typedef enum {
+ PK_LICENSE_ENUM_UNKNOWN,
PK_LICENSE_ENUM_AAL,
PK_LICENSE_ENUM_ADOBE,
PK_LICENSE_ENUM_ADSL,
@@ -605,7 +620,7 @@ typedef enum {
PK_LICENSE_ENUM_ZPLV1_DOT_0,
PK_LICENSE_ENUM_ZPLV2_DOT_0,
PK_LICENSE_ENUM_ZPLV2_DOT_1,
- PK_LICENSE_ENUM_UNKNOWN
+ PK_LICENSE_ENUM_LAST
} PkLicenseEnum;
/**
@@ -614,10 +629,11 @@ typedef enum {
* The media type
**/
typedef enum {
+ PK_MEDIA_TYPE_ENUM_UNKNOWN,
PK_MEDIA_TYPE_ENUM_CD,
PK_MEDIA_TYPE_ENUM_DVD,
PK_MEDIA_TYPE_ENUM_DISC,
- PK_MEDIA_TYPE_ENUM_UNKNOWN
+ PK_MEDIA_TYPE_ENUM_LAST
} PkMediaTypeEnum;
/**
@@ -626,10 +642,11 @@ typedef enum {
* The authorization result
**/
typedef enum {
+ PK_AUTHORIZE_ENUM_UNKNOWN,
PK_AUTHORIZE_ENUM_YES,
PK_AUTHORIZE_ENUM_NO,
PK_AUTHORIZE_ENUM_INTERACTIVE,
- PK_AUTHORIZE_ENUM_UNKNOWN
+ PK_AUTHORIZE_ENUM_LAST
} PkAuthorizeEnum;
/* general */
commit ad0b8ddcc7df835ee7870938d7510a9c47a06b55
Author: Marcin Banasiak <megabajt at pld-linux.org>
Date: Sat Oct 3 09:25:40 2009 +0200
poldek: Make it work with pk-glib2
diff --git a/backends/poldek/pk-backend-poldek.c b/backends/poldek/pk-backend-poldek.c
index 18467f4..c3c474d 100644
--- a/backends/poldek/pk-backend-poldek.c
+++ b/backends/poldek/pk-backend-poldek.c
@@ -907,18 +907,25 @@ poldek_get_vr_from_package_id_evr (const gchar *evr)
static gchar*
poldek_get_nvra_from_package_id (const gchar* package_id)
{
- PkPackageId *pi;
- gchar *vr, *result;
+ gchar **parts = NULL;
+ gchar *nvra = NULL;
- pi = pk_package_id_new_from_string (package_id);
- vr = poldek_get_vr_from_package_id_evr (pi->version);
+ g_return_val_if_fail (package_id != NULL, NULL);
- result = g_strdup_printf ("%s-%s.%s", pi->name, vr, pi->arch);
+ if ((parts = pk_package_id_split (package_id))) {
+ gchar *vr = NULL;
- g_free (vr);
- pk_package_id_free (pi);
+ vr = poldek_get_vr_from_package_id_evr (parts[PK_PACKAGE_ID_VERSION]);
- return result;
+ nvra = g_strdup_printf ("%s-%s.%s", parts[PK_PACKAGE_ID_NAME],
+ vr,
+ parts[PK_PACKAGE_ID_ARCH]);
+
+ g_free (vr);
+ g_strfreev (parts);
+ }
+
+ return nvra;
}
/**
@@ -1410,28 +1417,32 @@ poldek_backend_package (PkBackend *backend, struct pkg *pkg, PkInfoEnum infoenum
static struct pkg*
poldek_get_pkg_from_package_id (const gchar *package_id)
{
- PkPackageId *pi;
- struct pkg *result = NULL;
- gchar *vr;
- tn_array *packages = NULL;
+ struct pkg *pkg = NULL;
+ gchar **parts = NULL;
- pi = pk_package_id_new_from_string (package_id);
+ g_return_val_if_fail (package_id != NULL, NULL);
- vr = poldek_get_vr_from_package_id_evr (pi->version);
+ if ((parts = pk_package_id_split (package_id))) {
+ tn_array *packages = NULL;
+ gchar *vr = NULL;
- if ((packages = execute_packages_command ("cd /%s; ls -q %s-%s.%s", pi->data, pi->name, vr, pi->arch)) != NULL) {
- if (n_array_size (packages) > 0) {
- /* only one package is needed */
- result = pkg_link (n_array_nth (packages, 0));
- }
- n_array_free (packages);
- }
+ vr = poldek_get_vr_from_package_id_evr (parts[PK_PACKAGE_ID_VERSION]);
- pk_package_id_free (pi);
+ if ((packages = execute_packages_command ("cd /%s; ls -q %s-%s.%s", parts[PK_PACKAGE_ID_DATA],
+ parts[PK_PACKAGE_ID_NAME],
+ vr,
+ parts[PK_PACKAGE_ID_ARCH]))) {
+ if (n_array_size (packages) > 0) {
+ /* only one package is needed */
+ pkg = pkg_link (n_array_nth (packages, 0));
+ }
+ }
- g_free (vr);
+ g_free (vr);
+ g_strfreev (parts);
+ }
- return result;
+ return pkg;
}
/**
@@ -2570,7 +2581,7 @@ get_obsoletedby_pkg (struct pkg *pkg)
static gboolean
backend_get_update_detail_thread (PkBackend *backend)
{
- gchar **package_ids;
+ gchar **package_ids = NULL;
guint n;
package_ids = pk_backend_get_strv (backend, "package_ids");
@@ -2578,19 +2589,20 @@ backend_get_update_detail_thread (PkBackend *backend)
pb_load_packages (backend);
for (n = 0; n < g_strv_length (package_ids); n++) {
- PkPackageId *pi = NULL;
- tn_array *packages = NULL;
+ tn_array *packages = NULL;
+ gchar **parts = NULL;
- pi = pk_package_id_new_from_string (package_ids[n]);
+ if ((parts = pk_package_id_split (package_ids[n])) == NULL)
+ continue;
- if ((packages = execute_packages_command ("cd /installed; ls -q %s", pi->name)) != NULL) {
+ if ((packages = execute_packages_command ("cd /installed; ls -q %s", parts[PK_PACKAGE_ID_NAME])) != NULL) {
struct pkg *pkg = NULL;
struct pkg *upkg = NULL;
/* get one package */
pkg = n_array_nth (packages, 0);
- if (strcmp (pkg->name, pi->name) == 0) {
+ if (strcmp (pkg->name, parts[PK_PACKAGE_ID_NAME]) == 0) {
gchar *updates = NULL;
gchar *obsoletes = NULL;
gchar *cve_url = NULL;
@@ -2658,7 +2670,7 @@ backend_get_update_detail_thread (PkBackend *backend)
"", NULL, PK_UPDATE_STATE_ENUM_UNKNOWN, NULL, NULL);
}
- pk_package_id_free (pi);
+ g_strfreev (parts);
}
pk_backend_finished (backend);
commit da8ec081e566c70029d89ffa6160c0a423fd8b8a
Author: Richard Hughes <richard at hughsie.com>
Date: Sat Oct 3 08:23:28 2009 +0100
We still support glib in this stable series, so backport the new constants from glib2
diff --git a/lib/packagekit-glib/pk-enum.c b/lib/packagekit-glib/pk-enum.c
index 645650e..01a7d6d 100644
--- a/lib/packagekit-glib/pk-enum.c
+++ b/lib/packagekit-glib/pk-enum.c
@@ -90,6 +90,7 @@ static const PkEnumMatch enum_status[] = {
{PK_STATUS_ENUM_SCAN_PROCESS_LIST, "scan-process-list"},
{PK_STATUS_ENUM_CHECK_EXECUTABLE_FILES, "check-executable-files"},
{PK_STATUS_ENUM_CHECK_LIBRARIES, "check-libraries"},
+ {PK_STATUS_ENUM_COPY_FILES, "copy-files"},
{0, NULL}
};
@@ -325,6 +326,8 @@ static const PkEnumMatch enum_info[] = {
{PK_INFO_ENUM_FINISHED, "finished"},
{PK_INFO_ENUM_REINSTALLING, "reinstalling"},
{PK_INFO_ENUM_DOWNGRADING, "downgrading"},
+ {PK_INFO_ENUM_PREPARING, "preparing"},
+ {PK_INFO_ENUM_DECOMPRESSING, "decompressing"},
{0, NULL}
};
@@ -363,133 +366,174 @@ static const PkEnumMatch enum_network[] = {
{0, NULL}
};
+/* DO NOT ADD ENTRIES MANUALLY... Use pk-refresh-licenses in tools */
static const PkEnumMatch enum_free_licenses[] = {
{PK_LICENSE_ENUM_UNKNOWN, "unknown"}, /* fall though value */
- {PK_LICENSE_ENUM_GLIDE, "Glide"},
- {PK_LICENSE_ENUM_AFL, "AFL"},
- {PK_LICENSE_ENUM_AMPAS_BSD, "AMPAS BSD"},
- {PK_LICENSE_ENUM_AMAZON_DSL, "ADSL"},
+ {PK_LICENSE_ENUM_AAL, "AAL"},
{PK_LICENSE_ENUM_ADOBE, "Adobe"},
+ {PK_LICENSE_ENUM_ADSL, "ADSL"},
+ {PK_LICENSE_ENUM_AFL, "AFL"},
{PK_LICENSE_ENUM_AGPLV1, "AGPLv1"},
- {PK_LICENSE_ENUM_AGPLV3, "AGPLv3"},
+ {PK_LICENSE_ENUM_AMPAS_BSD, "AMPAS BSD"},
+ {PK_LICENSE_ENUM_APSL_2_DOT_0, "APSL 2.0"},
+ {PK_LICENSE_ENUM_ARL, "ARL"},
+ {PK_LICENSE_ENUM_ARTISTIC_2_DOT_0, "Artistic 2.0"},
+ {PK_LICENSE_ENUM_ARTISTIC_CLARIFIED, "Artistic clarified"},
{PK_LICENSE_ENUM_ASL_1_DOT_0, "ASL 1.0"},
{PK_LICENSE_ENUM_ASL_1_DOT_1, "ASL 1.1"},
{PK_LICENSE_ENUM_ASL_2_DOT_0, "ASL 2.0"},
- {PK_LICENSE_ENUM_APSL_2_DOT_0, "APSL 2.0"},
- {PK_LICENSE_ENUM_ARTISTIC_CLARIFIED, "Artistic clarified"},
- {PK_LICENSE_ENUM_ARTISTIC_2_DOT_0, "Artistic 2.0"},
- {PK_LICENSE_ENUM_ARL, "ARL"},
{PK_LICENSE_ENUM_BITTORRENT, "BitTorrent"},
{PK_LICENSE_ENUM_BOOST, "Boost"},
- {PK_LICENSE_ENUM_BSD_WITH_ADVERTISING, "BSD with advertising"},
{PK_LICENSE_ENUM_BSD, "BSD"},
- {PK_LICENSE_ENUM_CECILL, "CeCILL"},
+ {PK_LICENSE_ENUM_BSD_WITH_ADVERTISING, "BSD with advertising"},
+ {PK_LICENSE_ENUM_CATOSL, "CATOSL"},
+ {PK_LICENSE_ENUM_CC_BY, "CC-BY"},
+ {PK_LICENSE_ENUM_CC_BY_SA, "CC-BY-SA"},
{PK_LICENSE_ENUM_CDDL, "CDDL"},
- {PK_LICENSE_ENUM_CPL, "CPL"},
+ {PK_LICENSE_ENUM_CDL, "CDL"},
+ {PK_LICENSE_ENUM_CECILL, "CeCILL"},
+ {PK_LICENSE_ENUM_CECILL_B, "CeCILL-B"},
+ {PK_LICENSE_ENUM_CECILL_C, "CeCILL-C"},
+ {PK_LICENSE_ENUM_CNRI, "CNRI"},
{PK_LICENSE_ENUM_CONDOR, "Condor"},
{PK_LICENSE_ENUM_COPYRIGHT_ONLY, "Copyright only"},
- {PK_LICENSE_ENUM_CRYPTIX, "Cryptix"},
+ {PK_LICENSE_ENUM_CPAL, "CPAL"},
+ {PK_LICENSE_ENUM_CPL, "CPL"},
{PK_LICENSE_ENUM_CRYSTAL_STACKER, "Crystal Stacker"},
{PK_LICENSE_ENUM_DOC, "DOC"},
- {PK_LICENSE_ENUM_WTFPL, "WTFPL"},
- {PK_LICENSE_ENUM_EPL, "EPL"},
+ {PK_LICENSE_ENUM_DSL, "DSL"},
+ {PK_LICENSE_ENUM_DVIPDFM, "dvipdfm"},
+ {PK_LICENSE_ENUM_ECL_1_DOT_0, "ECL 1.0"},
+ {PK_LICENSE_ENUM_ECL_2_DOT_0, "ECL 2.0"},
{PK_LICENSE_ENUM_ECOS, "eCos"},
{PK_LICENSE_ENUM_EFL_2_DOT_0, "EFL 2.0"},
+ {PK_LICENSE_ENUM_ENTESSA, "Entessa"},
+ {PK_LICENSE_ENUM_EPL, "EPL"},
+ {PK_LICENSE_ENUM_ERPL, "ERPL"},
+ {PK_LICENSE_ENUM_EUROSYM, "Eurosym"},
{PK_LICENSE_ENUM_EU_DATAGRID, "EU Datagrid"},
- {PK_LICENSE_ENUM_LGPLV2_WITH_EXCEPTIONS,"LGPLv2 with exceptions"},
+ {PK_LICENSE_ENUM_FAIR, "Fair"},
+ {PK_LICENSE_ENUM_FBSDDL, "FBSDDL"},
+ {PK_LICENSE_ENUM_FREE_ART, "Free Art"},
{PK_LICENSE_ENUM_FTL, "FTL"},
+ {PK_LICENSE_ENUM_GEOGRATIS, "GeoGratis"},
+ {PK_LICENSE_ENUM_GFDL, "GFDL"},
{PK_LICENSE_ENUM_GIFTWARE, "Giftware"},
+ {PK_LICENSE_ENUM_GL2PS, "GL2PS"},
+ {PK_LICENSE_ENUM_GLIDE, "Glide"},
+ {PK_LICENSE_ENUM_GNUPLOT, "gnuplot"},
+ {PK_LICENSE_ENUM_GPLV1, "GPLv1"},
{PK_LICENSE_ENUM_GPLV2, "GPLv2"},
- {PK_LICENSE_ENUM_GPLV2_WITH_EXCEPTIONS, "GPLv2 with exceptions"},
+ {PK_LICENSE_ENUM_GPLV2_OR_ARTISTIC, "GPLv2 or Artistic"},
+ {PK_LICENSE_ENUM_GPLV2_PLUS, "GPLv2+"},
+ {PK_LICENSE_ENUM_GPLV2_PLUS_OR_ARTISTIC, "GPLv2+ or Artistic"},
{PK_LICENSE_ENUM_GPLV2_PLUS_WITH_EXCEPTIONS, "GPLv2+ with exceptions"},
+ {PK_LICENSE_ENUM_GPLV2_WITH_EXCEPTIONS, "GPLv2 with exceptions"},
{PK_LICENSE_ENUM_GPLV3, "GPLv3"},
- {PK_LICENSE_ENUM_GPLV3_WITH_EXCEPTIONS, "GPLv3 with exceptions"},
+ {PK_LICENSE_ENUM_GPLV3_PLUS, "GPLv3+"},
{PK_LICENSE_ENUM_GPLV3_PLUS_WITH_EXCEPTIONS, "GPLv3+ with exceptions"},
- {PK_LICENSE_ENUM_LGPLV2, "LGPLv2"},
- {PK_LICENSE_ENUM_LGPLV3, "LGPLv3"},
- {PK_LICENSE_ENUM_GNUPLOT, "gnuplot"},
+ {PK_LICENSE_ENUM_GPLV3_WITH_EXCEPTIONS, "GPLv3 with exceptions"},
+ {PK_LICENSE_ENUM_GPL_PLUS, "GPL+"},
+ {PK_LICENSE_ENUM_GPL_PLUS_OR_ARTISTIC, "GPL+ or Artistic"},
+ {PK_LICENSE_ENUM_GPL_PLUS_WITH_EXCEPTIONS, "GPL+ with exceptions"},
{PK_LICENSE_ENUM_IBM, "IBM"},
- {PK_LICENSE_ENUM_IMATIX, "iMatix"},
+ {PK_LICENSE_ENUM_IEEE, "IEEE"},
+ {PK_LICENSE_ENUM_IJG, "IJG"},
{PK_LICENSE_ENUM_IMAGEMAGICK, "ImageMagick"},
+ {PK_LICENSE_ENUM_IMATIX, "iMatix"},
{PK_LICENSE_ENUM_IMLIB2, "Imlib2"},
- {PK_LICENSE_ENUM_IJG, "IJG"},
{PK_LICENSE_ENUM_INTEL_ACPI, "Intel ACPI"},
{PK_LICENSE_ENUM_INTERBASE, "Interbase"},
{PK_LICENSE_ENUM_ISC, "ISC"},
{PK_LICENSE_ENUM_JABBER, "Jabber"},
{PK_LICENSE_ENUM_JASPER, "JasPer"},
- {PK_LICENSE_ENUM_LPPL, "LPPL"},
+ {PK_LICENSE_ENUM_JPYTHON, "JPython"},
+ {PK_LICENSE_ENUM_KNUTH, "Knuth"},
+ {PK_LICENSE_ENUM_LBNL_BSD, "LBNL BSD"},
+ {PK_LICENSE_ENUM_LGPLV2, "LGPLv2"},
+ {PK_LICENSE_ENUM_LGPLV2_PLUS, "LGPLv2+"},
+ {PK_LICENSE_ENUM_LGPLV2_PLUS_OR_ARTISTIC, "LGPLv2+ or Artistic"},
+ {PK_LICENSE_ENUM_LGPLV2_PLUS_WITH_EXCEPTIONS, "LGPLv2+ with exceptions"},
+ {PK_LICENSE_ENUM_LGPLV2_WITH_EXCEPTIONS, "LGPLv2 with exceptions"},
+ {PK_LICENSE_ENUM_LGPLV3, "LGPLv3"},
+ {PK_LICENSE_ENUM_LGPLV3_PLUS, "LGPLv3+"},
+ {PK_LICENSE_ENUM_LGPLV3_PLUS_WITH_EXCEPTIONS, "LGPLv3+ with exceptions"},
+ {PK_LICENSE_ENUM_LGPLV3_WITH_EXCEPTIONS, "LGPLv3 with exceptions"},
{PK_LICENSE_ENUM_LIBTIFF, "libtiff"},
+ {PK_LICENSE_ENUM_LLGPL, "LLGPL"},
+ {PK_LICENSE_ENUM_LOGICA, "Logica"},
{PK_LICENSE_ENUM_LPL, "LPL"},
+ {PK_LICENSE_ENUM_LPPL, "LPPL"},
{PK_LICENSE_ENUM_MECAB_IPADIC, "mecab-ipadic"},
+ {PK_LICENSE_ENUM_MIROS, "MirOS"},
{PK_LICENSE_ENUM_MIT, "MIT"},
{PK_LICENSE_ENUM_MIT_WITH_ADVERTISING, "MIT with advertising"},
+ {PK_LICENSE_ENUM_MOTOSOTO, "Motosoto"},
{PK_LICENSE_ENUM_MPLV1_DOT_0, "MPLv1.0"},
{PK_LICENSE_ENUM_MPLV1_DOT_1, "MPLv1.1"},
+ {PK_LICENSE_ENUM_MS_PL, "MS-PL"},
+ {PK_LICENSE_ENUM_NAUMEN, "Naumen"},
{PK_LICENSE_ENUM_NCSA, "NCSA"},
- {PK_LICENSE_ENUM_NGPL, "NGPL"},
- {PK_LICENSE_ENUM_NOSL, "NOSL"},
{PK_LICENSE_ENUM_NETCDF, "NetCDF"},
{PK_LICENSE_ENUM_NETSCAPE, "Netscape"},
+ {PK_LICENSE_ENUM_NEWMAT, "Newmat"},
+ {PK_LICENSE_ENUM_NGPL, "NGPL"},
{PK_LICENSE_ENUM_NOKIA, "Nokia"},
+ {PK_LICENSE_ENUM_NOSL, "NOSL"},
+ {PK_LICENSE_ENUM_NOWEB, "Noweb"},
+ {PK_LICENSE_ENUM_OAL, "OAL"},
+ {PK_LICENSE_ENUM_OFSFDL, "OFSFDL"},
{PK_LICENSE_ENUM_OPENLDAP, "OpenLDAP"},
{PK_LICENSE_ENUM_OPENPBS, "OpenPBS"},
+ {PK_LICENSE_ENUM_OPENSSL, "OpenSSL"},
+ {PK_LICENSE_ENUM_OREILLY, "OReilly"},
{PK_LICENSE_ENUM_OSL_1_DOT_0, "OSL 1.0"},
{PK_LICENSE_ENUM_OSL_1_DOT_1, "OSL 1.1"},
{PK_LICENSE_ENUM_OSL_2_DOT_0, "OSL 2.0"},
+ {PK_LICENSE_ENUM_OSL_2_DOT_1, "OSL 2.1"},
{PK_LICENSE_ENUM_OSL_3_DOT_0, "OSL 3.0"},
- {PK_LICENSE_ENUM_OPENSSL, "OpenSSL"},
- {PK_LICENSE_ENUM_OREILLY, "OReilly"},
{PK_LICENSE_ENUM_PHORUM, "Phorum"},
{PK_LICENSE_ENUM_PHP, "PHP"},
+ {PK_LICENSE_ENUM_PLEXUS, "Plexus"},
+ {PK_LICENSE_ENUM_PSUTILS, "psutils"},
{PK_LICENSE_ENUM_PUBLIC_DOMAIN, "Public Domain"},
+ {PK_LICENSE_ENUM_PUBLIC_USE, "Public Use"},
{PK_LICENSE_ENUM_PYTHON, "Python"},
+ {PK_LICENSE_ENUM_QHULL, "Qhull"},
{PK_LICENSE_ENUM_QPL, "QPL"},
+ {PK_LICENSE_ENUM_RICEBSD, "RiceBSD"},
{PK_LICENSE_ENUM_RPSL, "RPSL"},
{PK_LICENSE_ENUM_RUBY, "Ruby"},
+ {PK_LICENSE_ENUM_SAXPATH, "Saxpath"},
+ {PK_LICENSE_ENUM_SCEA, "SCEA"},
+ {PK_LICENSE_ENUM_SCRIP, "SCRIP"},
{PK_LICENSE_ENUM_SENDMAIL, "Sendmail"},
+ {PK_LICENSE_ENUM_SISSL, "SISSL"},
{PK_LICENSE_ENUM_SLEEPYCAT, "Sleepycat"},
{PK_LICENSE_ENUM_SLIB, "SLIB"},
- {PK_LICENSE_ENUM_SISSL, "SISSL"},
+ {PK_LICENSE_ENUM_SNIA, "SNIA"},
{PK_LICENSE_ENUM_SPL, "SPL"},
{PK_LICENSE_ENUM_TCL, "TCL"},
+ {PK_LICENSE_ENUM_TMATE, "TMate"},
+ {PK_LICENSE_ENUM_TPL, "TPL"},
{PK_LICENSE_ENUM_UCD, "UCD"},
{PK_LICENSE_ENUM_VIM, "Vim"},
{PK_LICENSE_ENUM_VNLSL, "VNLSL"},
+ {PK_LICENSE_ENUM_VOSTROM, "VOSTROM"},
{PK_LICENSE_ENUM_VSL, "VSL"},
{PK_LICENSE_ENUM_W3C, "W3C"},
+ {PK_LICENSE_ENUM_WEBMIN, "Webmin"},
+ {PK_LICENSE_ENUM_WTFPL, "WTFPL"},
{PK_LICENSE_ENUM_WXWIDGETS, "wxWidgets"},
+ {PK_LICENSE_ENUM_XEROX, "Xerox"},
{PK_LICENSE_ENUM_XINETD, "xinetd"},
+ {PK_LICENSE_ENUM_YPLV1_DOT_1, "YPLv1.1"},
{PK_LICENSE_ENUM_ZEND, "Zend"},
+ {PK_LICENSE_ENUM_ZLIB, "zlib"},
+ {PK_LICENSE_ENUM_ZLIB_WITH_ACKNOWLEDGEMENT, "zlib with acknowledgement"},
{PK_LICENSE_ENUM_ZPLV1_DOT_0, "ZPLv1.0"},
{PK_LICENSE_ENUM_ZPLV2_DOT_0, "ZPLv2.0"},
{PK_LICENSE_ENUM_ZPLV2_DOT_1, "ZPLv2.1"},
- {PK_LICENSE_ENUM_ZLIB, "zlib"},
- {PK_LICENSE_ENUM_ZLIB_WITH_ACK, "zlib with acknowledgement"},
- {PK_LICENSE_ENUM_CDL, "CDL"},
- {PK_LICENSE_ENUM_FBSDDL, "FBSDDL"},
- {PK_LICENSE_ENUM_GFDL, "GFDL"},
- {PK_LICENSE_ENUM_IEEE, "IEEE"},
- {PK_LICENSE_ENUM_OFSFDL, "OFSFDL"},
- {PK_LICENSE_ENUM_OPEN_PUBLICATION, "Open Publication"},
- {PK_LICENSE_ENUM_CC_BY, "CC-BY"},
- {PK_LICENSE_ENUM_CC_BY_SA, "CC-BY-SA"},
- {PK_LICENSE_ENUM_CC_BY_ND, "CC-BY-ND"},
- {PK_LICENSE_ENUM_DSL, "DSL"},
- {PK_LICENSE_ENUM_FREE_ART, "Free Art"},
- {PK_LICENSE_ENUM_OFL, "OFL"},
- {PK_LICENSE_ENUM_UTOPIA, "Utopia"},
- {PK_LICENSE_ENUM_ARPHIC, "Arphic"},
- {PK_LICENSE_ENUM_BAEKMUK, "Baekmuk"},
- {PK_LICENSE_ENUM_BITSTREAM_VERA, "Bitstream Vera"},
- {PK_LICENSE_ENUM_LUCIDA, "Lucida"},
- {PK_LICENSE_ENUM_MPLUS, "mplus"},
- {PK_LICENSE_ENUM_STIX, "STIX"},
- {PK_LICENSE_ENUM_XANO, "XANO"},
- {PK_LICENSE_ENUM_VOSTROM, "VOSTROM"},
- {PK_LICENSE_ENUM_XEROX, "Xerox License"},
- {PK_LICENSE_ENUM_RICEBSD, "RiceBSD"},
- {PK_LICENSE_ENUM_QHULL, "Qhull"},
{0, NULL}
};
diff --git a/lib/packagekit-glib/pk-enum.h b/lib/packagekit-glib/pk-enum.h
index 04bcc60..d3e3a3b 100644
--- a/lib/packagekit-glib/pk-enum.h
+++ b/lib/packagekit-glib/pk-enum.h
@@ -143,6 +143,7 @@ typedef enum {
PK_STATUS_ENUM_SCAN_PROCESS_LIST,
PK_STATUS_ENUM_CHECK_EXECUTABLE_FILES,
PK_STATUS_ENUM_CHECK_LIBRARIES,
+ PK_STATUS_ENUM_COPY_FILES,
PK_STATUS_ENUM_UNKNOWN
} PkStatusEnum;
@@ -397,6 +398,8 @@ typedef enum {
PK_INFO_ENUM_FINISHED,
PK_INFO_ENUM_REINSTALLING,
PK_INFO_ENUM_DOWNGRADING,
+ PK_INFO_ENUM_PREPARING,
+ PK_INFO_ENUM_DECOMPRESSING,
PK_INFO_ENUM_UNKNOWN
} PkInfoEnum;
@@ -438,131 +441,171 @@ typedef enum {
} PkProvidesEnum;
typedef enum {
- PK_LICENSE_ENUM_GLIDE,
- PK_LICENSE_ENUM_AFL,
- PK_LICENSE_ENUM_AMPAS_BSD,
- PK_LICENSE_ENUM_AMAZON_DSL,
+ PK_LICENSE_ENUM_AAL,
PK_LICENSE_ENUM_ADOBE,
+ PK_LICENSE_ENUM_ADSL,
+ PK_LICENSE_ENUM_AFL,
PK_LICENSE_ENUM_AGPLV1,
- PK_LICENSE_ENUM_AGPLV3,
+ PK_LICENSE_ENUM_AMPAS_BSD,
+ PK_LICENSE_ENUM_APSL_2_DOT_0,
+ PK_LICENSE_ENUM_ARL,
+ PK_LICENSE_ENUM_ARTISTIC_2_DOT_0,
+ PK_LICENSE_ENUM_ARTISTIC_CLARIFIED,
PK_LICENSE_ENUM_ASL_1_DOT_0,
PK_LICENSE_ENUM_ASL_1_DOT_1,
PK_LICENSE_ENUM_ASL_2_DOT_0,
- PK_LICENSE_ENUM_APSL_2_DOT_0,
- PK_LICENSE_ENUM_ARTISTIC_CLARIFIED,
- PK_LICENSE_ENUM_ARTISTIC_2_DOT_0,
- PK_LICENSE_ENUM_ARL,
PK_LICENSE_ENUM_BITTORRENT,
PK_LICENSE_ENUM_BOOST,
- PK_LICENSE_ENUM_BSD_WITH_ADVERTISING,
PK_LICENSE_ENUM_BSD,
- PK_LICENSE_ENUM_CECILL,
+ PK_LICENSE_ENUM_BSD_WITH_ADVERTISING,
+ PK_LICENSE_ENUM_CATOSL,
+ PK_LICENSE_ENUM_CC_BY,
+ PK_LICENSE_ENUM_CC_BY_SA,
PK_LICENSE_ENUM_CDDL,
- PK_LICENSE_ENUM_CPL,
+ PK_LICENSE_ENUM_CDL,
+ PK_LICENSE_ENUM_CECILL,
+ PK_LICENSE_ENUM_CECILL_B,
+ PK_LICENSE_ENUM_CECILL_C,
+ PK_LICENSE_ENUM_CNRI,
PK_LICENSE_ENUM_CONDOR,
PK_LICENSE_ENUM_COPYRIGHT_ONLY,
- PK_LICENSE_ENUM_CRYPTIX,
+ PK_LICENSE_ENUM_CPAL,
+ PK_LICENSE_ENUM_CPL,
PK_LICENSE_ENUM_CRYSTAL_STACKER,
PK_LICENSE_ENUM_DOC,
- PK_LICENSE_ENUM_WTFPL,
- PK_LICENSE_ENUM_EPL,
+ PK_LICENSE_ENUM_DSL,
+ PK_LICENSE_ENUM_DVIPDFM,
+ PK_LICENSE_ENUM_ECL_1_DOT_0,
+ PK_LICENSE_ENUM_ECL_2_DOT_0,
PK_LICENSE_ENUM_ECOS,
PK_LICENSE_ENUM_EFL_2_DOT_0,
+ PK_LICENSE_ENUM_ENTESSA,
+ PK_LICENSE_ENUM_EPL,
+ PK_LICENSE_ENUM_ERPL,
+ PK_LICENSE_ENUM_EUROSYM,
PK_LICENSE_ENUM_EU_DATAGRID,
- PK_LICENSE_ENUM_LGPLV2_WITH_EXCEPTIONS,
+ PK_LICENSE_ENUM_FAIR,
+ PK_LICENSE_ENUM_FBSDDL,
+ PK_LICENSE_ENUM_FREE_ART,
PK_LICENSE_ENUM_FTL,
+ PK_LICENSE_ENUM_GEOGRATIS,
+ PK_LICENSE_ENUM_GFDL,
PK_LICENSE_ENUM_GIFTWARE,
+ PK_LICENSE_ENUM_GL2PS,
+ PK_LICENSE_ENUM_GLIDE,
+ PK_LICENSE_ENUM_GNUPLOT,
+ PK_LICENSE_ENUM_GPLV1,
PK_LICENSE_ENUM_GPLV2,
- PK_LICENSE_ENUM_GPLV2_WITH_EXCEPTIONS,
+ PK_LICENSE_ENUM_GPLV2_OR_ARTISTIC,
+ PK_LICENSE_ENUM_GPLV2_PLUS,
+ PK_LICENSE_ENUM_GPLV2_PLUS_OR_ARTISTIC,
PK_LICENSE_ENUM_GPLV2_PLUS_WITH_EXCEPTIONS,
+ PK_LICENSE_ENUM_GPLV2_WITH_EXCEPTIONS,
PK_LICENSE_ENUM_GPLV3,
- PK_LICENSE_ENUM_GPLV3_WITH_EXCEPTIONS,
+ PK_LICENSE_ENUM_GPLV3_PLUS,
PK_LICENSE_ENUM_GPLV3_PLUS_WITH_EXCEPTIONS,
- PK_LICENSE_ENUM_LGPLV2,
- PK_LICENSE_ENUM_LGPLV3,
- PK_LICENSE_ENUM_GNUPLOT,
+ PK_LICENSE_ENUM_GPLV3_WITH_EXCEPTIONS,
+ PK_LICENSE_ENUM_GPL_PLUS,
+ PK_LICENSE_ENUM_GPL_PLUS_OR_ARTISTIC,
+ PK_LICENSE_ENUM_GPL_PLUS_WITH_EXCEPTIONS,
PK_LICENSE_ENUM_IBM,
- PK_LICENSE_ENUM_IMATIX,
+ PK_LICENSE_ENUM_IEEE,
+ PK_LICENSE_ENUM_IJG,
PK_LICENSE_ENUM_IMAGEMAGICK,
+ PK_LICENSE_ENUM_IMATIX,
PK_LICENSE_ENUM_IMLIB2,
- PK_LICENSE_ENUM_IJG,
PK_LICENSE_ENUM_INTEL_ACPI,
PK_LICENSE_ENUM_INTERBASE,
PK_LICENSE_ENUM_ISC,
PK_LICENSE_ENUM_JABBER,
PK_LICENSE_ENUM_JASPER,
- PK_LICENSE_ENUM_LPPL,
+ PK_LICENSE_ENUM_JPYTHON,
+ PK_LICENSE_ENUM_KNUTH,
+ PK_LICENSE_ENUM_LBNL_BSD,
+ PK_LICENSE_ENUM_LGPLV2,
+ PK_LICENSE_ENUM_LGPLV2_PLUS,
+ PK_LICENSE_ENUM_LGPLV2_PLUS_OR_ARTISTIC,
+ PK_LICENSE_ENUM_LGPLV2_PLUS_WITH_EXCEPTIONS,
+ PK_LICENSE_ENUM_LGPLV2_WITH_EXCEPTIONS,
+ PK_LICENSE_ENUM_LGPLV3,
+ PK_LICENSE_ENUM_LGPLV3_PLUS,
+ PK_LICENSE_ENUM_LGPLV3_PLUS_WITH_EXCEPTIONS,
+ PK_LICENSE_ENUM_LGPLV3_WITH_EXCEPTIONS,
PK_LICENSE_ENUM_LIBTIFF,
+ PK_LICENSE_ENUM_LLGPL,
+ PK_LICENSE_ENUM_LOGICA,
PK_LICENSE_ENUM_LPL,
+ PK_LICENSE_ENUM_LPPL,
PK_LICENSE_ENUM_MECAB_IPADIC,
+ PK_LICENSE_ENUM_MIROS,
PK_LICENSE_ENUM_MIT,
PK_LICENSE_ENUM_MIT_WITH_ADVERTISING,
+ PK_LICENSE_ENUM_MOTOSOTO,
PK_LICENSE_ENUM_MPLV1_DOT_0,
PK_LICENSE_ENUM_MPLV1_DOT_1,
+ PK_LICENSE_ENUM_MS_PL,
+ PK_LICENSE_ENUM_NAUMEN,
PK_LICENSE_ENUM_NCSA,
- PK_LICENSE_ENUM_NGPL,
- PK_LICENSE_ENUM_NOSL,
PK_LICENSE_ENUM_NETCDF,
PK_LICENSE_ENUM_NETSCAPE,
+ PK_LICENSE_ENUM_NEWMAT,
+ PK_LICENSE_ENUM_NGPL,
PK_LICENSE_ENUM_NOKIA,
+ PK_LICENSE_ENUM_NOSL,
+ PK_LICENSE_ENUM_NOWEB,
+ PK_LICENSE_ENUM_OAL,
+ PK_LICENSE_ENUM_OFSFDL,
PK_LICENSE_ENUM_OPENLDAP,
PK_LICENSE_ENUM_OPENPBS,
+ PK_LICENSE_ENUM_OPENSSL,
+ PK_LICENSE_ENUM_OREILLY,
PK_LICENSE_ENUM_OSL_1_DOT_0,
PK_LICENSE_ENUM_OSL_1_DOT_1,
PK_LICENSE_ENUM_OSL_2_DOT_0,
+ PK_LICENSE_ENUM_OSL_2_DOT_1,
PK_LICENSE_ENUM_OSL_3_DOT_0,
- PK_LICENSE_ENUM_OPENSSL,
- PK_LICENSE_ENUM_OREILLY,
PK_LICENSE_ENUM_PHORUM,
PK_LICENSE_ENUM_PHP,
+ PK_LICENSE_ENUM_PLEXUS,
+ PK_LICENSE_ENUM_PSUTILS,
PK_LICENSE_ENUM_PUBLIC_DOMAIN,
+ PK_LICENSE_ENUM_PUBLIC_USE,
PK_LICENSE_ENUM_PYTHON,
+ PK_LICENSE_ENUM_QHULL,
PK_LICENSE_ENUM_QPL,
+ PK_LICENSE_ENUM_RICEBSD,
PK_LICENSE_ENUM_RPSL,
PK_LICENSE_ENUM_RUBY,
+ PK_LICENSE_ENUM_SAXPATH,
+ PK_LICENSE_ENUM_SCEA,
+ PK_LICENSE_ENUM_SCRIP,
PK_LICENSE_ENUM_SENDMAIL,
+ PK_LICENSE_ENUM_SISSL,
PK_LICENSE_ENUM_SLEEPYCAT,
PK_LICENSE_ENUM_SLIB,
- PK_LICENSE_ENUM_SISSL,
+ PK_LICENSE_ENUM_SNIA,
PK_LICENSE_ENUM_SPL,
PK_LICENSE_ENUM_TCL,
+ PK_LICENSE_ENUM_TMATE,
+ PK_LICENSE_ENUM_TPL,
PK_LICENSE_ENUM_UCD,
PK_LICENSE_ENUM_VIM,
PK_LICENSE_ENUM_VNLSL,
+ PK_LICENSE_ENUM_VOSTROM,
PK_LICENSE_ENUM_VSL,
PK_LICENSE_ENUM_W3C,
+ PK_LICENSE_ENUM_WEBMIN,
+ PK_LICENSE_ENUM_WTFPL,
PK_LICENSE_ENUM_WXWIDGETS,
+ PK_LICENSE_ENUM_XEROX,
PK_LICENSE_ENUM_XINETD,
+ PK_LICENSE_ENUM_YPLV1_DOT_1,
PK_LICENSE_ENUM_ZEND,
+ PK_LICENSE_ENUM_ZLIB,
+ PK_LICENSE_ENUM_ZLIB_WITH_ACKNOWLEDGEMENT,
PK_LICENSE_ENUM_ZPLV1_DOT_0,
PK_LICENSE_ENUM_ZPLV2_DOT_0,
PK_LICENSE_ENUM_ZPLV2_DOT_1,
- PK_LICENSE_ENUM_ZLIB,
- PK_LICENSE_ENUM_ZLIB_WITH_ACK,
- PK_LICENSE_ENUM_CDL,
- PK_LICENSE_ENUM_FBSDDL,
- PK_LICENSE_ENUM_GFDL,
- PK_LICENSE_ENUM_IEEE,
- PK_LICENSE_ENUM_OFSFDL,
- PK_LICENSE_ENUM_OPEN_PUBLICATION,
- PK_LICENSE_ENUM_CC_BY,
- PK_LICENSE_ENUM_CC_BY_SA,
- PK_LICENSE_ENUM_CC_BY_ND,
- PK_LICENSE_ENUM_DSL,
- PK_LICENSE_ENUM_FREE_ART,
- PK_LICENSE_ENUM_OFL,
- PK_LICENSE_ENUM_UTOPIA,
- PK_LICENSE_ENUM_ARPHIC,
- PK_LICENSE_ENUM_BAEKMUK,
- PK_LICENSE_ENUM_BITSTREAM_VERA,
- PK_LICENSE_ENUM_LUCIDA,
- PK_LICENSE_ENUM_MPLUS,
- PK_LICENSE_ENUM_STIX,
- PK_LICENSE_ENUM_XANO,
- PK_LICENSE_ENUM_VOSTROM,
- PK_LICENSE_ENUM_XEROX,
- PK_LICENSE_ENUM_RICEBSD,
- PK_LICENSE_ENUM_QHULL,
PK_LICENSE_ENUM_UNKNOWN
} PkLicenseEnum;
commit 6cc79c11eaa08e0b2828e4f4f0e6bcdfa0e33798
Author: raven <raven at fedoraproject.org>
Date: Sat Oct 3 00:04:52 2009 +0000
Sending translation for Polish
diff --git a/po/pl.po b/po/pl.po
index 04956dc..9023157 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -5,8 +5,8 @@ msgid ""
msgstr ""
"Project-Id-Version: pl\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-01 18:40+0000\n"
-"PO-Revision-Date: 2009-10-01 20:45+0200\n"
+"POT-Creation-Date: 2009-10-03 00:03+0000\n"
+"PO-Revision-Date: 2009-10-03 02:04+0200\n"
"Last-Translator: Piotr DrÄ
g <piotrdrag at gmail.com>\n"
"Language-Team: Polish <fedora-trans-pl at redhat.com>\n"
"MIME-Version: 1.0\n"
@@ -261,7 +261,7 @@ msgstr "Krytyczny bÅÄ
d"
#. TRANSLATORS: the transaction failed in a way we could not expect
#: ../client/pk-console.c:484
#: ../contrib/command-not-found/pk-command-not-found.c:426
-#: ../contrib/command-not-found/pk-command-not-found.c:567
+#: ../contrib/command-not-found/pk-command-not-found.c:593
msgid "The transaction failed"
msgstr "Transakcja nie powiodÅa siÄ"
@@ -347,7 +347,7 @@ msgstr ""
#. TRANSLATORS: if we should show debugging data
#: ../client/pk-console.c:989 ../client/pk-generate-pack.c:223
#: ../client/pk-monitor.c:281
-#: ../contrib/command-not-found/pk-command-not-found.c:620
+#: ../contrib/command-not-found/pk-command-not-found.c:646
#: ../contrib/debuginfo-install/pk-debuginfo-install.c:512
#: ../contrib/device-rebind/pk-device-rebind.c:293 ../src/pk-main.c:211
msgid "Show extra debugging information"
@@ -695,67 +695,72 @@ msgstr "Wczytywanie listy pakietów."
msgid "Failed to search for file"
msgstr "Odnalezienie pliku nie powiodÅo siÄ"
+#. TRANSLATORS: we failed to launch the executable, the error follows
+#: ../contrib/command-not-found/pk-command-not-found.c:556
+msgid "Failed to launch:"
+msgstr "Uruchomienie nie powiodÅo siÄ:"
+
#. TRANSLATORS: we failed to install the package
-#: ../contrib/command-not-found/pk-command-not-found.c:558
+#: ../contrib/command-not-found/pk-command-not-found.c:584
msgid "Failed to install packages"
msgstr "Zainstalowanie pakietów nie powiodÅo siÄ"
#. TRANSLATORS: tool that gets called when the command is not found
-#: ../contrib/command-not-found/pk-command-not-found.c:636
+#: ../contrib/command-not-found/pk-command-not-found.c:662
msgid "PackageKit Command Not Found"
msgstr "Nie odnaleziono polecenia PackageKit"
#. TRANSLATORS: the prefix of all the output telling the user why it's not executing
-#: ../contrib/command-not-found/pk-command-not-found.c:664
+#: ../contrib/command-not-found/pk-command-not-found.c:690
msgid "Command not found."
msgstr "Nie odnaleziono polecenia."
#. TRANSLATORS: tell the user what we think the command is
-#: ../contrib/command-not-found/pk-command-not-found.c:671
+#: ../contrib/command-not-found/pk-command-not-found.c:697
msgid "Similar command is:"
msgstr "Podobne polecenie:"
#. TRANSLATORS: Ask the user if we should run the similar command
-#: ../contrib/command-not-found/pk-command-not-found.c:680
+#: ../contrib/command-not-found/pk-command-not-found.c:706
msgid "Run similar command:"
msgstr "Wykonaj podobne polecenie:"
#. TRANSLATORS: show the user a list of commands that they could have meant
#. TRANSLATORS: show the user a list of commands we could run
-#: ../contrib/command-not-found/pk-command-not-found.c:692
-#: ../contrib/command-not-found/pk-command-not-found.c:701
+#: ../contrib/command-not-found/pk-command-not-found.c:718
+#: ../contrib/command-not-found/pk-command-not-found.c:727
msgid "Similar commands are:"
msgstr "Podobne polecenia:"
#. TRANSLATORS: ask the user to choose a file to run
-#: ../contrib/command-not-found/pk-command-not-found.c:708
+#: ../contrib/command-not-found/pk-command-not-found.c:734
msgid "Please choose a command to run"
msgstr "ProszÄ wybraÄ polecenie do wykonania"
#. TRANSLATORS: tell the user what package provides the command
-#: ../contrib/command-not-found/pk-command-not-found.c:724
+#: ../contrib/command-not-found/pk-command-not-found.c:750
msgid "The package providing this file is:"
msgstr "Pakiet dostarczajÄ
cy ten plik:"
#. TRANSLATORS: as the user if we want to install a package to provide the command
-#: ../contrib/command-not-found/pk-command-not-found.c:729
+#: ../contrib/command-not-found/pk-command-not-found.c:755
#, c-format
msgid "Install package '%s' to provide command '%s'?"
msgstr "ZainstalowaÄ pakiet \"%s\", aby dostarczyÄ polecenie \"%s\"?"
#. TRANSLATORS: Show the user a list of packages that provide this command
-#: ../contrib/command-not-found/pk-command-not-found.c:747
+#: ../contrib/command-not-found/pk-command-not-found.c:775
msgid "Packages providing this file are:"
msgstr "Pakiety dostarczajÄ
ce ten plik:"
#. TRANSLATORS: Show the user a list of packages that they can install to provide this command
-#: ../contrib/command-not-found/pk-command-not-found.c:757
+#: ../contrib/command-not-found/pk-command-not-found.c:785
msgid "Suitable packages are:"
msgstr "Odpowiednie pakiety:"
#. get selection
#. TRANSLATORS: ask the user to choose a file to install
-#: ../contrib/command-not-found/pk-command-not-found.c:766
+#: ../contrib/command-not-found/pk-command-not-found.c:794
msgid "Please choose a package to install"
msgstr "ProszÄ wybraÄ pakiet do zainstalowania"
commit e243790b80ec59255dfd11509d13bab4b7cf6fae
Author: Daniel Nicoletti <dantti85-pk at yahoo.com.br>
Date: Fri Oct 2 13:53:29 2009 -0300
Added new package status Decompressing and Preparing
diff --git a/lib/packagekit-glib2/pk-enum.c b/lib/packagekit-glib2/pk-enum.c
index 1ddb487..85922e6 100644
--- a/lib/packagekit-glib2/pk-enum.c
+++ b/lib/packagekit-glib2/pk-enum.c
@@ -323,6 +323,8 @@ static const PkEnumMatch enum_info[] = {
{PK_INFO_ENUM_FINISHED, "finished"},
{PK_INFO_ENUM_REINSTALLING, "reinstalling"},
{PK_INFO_ENUM_DOWNGRADING, "downgrading"},
+ {PK_INFO_ENUM_PREPARING, "preparing"},
+ {PK_INFO_ENUM_DECOMPRESSING, "decompressing"},
{0, NULL}
};
diff --git a/lib/packagekit-glib2/pk-enum.h b/lib/packagekit-glib2/pk-enum.h
index 2799bdf..6c99e05 100644
--- a/lib/packagekit-glib2/pk-enum.h
+++ b/lib/packagekit-glib2/pk-enum.h
@@ -397,6 +397,8 @@ typedef enum {
PK_INFO_ENUM_FINISHED,
PK_INFO_ENUM_REINSTALLING,
PK_INFO_ENUM_DOWNGRADING,
+ PK_INFO_ENUM_PREPARING,
+ PK_INFO_ENUM_DECOMPRESSING,
PK_INFO_ENUM_UNKNOWN
} PkInfoEnum;
diff --git a/lib/packagekit-qt/src/package.h b/lib/packagekit-qt/src/package.h
index 968d818..339e93f 100644
--- a/lib/packagekit-qt/src/package.h
+++ b/lib/packagekit-qt/src/package.h
@@ -104,6 +104,8 @@ public:
StateFinished,
StateReinstalling,
StateDowngrading,
+ StatePreparing,
+ StateDecompressing,
UnknownState
} State;
/**
More information about the PackageKit-commit
mailing list