Hello community, here is the log from the commit of package kde4-opensuse-updater checked in at Tue Apr 29 23:54:10 CEST 2008. -------- --- KDE/kde4-opensuse-updater/kde4-opensuse-updater.changes 2008-04-19 09:59:11.000000000 +0200 +++ kde4-opensuse-updater/kde4-opensuse-updater.changes 2008-04-29 17:25:39.000000000 +0200 @@ -2 +2,13 @@ -Wed Apr 29 10:49:07 CEST 2008 - tgoettlicher@suse.de +Tue Apr 29 17:22:01 CEST 2008 - tgoettlicher@suse.de + +- fixed encoding (bnc #381288) +- V 0.7.8 + +------------------------------------------------------------------- +Tue Apr 29 16:06:11 CEST 2008 - tgoettlicher@suse.de + +- changed autostart mechanism for compatibility with kde3 and kde4 +- V 0.7.7 + +------------------------------------------------------------------- +Tue Apr 29 10:49:07 CEST 2008 - tgoettlicher@suse.de @@ -8 +20 @@ -Wed Apr 28 18:05:10 CEST 2008 - tgoettlicher@suse.de +Mon Apr 28 18:05:10 CEST 2008 - tgoettlicher@suse.de @@ -15 +27 @@ -Wed Apr 25 11:07:17 CEST 2008 - tgoettlicher@suse.de +Fri Apr 25 11:07:17 CEST 2008 - tgoettlicher@suse.de @@ -21 +33 @@ -Wed Apr 24 18:22:21 CEST 2008 - tgoettlicher@suse.de +Thu Apr 24 18:22:21 CEST 2008 - tgoettlicher@suse.de Old: ---- kde4-opensuse-updater-0.7.6.tar.bz2 New: ---- kde4-opensuse-updater-0.7.8.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kde4-opensuse-updater.spec ++++++ --- /var/tmp/diff_new_pack.T14364/_old 2008-04-29 23:52:11.000000000 +0200 +++ /var/tmp/diff_new_pack.T14364/_new 2008-04-29 23:52:11.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package kde4-opensuse-updater (Version 0.7.6) +# spec file for package kde4-opensuse-updater (Version 0.7.8) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -16,7 +16,7 @@ License: GPL v2 or later Group: System/YaST Summary: OpenSUSE system updater applet (KDE4) -Version: 0.7.6 +Version: 0.7.8 Release: 1 Url: http://en.opensuse.org/KDE_Updater_Applet BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -68,13 +68,20 @@ /usr/share/icons/hicolor/*/apps/* %_libdir/libopensuseupdater.so* %_libdir/kde4/opensuseupdater_*.so -/usr/share/autostart/opensusestart.desktop +#/usr/share/autostart/opensusestart.desktop +/etc/xdg/autostart/opensuseupdater-autostart.desktop /usr/share/kde4/apps/opensuseupdater /usr/share/kde4/config.kcfg/opensuseupdater_settings.kcfg /usr/share/kde4/servicetypes/opensuseupdater_backend.desktop %changelog * Tue Apr 29 2008 tgoettlicher@suse.de +- fixed encoding (bnc #381288) +- V 0.7.8 +* Tue Apr 29 2008 tgoettlicher@suse.de +- changed autostart mechanism for compatibility with kde3 and kde4 +- V 0.7.7 +* Tue Apr 29 2008 tgoettlicher@suse.de - packagekit backend: check whether registration did run (fate #303359) - V 0.7.6 * Mon Apr 28 2008 tgoettlicher@suse.de ++++++ kde4-opensuse-updater-0.7.6.tar.bz2 -> kde4-opensuse-updater-0.7.8.tar.bz2 ++++++ Files old/kde4-opensuse-updater-0.7.6/.git/index and new/kde4-opensuse-updater-0.7.8/.git/index differ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/.git/logs/HEAD new/kde4-opensuse-updater-0.7.8/.git/logs/HEAD --- old/kde4-opensuse-updater-0.7.6/.git/logs/HEAD 2008-04-19 09:58:59.000000000 +0200 +++ new/kde4-opensuse-updater-0.7.8/.git/logs/HEAD 2008-04-29 17:25:31.000000000 +0200 @@ -1 +1 @@ -0000000000000000000000000000000000000000 23c45e8f5b8556a802353a42805308823eb0a1a5 tgoettlicher <tgoettlicher@e230.suse.de> 1208591939 +0200 +0000000000000000000000000000000000000000 dd18b2a1b4bb984eefa640ca5b09f81cf65df25c tgoettlicher <tgoettlicher@e230.suse.de> 1209482731 +0200 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/.git/logs/refs/heads/master new/kde4-opensuse-updater-0.7.8/.git/logs/refs/heads/master --- old/kde4-opensuse-updater-0.7.6/.git/logs/refs/heads/master 2008-04-19 09:58:59.000000000 +0200 +++ new/kde4-opensuse-updater-0.7.8/.git/logs/refs/heads/master 2008-04-29 17:25:31.000000000 +0200 @@ -1 +1 @@ -0000000000000000000000000000000000000000 23c45e8f5b8556a802353a42805308823eb0a1a5 tgoettlicher <tgoettlicher@e230.suse.de> 1208591939 +0200 +0000000000000000000000000000000000000000 dd18b2a1b4bb984eefa640ca5b09f81cf65df25c tgoettlicher <tgoettlicher@e230.suse.de> 1209482731 +0200 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/.git/logs/refs/remotes/origin/master new/kde4-opensuse-updater-0.7.8/.git/logs/refs/remotes/origin/master --- old/kde4-opensuse-updater-0.7.6/.git/logs/refs/remotes/origin/master 2008-04-19 09:58:59.000000000 +0200 +++ new/kde4-opensuse-updater-0.7.8/.git/logs/refs/remotes/origin/master 2008-04-29 17:25:31.000000000 +0200 @@ -1 +1 @@ -0000000000000000000000000000000000000000 23c45e8f5b8556a802353a42805308823eb0a1a5 tgoettlicher <tgoettlicher@e230.suse.de> 1208591939 +0200 clone: from git@git.opensuse.org:projects/opensuse-updater-kde.git +0000000000000000000000000000000000000000 dd18b2a1b4bb984eefa640ca5b09f81cf65df25c tgoettlicher <tgoettlicher@e230.suse.de> 1209482731 +0200 clone: from git@git.opensuse.org:projects/opensuse-updater-kde.git Files old/kde4-opensuse-updater-0.7.6/.git/objects/pack/pack-7ffce917dc48c45f5cbce2f11256cfb692c16108.idx and new/kde4-opensuse-updater-0.7.8/.git/objects/pack/pack-7ffce917dc48c45f5cbce2f11256cfb692c16108.idx differ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/.git/objects/pack/pack-7ffce917dc48c45f5cbce2f11256cfb692c16108.keep new/kde4-opensuse-updater-0.7.8/.git/objects/pack/pack-7ffce917dc48c45f5cbce2f11256cfb692c16108.keep --- old/kde4-opensuse-updater-0.7.6/.git/objects/pack/pack-7ffce917dc48c45f5cbce2f11256cfb692c16108.keep 2008-04-19 09:58:59.000000000 +0200 +++ new/kde4-opensuse-updater-0.7.8/.git/objects/pack/pack-7ffce917dc48c45f5cbce2f11256cfb692c16108.keep 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -fetch-pack 32471 on e230 Files old/kde4-opensuse-updater-0.7.6/.git/objects/pack/pack-7ffce917dc48c45f5cbce2f11256cfb692c16108.pack and new/kde4-opensuse-updater-0.7.8/.git/objects/pack/pack-7ffce917dc48c45f5cbce2f11256cfb692c16108.pack differ Files old/kde4-opensuse-updater-0.7.6/.git/objects/pack/pack-decf2e1b22c48e9843ca6f72030496a100d21d34.idx and new/kde4-opensuse-updater-0.7.8/.git/objects/pack/pack-decf2e1b22c48e9843ca6f72030496a100d21d34.idx differ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/.git/objects/pack/pack-decf2e1b22c48e9843ca6f72030496a100d21d34.keep new/kde4-opensuse-updater-0.7.8/.git/objects/pack/pack-decf2e1b22c48e9843ca6f72030496a100d21d34.keep --- old/kde4-opensuse-updater-0.7.6/.git/objects/pack/pack-decf2e1b22c48e9843ca6f72030496a100d21d34.keep 1970-01-01 01:00:00.000000000 +0100 +++ new/kde4-opensuse-updater-0.7.8/.git/objects/pack/pack-decf2e1b22c48e9843ca6f72030496a100d21d34.keep 2008-04-29 17:25:31.000000000 +0200 @@ -0,0 +1 @@ +fetch-pack 20594 on e230 Files old/kde4-opensuse-updater-0.7.6/.git/objects/pack/pack-decf2e1b22c48e9843ca6f72030496a100d21d34.pack and new/kde4-opensuse-updater-0.7.8/.git/objects/pack/pack-decf2e1b22c48e9843ca6f72030496a100d21d34.pack differ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/.git/refs/heads/master new/kde4-opensuse-updater-0.7.8/.git/refs/heads/master --- old/kde4-opensuse-updater-0.7.6/.git/refs/heads/master 2008-04-19 09:58:59.000000000 +0200 +++ new/kde4-opensuse-updater-0.7.8/.git/refs/heads/master 2008-04-29 17:25:31.000000000 +0200 @@ -1 +1 @@ -23c45e8f5b8556a802353a42805308823eb0a1a5 +dd18b2a1b4bb984eefa640ca5b09f81cf65df25c diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/.git/refs/remotes/origin/master new/kde4-opensuse-updater-0.7.8/.git/refs/remotes/origin/master --- old/kde4-opensuse-updater-0.7.6/.git/refs/remotes/origin/master 2008-04-19 09:58:59.000000000 +0200 +++ new/kde4-opensuse-updater-0.7.8/.git/refs/remotes/origin/master 2008-04-29 17:25:31.000000000 +0200 @@ -1 +1 @@ -23c45e8f5b8556a802353a42805308823eb0a1a5 +dd18b2a1b4bb984eefa640ca5b09f81cf65df25c diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/kde4-opensuse-updater.spec.in new/kde4-opensuse-updater-0.7.8/kde4-opensuse-updater.spec.in --- old/kde4-opensuse-updater-0.7.6/kde4-opensuse-updater.spec.in 2008-04-19 09:58:59.000000000 +0200 +++ new/kde4-opensuse-updater-0.7.8/kde4-opensuse-updater.spec.in 2008-04-29 17:25:31.000000000 +0200 @@ -73,7 +73,8 @@ /usr/share/icons/hicolor/*/apps/* %_libdir/libopensuseupdater.so* %_libdir/kde4/opensuseupdater_*.so -/usr/share/autostart/opensusestart.desktop +#/usr/share/autostart/opensusestart.desktop +/etc/xdg/autostart/opensuseupdater-autostart.desktop /usr/share/kde4/apps/opensuseupdater /usr/share/kde4/config.kcfg/opensuseupdater_settings.kcfg /usr/share/kde4/servicetypes/opensuseupdater_backend.desktop diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/package/kde4-opensuse-updater.changes new/kde4-opensuse-updater-0.7.8/package/kde4-opensuse-updater.changes --- old/kde4-opensuse-updater-0.7.6/package/kde4-opensuse-updater.changes 2008-04-19 09:58:59.000000000 +0200 +++ new/kde4-opensuse-updater-0.7.8/package/kde4-opensuse-updater.changes 2008-04-29 17:25:31.000000000 +0200 @@ -1,24 +1,36 @@ ------------------------------------------------------------------- -Wed Apr 29 10:49:07 CEST 2008 - tgoettlicher@suse.de +Tue Apr 29 17:22:01 CEST 2008 - tgoettlicher@suse.de + +- fixed encoding (bnc #381288) +- V 0.7.8 + +------------------------------------------------------------------- +Tue Apr 29 16:06:11 CEST 2008 - tgoettlicher@suse.de + +- changed autostart mechanism for compatibility with kde3 and kde4 +- V 0.7.7 + +------------------------------------------------------------------- +Tue Apr 29 10:49:07 CEST 2008 - tgoettlicher@suse.de - packagekit backend: check whether registration did run (fate #303359) - V 0.7.6 ------------------------------------------------------------------- -Wed Apr 28 18:05:10 CEST 2008 - tgoettlicher@suse.de +Mon Apr 28 18:05:10 CEST 2008 - tgoettlicher@suse.de - updated translations - V 0.7.5 ------------------------------------------------------------------- -Wed Apr 25 11:07:17 CEST 2008 - tgoettlicher@suse.de +Fri Apr 25 11:07:17 CEST 2008 - tgoettlicher@suse.de - zypp backend: check whether registration did run (fate #303359) ------------------------------------------------------------------- -Wed Apr 24 18:22:21 CEST 2008 - tgoettlicher@suse.de +Thu Apr 24 18:22:21 CEST 2008 - tgoettlicher@suse.de - zypp backend: calls refresh before checking for updates (bnc #345425) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/updater/CMakeLists.txt new/kde4-opensuse-updater-0.7.8/updater/CMakeLists.txt --- old/kde4-opensuse-updater-0.7.6/updater/CMakeLists.txt 2008-04-19 09:58:59.000000000 +0200 +++ new/kde4-opensuse-updater-0.7.8/updater/CMakeLists.txt 2008-04-29 17:25:32.000000000 +0200 @@ -67,6 +67,8 @@ install(FILES opensuseupdater_settings.kcfg DESTINATION ${KCFG_INSTALL_DIR}) install(FILES opensuseupdater_backend.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR}) install(FILES opensuseupdater.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) -install(FILES opensusestart.desktop DESTINATION ${AUTOSTART_INSTALL_DIR}) +#install(FILES opensusestart.desktop DESTINATION ${AUTOSTART_INSTALL_DIR}) +install(FILES opensuseupdater-autostart.desktop DESTINATION "/etc/xdg/autostart") + #kde3_install_icons( hicolor ) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/updater/MainWindow.cpp new/kde4-opensuse-updater-0.7.8/updater/MainWindow.cpp --- old/kde4-opensuse-updater-0.7.6/updater/MainWindow.cpp 2008-04-19 09:58:59.000000000 +0200 +++ new/kde4-opensuse-updater-0.7.8/updater/MainWindow.cpp 2008-04-29 17:25:32.000000000 +0200 @@ -37,6 +37,7 @@ #include <ktextedit.h> #include <kpushbutton.h> #include <kapplication.h> +#include <QDir> #include <q3listview.h> #include <qlabel.h> @@ -504,6 +505,39 @@ timer->changeInterval(timerInterval); updateTabs(); + + + // ----------------------------------------------------------- + // check whether auto start configuration has changed + // create or delete autostart file according to configuration + + if (!UpdaterSettings::self()->autostart()) + { + QDir configDir(QDir::home().absPath()+"/.config"); + if (!configDir.exists()) + configDir.mkdir(QDir::home().absPath()+"/.config"); + + QDir configAutostartDir(QDir::home().absPath()+"/.config/autostart"); + if (!configAutostartDir.exists()) + configAutostartDir.mkdir(QDir::home().absPath()+"/.config/autostart"); + + QFile file(QDir::home().absPath()+"/.config/autostart/opensuseupdater-autostart.desktop"); + if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) + return; + + QTextStream out(&file); + out << "[Desktop Entry]" << endl; + out << "Hidden=true" << endl; + } + else + { + QFile file( QDir::home().absPath()+"/.config/autostart/opensuseupdater-autostart.desktop" ); + if (file.exists()) + file.remove(); + } + + + } void MainWindow::populateDone() diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/updater/opensusestart.desktop new/kde4-opensuse-updater-0.7.8/updater/opensusestart.desktop --- old/kde4-opensuse-updater-0.7.6/updater/opensusestart.desktop 2008-04-19 09:58:59.000000000 +0200 +++ new/kde4-opensuse-updater-0.7.8/updater/opensusestart.desktop 1970-01-01 01:00:00.000000000 +0100 @@ -1,11 +0,0 @@ -[Desktop Entry] -Type=Application -Exec=opensuseupdater-kde -Terminal=false -Name=OpenSUSE Updater -Icon=opensuseupdater - -X-KDE-StartupNotify=false -X-KDE-autostart-condition=opensuseupdaterrc:General:Autostart:true -X-KDE-autostart-after=panel -OnlyShowIn=KDE diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/updater/opensuseupdater-autostart.desktop new/kde4-opensuse-updater-0.7.8/updater/opensuseupdater-autostart.desktop --- old/kde4-opensuse-updater-0.7.6/updater/opensuseupdater-autostart.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/kde4-opensuse-updater-0.7.8/updater/opensuseupdater-autostart.desktop 2008-04-29 17:25:32.000000000 +0200 @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Exec=opensuseupdater-kde +Terminal=false +Name=OpenSUSE Updater +Icon=opensuseupdater + +X-KDE-StartupNotify=false +X-KDE-autostart-condition=opensuseupdaterrc:General:Autostart:true +X-KDE-autostart-after=panel +OnlyShowIn=KDE diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/updater/zypp/ZYppUpdater.cpp new/kde4-opensuse-updater-0.7.8/updater/zypp/ZYppUpdater.cpp --- old/kde4-opensuse-updater-0.7.6/updater/zypp/ZYppUpdater.cpp 2008-04-19 09:58:59.000000000 +0200 +++ new/kde4-opensuse-updater-0.7.8/updater/zypp/ZYppUpdater.cpp 2008-04-29 17:25:32.000000000 +0200 @@ -152,11 +152,12 @@ { if (!_warningList.isEmpty()) for (unsigned int i=0; i < _warningList.size(); ++i) - QMessageBox::warning( NULL, PROGRAM_DISPLAY_NAME, "<qt>" + _warningList[i].toUtf8() + "</qt>" ); + QMessageBox::warning( NULL, PROGRAM_DISPLAY_NAME, "<qt>" + _warningList[i] + "</qt>" ); // if (!_infoList.isEmpty()) // for (unsigned int i=0; i < _infoList.size(); ++i) -// QMessageBox::information( NULL, PROGRAM_DISPLAY_NAME, "<qt>" + _infoList[i].toUtf8() + "</qt>"); +// QMessageBox::information( NULL, PROGRAM_DISPLAY_NAME, "<qt>" + _infoList[i] + "</qt>"); + if (!_errorList.isEmpty()) { @@ -164,7 +165,7 @@ updateAppletError(_errorList.join("\n")); for (unsigned int i=0; i < _errorList.size(); ++i) { - QMessageBox::critical( NULL, PROGRAM_DISPLAY_NAME, "<qt>" + _errorList[i].toUtf8() + "</qt>" ); + QMessageBox::critical( NULL, PROGRAM_DISPLAY_NAME, "<qt>" + _errorList[i] + "</qt>" ); } } } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kde4-opensuse-updater-0.7.6/VERSION.cmake new/kde4-opensuse-updater-0.7.8/VERSION.cmake --- old/kde4-opensuse-updater-0.7.6/VERSION.cmake 2008-04-19 09:58:59.000000000 +0200 +++ new/kde4-opensuse-updater-0.7.8/VERSION.cmake 2008-04-29 17:25:31.000000000 +0200 @@ -1,3 +1,3 @@ SET(VERSION_MAJOR "0") SET(VERSION_MINOR "7") -SET(VERSION_PATCH "6") +SET(VERSION_PATCH "8") ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de