Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

projects:panel-plugins:xfce4-smartpm-plugin [2008/12/06 10:03] (current)
Line 1: Line 1:
 +====== Smart PM ======
  
 +
 +
 +
 +
 +
 +
 +
 +
 +===== About =====
 +
 +[[http://​smartpm.org|{{ :​projects:​panel-plugins:​xfce4-smart.png|Smart}}]]
 +
 +This plugin checks for package updates using the [[http://​smartpm.org|Smart Package Manager]].
 +
 +Works with both Redhat / Fedora (RPM) and Debian / Ubuntu (DEB) packages.
 +
 +\\
 +
 +[[http://​www.nongnu.org/​synaptic/​|{{ :​projects:​panel-plugins:​xfce4-synaptic.png|Synaptic}}]]
 +[[http://​www.yum-extender.org/​|{{ :​projects:​panel-plugins:​xfce4-yumex.png|Yum Extender}}]]
 +
 +It can also be configured, though with somewhat less features and functionality,​
 +
 +to use either the Yum (+[[http://​www.yum-extender.org/​|Extender]]) or APT (+[[http://​www.nongnu.org/​synaptic/​|Synaptic]]) package managers.
 +
 +\\
 +
 +[[http://​gtkpacman.berlios.de/​|{{ :​projects:​panel-plugins:​xfce4-gtkpacman.png|gtkPacman}}]]
 +[[http://​software.jaos.org/​|{{ :​projects:​panel-plugins:​xfce4-gslapt.png|Slapt}}]]
 +
 +Alternatively you can try it with [[http://​software.jaos.org/​|Slapt]] or [[http://​www.archlinux.org/​pacman/​| Pacman]] package managers
 +
 +for use with Slackware / Vector (TAR) or Arch Linux (.pkg.tar.gz) packages.
 +
 +
 +===== Usage =====
 +
 +Click the icon to launch the Smart install/​upgrade GUI, or middle-click
 +the icon to check for upgrades. This will check using local cache only.
 +
 +To update channels from the network, use the menu item or dialog button
 +(install the setuid program "​smart-update"​ to avoid sudo and the dialog)
 +
 +By default, the plugin will check for upgrades / updates on demand only.
 +Recommended is to use check interval for upgrades, and cron for updates.
 +
 +
 +
 +
 +
 +===== Commands =====
 +
 +The following table shows which Package Manager commands are being used:
 +
 +^ P.M. ^ CHECK FOR UPGRADES (local) ​         ^ UPDATE CHANNELS (network) ​       ^
 +|Smart | ''​%%smart upgrade --dump%%'' ​               | ''​%%smart-update%%'' ​                    |
 +|Yum   | ''​%%yum -C check-update%%'' ​                | ''​%%su -c "yum check-update"​%%'' ​        |
 +|APT   | ''​%%apt-get --simulate dist-upgrade%%'' ​    | ''​%%sudo apt-get update%%'' ​             |
 +|Slapt | ''​%%slapt-get --simulate --dist-upgrade%%''​ | ''​%%su -c "​slapt-get --update"​%%'' ​      |
 +|Pacman| ''​%%pacman -Sup --noconfirm%%'' ​            | ''​%%su -c "​pacman -Sy"​%%'' ​              |
 +Checking for upgrades or browsing packages can be done as a regular user,\\
 +while updating channels or installing packages requires superuser privileges.
 +
 +
 +
 +===== Screenshots =====
 +
 +{{:​projects:​panel-plugins:​xfce4-smart-plugin.png|:​projects:​panel-plugins:​xfce4-smart-plugin.png}}
 +{{:​projects:​panel-plugins:​xfce4-smartpm-plugin.png|:​projects:​panel-plugins:​xfce4-smartpm-plugin.png}}
 +
 +//The panel plugin can be configured both in the Xfce-default layout (like in the Fedora desktop) with the application icon of the selected package manager, or in the GNOME-like layout (like in the Ubuntu desktop) with a generic package icon.//
 +
 +{{:​projects:​panel-plugins:​xfce4-smartpm-plugin-root.png?​228|:​projects:​panel-plugins:​xfce4-smartpm-plugin-root.png}}
 +{{:​projects:​panel-plugins:​xfce4-smartpm-plugin-gksu.png?​228|:​projects:​panel-plugins:​xfce4-smartpm-plugin-gksu.png}}
 +
 +//When launching the package manager you will be asked to authenticate as the root user (for ''​su''​) or an admin user (for ''​sudo''​),​ in order be able to install packages. By installing the ''​smart-update''​ program, you can avoid this for updating the channels.//
 +
 +{{:​projects:​panel-plugins:​xfce4-smartpm-plugin-notify.png|:​projects:​panel-plugins:​xfce4-smartpm-plugin-notify.png}}
 +
 +//Tooltips and icon are normally used for status communication,​ but notifications can optionally be configured too. Use ''​%%--enable-libnotify%%''​ to enable upgrade notifications//​
 +
 +===== Development =====
 +To build plugin from source code in SVN or ZIP, use something like:
 +<​code>​
 +./​autogen.sh --prefix=/​usr && make && sudo make install
 +</​code>​
 +
 +==== Subversion Trunk ====
 +
 +http://​svn.xfce.org/​svn/​goodies/​xfce4-smartpm-plugin/​trunk/​
 +
 +
 +
 +==== Testing Distributions ====
 +
 +  * Fedora Sulphur (F-9) - http://​fedoraproject.org/​ - "make rpm"
 +  * Ubuntu Hardy (8.04) - http://​www.xubuntu.org/​ - "make deb"
 +  * VectorLinux Std (5.9) - http://​vectorlinux.com/​ - "make tlz"
 +  * Arch Linux (2008.06) - http://​www.archlinux.org/​
 +
 +===== Releases =====
 +
 +See http://​goodies.xfce.org/​releases/​xfce4-smartpm-plugin/​ChangeLog
 +
 +==== 0.4.0 (2008-12-05) ====
 +
 +[[http://​goodies.xfce.org/​releases/​xfce4-smartpm-plugin/​xfce4-smartpm-plugin-0.4.0.tar.gz|xfce4-smartpm-plugin-0.4.0.tar.gz]] ​        
 +- Major update:
 +
 +    * Support added for Pacman+gtkPacman (Arch Linux)
 +    * Fixed bug with configure and newer versions of intltool
 +
 +==== 0.3.2 (2008-05-18) ====
 +
 +[[http://​goodies.xfce.org/​releases/​xfce4-smartpm-plugin/​xfce4-smartpm-plugin-0.3.2.tar.gz|xfce4-smartpm-plugin-0.3.2.tar.gz]] ​        
 +- Minor update:
 +
 +    * Minor changes, added flag for "​su"​ vs. "​sudo"​ auth
 +    * Fixed bug looking in old path only for "​smart-root"​
 +
 +==== 0.3.1 (2008-01-31) ====
 +
 +[[http://​goodies.xfce.org/​releases/​xfce4-smartpm-plugin/​xfce4-smartpm-plugin-0.3.1.tar.gz|xfce4-smartpm-plugin-0.3.1.tar.gz]] ​        
 +- Minor update:
 +
 +    * Bugfix for Xubuntu package, was not finding gksudo
 +
 +==== 0.3.0 (2008-01-09) ====
 +
 +[[http://​goodies.xfce.org/​releases/​xfce4-smartpm-plugin/​xfce4-smartpm-plugin-0.3.0.tar.gz|xfce4-smartpm-plugin-0.3.0.tar.gz]] ​        
 +- Major update:
 +
 +    * Optionally showing notifications for new upgrades
 +    * Support added for slapt+gslapt (Slackware/​Vector)
 +
 +==== 0.2.2 (2007-10-05) ====
 +
 +[[http://​goodies.xfce.org/​releases/​xfce4-smartpm-plugin/​xfce4-smartpm-plugin-0.2.2.tar.gz|xfce4-smartpm-plugin-0.2.2.tar.gz]] ​        
 +- Minor update:
 +
 +    * choosing between upgrade/​dist-upgrade (apt backend)
 +
 +==== 0.2.1 (2007-09-28) ====
 +
 +[[http://​goodies.xfce.org/​releases/​xfce4-smartpm-plugin/​xfce4-smartpm-plugin-0.2.1.tar.gz|xfce4-smartpm-plugin-0.2.1.tar.gz]] ​        
 +- Minor bugfix update, bugs resolved:
 +
 +    * ignoring harmless "​StateFile"​ error from apt backend
 +    * fixed wrong icon being displayed when error occured
 +
 +==== 0.2.0 (2007-08-22) ====
 +
 +[[http://​goodies.xfce.org/​releases/​xfce4-smartpm-plugin/​xfce4-smartpm-plugin-0.2.0.tar.gz|xfce4-smartpm-plugin-0.2.0.tar.gz]] ​        
 +- New major version, with new features:
 +
 +    * rename from xfce4-smart-plugin to xfce4-smartpm-plugin
 +    * fixed missing icon from Update menu, wrong GTK class
 +    * add support for Yum+Extender and APT+Synaptic as well
 +    * add new application and package icons, including SVG
 +
 +==== 0.1.2 (2007-04-08) ====
 +
 +[[http://​goodies.xfce.org/​releases/​xfce4-smart-plugin/​xfce4-smart-plugin-0.1.2.zip|xfce4-smart-plugin-0.1.2.zip]] - Minor changes, to icon drawing and path settings
 +
 +==== 0.1.1 (2007-04-03) ====
 +[[
 +http://​goodies.xfce.org/​releases/​xfce4-smart-plugin/​xfce4-smart-plugin-0.1.1.zip|xfce4-smart-plugin-0.1.1.zip]] - Updated version, tested with Xubuntu Feisty (Beta)
 +
 +==== 0.1.0 (2007-04-02) ====
 +
 +**xfce4-smart-plugin-0.1.0.zip** - Initial version, tested with Fedora Core 7 (Test 3)
 +
 +
 +===== Dependencies =====
 +
 +  * Requires Xfce version 4.4.0 or later (external plugin)
 +  * Requires Smart Package Manager version 0.50 or later
 +
 +  * Optionally requires [[http://​www.nongnu.org/​gksu/​|gksu]] for providing authentication
 +  * Optionally requires [[http://​www.galago-project.org/​|libnotify]] for showing notifications
 +
 +===== See Also =====
 +
 +Similar programs:
 +
 +  * ksmarttray, for KDE
 +  * update-notifier,​ for GNOME
 +
 +
 +===== Authors =====
 +
 +Written by Anders F Björklund <afb at users.sourceforge.net>​
 +
 +
 +
 +
 +
 +===== Translations =====
 +
 +  * English (American)
 +  * Arabic, Mohamed Magdy
 +  * Czech, Michal Várady
 +  * Danish, Jens Hyllegaard
 +  * English (British), Jeff Bailes
 +  * French, Mike Massonnet
 +  * German, Pascal Bleser
 +  * Indonesian, Andhika Padmawan
 +  * Japanese, Nobuhiro Iwamatsu
 +  * Latvian, Rihards Priedītis
 +  * Portuguese (Brazilian),​ Fábio Nogueira
 +  * Portuguese (European), Nuno Miguel
 +  * Swedish, Anders F Björklund
 +  * Turkish, Eren Turkay
 +  * Urdu, Muhammad Ali Makki
 +  * //send in your translated [[http://​svn.xfce.org/​svn/​goodies/​xfce4-smartpm-plugin/​trunk/​po/​xfce4-smartpm-plugin.pot|xfce4-smartpm-plugin.pot]] file, please//