Bug 23006 - zypp backend do not support GUI filter
Summary: zypp backend do not support GUI filter
Status: RESOLVED NOTABUG
Alias: None
Product: PackageKit
Classification: Unclassified
Component: backend-zypp (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Scott Reeves
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-28 11:40 UTC by olivier dufour
Modified: 2018-08-21 15:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.