[PackageKit-commit] packagekit: Branch 'master' - 5 commits

Richard Hughes hughsient at kemper.freedesktop.org
Tue Feb 10 01:38:32 PST 2009


 backends/yum/yumBackend.py                             |    4 ++++
 configure.ac                                           |    1 +
 data/org.freedesktop.PackageKit.conf.in                |    9 ++++++++-
 docs/html/img/thumbnails/.gitignore                    |    1 -
 docs/html/img/thumbnails/assassin.png                  |binary
 docs/html/img/thumbnails/gpk-added-deps.png            |binary
 docs/html/img/thumbnails/gpk-application-groups.png    |binary
 docs/html/img/thumbnails/gpk-application-search.png    |binary
 docs/html/img/thumbnails/gpk-auto-update.png           |binary
 docs/html/img/thumbnails/gpk-backend-status.png        |binary
 docs/html/img/thumbnails/gpk-battery-1.png             |binary
 docs/html/img/thumbnails/gpk-battery.png               |binary
 docs/html/img/thumbnails/gpk-client-codecs.png         |binary
 docs/html/img/thumbnails/gpk-client-firmware.png       |binary
 docs/html/img/thumbnails/gpk-client-font.png           |binary
 docs/html/img/thumbnails/gpk-client-mime-type.png      |binary
 docs/html/img/thumbnails/gpk-distro-upgrade-notify.png |binary
 docs/html/img/thumbnails/gpk-eula.png                  |binary
 docs/html/img/thumbnails/gpk-inhibit.png               |binary
 docs/html/img/thumbnails/gpk-log.png                   |binary
 docs/html/img/thumbnails/gpk-markdown.png              |binary
 docs/html/img/thumbnails/gpk-network.png               |binary
 docs/html/img/thumbnails/gpk-prefs.png                 |binary
 docs/html/img/thumbnails/gpk-progress.png              |binary
 docs/html/img/thumbnails/gpk-remove-confirm.png        |binary
 docs/html/img/thumbnails/gpk-repo-auth.png             |binary
 docs/html/img/thumbnails/gpk-repo-more.png             |binary
 docs/html/img/thumbnails/gpk-repo.png                  |binary
 docs/html/img/thumbnails/gpk-require-restart.png       |binary
 docs/html/img/thumbnails/gpk-run-application.png       |binary
 docs/html/img/thumbnails/gpk-service-pack.png          |binary
 docs/html/img/thumbnails/gpk-signature.png             |binary
 docs/html/img/thumbnails/gpk-updates-overview.png      |binary
 docs/html/img/thumbnails/gpk-updates-warning.png       |binary
 docs/html/img/thumbnails/gpk-updates.png               |binary
 docs/html/img/thumbnails/gpk-waiting.png               |binary
 docs/html/img/thumbnails/kpk-confirm.png               |binary
 docs/html/img/thumbnails/kpk-information.png           |binary
 docs/html/img/thumbnails/kpk-notify.png                |binary
 docs/html/img/thumbnails/kpk-progress.png              |binary
 docs/html/img/thumbnails/kpk-search.png                |binary
 docs/html/img/thumbnails/kpk-settings.png              |binary
 docs/html/img/thumbnails/kpk-update.png                |binary
 docs/html/img/thumbnails/pk-command-not-found.png      |binary
 docs/html/img/thumbnails/pk-markdown.png               |binary
 docs/html/img/thumbnails/pk-opensuse-updater.png       |binary
 docs/html/img/thumbnails/pk-self-check.png             |binary
 docs/html/img/thumbnails/pk-update-bugfix.png          |binary
 docs/html/img/thumbnails/pk-update-enhancement.png     |binary
 docs/html/img/thumbnails/pk-update-high.png            |binary
 docs/html/img/thumbnails/pk-update-low.png             |binary
 docs/html/img/thumbnails/pk-update-normal.png          |binary
 docs/html/img/thumbnails/pk-update-security.png        |binary
 docs/html/img/thumbnails/pk-web-plugin.png             |binary
 54 files changed, 13 insertions(+), 2 deletions(-)

New commits:
commit d96299aa882961890cce3269a26a5c873b60376c
Author: Richard Hughes <richard at hughsie.com>
Date:   Mon Feb 9 13:55:26 2009 +0000

    trivial: add heuristic when we use font() with any provide

