[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: Building a driver module for older versions of xorg?
From:       Michael Dales <mwd () ndiyo ! org>
Date:       2007-05-29 13:42:23
Message-ID: B5ECE7EB-53AD-4810-8A2A-B911654972F4 () ndiyo ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi there,

I've been very kindly helped by MrCopper on the xorg-devel IRC  
channel and I now have the driver built on Feisty by adding the  
xserver-xorg-dev package.

I definitely appreciate the new modular Xorg system now :)

-- Michael


On 29 May 2007, at 12:12, Michael Dales wrote:

> Hi there,
>
> I've managed to build a simple device driver by checking out the  
> latest xorg tree which I got as per the instructions here:
>
> http://wiki.x.org/wiki/ModularDevelopersGuide
>
> This all worked fine, and I build a full X setup and then built my  
> driver, and it all works with that server.
>
> Now I want to give my driver to people to test, but they're running  
> Ubuntu Edgy or Feisty, and they ship with an older version of the  
> xorg server. In particular, the ABI version has changed - in the  
> tree I built the driver ABI is specified in xf86Module.h as 2.0,  
> but I need to generate something compatible with ABI version 1.0 or  
> 1.1.
>
> My questions is what's the best way to achieve that?
>
> I've tried, unsuccessfully so far, to get an older version of the  
> xorg tree. I did a git checkout of the current tree using the  
> method described on ModularDevelopersGuide, and then reverted to  
> the tag XORG-7_1 using "git checkout -b temp XORG-7_1" - this gave  
> me something that was indeed older, but it fails to build, failing  
> in libXfonts due to FreeType problems outlined in http:// 
> www.nabble.com/ftfuncs.c-t2125603.html
>
> I'm assuing that somewhere/somehow I can get a 7.1 tree that  
> builds, but I'm not trying the correct technique?
>
> Any advice greatly appreciated.
>
> -- Michael
>
> Ndiyo Ltd. - http://www.ndiyo.org/
>
>
>
> _______________________________________________
> xorg mailing list
> xorg@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg


[Attachment #5 (unknown)]

<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: \
after-white-space; "><DIV><SPAN class="Apple-style-span" style="border-collapse: \
separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; \
font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; \
letter-spacing: normal; line-height: normal; text-align: auto; \
-khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: \
auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: \
0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; \
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: \
12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: \
normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: \
none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: \
2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Hi there,</DIV><DIV><BR \
class="khtml-block-placeholder"></DIV><DIV>I've been very kindly helped by MrCopper \
on the xorg-devel IRC channel and I now have the driver built on Feisty by adding the \
xserver-xorg-dev package.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I \
definitely appreciate the new modular Xorg system now :)</DIV><DIV><BR \
class="khtml-block-placeholder"></DIV><DIV>-- Michael</DIV><BR \
class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR><DIV><DIV>On 29 May 2007, \
at 12:12, Michael Dales wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE \
type="cite"><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; \
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: \
12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: \
normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: \
none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: \
2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN \
class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; \
color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; \
font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: \
normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; \
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; \
widows: 2; word-spacing: 0px; "><DIV>Hi there,</DIV><DIV><BR \
class="khtml-block-placeholder"></DIV><DIV>I've managed to build a simple device \
driver by checking out the latest xorg tree which I got as per the instructions \
here:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><A \
href="http://wiki.x.org/wiki/ModularDevelopersGuide">http://wiki.x.org/wiki/ModularDevelopersGuide</A></DIV><DIV><BR \
class="khtml-block-placeholder"></DIV><DIV>This all worked fine, and I build a full X \
setup and then built my driver, and it all works with that server.</DIV><DIV><BR \
class="khtml-block-placeholder"></DIV><DIV>Now I want to give my driver to people to \
test, but they're running Ubuntu Edgy or Feisty, and they ship with an older version \
of the xorg server. In particular, the ABI version has changed - in the tree I built \
the driver ABI is specified in xf86Module.h as 2.0, but I need to generate something \
compatible with ABI version 1.0 or 1.1.</DIV><DIV><BR \
class="khtml-block-placeholder"></DIV><DIV>My questions is what's the best way to \
achieve that?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I've tried, \
unsuccessfully so far, to get an older version of the xorg tree. I did a git checkout \
of the current tree using the method described on ModularDevelopersGuide, and then \
reverted to the tag XORG-7_1 using "git checkout -b temp XORG-7_1" - this gave me \
something that was indeed older, but it fails to build, failing in libXfonts due to \
FreeType problems outlined in <A \
href="http://www.nabble.com/ftfuncs.c-t2125603.html">http://www.nabble.com/ftfuncs.c-t2125603.html</A></DIV><DIV><BR \
class="khtml-block-placeholder"></DIV><DIV>I'm assuing that somewhere/somehow I can \
get a 7.1 tree that builds, but I'm not trying the correct technique?</DIV><DIV><BR \
class="khtml-block-placeholder"></DIV><DIV>Any advice greatly \
appreciated.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-- \
Michael</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Ndiyo Ltd. - <A \
href="http://www.ndiyo.org">http://www.ndiyo.org</A>/</DIV><DIV><BR \
class="khtml-block-placeholder"></DIV><BR \
class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR><DIV style="margin-top: \
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
">_______________________________________________</DIV><DIV style="margin-top: 0px; \
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">xorg mailing \
list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; \
margin-left: 0px; "><A \
href="mailto:xorg@lists.freedesktop.org">xorg@lists.freedesktop.org</A></DIV><DIV \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A \
href="http://lists.freedesktop.org/mailman/listinfo/xorg">http://lists.freedesktop.org/mailman/listinfo/xorg</A></DIV> \
</BLOCKQUOTE></DIV><BR></BODY></HTML>



_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic