Hello community, here is the log from the commit of package opensuse-updater checked in at Mon Dec 11 21:01:12 CET 2006. -------- --- KDE/opensuse-updater/opensuse-updater.changes 2006-12-04 14:46:36.000000000 +0100 +++ /mounts/work_src_done/STABLE/opensuse-updater/opensuse-updater.changes 2006-12-11 17:05:44.000000000 +0100 @@ -2,3 +2 @@ -Mon Dec 4 14:46:33 CET 2006 - dmueller@suse.de - -- don't build as root +Mon Dec 11 16:55:56 CET 2006 - dmacvicar@suse.de @@ -5,0 +4,3 @@ +- fix yast paths (#224566 - reopened) +- add basic infrastructure for cleanup at exit, not done yet +- r494 @@ -13 +14 @@ -- r490 +- r492 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opensuse-updater.spec ++++++ --- /var/tmp/diff_new_pack.89PY1t/_old 2006-12-11 21:01:04.000000000 +0100 +++ /var/tmp/diff_new_pack.89PY1t/_new 2006-12-11 21:01:04.000000000 +0100 @@ -8,7 +8,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: opensuse-updater BuildRequires: kdelibs3-devel update-desktop-files @@ -16,7 +15,7 @@ Group: System/Management Summary: KDE updater applet for OpenSUSE Version: 0.4 -Release: 32 +Release: 33 URL: http://en.opensuse.org/KDE_Updater_Applet BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: opensuseupdater-%{version}.tar.bz2 @@ -72,14 +71,16 @@ /opt/kde3/share/config.kcfg/opensuseupdater_settings.kcfg %changelog -n opensuse-updater -* Mon Dec 04 2006 - dmueller@suse.de -- don't build as root +* Mon Dec 11 2006 - dmacvicar@suse.de +- fix yast paths (#224566 - reopened) +- add basic infrastructure for cleanup at exit, not done yet +- r494 * Thu Nov 30 2006 - dmacvicar@suse.de - Use xfg-su copy to launch yast (#224566) - disable selection of updates for backends which don't support it (ie: zypp) - fix iconname in specfile -- r490 +- r492 * Mon Nov 27 2006 - dmacvicar@suse.de - enable install button when updates are available (#218182) - provide icon in various sizes, they doesn't look bad scaled now. ++++++ opensuseupdater-0.4.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opensuseupdater-0.4/updater/Updater.h new/opensuseupdater-0.4/updater/Updater.h --- old/opensuseupdater-0.4/updater/Updater.h 2006-11-27 13:00:04.000000000 +0100 +++ new/opensuseupdater-0.4/updater/Updater.h 2006-12-11 16:32:25.000000000 +0100 @@ -64,7 +64,12 @@ Used by GUI to retrieve updater capabilities **/ virtual UpdaterCapabilities capabilities() = 0; - + + /** + * this is called when the updater is going to quit so the + * backend can do cleanup + */ + virtual void shutdown() = 0; signals: /** This is a signal sent to the MainWindow class. It tells the applet whether the backend is ready @@ -167,8 +172,7 @@ @param item the QListViewItem currently selected. @param point where to show the menu. **/ - virtual void updateMenu(QListViewItem *item, const QPoint &point) = 0; - + virtual void updateMenu(QListViewItem *item, const QPoint &point) = 0; }; #endif diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opensuseupdater-0.4/updater/UpdaterApplication.cpp new/opensuseupdater-0.4/updater/UpdaterApplication.cpp --- old/opensuseupdater-0.4/updater/UpdaterApplication.cpp 2006-11-27 13:04:15.000000000 +0100 +++ new/opensuseupdater-0.4/updater/UpdaterApplication.cpp 2006-12-11 16:41:39.000000000 +0100 @@ -96,7 +96,11 @@ } -UpdaterApplication::~UpdaterApplication() { +UpdaterApplication::~UpdaterApplication() +{ + if ( updater ) + updater->shutdown(); + delete main; delete updater; } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opensuseupdater-0.4/updater/UpdaterApplication.h new/opensuseupdater-0.4/updater/UpdaterApplication.h --- old/opensuseupdater-0.4/updater/UpdaterApplication.h 2006-10-11 16:19:39.000000000 +0200 +++ new/opensuseupdater-0.4/updater/UpdaterApplication.h 2006-12-11 16:28:14.000000000 +0100 @@ -46,6 +46,9 @@ UpdaterApplication(); ~UpdaterApplication(); + + signals: + void shutdown(); private: MainWindow *main; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opensuseupdater-0.4/updater/zmd/ZmdUpdater.cpp new/opensuseupdater-0.4/updater/zmd/ZmdUpdater.cpp --- old/opensuseupdater-0.4/updater/zmd/ZmdUpdater.cpp 2006-11-15 17:37:59.000000000 +0100 +++ new/opensuseupdater-0.4/updater/zmd/ZmdUpdater.cpp 2006-12-11 16:33:52.000000000 +0100 @@ -89,6 +89,11 @@ return caps; } +void ZmdUpdater::shutdown() +{ + +} + /******************************************************************** Slots recieving signals from the mainwindow diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opensuseupdater-0.4/updater/zmd/ZmdUpdater.h new/opensuseupdater-0.4/updater/zmd/ZmdUpdater.h --- old/opensuseupdater-0.4/updater/zmd/ZmdUpdater.h 2006-11-15 14:33:35.000000000 +0100 +++ new/opensuseupdater-0.4/updater/zmd/ZmdUpdater.h 2006-12-11 16:34:09.000000000 +0100 @@ -68,7 +68,7 @@ ZmdUpdater(); virtual UpdaterCapabilities capabilities(); - + virtual void shutdown(); private slots: //Slots implemented from Updater abstract class diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opensuseupdater-0.4/updater/zypp/ZYppUpdater.cpp new/opensuseupdater-0.4/updater/zypp/ZYppUpdater.cpp --- old/opensuseupdater-0.4/updater/zypp/ZYppUpdater.cpp 2006-11-30 16:22:51.000000000 +0100 +++ new/opensuseupdater-0.4/updater/zypp/ZYppUpdater.cpp 2006-12-11 16:33:34.000000000 +0100 @@ -217,6 +217,10 @@ } +void ZYppUpdater::shutdown() +{ + +} void ZYppUpdater::doCheckForUpdates() { @@ -326,7 +330,7 @@ } _you_process = new KProcess; - *_you_process << "opensuseupdater-su" << "-c" << "yast2 online_update"; + *_you_process << "opensuseupdater-su" << "-c" << "/sbin/yast2 online_update"; connect( _you_process, SIGNAL( processExited( KProcess * ) ), SLOT( slotYOUProcessExited( KProcess * ) ) ); @@ -341,7 +345,7 @@ void ZYppUpdater::configureUpdater() { KProcess *inst_source = new KProcess; - *inst_source << "opensuseupdater-su" << "-c" << "yast2 inst_source"; + *inst_source << "opensuseupdater-su" << "-c" << "/sbin/yast2 inst_source"; connect( inst_source, SIGNAL( processExited( KProcess * ) ), SLOT( slotInstSourceProcessExited( KProcess * ) ) ); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/opensuseupdater-0.4/updater/zypp/ZYppUpdater.h new/opensuseupdater-0.4/updater/zypp/ZYppUpdater.h --- old/opensuseupdater-0.4/updater/zypp/ZYppUpdater.h 2006-11-14 17:54:09.000000000 +0100 +++ new/opensuseupdater-0.4/updater/zypp/ZYppUpdater.h 2006-12-11 16:37:02.000000000 +0100 @@ -69,7 +69,8 @@ ZYppUpdater(); virtual UpdaterCapabilities capabilities(); - + virtual void shutdown(); + // QXmlDefaultHandler implementation virtual bool startDocument(); virtual bool endDocument(); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org