Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Nvidia Drivers. =(
Date: Wed, 05 Apr 2017 17:04:47
Message-Id: 20170405180433.78e4f3e5@phoucgh.digimed.co.uk
In Reply to: Re: [gentoo-user] Nvidia Drivers. =( by Alan Grimes
1 On Wed, 05 Apr 2017 12:53:43 -0400, Alan Grimes wrote:
2
3 > I hit the "view raw" link and used save as... I then copied it into the
4 > "files" subdirectoy and portage threw a hissy fit and refused to do
5 > anything because letting the user patch a package is simply
6 > unthinkable!!! A mere USER, applying a custom patch to one of our
7 > immaculate packages on HIS OWN COMPUTER??!?!?! UNTHINKABLE!!!
8
9 Yes, just let anyone modify files in your portage tree and have portage
10 ignore any such changes, very secure.
11
12 > So it
13 > doesn't flash a warning, or a "are you sure?????", it just barfs and
14 > quits. I then mv ..'d it. and portage completely ignores the file.
15 > Doesn't match any of the versions I have anyway.
16
17 One of the problems with top posting is it makes it much easier to reply
18 to an email without properly reading it. The text you quoted tells you
19 exactly how to apply user patches, and they don't go in the portage tree.
20
21 > Which gets me back to how wise I was for version-freezing myself at
22 > 4.6.7...
23 >
24 > And yes, I am continuing to call my Ryzen 1800x "tortoise". =P
25 >
26 > ###
27 >
28 > tortoise nvidia-drivers # ls -l
29 > total 268
30 > -rw-r--r-- 1 root root 10392 Apr 5 12:42 378.09-4.10-rc8.patch
31 > drwxr-xr-x 2 portage portage 4096 Apr 5 12:43 files
32 > -rw-r--r-- 1 portage portage 32304 Mar 30 03:29 Manifest
33 > -rw-r--r-- 1 portage portage 1250 Mar 30 03:27 metadata.xml
34 > -rw-r--r-- 1 portage portage 16490 Feb 28 14:50
35 > nvidia-drivers-173.14.39-r1.ebuild
36 > -rw-r--r-- 1 portage portage 16476 Feb 28 14:50
37 > nvidia-drivers-173.14.39-r2.ebuild
38 > -rw-r--r-- 1 portage portage 13327 Feb 28 14:50
39 > nvidia-drivers-304.134.ebuild
40 > -rw-r--r-- 1 portage portage 13412 Feb 28 14:50
41 > nvidia-drivers-304.134-r1.ebuild
42 > -rw-r--r-- 1 portage portage 13410 Mar 30 03:29
43 > nvidia-drivers-304.135.ebuild
44 > -rw-r--r-- 1 portage portage 14460 Feb 28 14:50
45 > nvidia-drivers-340.101.ebuild
46 > -rw-r--r-- 1 portage portage 14525 Feb 28 14:50
47 > nvidia-drivers-340.101-r1.ebuild
48 > -rw-r--r-- 1 portage portage 14523 Mar 30 03:29
49 > nvidia-drivers-340.102.ebuild
50 > -rw-r--r-- 1 portage portage 15425 Feb 28 14:50
51 > nvidia-drivers-375.26.ebuild -rw-r--r-- 1 portage portage 15613 Feb 28
52 > 14:50 nvidia-drivers-375.26-r3.ebuild
53 > -rw-r--r-- 1 portage portage 15611 Mar 30 03:29
54 > nvidia-drivers-375.39.ebuild -rw-r--r-- 1 portage portage 15676 Mar 30
55 > 03:29 nvidia-drivers-378.13.ebuild -rw-r--r-- 1 portage portage 14755
56 > Feb 28 14:50 nvidia-drivers-96.43.23-r1.ebuild
57 > tortoise nvidia-drivers #
58 >
59 >
60 >
61 >
62 > Fabio Scaccabarozzi wrote:
63 > >
64 > > You can drop it in /etc/portage/patches/x11-drivers/nvidia-drivers
65 > > folder, portage should take care of the rest when you emerge the
66 > > package. You should see 3 lines near the prepare phase, before the
67 > > configure phase, saying something like "applying user patches from...
68 > > Applying <patch>...Done applying user patches"
69 > >
70 > >
71 > > Il mer 5 apr 2017, 17:40 Alan Grimes <ALONZOTG@×××××××.net
72 > > <mailto:ALONZOTG@×××××××.net>> ha scritto:
73 > >
74 > > Looks like a good patch but can you link to instructions for
75 > > applying this patch?
76 > >
77 > >
78 > > Fabio Scaccabarozzi wrote:
79 > > >
80 > > > Hi Alan,
81 > > >
82 > > > That is expected with 4.10 kernels.
83 > > > You can grab a patch from my /etc/portage repository:
84 > > >
85 > > https://github.com/fsvm88/gentoo-portage_etc/blob/master/patches/x11-drivers/nvidia-drivers/378.09-4.10-rc8.patch
86 > > >
87 > > > I took it from the NVidia forums, you can also find it there, I
88 > > > just rebased it for portage.
89 > > >
90 > >
91 > >
92 > > --
93 > > Strange Game.
94 > > The only winning move is not to play.
95 > >
96 > > Powers are not rights.
97 > >
98 > >
99 >
100 >
101
102
103
104
105 --
106 Neil Bothwick
107
108 NOTICE:
109 -- THE ELEVATORS WILL BE OUT OF ORDER TODAY --
110 (The nearest working elevators are in the building
111 across the street.)