From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 23694138010 for ; Mon, 3 Sep 2012 19:51:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EDF7321C078; Mon, 3 Sep 2012 19:51:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B8FEF21C078 for ; Mon, 3 Sep 2012 19:51:15 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0F9C33CE33 for ; Mon, 3 Sep 2012 19:51:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id AB9B6E543D for ; Mon, 3 Sep 2012 19:51:13 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1346701802.04d156d56e1cf48f0d45d661c5e94e6863549fc2.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/util/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/util/_desktop_entry.py X-VCS-Directories: pym/portage/util/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 04d156d56e1cf48f0d45d661c5e94e6863549fc2 X-VCS-Branch: master Date: Mon, 3 Sep 2012 19:51:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9dd958b4-5bc2-47b4-a299-96908f462878 X-Archives-Hash: daa42e3b9547495f07cb1bfcaf26f429 commit: 04d156d56e1cf48f0d45d661c5e94e6863549fc2 Author: Michael Palimaka gentoo org> AuthorDate: Mon Sep 3 15:08:36 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Sep 3 19:50:02 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=04d156d5 validate_desktop_entry: filter more KDE noise. --- pym/portage/util/_desktop_entry.py | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pym/portage/util/_desktop_entry.py b/pym/portage/util/_desktop_entry.py index bafac75..aa730de 100644 --- a/pym/portage/util/_desktop_entry.py +++ b/pym/portage/util/_desktop_entry.py @@ -44,13 +44,18 @@ def parse_desktop_entry(path): _trivial_warnings = re.compile(r' looks redundant with value ') _ignore_kde_key_re = re.compile(r'^\s*(configurationType\s*=|Type\s*=\s*Service)') _ignore_kde_types = frozenset( - ["AkonadiAgent", "AkonadiResource", "Service", "ServiceType"]) + ["AkonadiAgent", "AkonadiResource", "Service", "ServiceType", "XSession"]) # kdebase-data installs files with [Currency Code] sections # in /usr/share/locale/currency # kdepim-runtime installs files with [Plugin] and [Wizard] # sections in /usr/share/apps/akonadi/{plugins,accountwizard} -_ignore_kde_sections = ("Currency Code", "Plugin", "Wizard") +# kdm installs files with [KCM Locale], [KDE Desktop Pattern], +# [KdmGreeterTheme] and [Wallpaper] sections in various directories +# libkdegames installs files with [KDE Backdeck] sections in +# /usr/share/apps/carddecks/ +# Various KDE games install files with [KGameTheme] sections +_ignore_kde_sections = ("Currency Code", "KCM Locale", "KDE Backdeck", "KDE Desktop Pattern", "KDE Desktop Program", "KdmGreeterTheme", "KGameTheme", "Plugin", "Wallpaper", "Wizard") _ignored_errors = ( # Ignore error for emacs.desktop: