Bug 23006

Summary: zypp backend do not support GUI filter
Product: PackageKit Reporter: olivier dufour <olivier.duff>
Component: backend-zyppAssignee: Scott Reeves <scottreeves4>
Status: RESOLVED NOTABUG QA Contact:
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description olivier dufour 2009-07-28 11:40:03 UTC
Zyp backend do not support GUI filter where yum backend does it...
I am not abble to compile the code but I have try to done the fix by adding in zypp-utils.cpp in function zypp_emit_packages_in_list :
if (i == PK_FILTER_ENUM_GUI) {
					print = FALSE;
					zypp::Capabilities c = i->requires ();
					for (std::vector<zypp::Capability>::iterator itc = c->begin ();
								itc != c->end (); itc++) {
						if (itc->matches("gtk") == CapMatch(true))
							|| itc->matches("qt") == CapMatch(true)) {
							print = TRUE;
							break;
						}
					}
					
				}

I am quite sure that can not work because I can not compile it and test it but I report the need and a basic idea to fix it...
Comment 1 Richard Hughes 2018-08-21 15:52:42 UTC
We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues
 
Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.