[ATrpms-devel] nvidia specfile improvements (was: CGAL FC6)

Axel Thimm Axel.Thimm at ATrpms.net
Tue Nov 7 22:53:43 CET 2006


On Sat, Nov 04, 2006 at 08:07:54PM -0300, Paulo Cavalcanti wrote:
> 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()
> 
> ------------------------------------------------------------------------------------------------------------------------

OK, could you weave that into the nvidia-graphics-helpers package?
That way the miriad of nvidia-graphicsXXXX packages don't need to be
touched :)
Thanks!

> 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.

Indeed. The dkms author once discussed this on this list and we
considered merging the kmdl and dkms approaches. We found out that
they already did the same thing only that kmdl specialized in producing
packages while dkms specialized in custom kernel builds.

At that time dkms wouldn't offer anything more than kmdls can, but
time has passed since and both kmdl and dkms evolved further. Do you
see any benefits of today's dkms over today's kmdls?

> /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.

> _______________________________________________
> atrpms-devel mailing list
> atrpms-devel at atrpms.net
> http://lists.atrpms.net/mailman/listinfo/atrpms-devel

-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20061107/32dc87ff/attachment.bin 


More information about the atrpms-devel mailing list