[Bug 222757] New: what to call from gnome-main-menu if zen-updater is not present
https://bugzilla.novell.com/show_bug.cgi?id=222757 Summary: what to call from gnome-main-menu if zen-updater is not present Product: openSUSE 10.2 Version: Beta 2 plus Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: GNOME AssignedTo: mvidner@novell.com ReportedBy: mvidner@novell.com QAContact: qa@suse.de CC: jsrain@novell.com, jpr@novell.com, danw@novell.com, aj@novell.com, kkaempf@novell.com, llunak@novell.com, michl@novell.com, ro@novell.com, visnov@novell.com, jimmyk@novell.com If zen-updater.rpm (containing zen-{installer,remover,updater}) is not present for any reason, gnome-main-menu.rpm should continue to function. For this, I am creating /usr/bin/package-manager and /usr/share/applications/package-manager.desktop. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 ------- Comment #1 from mvidner@novell.com 2006-11-20 13:38 MST ------- Created an attachment (id=106293) --> (https://bugzilla.novell.com/attachment.cgi?id=106293&action=view) package-manager A first shot at the wrapper. TODO: - which rpm to put it in? - write package-manager.desktop to call package-manager --install %F - implement yast2 --update and yast2 --remove -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 ------- Comment #2 from danw@novell.com 2006-11-20 16:29 MST ------- Created an attachment (id=106326) --> (https://bugzilla.novell.com/attachment.cgi?id=106326&action=view) patch to the compiz package in autobuild JP asked me to do update gnome-xgl-settings for this and attach the patch so you could commit it in the morning if this makes it in for RC1. The updated compiz package is in ~danw/compiz, or just getpac it and apply the attached patch to it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 ------- Comment #3 from ro@novell.com 2006-11-20 17:07 MST ------- I can take the script from c#1 into aaa_base. any vetos ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 ------- Comment #4 from ro@novell.com 2006-11-20 17:10 MST ------- but the desktop file is missing here ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 ------- Comment #5 from ro@novell.com 2006-11-20 17:13 MST ------- and the script is missing a "then" in line 66 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 ------- Comment #6 from jimmyk@novell.com 2006-11-20 17:48 MST ------- Created an attachment (id=106337) --> (https://bugzilla.novell.com/attachment.cgi?id=106337&action=view) Patch to change the default package management commands JP also asked me to post my patch that reflects this new wrapper script. Additionally I built some packages with this patch. Let me know if there's anything else you need from me. I can do the submission to autobuild myself tomorrow morning, boston time. Otherwise I hope you have enough if you need to do it earlier. The packages are here: http://w3.suse.de/~jimmyk/gnome-main-menu/v0.6.3-43/ Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |aj@novell.com ------- Comment #7 from mvidner@novell.com 2006-11-21 01:33 MST ------- Duh, yes I did not even run the script yesterday, sorry. Concerning package-manager.desktop, I simply took zen-installer.desktop from B2+ and changed the command to package-manager %F. The remaining question is what icon to use. Currently it uses zen-icon which is under /opt/gnome/share/icons/Tango (tango-icon-theme.rpm) or in /usr/share/pixmaps/zen-icon.png in zen-updater.rpm itself. Is there a suitable icon in a generic package that I can use? Or should I just copy zen-icon.png to package-manager-icon.png and put it to the same package as package-manager.desktop? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #106293|0 |1 is obsolete| | ------- Comment #8 from mvidner@novell.com 2006-11-21 01:46 MST ------- Created an attachment (id=106351) --> (https://bugzilla.novell.com/attachment.cgi?id=106351&action=view) package-manager-0.2 Fixed and tested package-manager. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 ------- Comment #9 from mvidner@novell.com 2006-11-21 03:09 MST ------- The yast part: --update is implemented using --install, which works if there is an update for the package but needlessly reinstalls it if it is up to date :-( I do not see a quick way to fix this. --remove works except for a "WTF?!" bug: if the package to be removed has other packages depending on it AND there are updates for them, they are updated instead of removed. I do not see a quick way to fix this either. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 ------- Comment #10 from mvidner@novell.com 2006-11-21 03:48 MST ------- (In reply to comment #9)
--update is implemented using --install, which works if there is an update for the package but needlessly reinstalls it if it is up to date :-(
I am testing a fix for that that compares the version strings obtained by Pkg::ResolvableProperties. Status summary: - Which icon for package-manager.desktop, AJ? - Where to put package-manager.desktop? - yast2.rpm-2.14.14 is submitted. - I will submit yast2-packager-2.14.8, with the --remove bug. (after lunch) - package-manager script is ready (xsu is a bit dumb but works in usual cases) - gnome-main-menu submission? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 ------- Comment #12 from mvidner@novell.com 2006-11-21 07:25 MST ------- yast2-packager-2.14.8 submitted. I will file bugs for comment 9 in hope that the remove thing is easy to fix or work around. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|visnov@novell.com | ------- Comment #13 from mvidner@novell.com 2006-11-21 07:51 MST ------- Talked to Stano. I will finish the bug off by myself: - copy /usr/share/pixmaps/zen-icon.png to /usr/share/pixmaps/package-manager-icon.png and put it to libzypp.rpm together with /usr/bin/package-manager (to have it in a common package that does not require a total rebuild like aaa_base.rpm) - submit Jim's patch from comment 6. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 ------- Comment #14 from mvidner@novell.com 2006-11-21 09:03 MST ------- - I forgot about package-manager.desktop: included in libzypp too. - dropped Recommends: zen-updater from gnome-main-menu (per AJ's mail from Nov 20, 15:24 CET) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #15 from mvidner@novell.com 2006-11-21 09:15 MST ------- Tested and submitted libzypp-2.8.5 and gnome-main-menu. Level completed, player one. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=222757 ------- Comment #16 from mvidner@novell.com 2006-11-21 09:40 MST ------- Comment 2: ~danw/compiz submitted too. Thanks everyone! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com