diff --git a/backends/yum/yumBackend.py b/backends/yum/yumBackend.py
index 1689c31..d0ee29f 100755
--- a/backends/yum/yumBackend.py
+++ b/backends/yum/yumBackend.py
@@ -638,6 +638,10 @@ class PackageKitYumBackend(PackageKitBaseBackend, PackagekitPackage):
         fltlist = filters.split(';')
         pkgfilter = YumFilter(fltlist)
 
+        # guess
+        if provides_type == PROVIDES_ANY and search.startswith(":"):
+            provides_type = PROVIDES_FONT
+
         # old standard
         if search.startswith("gstreamer0.10("):
             provide = search
commit 2b53925e44eee48b795f383ab786a3e1b27d3012
Author: Richard Hughes <richard at hughsie.com>
Date:   Mon Feb 9 13:41:04 2009 +0000

    trivial: add Wno-strict-aliasing to fix the compile thanks to GCC 4.4

diff --git a/configure.ac b/configure.ac
index 5903aeb..2b55bd7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,6 +87,7 @@ if test "$GCC" = "yes"; then
 	WARNINGFLAGS_C="$WARNINGFLAGS_C -Waggregate-return"
 	WARNINGFLAGS_C="$WARNINGFLAGS_C -Wdeclaration-after-statement"
 	WARNINGFLAGS_C="$WARNINGFLAGS_C -Wshadow"
+	WARNINGFLAGS_C="$WARNINGFLAGS_C -Wno-strict-aliasing"
 	WARNINGFLAGS_C="$WARNINGFLAGS_C -Winline"
 	WARNINGFLAGS_C="$WARNINGFLAGS_C -Wmissing-parameter-type"
 	WARNINGFLAGS_C="$WARNINGFLAGS_C -Woverride-init"
commit dab8a7eca37041ee76a37a03cc90e5dc984ab8a0
Author: Richard Hughes <richard at hughsie.com>
Date:   Mon Feb 9 08:21:26 2009 +0000

    trivial: add thumbnails to git, and remove from gitignore

diff --git a/docs/html/img/thumbnails/.gitignore b/docs/html/img/thumbnails/.gitignore
index 2fa80d6..8b13789 100644
--- a/docs/html/img/thumbnails/.gitignore
+++ b/docs/html/img/thumbnails/.gitignore
@@ -1,2 +1 @@
-*.png
 
