1 |
tetromino 14/09/30 13:53:09 |
2 |
|
3 |
Added: cinnamon-2.2.16-sbin-lspci.patch |
4 |
Removed: bluetooth_obex_transfer.patch screensaver.patch |
5 |
keyboard_applet.patch remove_GC.patch |
6 |
cinnamon-1.6.1-automagic-gnome-bluetooth.patch |
7 |
cinnamon-1.8.8.1-mozjs17.patch idle-dim.patch |
8 |
cinnamon-1.8.8.1-optional-networkmanager.patch |
9 |
menu_editor.patch |
10 |
Log: |
11 |
Version bump, fix system info dialog (bug #523952, thanks to salikov.alexey for reporting). Drop old. |
12 |
|
13 |
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61) |
14 |
|
15 |
Revision Changes Path |
16 |
1.1 gnome-extra/cinnamon/files/cinnamon-2.2.16-sbin-lspci.patch |
17 |
|
18 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/files/cinnamon-2.2.16-sbin-lspci.patch?rev=1.1&view=markup |
19 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon/files/cinnamon-2.2.16-sbin-lspci.patch?rev=1.1&content-type=text/plain |
20 |
|
21 |
Index: cinnamon-2.2.16-sbin-lspci.patch |
22 |
=================================================================== |
23 |
From 973446912684a07204a8b9d40fe23a98f0235a97 Mon Sep 17 00:00:00 2001 |
24 |
From: Alexandre Rostovtsev <tetromino@g.o> |
25 |
Date: Tue, 30 Sep 2014 09:24:58 -0400 |
26 |
Subject: [PATCH] cinnamon-settings: append /usr/sbin to PATH before calling |
27 |
lspci |
28 |
|
29 |
Some distros, e.g. Gentoo, install lspci in /usr/sbin |
30 |
--- |
31 |
files/usr/lib/cinnamon-settings/modules/cs_info.py | 5 +++ |
32 |
1 file changed, 3 insertions(+) |
33 |
|
34 |
diff --git a/files/usr/lib/cinnamon-settings/modules/cs_info.py b/files/usr/lib/cinnamon-settings/modules/cs_info.py |
35 |
index aa5e4da..d50be27 100644 |
36 |
--- a/files/usr/lib/cinnamon-settings/modules/cs_info.py |
37 |
+++ b/files/usr/lib/cinnamon-settings/modules/cs_info.py |
38 |
@@ -31,6 +31,8 @@ def getProcessOut(command): |
39 |
def getGraphicsInfos(): |
40 |
cards = {} |
41 |
count = 0 |
42 |
+ envpath = os.environ["PATH"] |
43 |
+ os.environ["PATH"] = envpath + ":/usr/local/sbin:/usr/sbin:/sbin" |
44 |
for card in getProcessOut(("lspci")): |
45 |
if not "VGA" in card: |
46 |
continue |
47 |
@@ -43,6 +45,7 @@ def getGraphicsInfos(): |
48 |
if cardName: |
49 |
cards[count] = (cardName) |
50 |
count += 1 |
51 |
+ os.environ["PATH"] = envpath |
52 |
return cards |
53 |
|
54 |
def getDiskSize(): |
55 |
-- |
56 |
2.1.1 |