Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144447 - x11-drivers/xf86-video-nv with exa patch
Summary: x11-drivers/xf86-video-nv with exa patch
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-19 12:27 UTC by Stefan Huchler
Modified: 2006-08-19 13:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the modified exa patch (nv-exa-3.patch,88.21 KB, patch)
2006-08-19 12:30 UTC, Stefan Huchler
Details | Diff
patch file for Makefile.am (exa-makefile.patch,550 bytes, patch)
2006-08-19 12:32 UTC, Stefan Huchler
Details | Diff
the modified ebuild file (xf86-video-nv-1.2.0.ebuild,767 bytes, text/plain)
2006-08-19 12:33 UTC, Stefan Huchler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Huchler 2006-08-19 12:27:35 UTC
So i want see exa with my nvidia-card.

i have found an patch for the opensource nv driver:  http://wiki.x.org/wiki/ExaStatus

i see that the makefile patch part is not working because of other makefiles.
so i deletet this part from the patch and made an own make-file-patch

so portage patched the files sucessfully but then other errors occured:






In file included from nv_driver.c:39:
/usr/include/xf86drm.h:39:17: drm.h: No such file or directory
In file included from nv_driver.c:39:
/usr/include/xf86drm.h:224: error: syntax error before "drm_context_t"
/usr/include/xf86drm.h:234: error: syntax error before '}' token
/usr/include/xf86drm.h:237: error: syntax error before "drm_handle_t"
/usr/include/xf86drm.h:241: error: syntax error before '}' token
/usr/include/xf86drm.h:494: error: syntax error before "drm_magic_t"
/usr/include/xf86drm.h:498: error: syntax error before "drm_handle_t"
/usr/include/xf86drm.h:518: error: syntax error before "drm_magic_t"
/usr/include/xf86drm.h:520: error: syntax error before "drm_handle_t"
/usr/include/xf86drm.h:525: error: syntax error before "drm_handle_t"
/usr/include/xf86drm.h:526: error: syntax error before "drm_context_t"
/usr/include/xf86drm.h:533: error: syntax error before "drm_context_t"
/usr/include/xf86drm.h:534: error: syntax error before "drm_context_t"
/usr/include/xf86drm.h:536: error: syntax error before "drm_context_t"
/usr/include/xf86drm.h:538: error: syntax error before "drm_context_t"
/usr/include/xf86drm.h:539: error: syntax error before "drm_context_t"
/usr/include/xf86drm.h:540: error: syntax error before "drm_context_t"
/usr/include/xf86drm.h:541: error: syntax error before '*' token
/usr/include/xf86drm.h:542: error: syntax error before '*' token
/usr/include/xf86drm.h:543: error: syntax error before "drm_context_t"
/usr/include/xf86drm.h:544: error: syntax error before "drm_context_t"
/usr/include/xf86drm.h:545: error: syntax error before "drm_drawable_t"
/usr/include/xf86drm.h:546: error: syntax error before "drm_drawable_t"
/usr/include/xf86drm.h:552: error: syntax error before "drm_handle_t"
/usr/include/xf86drm.h:559: error: syntax error before "drmDMAReqPtr"
/usr/include/xf86drm.h:562: error: syntax error before "drm_context_t"
/usr/include/xf86drm.h:564: error: syntax error before "drm_context_t"
/usr/include/xf86drm.h:566: error: syntax error before "drm_context_t"
/usr/include/xf86drm.h:575: error: syntax error before "drm_handle_t"
/usr/include/xf86drm.h:576: error: syntax error before "drm_handle_t"
/usr/include/xf86drm.h:577: error: syntax error before "drm_handle_t"
/usr/include/xf86drm.h:579: error: syntax error before "drm_handle_t"
/usr/include/xf86drm.h:594: error: syntax error before "drm_handle_t"
/usr/include/xf86drm.h:595: error: syntax error before "drm_handle_t"
nv_driver.c: In function `NVInitDRM':
nv_driver.c:1064: error: `errno' undeclared (first use in this function)
nv_driver.c:1064: error: (Each undeclared identifier is reported only once
nv_driver.c:1064: error: for each function it appears in.)
nv_driver.c: In function `NVInitAGP':
nv_driver.c:1127: error: `errno' undeclared (first use in this function)
make[2]: *** [nv_driver.lo] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -march=k8 -O2 -pipe -MT nv_hw.lo -MD -MP -MF .deps/nv_hw.Tpo -c nv_hw.c  -fPIC -DPIC -o .libs/nv_hw.o
make[2]: Leaving directory `/var/tmp/portage/xf86-video-nv-1.2.0/work/xf86-video-nv-1.2.0/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/xf86-video-nv-1.2.0/work/xf86-video-nv-1.2.0'
make: *** [all] Fehler 2

!!! ERROR: x11-drivers/xf86-video-nv-1.2.0 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ebuild.sh, line 1252:   Called x-modular_src_compile
  x-modular.eclass, line 330:   Called x-modular_src_make
  x-modular.eclass, line 325:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.








i should now search this file (xf86drm.h) and put it in the src dir or should make a patch for this. but i dont feal like that at the moment. i thought it would be easyer.

so if somebody would take this as startpoint i am glad.

i found some usefull information on this site:  
http://www.mail-archive.com/debian-x@lists.debian.org/msg44021.html
Comment 1 Stefan Huchler 2006-08-19 12:30:07 UTC
Created attachment 94625 [details, diff]
the modified exa patch
Comment 2 Stefan Huchler 2006-08-19 12:32:15 UTC
Created attachment 94626 [details, diff]
patch file for Makefile.am
Comment 3 Stefan Huchler 2006-08-19 12:33:08 UTC
Created attachment 94627 [details]
the modified ebuild file
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-19 12:43:44 UTC
Uh, this is a huge patch. Please, submit such stuff upstream.
Comment 5 Stefan Huchler 2006-08-19 12:55:37 UTC
i should do what?? upstream is that an gentoo-service or what??
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2006-08-19 13:03:23 UTC
We will not support patches that the upstream source of the code (in this case, X.Org) does not support. If you would like to file a bug at https://bugs.freedesktop.org/enter_bug.cgi?product=xorg requesting that the patch be fixed and committed to X.Org, go ahead.