diff --git a/docs/html/img/thumbnails/assassin.png b/docs/html/img/thumbnails/assassin.png
new file mode 100644
index 0000000..9c22ee9
Binary files /dev/null and b/docs/html/img/thumbnails/assassin.png differ
diff --git a/docs/html/img/thumbnails/gpk-added-deps.png b/docs/html/img/thumbnails/gpk-added-deps.png
new file mode 100644
index 0000000..043d2ae
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-added-deps.png differ
diff --git a/docs/html/img/thumbnails/gpk-application-groups.png b/docs/html/img/thumbnails/gpk-application-groups.png
new file mode 100644
index 0000000..38296ed
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-application-groups.png differ
diff --git a/docs/html/img/thumbnails/gpk-application-search.png b/docs/html/img/thumbnails/gpk-application-search.png
new file mode 100644
index 0000000..3b0a9fe
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-application-search.png differ
diff --git a/docs/html/img/thumbnails/gpk-auto-update.png b/docs/html/img/thumbnails/gpk-auto-update.png
new file mode 100644
index 0000000..4b6ea6b
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-auto-update.png differ
diff --git a/docs/html/img/thumbnails/gpk-backend-status.png b/docs/html/img/thumbnails/gpk-backend-status.png
new file mode 100644
index 0000000..bb76a96
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-backend-status.png differ
diff --git a/docs/html/img/thumbnails/gpk-battery-1.png b/docs/html/img/thumbnails/gpk-battery-1.png
new file mode 100644
index 0000000..2bba767
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-battery-1.png differ
diff --git a/docs/html/img/thumbnails/gpk-battery.png b/docs/html/img/thumbnails/gpk-battery.png
new file mode 100644
index 0000000..c52f106
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-battery.png differ
diff --git a/docs/html/img/thumbnails/gpk-client-codecs.png b/docs/html/img/thumbnails/gpk-client-codecs.png
new file mode 100644
index 0000000..bb89c73
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-client-codecs.png differ
diff --git a/docs/html/img/thumbnails/gpk-client-firmware.png b/docs/html/img/thumbnails/gpk-client-firmware.png
new file mode 100644
index 0000000..5781466
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-client-firmware.png differ
diff --git a/docs/html/img/thumbnails/gpk-client-font.png b/docs/html/img/thumbnails/gpk-client-font.png
new file mode 100644
index 0000000..12c6d3b
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-client-font.png differ
diff --git a/docs/html/img/thumbnails/gpk-client-mime-type.png b/docs/html/img/thumbnails/gpk-client-mime-type.png
new file mode 100644
index 0000000..e86b99d
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-client-mime-type.png differ
diff --git a/docs/html/img/thumbnails/gpk-distro-upgrade-notify.png b/docs/html/img/thumbnails/gpk-distro-upgrade-notify.png
new file mode 100644
index 0000000..d26fac3
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-distro-upgrade-notify.png differ
diff --git a/docs/html/img/thumbnails/gpk-eula.png b/docs/html/img/thumbnails/gpk-eula.png
new file mode 100644
index 0000000..bb5e646
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-eula.png differ
diff --git a/docs/html/img/thumbnails/gpk-inhibit.png b/docs/html/img/thumbnails/gpk-inhibit.png
new file mode 100644
index 0000000..75c3cdb
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-inhibit.png differ
diff --git a/docs/html/img/thumbnails/gpk-log.png b/docs/html/img/thumbnails/gpk-log.png
new file mode 100644
index 0000000..fa23e0d
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-log.png differ
diff --git a/docs/html/img/thumbnails/gpk-markdown.png b/docs/html/img/thumbnails/gpk-markdown.png
new file mode 100644
index 0000000..74e1bd0
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-markdown.png differ
diff --git a/docs/html/img/thumbnails/gpk-network.png b/docs/html/img/thumbnails/gpk-network.png
new file mode 100644
index 0000000..7451eef
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-network.png differ
diff --git a/docs/html/img/thumbnails/gpk-prefs.png b/docs/html/img/thumbnails/gpk-prefs.png
new file mode 100644
index 0000000..2a735f7
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-prefs.png differ
diff --git a/docs/html/img/thumbnails/gpk-progress.png b/docs/html/img/thumbnails/gpk-progress.png
new file mode 100644
index 0000000..2d2af4c
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-progress.png differ
diff --git a/docs/html/img/thumbnails/gpk-remove-confirm.png b/docs/html/img/thumbnails/gpk-remove-confirm.png
new file mode 100644
index 0000000..797bdbd
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-remove-confirm.png differ
diff --git a/docs/html/img/thumbnails/gpk-repo-auth.png b/docs/html/img/thumbnails/gpk-repo-auth.png
new file mode 100644
index 0000000..cfb846a
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-repo-auth.png differ
diff --git a/docs/html/img/thumbnails/gpk-repo-more.png b/docs/html/img/thumbnails/gpk-repo-more.png
new file mode 100644
index 0000000..806c5e6
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-repo-more.png differ
diff --git a/docs/html/img/thumbnails/gpk-repo.png b/docs/html/img/thumbnails/gpk-repo.png
new file mode 100644
index 0000000..452ac4d
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-repo.png differ
diff --git a/docs/html/img/thumbnails/gpk-require-restart.png b/docs/html/img/thumbnails/gpk-require-restart.png
new file mode 100644
index 0000000..14da155
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-require-restart.png differ
diff --git a/docs/html/img/thumbnails/gpk-run-application.png b/docs/html/img/thumbnails/gpk-run-application.png
new file mode 100644
index 0000000..d9365f3
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-run-application.png differ
diff --git a/docs/html/img/thumbnails/gpk-service-pack.png b/docs/html/img/thumbnails/gpk-service-pack.png
new file mode 100644
index 0000000..0b61fd7
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-service-pack.png differ
diff --git a/docs/html/img/thumbnails/gpk-signature.png b/docs/html/img/thumbnails/gpk-signature.png
new file mode 100644
index 0000000..3ffe8c2
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-signature.png differ
diff --git a/docs/html/img/thumbnails/gpk-updates-overview.png b/docs/html/img/thumbnails/gpk-updates-overview.png
new file mode 100644
index 0000000..292e0d2
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-updates-overview.png differ
diff --git a/docs/html/img/thumbnails/gpk-updates-warning.png b/docs/html/img/thumbnails/gpk-updates-warning.png
new file mode 100644
index 0000000..8b9b993
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-updates-warning.png differ
diff --git a/docs/html/img/thumbnails/gpk-updates.png b/docs/html/img/thumbnails/gpk-updates.png
new file mode 100644
index 0000000..38dae55
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-updates.png differ
diff --git a/docs/html/img/thumbnails/gpk-waiting.png b/docs/html/img/thumbnails/gpk-waiting.png
new file mode 100644
index 0000000..095fd4a
Binary files /dev/null and b/docs/html/img/thumbnails/gpk-waiting.png differ
diff --git a/docs/html/img/thumbnails/kpk-confirm.png b/docs/html/img/thumbnails/kpk-confirm.png
new file mode 100644
index 0000000..066fbfe
Binary files /dev/null and b/docs/html/img/thumbnails/kpk-confirm.png differ
diff --git a/docs/html/img/thumbnails/kpk-information.png b/docs/html/img/thumbnails/kpk-information.png
new file mode 100644
index 0000000..24fd589
Binary files /dev/null and b/docs/html/img/thumbnails/kpk-information.png differ
diff --git a/docs/html/img/thumbnails/kpk-notify.png b/docs/html/img/thumbnails/kpk-notify.png
new file mode 100644
index 0000000..b0eb15e
Binary files /dev/null and b/docs/html/img/thumbnails/kpk-notify.png differ
diff --git a/docs/html/img/thumbnails/kpk-progress.png b/docs/html/img/thumbnails/kpk-progress.png
new file mode 100644
index 0000000..081ca4c
Binary files /dev/null and b/docs/html/img/thumbnails/kpk-progress.png differ
diff --git a/docs/html/img/thumbnails/kpk-search.png b/docs/html/img/thumbnails/kpk-search.png
new file mode 100644
index 0000000..b542b74
Binary files /dev/null and b/docs/html/img/thumbnails/kpk-search.png differ
diff --git a/docs/html/img/thumbnails/kpk-settings.png b/docs/html/img/thumbnails/kpk-settings.png
new file mode 100644
index 0000000..b0740e5
Binary files /dev/null and b/docs/html/img/thumbnails/kpk-settings.png differ
diff --git a/docs/html/img/thumbnails/kpk-update.png b/docs/html/img/thumbnails/kpk-update.png
new file mode 100644
index 0000000..43ede83
Binary files /dev/null and b/docs/html/img/thumbnails/kpk-update.png differ
diff --git a/docs/html/img/thumbnails/pk-command-not-found.png b/docs/html/img/thumbnails/pk-command-not-found.png
new file mode 100644
index 0000000..2741d21
Binary files /dev/null and b/docs/html/img/thumbnails/pk-command-not-found.png differ
diff --git a/docs/html/img/thumbnails/pk-markdown.png b/docs/html/img/thumbnails/pk-markdown.png
new file mode 100644
index 0000000..3442d18
Binary files /dev/null and b/docs/html/img/thumbnails/pk-markdown.png differ
diff --git a/docs/html/img/thumbnails/pk-opensuse-updater.png b/docs/html/img/thumbnails/pk-opensuse-updater.png
new file mode 100644
index 0000000..836e510
Binary files /dev/null and b/docs/html/img/thumbnails/pk-opensuse-updater.png differ
diff --git a/docs/html/img/thumbnails/pk-self-check.png b/docs/html/img/thumbnails/pk-self-check.png
new file mode 100644
index 0000000..d5bee4d
Binary files /dev/null and b/docs/html/img/thumbnails/pk-self-check.png differ
diff --git a/docs/html/img/thumbnails/pk-update-bugfix.png b/docs/html/img/thumbnails/pk-update-bugfix.png
new file mode 100644
index 0000000..49ff0c2
Binary files /dev/null and b/docs/html/img/thumbnails/pk-update-bugfix.png differ
diff --git a/docs/html/img/thumbnails/pk-update-enhancement.png b/docs/html/img/thumbnails/pk-update-enhancement.png
new file mode 100644
index 0000000..9d1e213
Binary files /dev/null and b/docs/html/img/thumbnails/pk-update-enhancement.png differ
diff --git a/docs/html/img/thumbnails/pk-update-high.png b/docs/html/img/thumbnails/pk-update-high.png
new file mode 100644
index 0000000..5e5eb70
Binary files /dev/null and b/docs/html/img/thumbnails/pk-update-high.png differ
diff --git a/docs/html/img/thumbnails/pk-update-low.png b/docs/html/img/thumbnails/pk-update-low.png
new file mode 100644
index 0000000..7c215dc
Binary files /dev/null and b/docs/html/img/thumbnails/pk-update-low.png differ
diff --git a/docs/html/img/thumbnails/pk-update-normal.png b/docs/html/img/thumbnails/pk-update-normal.png
new file mode 100644
index 0000000..5d4f487
Binary files /dev/null and b/docs/html/img/thumbnails/pk-update-normal.png differ
diff --git a/docs/html/img/thumbnails/pk-update-security.png b/docs/html/img/thumbnails/pk-update-security.png
new file mode 100644
index 0000000..735c663
Binary files /dev/null and b/docs/html/img/thumbnails/pk-update-security.png differ
diff --git a/docs/html/img/thumbnails/pk-web-plugin.png b/docs/html/img/thumbnails/pk-web-plugin.png
new file mode 100644
index 0000000..9094a17
Binary files /dev/null and b/docs/html/img/thumbnails/pk-web-plugin.png differ
commit 2c9b8fc4624ba63d556e3126fc6022734498c1c4
Author: Sebastian Heinlein <devel at glatzor.de>
Date:   Fri Feb 6 17:33:30 2009 +0100

    Fix a typo in policy configuration

