gnome-packagekit r153 - in trunk: . data/icons/16x16/status data/icons/22x22/status data/icons/24x24/status data/icons/48x48/status data/icons/scalable/status help/C libgbus po src
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-packagekit r153 - in trunk: . data/icons/16x16/status data/icons/22x22/status data/icons/24x24/status data/icons/48x48/status data/icons/scalable/status help/C libgbus po src
- Date: Tue, 8 Apr 2008 11:34:05 +0100 (BST)
Author: rhughes
Date: Tue Apr 8 11:34:04 2008
New Revision: 153
URL: http://svn.gnome.org/viewvc/gnome-packagekit?rev=153&view=rev
Log:
from git
Modified:
trunk/NEWS
trunk/configure.ac
trunk/data/icons/16x16/status/pk-package-installed.png
trunk/data/icons/22x22/status/pk-package-installed.png
trunk/data/icons/24x24/status/pk-package-installed.png
trunk/data/icons/48x48/status/pk-package-installed.png
trunk/data/icons/scalable/status/pk-package-available.svg
trunk/help/C/gnome-packagekit.xml
trunk/libgbus/.gitignore
trunk/po/POTFILES.in
trunk/po/es.po
trunk/src/gpk-application.c
trunk/src/gpk-common.c
trunk/src/gpk-install-file.c
trunk/src/gpk-install-package.c
trunk/src/gpk-log.c
trunk/src/gpk-update-viewer.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Tue Apr 8 11:34:04 2008
@@ -1,3 +1,43 @@
+Version 0.1.11
+~~~~~~~~~~~~~~
+Released: 2008-04-05
+
+* Translations
+ - Updated Finnish translation (Ville-Pekka Vainio)
+ - Updated Polish translation (Artur Flinta)
+ - Updated Norwegian bokmÃl translation (Kjartan Maraas)
+ - Updated Greek translation (Giannis Katsampirhs, Nikos Charonitakis)
+
+* New features:
+ - Rename the tools and client GObjects:
+ pk-transaction-viewer -> gpk-log
+ pk-update-viewer -> gpk-update-viewer
+ pk-update-icon -> gpk-update-icon
+ pk-prefs -> gpk-prefs
+ - Add some yelp documentation (Rahul Sundaram, Matthias Clasen)
+ - Check for multiple command line targets. rh#440106 (Richard Hughes)
+ - Add a cancel button you can use when removing or adding software (Richard Hughes)
+ - Make double clicking on a line in pk-application install the package (Richard Hughes)
+ - Save and restore some filter settings in gconf for pk-application (Richard Hughes)
+ - Allow the user to manually update the system from the status icon more than once (Richard Hughes)
+ - Add a session dbus interface to pk-update-icon so we can detect other instances (Richard Hughes)
+ - Handle RestartSchedule by starting another gpk-update-icon (Richard Hughes)
+ - Show the help buttons now we have some yelp help (Richard Hughes)
+ - Set the icon size for software sources in pk-application. rh#439783 (Richard Hughes)
+ - Show the blocked packages on the pk-update-viewer finish page (Richard Hughes)
+
+* Bugfixes:
+ - Refresh the search_group entry when changing filters (Richard Hughes)
+ - Remove some markup and make the translations sane (Richard Hughes)
+ - Only show the libnotify message if the client is not still active. rh#439809 (Richard Hughes)
+ - Only connect up task-list-changed when we have created all the other widgets (Richard Hughes)
+ - Don't show the last package when we are doing the test transaction. rh#439808 (Richard Hughes)
+ - Request the data in pk-update-viewer if we go back to the preview window (Richard Hughes)
+ - Fix wording about updating on battery power in pk-prefs (Rahul Sundaram)
+ - Be more anal about checking errors from the PkClient methods (Richard Hughes)
+ - Truncate the tooltip to avoid filling the screen. rh#439414 (Richard Hughes)
+ - Set the correct page for 'Install more updates'. rh#439471 (Richard Hughes)
+
Version 0.1.10
~~~~~~~~~~~~~~
Released: 2008-03-28
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Tue Apr 8 11:34:04 2008
@@ -1,6 +1,6 @@
AC_PREREQ(2.52)
-AC_INIT(gnome-packagekit, 0.1.11)
+AC_INIT(gnome-packagekit, 0.2.0)
AC_CONFIG_SRCDIR(src)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
Modified: trunk/data/icons/16x16/status/pk-package-installed.png
==============================================================================
Binary files. No diff available.
Modified: trunk/data/icons/22x22/status/pk-package-installed.png
==============================================================================
Binary files. No diff available.
Modified: trunk/data/icons/24x24/status/pk-package-installed.png
==============================================================================
Binary files. No diff available.
Modified: trunk/data/icons/48x48/status/pk-package-installed.png
==============================================================================
Binary files. No diff available.
Modified: trunk/data/icons/scalable/status/pk-package-available.svg
==============================================================================
--- trunk/data/icons/scalable/status/pk-package-available.svg (original)
+++ trunk/data/icons/scalable/status/pk-package-available.svg Tue Apr 8 11:34:04 2008
@@ -1,280 +1,521 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://web.resource.org/cc/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.0"
width="48"
height="48"
- id="svg2963">
+ id="svg2963"
+ sodipodi:version="0.32"
+ inkscape:version="0.45.1"
+ sodipodi:docname="package-available.svg"
+ sodipodi:docbase="/Users/mlanglie/Desktop"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape">
+ <metadata
+ id="metadata56">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <sodipodi:namedview
+ inkscape:window-height="588"
+ inkscape:window-width="1005"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ guidetolerance="10.0"
+ gridtolerance="10.0"
+ objecttolerance="10.0"
+ borderopacity="1.0"
+ bordercolor="#666666"
+ pagecolor="#ffffff"
+ id="base"
+ inkscape:zoom="5.8041681"
+ inkscape:cx="23.299492"
+ inkscape:cy="32.019838"
+ inkscape:window-x="301"
+ inkscape:window-y="148"
+ inkscape:current-layer="svg2963" />
<defs
id="defs3">
<linearGradient
- x1="16.148972"
- y1="12.636667"
- x2="34.193642"
- y2="12.636667"
- id="linearGradient2280-382"
- xlink:href="#linearGradient4182-553"
+ y2="21.4113"
+ x2="16.4902"
+ y1="6.3042"
+ x1="16.4902"
gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(1,0,0,1.039184,0,-4.057054e-2)" />
+ id="linearGradient3261">
+ <stop
+ id="stop3263"
+ style="stop-color:#ffffb2;stop-opacity:1;"
+ offset="0.2088" />
+ <stop
+ offset="0.3972649"
+ style="stop-color:#ffffff;stop-opacity:1;"
+ id="stop3269" />
+ <stop
+ offset="0.53957814"
+ style="stop-color:#ffff97;stop-opacity:1;"
+ id="stop3267" />
+ <stop
+ id="stop3265"
+ style="stop-color:#ffffcd;stop-opacity:1;"
+ offset="0.62089998" />
+ </linearGradient>
<linearGradient
- id="linearGradient4182-553">
+ inkscape:collect="always"
+ id="linearGradient3817">
<stop
- style="stop-color:#5d5d5d;stop-opacity:1"
+ style="stop-color:#d68f21;stop-opacity:1;"
offset="0"
- id="stop2395" />
+ id="stop3819" />
<stop
- style="stop-color:#7b7b7b;stop-opacity:1"
+ style="stop-color:#d68f21;stop-opacity:0;"
offset="1"
- id="stop2397" />
+ id="stop3821" />
</linearGradient>
<linearGradient
- x1="21.906841"
- y1="9.7577486"
- x2="22.071806"
- y2="16.020695"
- id="linearGradient2282-997"
- xlink:href="#linearGradient4987-833"
- gradientUnits="userSpaceOnUse" />
+ id="SVGID_1_"
+ gradientUnits="userSpaceOnUse"
+ x1="16.4902"
+ y1="6.3042"
+ x2="16.4902"
+ y2="21.4113">
+ <stop
+ offset="0.2088"
+ style="stop-color:#FED3AA"
+ id="stop2741" />
+ <stop
+ offset="0.6209"
+ style="stop-color:#EABA6F"
+ id="stop2743" />
+ </linearGradient>
+ <radialGradient
+ cx="605.71429"
+ cy="486.64789"
+ r="117.14286"
+ fx="605.71429"
+ fy="486.64789"
+ id="radialGradient6719"
+ xlink:href="#linearGradient5060"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-2.774389,0,0,1.969706,112.7623,-872.8854)" />
<linearGradient
- id="linearGradient4987-833">
+ id="linearGradient5060">
<stop
- style="stop-color:#565656;stop-opacity:1"
+ style="stop-color:#000000;stop-opacity:1"
offset="0"
- id="stop2401" />
+ id="stop5062" />
<stop
- style="stop-color:#565656;stop-opacity:0"
+ style="stop-color:#000000;stop-opacity:0"
offset="1"
- id="stop2403" />
+ id="stop5064" />
</linearGradient>
- <linearGradient
- x1="25.381256"
- y1="24.720648"
- x2="24.119167"
- y2="16.17037"
- id="linearGradient2277-746"
- xlink:href="#linearGradient4192-378"
+ <radialGradient
+ cx="605.71429"
+ cy="486.64789"
+ r="117.14286"
+ fx="605.71429"
+ fy="486.64789"
+ id="radialGradient6717"
+ xlink:href="#linearGradient5060"
gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(1,0,0,0.986355,0,0.316638)" />
+ gradientTransform="matrix(2.774389,0,0,1.969706,-1891.633,-872.8854)" />
<linearGradient
- id="linearGradient4192-378">
+ id="linearGradient5048">
<stop
- style="stop-color:#ababab;stop-opacity:1"
+ style="stop-color:#000000;stop-opacity:0"
offset="0"
- id="stop2407" />
+ id="stop5050" />
<stop
- style="stop-color:#c7c7c7;stop-opacity:1"
+ style="stop-color:#000000;stop-opacity:1"
+ offset="0.5"
+ id="stop5056" />
+ <stop
+ style="stop-color:#000000;stop-opacity:0"
offset="1"
- id="stop2409" />
+ id="stop5052" />
</linearGradient>
<linearGradient
x1="302.85715"
y1="366.64789"
x2="302.85715"
y2="609.50507"
- id="linearGradient6715-953"
- xlink:href="#linearGradient5048-349"
+ id="linearGradient6715"
+ xlink:href="#linearGradient5048"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.774389,0,0,1.969706,-1892.179,-872.8854)" />
<linearGradient
- id="linearGradient5048-349">
+ id="linearGradient4995">
<stop
- style="stop-color:#000000;stop-opacity:0"
+ style="stop-color:#de9523;stop-opacity:1"
offset="0"
- id="stop2413" />
+ id="stop4997" />
<stop
- style="stop-color:#000000;stop-opacity:1"
- offset="0.5"
- id="stop2415" />
- <stop
- style="stop-color:#000000;stop-opacity:0"
+ style="stop-color:#a36d18;stop-opacity:1"
offset="1"
- id="stop2417" />
+ id="stop4999" />
</linearGradient>
- <radialGradient
- cx="605.71429"
- cy="486.64789"
- r="117.14286"
- fx="605.71429"
- fy="486.64789"
- id="radialGradient6717-330"
- xlink:href="#linearGradient5060-958"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(2.774389,0,0,1.969706,-1891.633,-872.8854)" />
<linearGradient
- id="linearGradient5060-958">
+ id="linearGradient4987">
<stop
- style="stop-color:#000000;stop-opacity:1"
+ style="stop-color:#a0670c;stop-opacity:1"
offset="0"
- id="stop2421" />
+ id="stop4989" />
<stop
- style="stop-color:#000000;stop-opacity:0"
+ style="stop-color:#a0670c;stop-opacity:0"
offset="1"
- id="stop2423" />
+ id="stop4991" />
</linearGradient>
- <radialGradient
- cx="605.71429"
- cy="486.64789"
- r="117.14286"
- fx="605.71429"
- fy="486.64789"
- id="radialGradient6719-686"
- xlink:href="#linearGradient5060-311"
- gradientUnits="userSpaceOnUse"
- gradientTransform="matrix(-2.774389,0,0,1.969706,112.7623,-872.8854)" />
<linearGradient
- id="linearGradient5060-311">
+ id="linearGradient4979">
<stop
- style="stop-color:#000000;stop-opacity:1"
+ style="stop-color:#fbf0e0;stop-opacity:1"
offset="0"
- id="stop2427" />
+ id="stop4981" />
<stop
- style="stop-color:#000000;stop-opacity:0"
+ style="stop-color:#f0ce99;stop-opacity:1"
offset="1"
- id="stop2429" />
+ id="stop4983" />
</linearGradient>
<linearGradient
- x1="18.706615"
- y1="19.912336"
- x2="30.014812"
- y2="47.388485"
- id="linearGradient2285-994"
- xlink:href="#linearGradient4222-919"
- gradientUnits="userSpaceOnUse" />
- <linearGradient
- id="linearGradient4222-919">
+ id="linearGradient4222">
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="0"
- id="stop2433" />
+ id="stop4224" />
<stop
style="stop-color:#ffffff;stop-opacity:0.68639052"
offset="1"
- id="stop2435" />
+ id="stop4226" />
</linearGradient>
<linearGradient
- x1="30.062469"
- y1="13.444801"
- x2="17.696169"
- y2="12.333632"
- id="linearGradient2269-960"
- xlink:href="#linearGradient4979-724"
- gradientUnits="userSpaceOnUse" />
+ id="linearGradient4210">
+ <stop
+ style="stop-color:#eaba6f;stop-opacity:1"
+ offset="0"
+ id="stop4212" />
+ <stop
+ style="stop-color:#b97a1b;stop-opacity:1"
+ offset="1"
+ id="stop4214" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient4192">
+ <stop
+ style="stop-color:#e9b96e;stop-opacity:1"
+ offset="0"
+ id="stop4194" />
+ <stop
+ style="stop-color:#f1d19e;stop-opacity:1"
+ offset="1"
+ id="stop4196" />
+ </linearGradient>
<linearGradient
- id="linearGradient4979-724">
+ id="linearGradient4182">
<stop
- style="stop-color:#ededed;stop-opacity:1"
+ style="stop-color:#a36d18;stop-opacity:1"
offset="0"
- id="stop2439" />
+ id="stop4184" />
<stop
- style="stop-color:#c4c4c4;stop-opacity:1"
+ style="stop-color:#d79020;stop-opacity:1"
offset="1"
- id="stop2441" />
+ id="stop4186" />
</linearGradient>
<linearGradient
+ x1="30.062469"
+ y1="13.444801"
+ x2="17.696169"
+ y2="12.333632"
+ id="linearGradient2269"
+ xlink:href="#linearGradient4979"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
x1="36.288929"
y1="14.661557"
x2="47.065834"
y2="15.267649"
- id="linearGradient2274-379"
- xlink:href="#linearGradient4995-923"
+ id="linearGradient2274"
+ xlink:href="#linearGradient4995"
gradientUnits="userSpaceOnUse" />
<linearGradient
- id="linearGradient4995-923">
- <stop
- style="stop-color:#808080;stop-opacity:1"
- offset="0"
- id="stop2445" />
- <stop
- style="stop-color:#5d5d5d;stop-opacity:1"
- offset="1"
- id="stop2447" />
- </linearGradient>
+ x1="25.381256"
+ y1="24.720648"
+ x2="24.119167"
+ y2="16.17037"
+ id="linearGradient2277"
+ xlink:href="#linearGradient4192"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1,0,0,0.986355,0,0.316638)" />
+ <linearGradient
+ x1="16.148972"
+ y1="12.636667"
+ x2="34.193642"
+ y2="12.636667"
+ id="linearGradient2280"
+ xlink:href="#linearGradient4182"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1,0,0,1.039184,0,-4.057054e-2)" />
+ <linearGradient
+ x1="21.906841"
+ y1="9.7577486"
+ x2="22.071806"
+ y2="16.020695"
+ id="linearGradient2282"
+ xlink:href="#linearGradient4987"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ x1="18.706615"
+ y1="19.912336"
+ x2="30.014812"
+ y2="47.388485"
+ id="linearGradient2285"
+ xlink:href="#linearGradient4222"
+ gradientUnits="userSpaceOnUse" />
<linearGradient
x1="24.990499"
y1="34.004856"
x2="24.990499"
y2="22.585211"
- id="linearGradient2288-591"
- xlink:href="#linearGradient4210-477"
+ id="linearGradient2288"
+ xlink:href="#linearGradient4210"
gradientUnits="userSpaceOnUse" />
<linearGradient
- id="linearGradient4210-477">
- <stop
- style="stop-color:#acacac;stop-opacity:1"
- offset="0"
- id="stop2451" />
+ inkscape:collect="always"
+ xlink:href="#linearGradient4210"
+ id="linearGradient2820"
+ gradientUnits="userSpaceOnUse"
+ x1="24.990499"
+ y1="34.004856"
+ x2="24.990499"
+ y2="22.585211" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4222"
+ id="linearGradient2822"
+ gradientUnits="userSpaceOnUse"
+ x1="18.706615"
+ y1="19.912336"
+ x2="30.014812"
+ y2="47.388485" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4182"
+ id="linearGradient2824"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1,0,0,1.039184,0,-4.057054e-2)"
+ x1="16.148972"
+ y1="12.636667"
+ x2="34.193642"
+ y2="12.636667" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4987"
+ id="linearGradient2826"
+ gradientUnits="userSpaceOnUse"
+ x1="21.906841"
+ y1="9.7577486"
+ x2="22.071806"
+ y2="16.020695" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4192"
+ id="linearGradient2828"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1,0,0,0.986355,0,0.316638)"
+ x1="25.381256"
+ y1="24.720648"
+ x2="24.119167"
+ y2="16.17037" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4995"
+ id="linearGradient2830"
+ gradientUnits="userSpaceOnUse"
+ x1="36.288929"
+ y1="14.661557"
+ x2="47.065834"
+ y2="15.267649" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4979"
+ id="linearGradient2832"
+ gradientUnits="userSpaceOnUse"
+ x1="30.062469"
+ y1="13.444801"
+ x2="17.696169"
+ y2="12.333632" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3817"
+ id="linearGradient3823"
+ x1="37.279186"
+ y1="14.862945"
+ x2="23.634516"
+ y2="12.913706"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.1214953,0,0,1.1666666,-2.9454908,-2.5177664)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3817"
+ id="linearGradient3827"
+ gradientUnits="userSpaceOnUse"
+ x1="37.279186"
+ y1="14.862945"
+ x2="23.634516"
+ y2="12.913706"
+ gradientTransform="matrix(-1.1121495,0,0,1.2,49.338204,-3.0700507)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#SVGID_1_"
+ id="linearGradient2278"
+ gradientUnits="userSpaceOnUse"
+ x1="16.4902"
+ y1="6.3042"
+ x2="16.4902"
+ y2="21.4113" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3261"
+ id="linearGradient3259"
+ x1="24.609137"
+ y1="7.6687818"
+ x2="24.609137"
+ y2="25.833755"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3261"
+ id="linearGradient3299"
+ gradientUnits="userSpaceOnUse"
+ x1="24.609137"
+ y1="7.6687818"
+ x2="24.609137"
+ y2="25.833755" />
+ <linearGradient
+ y2="21.411301"
+ x2="16.4902"
+ y1="6.3042002"
+ x1="16.4902"
+ gradientUnits="userSpaceOnUse"
+ id="linearGradient2238">
<stop
- style="stop-color:#6a6a6a;stop-opacity:1"
- offset="1"
- id="stop2453" />
+ id="stop2240"
+ style="stop-color:#FED3AA"
+ offset="0.2088" />
+ <stop
+ id="stop2242"
+ style="stop-color:#EABA6F"
+ offset="0.6209" />
</linearGradient>
</defs>
<g
- id="layer1">
- <g
- transform="matrix(2.105461e-2,0,0,2.086758e-2,42.60172,35.4036)"
- style="display:inline"
- id="g6707">
- <rect
- width="1339.6335"
- height="478.35718"
- x="-1559.2523"
- y="-150.69685"
- style="opacity:0.40206185;color:#000000;fill:url(#linearGradient6715-953);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
- id="rect6709" />
- <path
- d="M -219.61876,-150.68038 C -219.61876,-150.68038 -219.61876,327.65041 -219.61876,327.65041 C -76.744594,328.55086 125.78146,220.48075 125.78138,88.454235 C 125.78138,-43.572302 -33.655436,-150.68036 -219.61876,-150.68038 z "
- style="opacity:0.40206185;color:#000000;fill:url(#radialGradient6717-330);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
- id="path6711" />
- <path
- d="M -1559.2523,-150.68038 C -1559.2523,-150.68038 -1559.2523,327.65041 -1559.2523,327.65041 C -1702.1265,328.55086 -1904.6525,220.48075 -1904.6525,88.454235 C -1904.6525,-43.572302 -1745.2157,-150.68036 -1559.2523,-150.68038 z "
- style="opacity:0.40206185;color:#000000;fill:url(#radialGradient6719-686);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
- id="path6713" />
- </g>
- <rect
- width="31.978371"
- height="23.112879"
- rx="2.4241352"
- ry="2.394444"
- x="7.4623847"
- y="15.275433"
- style="opacity:1;color:#000000;fill:url(#linearGradient2288-591);fill-opacity:1;fill-rule:nonzero;stroke:#565656;stroke-width:1.00000072;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
- id="rect3115" />
+ id="g6707"
+ style="display:inline;opacity:0.80246914"
+ transform="matrix(2.105461e-2,0,0,2.086758e-2,42.60172,35.4036)">
<rect
- width="29.804138"
- height="21.075352"
- rx="1.2846882"
- ry="1.2846882"
- x="8.4989996"
- y="16.243698"
- style="opacity:0.48101268;color:#000000;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient2285-994);stroke-width:1.00000107;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
- id="rect4220" />
+ id="rect6709"
+ style="opacity:0.40206185;color:#000000;fill:url(#linearGradient6715);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
+ y="-150.69685"
+ x="-1559.2523"
+ height="478.35718"
+ width="1339.6335" />
<path
- d="M 8.7697819,16.547178 L 13.819731,9.7363408 L 32.615291,9.6353255 L 37.835264,16.408941 L 8.7697819,16.547178 z "
- style="fill:url(#linearGradient2280-382);fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient2282-997);stroke-width:1.00000083;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- id="path4162" />
+ id="path6711"
+ style="opacity:0.40206185;color:#000000;fill:url(#radialGradient6717);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
+ d="M -219.61876,-150.68038 C -219.61876,-150.68038 -219.61876,327.65041 -219.61876,327.65041 C -76.744594,328.55086 125.78146,220.48075 125.78138,88.454235 C 125.78138,-43.572302 -33.655436,-150.68036 -219.61876,-150.68038 z " />
<path
- d="M 38.276321,16.325703 L 43.469269,23.520364 L 3.9609455,23.520364 L 8.6250143,16.320763 L 38.276321,16.325703 z "
- style="opacity:1;color:#000000;fill:url(#linearGradient2277-746);fill-opacity:1;fill-rule:nonzero;stroke:#565656;stroke-width:1.00000048;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
- id="path4164" />
+ id="path6713"
+ style="opacity:0.40206185;color:#000000;fill:url(#radialGradient6719);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
+ d="M -1559.2523,-150.68038 C -1559.2523,-150.68038 -1559.2523,327.65041 -1559.2523,327.65041 C -1702.1265,328.55086 -1904.6525,220.48075 -1904.6525,88.454235 C -1904.6525,-43.572302 -1745.2157,-150.68036 -1559.2523,-150.68038 z " />
+ </g>
+ <g
+ id="closed_box_1_"
+ transform="translate(6.9008633,7.1095533)">
+ <linearGradient
+ id="linearGradient2770"
+ gradientUnits="userSpaceOnUse"
+ x1="16.4902"
+ y1="6.3042002"
+ x2="16.4902"
+ y2="21.411301">
+ <stop
+ offset="0.2088"
+ style="stop-color:#FED3AA"
+ id="stop2772" />
+ <stop
+ offset="0.6209"
+ style="stop-color:#EABA6F"
+ id="stop2774" />
+ </linearGradient>
<path
- d="M 32.849333,9.6141009 L 37.532219,16.53637 L 46.565835,20.921197 L 38.451329,12.008545 L 32.849333,9.6141009 z "
- style="opacity:1;color:#000000;fill:url(#linearGradient2274-379);fill-opacity:1;fill-rule:nonzero;stroke:#565656;stroke-width:1.00000048;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
- id="path4178" />
+ d="M 31.25,7.825 L 27.621,2.943 C 27.621,2.943 26.933,2.068 25.132,1.683 L 16.184,0.506 L 7.848,1.682 C 6.496,1.817 5.496,2.817 5.496,2.817 L 1.729,7.825 C 1.259,8.413 0.5,8.822 0.5,11.029 L 0.5,28.687 C 0.5,30.009 1.586,31.082 2.925,31.082 L 30.055,31.082 C 31.394,31.082 32.48,30.01 32.48,28.687 L 32.48,11.029 C 32.479,9.085 31.721,8.413 31.25,7.825 z "
+ id="path2745"
+ style="fill:url(#SVGID_1_);stroke:#9f6928;stroke-width:1" />
<path
- d="M 13.617702,9.7151161 L 9.6419233,16.435355 L 0.50729183,20.820182 L 8.6217973,11.90753 L 13.617702,9.7151161 z "
- style="opacity:1;color:#000000;fill:#e3e3e3;fill-opacity:1;fill-rule:nonzero;stroke:#565656;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
- id="path4180" />
+ d="M 31.477,10.981 C 31.462,9.884 31.162,9.259 30.289,8.137 L 26.934,3.755 C 26.934,3.755 26.122,2.88 24.809,2.63 L 16.184,1.505 L 7.881,2.681 C 6.871,2.755 6.059,3.755 6.059,3.755 L 2.589,8.3 C 1.717,9.422 1.54,9.681 1.54,10.981 C 1.54,10.986 1.537,10.991 1.537,10.996 L 1.537,28.726 C 1.537,29.436 2.112,30.01 2.822,30.01 L 30.056,30.01 C 30.766,30.01 31.479,29.436 31.479,28.726 L 31.477,10.981 z "
+ id="path2747"
+ style="opacity:0.47999998;fill:none;stroke:#ffffff;stroke-width:1" />
<path
- d="M 37.024959,16.43605 L 41.478871,22.493011 L 5.6482792,22.493011 L 9.7892982,16.312694 L 37.024959,16.43605 z "
- style="opacity:1;color:#000000;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#dfdfdf;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:block;overflow:visible"
- id="path4954" />
+ d="M 2.746,10.005 C 2.746,10.005 12.308,8.005 16.121,8.005 C 19.934,8.005 30.183,10.067 30.183,10.067"
+ id="path2749"
+ style="opacity:0.6;fill:none;stroke:#ffffff;stroke-width:1;stroke-linecap:round" />
<path
- d="M 9.6523127,16.371803 L 13.036643,10.59302 L 33.514841,10.517799 L 37.356782,16.36988 L 9.6523127,16.371803 z "
- style="opacity:0.87974686;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient2269-960);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- id="path4966" />
+ d="M 30.746,10.567 C 30.746,9.721 16.235,8.522 16.235,8.522 C 16.235,8.522 1.996,9.764 1.996,10.567"
+ id="path2751"
+ style="fill:#9f6928" />
+ <polygon
+ points="15.496,9.255 15.929,0.88 16.371,0.88 16.809,9.255 15.496,9.255 "
+ id="polygon2753"
+ style="fill:#9f6928" />
+ <line
+ x1="15.371"
+ y1="2.0669999"
+ x2="14.996"
+ y2="7.6919999"
+ id="line2755"
+ style="opacity:0.5;fill:none;stroke:#ffffff;stroke-width:1" />
+ <line
+ x1="17.309"
+ y1="7.5669999"
+ x2="16.934"
+ y2="1.942"
+ id="line2757"
+ style="opacity:0.5;fill:none;stroke:#ffffff;stroke-width:1" />
+ <line
+ x1="2.059"
+ y1="11.005"
+ x2="30.934"
+ y2="11.005"
+ id="line2759"
+ style="opacity:0.31000001;fill:none;stroke:#9f6928" />
</g>
+ <path
+ style="opacity:0.51234568;fill:url(#linearGradient3823);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 24.243655,8.2842639 L 24.653541,14.53807 L 38.862945,16.812183 L 34.627449,10.700508 C 34.627449,10.700508 33.944304,9.7055833 31.211728,9.2791877 C 28.479151,8.8527919 24.380283,8.2842639 24.243655,8.2842639 z "
+ id="path2846" />
+ <path
+ style="opacity:0.44444444;fill:url(#linearGradient3827);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="M 22.375635,8.0406091 L 21.969164,14.473096 L 7.8781728,16.812183 L 12.078372,10.525889 C 12.078372,10.525889 12.755824,9.5025376 15.46563,9.0639593 C 18.175435,8.6253808 22.240145,8.0406091 22.375635,8.0406091 z "
+ id="path3825" />
+ <path
+ style="fill:url(#linearGradient3299);fill-opacity:1.0;fill-rule:evenodd;stroke:#9f6928;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;opacity:0.70987654"
+ d="M 23.03125,7.8453363 L 20.84375,8.1016815 L 19.75,15.96875 L 19.75,25.28125 L 20.875,24.481335 L 21.96875,25.40625 L 23.21875,24.481335 L 24.25,25.3125 L 25.25,24.481335 L 26.3125,25.375 L 26.3125,15.84375 L 24.96875,8.1016815 L 23.03125,7.8453363 z "
+ id="path2280"
+ sodipodi:nodetypes="ccccccccccccc" />
+ <path
+ style="opacity:0.3;fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1;stroke-opacity:1"
+ id="path2244"
+ d="M 38.150863,14.934553 L 34.521863,10.052553 C 34.521863,10.052553 33.833863,9.1775533 32.032863,8.7925533 L 23.084863,7.6155533 L 14.748863,8.7915533 C 13.396863,8.9265533 12.396863,9.9265533 12.396863,9.9265533 L 8.629863,14.934553 C 8.159863,15.522553 7.400863,15.931553 7.400863,18.138553 L 7.400863,35.796553 C 7.400863,37.118553 8.486863,38.191553 9.825863,38.191553 L 36.955863,38.191553 C 38.294863,38.191553 39.380863,37.119553 39.380863,35.796553 L 39.380863,18.138553 C 39.379863,16.194553 38.621863,15.522553 38.150863,14.934553 z " />
</svg>
Modified: trunk/help/C/gnome-packagekit.xml
==============================================================================
--- trunk/help/C/gnome-packagekit.xml (original)
+++ trunk/help/C/gnome-packagekit.xml Tue Apr 8 11:34:04 2008
@@ -84,7 +84,8 @@
</para>
<para role="publisher">Rahul Sundaram</para>
</revdescription>
-
+ </revision>
+ <revision>
<revnumber>2.0</revnumber>
<date>2007-08-30</date>
<revdescription>
@@ -141,13 +142,14 @@
It is not a replacement for existing package managers like yum.
</para>
<para>
- Some of the architectural advantages of PackageKit over other package
- management solutions are that the PackageKit daemon runs as a system
- process that is not tied to any user session, which means that a
- long-running update or installation will not be interrupted if the user
- who started it logs out. Tasks are queued up, meaning that multiple users
- can use PackageKit in parallel without completely locking each other out.
- Finally, access to all privileged operations is controlled via
+ Some of the architectural advantages of PackageKit over other package management solutions are
+ that the PackageKit daemon runs as a system process that is not tied to any user session,
+ which means that a long-running update or installation will not be interrupted if the user who
+ started it logs out.
+ Tasks are queued up, meaning that a user can initiate multiple tasks which will be executed one
+ by one and also that multiple users can also use PackageKit in parallel without completely
+ locking each other out.
+ Access to all privileged operations is controlled via
<ulink url="http://en.wikipedia.org/wiki/PolicyKit">PolicyKit</ulink>.
</para>
@@ -166,39 +168,70 @@
</para>
<variablelist>
<varlistentry>
+ <term>Command line</term>
<listitem>
<para>
<command>gpk-application</command>: Add/Remove Software
</para>
</listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Command line</term>
<listitem>
<para>
<command>gpk-update-viewer</command>: Updating your system.
Also can view the history of updates.
</para>
</listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Command line</term>
<listitem>
<para>
<command>gpk-prefs</command>: Configuring software updates preferences
</para>
</listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Command line</term>
<listitem>
<para>
<command>gpk-repo</command>: Enabling or disabling software repositories
</para>
</listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Command line</term>
<listitem>
<para>
<command>gpk-log</command>: History of updates including installing,
removing or updating any software
</para>
</listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Command line</term>
+ <listitem>
+ <para>
+ <command>gpk-install-file</command>: Installs locally available software packages.
+ This also gets run if you double-click on a package in your desktop or within a file manager.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Command line</term>
<listitem>
<para>
- <command>gpk-install-file</command>: Installs locally available
- packages. This also gets run if you double-click on a package in your desktop or within a file manager.
+ <command>gpk-update-icon</command>: When PackageKit is installed, it starts the session
+ icon automatically when you log in.
+ This application displays an icon in the notification area of your panel when software
+ updates are available, and is responsible for showing notifications about PackageKit
+ operations and events.
</para>
</listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Command line</term>
<listitem>
<para>
<command>gpk-backend-status</command>: Shows technical status of
@@ -213,7 +246,9 @@
<section id="add-remove">
<title>Add/Remove Software</title>
<para>
- Add/Remove software application accessed via <menuchoice><guimenu>System</guimenu><guisubmenu>Administration</guisubmenu><guimenuitem>Add/Remove Software</guimenuitem></menuchoice>
+ Add/Remove software application accessed via <menuchoice><guimenu>System</guimenu>
+ <guisubmenu>Administration</guisubmenu>
+ <guimenuitem>Add/Remove Software</guimenuitem></menuchoice>
allows you to search the software repository easily or browse through the
different groups like multimedia or office and select software packages to
install or remove from your system.
@@ -226,7 +261,7 @@
Typically, you can find several thousands of software packages under
different groups available.
Since this can be overwhelming you can choose to filter the lists of
- packages based on several criteria such as whether the package is already
+ software packages based on several criteria such as whether the package is already
installed, whether it is a development or graphical application and based
on the software license.
See <xref linkend="filters"/> for more information about filters.
@@ -235,29 +270,27 @@
A software source configuration is available in the system menu that
allows you to enable or disable a existing software repository.
You can also refresh the application lists for displaying the latest
- information.
+ information about software packages available in the repository.
</para>
<section id="filters">
<title>Filters</title>
<para>
- You can limit the amount of packages that is shown by several criteria.
+ You can limit the amount of software packages that is shown by several criteria.
</para>
<para>
+ To see only installed or only uninstalled software packages, choose the
+ corresponding menuitem in the <menuchoice><guimenu>Filters</guimenu>
+ <guisubmenu>Installed</guisubmenu></menuchoice> menu.
To see only installed or only uninstalled packages, choose the
- corresponding menuitem in the <menuchoice><guimenu>Filters</guimenu><guisubmenu>Installed</guisubmenu></menuchoice> menu.
- </para>
- <para>
- To see only packages that are required for developing software or only
- packages that are not for that purpose, choose a filter from
- the <menuchoice><guimenu>Filters</guimenu><guisubmenu>Development</guisubmenu></menuchoice>
- menu. Typical packages in this category are compilers, programming
- languages or libraries.
+ corresponding menuitem in the <menuchoice><guimenu>Filters</guimenu>
+ <guisubmenu>Installed</guisubmenu></menuchoice> menu.
</para>
<para>
- To see only packages containing applications with a graphical user
+ To see only software packages containing applications with a graphical user
interface or only applications with a commandline interface, choose a
- filter from the <menuchoice><guimenu>Filters</guimenu><guisubmenu>Graphical</guisubmenu></menuchoice>
+ filter from the <menuchoice><guimenu>Filters</guimenu>
+ <guisubmenu>Graphical</guisubmenu></menuchoice>
menu.
</para>
<note><para>
@@ -266,9 +299,10 @@
</para></note>
<para>
To see only packages that qualify as free software, choose the
- corresponding menuitem from the <menuchoice><guimenu>Filters</guimenu><guisubmenu>Free</guisubmenu></menuchoice>
+ corresponding menu item from the <menuchoice><guimenu>Filters</guimenu>
+ <guisubmenu>Free</guisubmenu></menuchoice>
menu. Currently, PackageKit considers a package to be free software
- if its license is listed in the Fedora
+ if its license is listed as such in the Fedora
<ulink url="http://fedoraproject.org/wiki/Licensing">Licensing</ulink> page.
</para>
</section>
@@ -290,25 +324,28 @@
<title>Software Sources</title>
<para>
The software repository viewer allows you to enable or disable software
- sources ‐ also known as <quote>repositories</quote>. Repositories
+ sources - also known as <quote>repositories</quote>. Repositories
are collections of software packages that are known to work together and
are compatible with your operating system. Apart from the repositories for
the operating system itself, there are third-party repositories offering
- additional software for many Linux distributions ‐ check your
- distribution-specific documentation.
+ additional software for many Linux distributions - check your
+ distribution-specific documentation for more information.
</para>
<para>
- At this time, PackageKit does not offer a way to add new repositories
- to your system. It only allows you to enable or disable known repositories.
+ At this time, PackageKit does not offer a way to add new repositories to
+ your system. It only allows you to enable or disable known repositories.
However, it is often possible to make a new repository known to PackageKit
- by installing a package with the necessary information.
+ by installing a package with the necessary information. These are usually
+ called (foo)-release, where foo is the name of the repository.
</para>
</section>
<section id="update-viewer">
<title>Update Viewer</title>
<para>
- You can update your system via <menuchoice><guimenu>System</guimenu><guisubmenu>Administration</guisubmenu><guimenuitem>Update System</guimenuitem></menuchoice>
+ You can update your system via <menuchoice><guimenu>System</guimenu>
+ <guisubmenu>Administration</guisubmenu>
+ <guimenuitem>Update System</guimenuitem></menuchoice>
or by selecting <menuchoice><guimenuitem>Show Updates</guimenuitem></menuchoice>
from the update icon in the notification area.
When you do this, the update viewer application launches and immediately
@@ -319,7 +356,7 @@
</para>
<note><para>
Note that the severity information must be provided by the software
- repositories where the packages originate. This information may not
+ repositories where the software packages originate. This information may not
be available for development branches of distributions.
</para></note>
<para>
@@ -358,7 +395,7 @@
</para>
<note><para>
Note that the detailed update information must be provided by the
- software repositories where the packages originate. This information
+ software repositories where the software packages originate. This information
may not be available for development branches of distributions.
</para></note>
<para>
@@ -374,25 +411,36 @@
<section id="prefs">
<title>Software Updates Preferences</title>
<para>
- Preferences can be configured via <menuchoice><guimenu>System</guimenu><guisubmenu>Preferences</guisubmenu><guisubmenu>System</guisubmenu><guimenuitem>Software Updates</guimenuitem></menuchoice>.
- You can configure it to check for updates on a daily, hourly or weekly basis
- or never. The default setting is to check for updates daily.
+ Preferences can be configured via <menuchoice><guimenu>System</guimenu>
+ <guisubmenu>Preferences</guisubmenu><guisubmenu>System</guisubmenu>
+ <guimenuitem>Software Updates</guimenuitem></menuchoice>.
+ You can configure it to check for updates on a daily, hourly or weekly
+ basis or never.
+ The default setting is to check for updates daily.
You can also configure it to automatically install all updates or just the
ones that fix security issues.
+ These settings are per-user and effective only for the current user logged
+ in the system.
+ </para>
+</section>
+
+<section id="auto-updates">
+ <title>Automatic Updates</title>
+ <para>
+ Automatic updates can be performed in the background system wide using the
+ PackageKit-cron package.
+ This package contains a cron job that as well as a configuration file.
+ The settings are controlled via the configuration file at
+ <command>/etc/sysconfig/packagekit-background</command>.
+ You can set it to just check for updates or perform the updates
+ automatically and notify any email address.
</para>
</section>
<section id="update-icon">
<title>Update Icon</title>
<para>
- When PackageKit is installed, it starts the <command>gpk-update-icon</command>
- command when you log in. This application displays an icon in the
- notification area of your panel when software updates are available,
- and is responsible for showing notifications about PackageKit operations
- and events.
- </para>
- <para>
- The icon offers menuitems for installing the available updates or
+ The icon offers menu items for installing the available updates or
for starting the update viewer, which allows you to obtain detailed
information about the available updates before installing them. See
<xref linkend="update-viewer"/> for more information.
@@ -402,10 +450,10 @@
<section id="about">
<title>About</title>
<para>
- &app; was written by Richard Hughes <email>richard hughsie com</email>.
+ &app; is maintained Richard Hughes <email>richard hughsie com</email> and developed along with
+ several others.
To find more information about &app;, please visit the
- <ulink url="http://live.gnome.org/PackageKit" type="http">
- &application; web page</ulink>.
+ <ulink url="http://live.gnome.org/PackageKit" type="http">&application; web page</ulink>.
</para>
<para>
To report a bug or make a suggestion regarding this application or
Modified: trunk/libgbus/.gitignore
==============================================================================
--- trunk/libgbus/.gitignore (original)
+++ trunk/libgbus/.gitignore Tue Apr 8 11:34:04 2008
@@ -3,6 +3,7 @@
*.o
*.la
*.lo
+*.gcno
*-marshal.c
*-marshal.h
Modified: trunk/po/POTFILES.in
==============================================================================
--- trunk/po/POTFILES.in (original)
+++ trunk/po/POTFILES.in Tue Apr 8 11:34:04 2008
@@ -28,6 +28,7 @@
src/gpk-log.c
src/gpk-notify.c
src/gpk-prefs.c
+src/gpk-progress.c
src/gpk-repo.c
src/gpk-smart-icon.c
src/gpk-statusbar.c
Modified: trunk/src/gpk-application.c
==============================================================================
--- trunk/src/gpk-application.c (original)
+++ trunk/src/gpk-application.c Tue Apr 8 11:34:04 2008
@@ -61,6 +61,12 @@
PK_SEARCH_UNKNOWN
} PkSearchType;
+typedef enum {
+ PK_MODE_NAME_DETAILS_FILE,
+ PK_MODE_GROUP,
+ PK_MODE_UNKNOWN
+} PkSearchMode;
+
struct GpkApplicationPrivate
{
GladeXML *glade_xml;
@@ -75,6 +81,7 @@
GpkStatusbar *statusbar;
PkExtra *extra;
gchar *package;
+ gchar *group;
gchar *url;
PkEnumList *role_list;
PkEnumList *filter_list;
@@ -82,6 +89,7 @@
PkEnumList *current_filter;
gboolean has_package; /* if we got a package in the search */
PkSearchType search_type;
+ PkSearchMode search_mode;
PolKitGnomeAction *install_action;
PolKitGnomeAction *remove_action;
PolKitGnomeAction *refresh_action;
@@ -703,14 +711,15 @@
gtk_widget_show (widget);
widget = glade_xml_get_widget (application->priv->glade_xml, "button_cancel");
gtk_widget_hide (widget);
+ application->priv->search_mode = PK_MODE_UNKNOWN;
}
}
/**
- * gpk_application_perform_search:
+ * gpk_application_perform_search_name_details_file:
**/
static gboolean
-gpk_application_perform_search (GpkApplication *application)
+gpk_application_perform_search_name_details_file (GpkApplication *application)
{
GtkWidget *widget;
const gchar *package;
@@ -789,6 +798,71 @@
}
/**
+ * gpk_application_perform_search_group:
+ **/
+static gboolean
+gpk_application_perform_search_group (GpkApplication *application)
+{
+ GtkWidget *widget;
+ gchar *filter;
+ gboolean ret;
+ GError *error = NULL;
+
+ g_return_val_if_fail (PK_IS_APPLICATION (application), FALSE);
+ g_return_val_if_fail (application->priv->group != NULL, FALSE);
+
+ /* make a valid filter string */
+ filter = pk_enum_list_to_string (application->priv->current_filter);
+ pk_debug ("filter = %s", filter);
+
+ /* cancel this, we don't care about old results that are pending */
+ ret = pk_client_reset (application->priv->client_search, &error);
+ if (!ret) {
+ pk_warning ("failed to reset client: %s", error->message);
+ g_error_free (error);
+ return FALSE;
+ }
+
+ /* refresh the search as the items may have changed */
+ gtk_list_store_clear (application->priv->packages_store);
+
+ ret = pk_client_search_group (application->priv->client_search, filter, application->priv->group, &error);
+ g_free (filter);
+ /* ick, we failed so pretend we didn't do the action */
+ if (ret) {
+ /* switch around buttons */
+ widget = glade_xml_get_widget (application->priv->glade_xml, "button_find");
+ gtk_widget_hide (widget);
+ if (pk_enum_list_contains (application->priv->role_list, PK_ROLE_ENUM_CANCEL)) {
+ widget = glade_xml_get_widget (application->priv->glade_xml, "button_cancel");
+ gtk_widget_show (widget);
+ }
+ } else {
+ gpk_application_error_message (application,
+ _("The group could not be queried"), error->message);
+ g_error_free (error);
+ }
+ return ret;
+}
+
+/**
+ * gpk_application_perform_search:
+ **/
+static gboolean
+gpk_application_perform_search (GpkApplication *application)
+{
+ gboolean ret = FALSE;
+ if (application->priv->search_mode == PK_MODE_NAME_DETAILS_FILE) {
+ ret = gpk_application_perform_search_name_details_file (application);
+ } else if (application->priv->search_mode == PK_MODE_GROUP) {
+ ret = gpk_application_perform_search_group (application);
+ } else {
+ pk_debug ("doing nothing");
+ }
+ return ret;
+}
+
+/**
* gpk_application_find_cb:
**/
static void
@@ -796,6 +870,7 @@
{
g_return_if_fail (PK_IS_APPLICATION (application));
+ application->priv->search_mode = PK_MODE_NAME_DETAILS_FILE;
gpk_application_perform_search (application);
}
@@ -936,10 +1011,6 @@
GtkTreeModel *model;
GtkTreeIter iter;
GtkWidget *widget;
- gboolean ret;
- gchar *filter;
- gchar *id;
- GError *error = NULL;
g_return_if_fail (PK_IS_APPLICATION (application));
@@ -953,40 +1024,13 @@
/* This will only work in single or browse selection mode! */
if (gtk_tree_selection_get_selected (selection, &model, &iter)) {
- gtk_tree_model_get (model, &iter, GROUPS_COLUMN_ID, &id, -1);
- pk_debug ("selected row is: %s", id);
-
- /* refresh the search as the items may have changed */
- gtk_list_store_clear (application->priv->packages_store);
-
- /* make a valid filter string */
- filter = pk_enum_list_to_string (application->priv->current_filter);
- pk_debug ("filter = %s", filter);
-
- /* cancel this, we don't care about old results that are pending */
- ret = pk_client_reset (application->priv->client_search, &error);
- if (!ret) {
- pk_warning ("failed to reset client: %s", error->message);
- g_error_free (error);
- return;
- }
-
- ret = pk_client_search_group (application->priv->client_search, filter, id, &error);
- g_free (filter);
- /* ick, we failed so pretend we didn't do the action */
- if (ret) {
- /* switch around buttons */
- widget = glade_xml_get_widget (application->priv->glade_xml, "button_find");
- gtk_widget_hide (widget);
- if (pk_enum_list_contains (application->priv->role_list, PK_ROLE_ENUM_CANCEL)) {
- widget = glade_xml_get_widget (application->priv->glade_xml, "button_cancel");
- gtk_widget_show (widget);
- }
- } else {
- gpk_application_error_message (application,
- _("The group could not be queried"), error->message);
- g_error_free (error);
- }
+ g_free (application->priv->group);
+ gtk_tree_model_get (model, &iter, GROUPS_COLUMN_ID, &application->priv->group, -1);
+ pk_debug ("selected row is: %s", application->priv->group);
+
+ /* actually do the search */
+ application->priv->search_mode = PK_MODE_GROUP;
+ gpk_application_perform_search (application);
}
}
@@ -1887,11 +1931,13 @@
application->priv = GPK_APPLICATION_GET_PRIVATE (application);
application->priv->package = NULL;
+ application->priv->group = NULL;
application->priv->url = NULL;
application->priv->has_package = FALSE;
application->priv->gconf_client = gconf_client_get_default ();
application->priv->search_type = PK_SEARCH_UNKNOWN;
+ application->priv->search_mode = PK_MODE_UNKNOWN;
application->priv->current_filter = pk_enum_list_new ();
pk_enum_list_set_type (application->priv->current_filter, PK_ENUM_LIST_TYPE_FILTER);
@@ -1977,7 +2023,7 @@
/* single instance, so this is valid */
application->priv->extra = pk_extra_new ();
- ret = pk_extra_set_database (application->priv->extra, "/var/lib/PackageKit/extra-data.db");
+ ret = pk_extra_set_database (application->priv->extra, NULL);
if (!ret) {
pk_warning ("Failure setting database");
}
@@ -2385,6 +2431,7 @@
g_object_unref (application->priv->refresh_action);
g_free (application->priv->url);
+ g_free (application->priv->group);
g_free (application->priv->package);
G_OBJECT_CLASS (gpk_application_parent_class)->finalize (object);
Modified: trunk/src/gpk-common.c
==============================================================================
--- trunk/src/gpk-common.c (original)
+++ trunk/src/gpk-common.c Tue Apr 8 11:34:04 2008
@@ -169,19 +169,39 @@
get_action_from_error (GError *error)
{
PolKitAction *action;
- const gchar *paction;
+ gchar *paction, *p;
action = polkit_action_new ();
paction = NULL;
if (g_str_has_prefix (error->message, "Not privileged for action: ")) {
- paction = error->message + strlen ("Not privileged for action: ");
+ paction = g_strdup (error->message + strlen ("Not privileged for action: "));
+ p = strchr (paction, ' ');
+ if (p)
+ *p = '\0';
}
polkit_action_set_action_id (action, paction);
+ g_free (paction);
+
return action;
}
+static PolKitResult
+get_result_from_error (GError *error)
+{
+ PolKitResult result = POLKIT_RESULT_UNKNOWN;
+ const char *p;
+
+ p = strrchr (error->message, ' ');
+ if (p) {
+ p++;
+ polkit_result_from_string_representation (p, &result);
+ }
+
+ return result;
+}
+
static void
system_restart_auth_cb (PolKitAction *action, gboolean gained_privilege,
GError *error, DBusGProxy *proxy)
@@ -229,6 +249,8 @@
GError *error = NULL;
gboolean ret;
PolKitAction *action;
+ PolKitAction *action2;
+ PolKitResult result;
/* check dbus connections, exit if not valid */
connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
@@ -253,6 +275,25 @@
if (!ret) {
if (dbus_g_error_has_name (error, "org.freedesktop.ConsoleKit.Manager.NotPrivileged")) {
action = get_action_from_error (error);
+ result = get_result_from_error (error);
+
+ if (result == POLKIT_RESULT_NO) {
+ action2 = polkit_action_new ();
+ polkit_action_set_action_id (action2,
+ "org.freedesktop.consolekit.system.restart-multiple-users");
+ if (polkit_action_equal (action, action2)) {
+ gpk_error_modal_dialog (_("Failed to restart"),
+ _("You are not allowed to restart the computer "
+ "because multiple users are logged in"));
+ }
+
+ g_error_free (error);
+
+ polkit_action_unref (action);
+ polkit_action_unref (action2);
+
+ return FALSE;
+ }
g_clear_error (&error);
ret = request_restart_priv (proxy, action, &error);
polkit_action_unref (action);
@@ -387,12 +428,12 @@
gchar *text;
GString *string;
- if (pk_strzero (package_id)) {
- return g_strdup (_("Package identifier not valid"));
- }
-
/* split by delimeter */
ident = pk_package_id_new_from_string (package_id);
+ if (ident == NULL) {
+ pk_warning ("invalid package_id %s", package_id);
+ return NULL;
+ }
string = g_string_new (ident->name);
if (ident->version != NULL) {
@@ -423,12 +464,13 @@
PkPackageId *ident;
gchar *text;
- if (pk_strzero (package_id)) {
- return g_strdup (_("Package identifier not valid"));
- }
-
/* split by delimeter */
ident = pk_package_id_new_from_string (package_id);
+ if (ident == NULL) {
+ pk_warning ("invalid package_id %s", package_id);
+ return NULL;
+ }
+
if (pk_strzero (summary)) {
/* just have name */
text = g_strdup (ident->name);
@@ -456,6 +498,11 @@
/* split by delimeter */
ident = pk_package_id_new_from_string (package_id);
+ if (ident == NULL) {
+ pk_warning ("invalid package_id %s", package_id);
+ return NULL;
+ }
+
string = g_string_new (ident->name);
if (ident->version != NULL) {
g_string_append_printf (string, "-%s", ident->version);
@@ -475,12 +522,6 @@
gchar *package = NULL;
PkPackageId *ident;
- /* not set! */
- if (pk_strzero (package_id)) {
- pk_warning ("package_id blank, returning 'unknown'");
- return g_strdup ("Package identifier not valid");
- }
-
ident = pk_package_id_new_from_string (package_id);
if (ident == NULL) {
package = g_strdup (package_id);
@@ -1510,12 +1551,11 @@
************************************************************/
libst_title (test, "get name null");
text = gpk_package_get_name (NULL);
- if (text != NULL && strcmp (text, _("Package identifier not valid")) == 0) {
+ if (text == NULL) {
libst_success (test, NULL);
} else {
libst_failed (test, "failed, got %s", text);
}
- g_free (text);
/************************************************************/
libst_title (test, "get name not id");
@@ -1542,12 +1582,11 @@
************************************************************/
libst_title (test, "package id pretty null");
text = gpk_package_id_pretty (NULL, NULL);
- if (text != NULL && strcmp (text, _("Package identifier not valid")) == 0) {
+ if (text == NULL) {
libst_success (test, NULL);
} else {
libst_failed (test, "failed, got %s", text);
}
- g_free (text);
/************************************************************/
libst_title (test, "package id pretty valid package id, no summary");
Modified: trunk/src/gpk-install-file.c
==============================================================================
--- trunk/src/gpk-install-file.c (original)
+++ trunk/src/gpk-install-file.c Tue Apr 8 11:34:04 2008
@@ -248,6 +248,11 @@
g_print ("%s\n", _("You need to specify a file to install"));
return 1;
}
+ if (argc > 2) {
+ g_print ("%s\n%s\n", _("You can only specify one file to install"),
+ _("This will change in future versions of PackageKit"));
+ return 1;
+ }
client = pk_client_new ();
Modified: trunk/src/gpk-install-package.c
==============================================================================
--- trunk/src/gpk-install-package.c (original)
+++ trunk/src/gpk-install-package.c Tue Apr 8 11:34:04 2008
@@ -76,7 +76,7 @@
/* did we resolve? */
if (pk_strzero (package)) {
- gpk_error_modal_dialog (_("Failed to resolve"),
+ gpk_error_modal_dialog (_("Failed to find package"),
_("The package could not be found on the system"));
g_main_loop_quit (loop);
return;
@@ -174,6 +174,11 @@
g_print ("%s\n", _("You need to specify a package to install"));
return 1;
}
+ if (argc > 2) {
+ g_print ("%s\n%s\n", _("You can only specify one package to install"),
+ _("This will change in future versions of PackageKit"));
+ return 1;
+ }
loop = g_main_loop_new (NULL, FALSE);
client = pk_client_new ();
Modified: trunk/src/gpk-log.c
==============================================================================
--- trunk/src/gpk-log.c (original)
+++ trunk/src/gpk-log.c Tue Apr 8 11:34:04 2008
@@ -129,13 +129,6 @@
hours = (timeval_now.tv_sec - timeval.tv_sec) / (60 * 60);
pk_debug ("hours is %i", hours);
- /* is this recently? */
- if (hours < 24) {
- return g_strdup (_("Today"));
- } else if (hours < 24*2) {
- return g_strdup (_("Yesterday"));
- }
-
/* get printed string */
date = g_date_new ();
g_date_set_time_val (date, &timeval);
@@ -433,7 +426,7 @@
/* Hide window first so that the dialogue resizes itself without redrawing */
gtk_widget_hide (main_window);
- gtk_window_set_icon_name (GTK_WINDOW (main_window), "system-installer");
+ gtk_window_set_icon_name (GTK_WINDOW (main_window), "system-software-update");
/* hide the details for now */
widget = glade_xml_get_widget (glade_xml, "frame_details");
Modified: trunk/src/gpk-update-viewer.c
==============================================================================
--- trunk/src/gpk-update-viewer.c (original)
+++ trunk/src/gpk-update-viewer.c Tue Apr 8 11:34:04 2008
@@ -253,39 +253,27 @@
/* set correct view */
pk_updates_set_page (PAGE_PROGRESS);
+ package_ids = pk_package_ids_from_array (array);
/* reset */
ret = pk_client_reset (client_action, &error);
if (!ret) {
pk_warning ("failed to reset client: %s", error->message);
g_error_free (error);
- goto out;
- }
-
- /* update all of them */
- if (selected_all) {
- ret = pk_client_update_system (client_action, &error);
- if (!ret) {
- text = g_markup_escape_text (error->message, -1);
- gpk_error_modal_dialog (_("Updating all packages failed"), text);
- g_free (text);
- g_error_free (error);
- }
- goto out;
+ return;
}
/* update a list */
- package_ids = pk_package_ids_from_array (array);
ret = pk_client_update_packages_strv (client_action, package_ids, &error);
if (!ret) {
text = g_markup_escape_text (error->message, -1);
- gpk_error_modal_dialog (_("Updating individual packages failed"), text);
+ gpk_error_modal_dialog ("Individual updates failed", text);
g_free (text);
g_error_free (error);
}
g_strfreev (package_ids);
-out:
+ /* get rid of the array, and free the contents */
g_ptr_array_free (array, TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]