[ATrpms-devel] nvidia specfile improvements (was: CGAL FC6)
Paulo Cavalcanti
promac at gmail.com
Sun Nov 5 00:07:54 CET 2006
Hi Axel,
nvidia binary (nvidia-xconfig) also segfaults without the Section "Module".
The problem with the nvidia-config-x.py python script is that
it does not read xorg.conf without a Section "Module".
It returns an object (xconfig.files) of type None.
Worse, ixf86config.readConfigFile, which actually reads xorg.conf, is a C
program.
Therefore the only simple fix without patching those guys is the one
I told you before. The bash script can be called into the python script if
you want.
It works just fine.
-------------------------------------------------------------------------------------------------------------------------
# Read config file
os.system('nvidia-graphics-append /etc/X11/xorg.conf /etc/X11/xorg.conf')
(xconfig, xconfigpath) = xf86config.readConfigFile()
------------------------------------------------------------------------------------------------------------------------
Changing the subject again, what is your opinion about dkms approach.
I read in the Freshrpms list that Mathias and Dag seems to approve it.
Despite the fact I do not like anything from Dell, it seems to me that
forcing to have a compiler in the computer is not the best solution.
/Paulo Roma.
On 11/3/06, Axel Thimm <Axel.Thimm at atrpms.net> wrote:
>
> On Fri, Nov 03, 2006 at 12:06:12AM -0300, Paulo Cavalcanti wrote:
> > By the way, have you tried the easy fix of nvidia spec I suggested, or
> you
> > decided to rewrite all the python stuff?
>
> No, I didn't find the time yet, I'd prefer to have a single script,
> though. One would also have to check wheat nvidia's binary is capable
> of fixings, too, maybe 90% of the python script are redundant.
>
> BTW Paulo, maybe some of the stuff you upload are interesting for more
> people to try out/test/experiment. Every account has
> http://people.atrpms.net/~something/ which maps to the folder
> public_html in your home. Feel free to even create a personal repo
> somewhere under there. Contact me in PM if it doesn't work out of the
> box.
> --
> Axel.Thimm at ATrpms.net
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20061104/46f9f19a/attachment.html
More information about the atrpms-devel
mailing list