diff --git a/data/org.freedesktop.PackageKit.conf.in b/data/org.freedesktop.PackageKit.conf.in
index 23c4a8e..ad43ac1 100644
--- a/data/org.freedesktop.PackageKit.conf.in
+++ b/data/org.freedesktop.PackageKit.conf.in
@@ -16,7 +16,7 @@
     <allow send_destination="org.freedesktop.PackageKit"
            send_interface="org.freedesktop.PackageKit"/>
     <allow send_destination="org.freedesktop.PackageKit"
-           send_interface="org.freedesktop.PackageKitTransaction"/>
+           send_interface="org.freedesktop.PackageKit.Transaction"/>
     <allow send_destination="org.freedesktop.PackageKit"
            send_interface="org.freedesktop.DBus.Properties"/>
     <allow send_destination="org.freedesktop.PackageKit"
commit d9e2ebac87fa02ac76c4ba0078bc53c266bcad2f
Author: Sebastian Heinlein <devel at glatzor.de>
Date:   Fri Feb 6 16:32:07 2009 +0100

    Make the dbus policy more fine grained

diff --git a/data/org.freedesktop.PackageKit.conf.in b/data/org.freedesktop.PackageKit.conf.in
index 262e5e0..23c4a8e 100644
--- a/data/org.freedesktop.PackageKit.conf.in
+++ b/data/org.freedesktop.PackageKit.conf.in
@@ -13,7 +13,14 @@
 
  <!-- Allow anyone to call into the service - we'll reject callers using PolicyKit -->
   <policy context="default">
-    <allow send_destination="org.freedesktop.PackageKit"/>
+    <allow send_destination="org.freedesktop.PackageKit"
+           send_interface="org.freedesktop.PackageKit"/>
+    <allow send_destination="org.freedesktop.PackageKit"
+           send_interface="org.freedesktop.PackageKitTransaction"/>
+    <allow send_destination="org.freedesktop.PackageKit"
+           send_interface="org.freedesktop.DBus.Properties"/>
+    <allow send_destination="org.freedesktop.PackageKit"
+           send_interface="org.freedesktop.DBus.Introspectable"/>
   </policy>
 
 </busconfig>


More information about the PackageKit-commit mailing list