From 539ab2c329ef87cb855c5965a4e3995af9b1cad3 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sat, 15 Feb 2014 23:46:38 +0200 Subject: Added gnome already splitted ebuilds. will split later if needed to improve deps heaven --- gnome-extra/cinnamon/files/lspci.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 gnome-extra/cinnamon/files/lspci.patch (limited to 'gnome-extra/cinnamon/files/lspci.patch') diff --git a/gnome-extra/cinnamon/files/lspci.patch b/gnome-extra/cinnamon/files/lspci.patch new file mode 100644 index 00000000..d34e8b4c --- /dev/null +++ b/gnome-extra/cinnamon/files/lspci.patch @@ -0,0 +1,17 @@ +--- a/files/usr/lib/cinnamon-settings/modules/cs_info.py ++++ b/files/usr/lib/cinnamon-settings/modules/cs_info.py +@@ -31,12 +31,12 @@ def getProcessOut(command): + def getGraphicsInfos(): + cards = {} + count = 0 +- for card in getProcessOut(("lspci")): ++ for card in getProcessOut(("/usr/sbin/lspci")): + if not "VGA" in card: + continue + cardId = card.split()[0] + cardName = None +- for line in getProcessOut(("lspci", "-v", "-s", cardId)): ++ for line in getProcessOut(("/usr/sbin/lspci", "-v", "-s", cardId)): + if line.startswith(cardId): + cardName = (line.split(":")[2].split("(rev")[0].strip()) + -- cgit v1.2.3