Re: Platform Specific

2010-07-09 Thread Gaetan Nadon
On Thu, 2010-07-08 at 16:34 -0700, David G wrote:

 I have walked through building individual components one by one in
 attempt to learn what depends on what and have a much better grasp on
 some of the dependencies than I did a couple days ago however I am
 still lacking knowledge. What would be very helpful would be docs
 which explain each component so I can (hopefully) choose which is
 needed and which isn't.
 

Last week I wanted to have a minimally configured xserver for build
related work. I did a brain dead job of compiling
an xserver with the minimum packages possible. No idea if it actually
works.

This is the list of packages, in build order, that will compile,
including their configuration options:


util/macros 
font/util   
./pixman
proto/xproto
proto/kbproto   
proto/xextproto 
proto/inputproto
lib/libXau  
xcb/proto   
xcb/pthread-stubs   
xcb/libxcb  
lib/libxtrans   
lib/libX11  
proto/bigreqsproto  
proto/damageproto   
proto/fixesproto
proto/fontsproto
proto/inputproto
proto/kbproto   
proto/randrproto
proto/renderproto   
proto/videoproto
proto/xcmiscproto   
proto/xextproto 
proto/xproto
lib/libxkbfile  
lib/libfontenc  
lib/libXfont--disable-freetype
lib/libpciaccess
./xserver   --disable-glx --disable-dri --disable-composite 
--disable-record --disable-screensaver --disable-xres --disable-xinerama


This was done on Ubuntu Jaunty on AMD64. There may be non xorg
dependencies that are part of the distro that I am not aware of. You may
also want to disable document generation using --disable-specs
--disable-docs or --disable-devel-docs.

You can export PKG_CONFIG_LIBDIR=/dev/null to ensure you do not link to
dependencies you are not aware of.
 
This is the list of pkg-config files that I ended-up with at the end of
the build:



bigreqsproto.pc
damageproto.pc
fixesproto.pc
fontenc.pc
fontsproto.pc
fontutil.pc
inputproto.pc
kbproto.pc
pciaccess.pc
pixman-1.pc
pthread-stubs.pc
randrproto.pc
renderproto.pc
videoproto.pc
x11.pc
x11-xcb.pc
xau.pc
xcb-composite.pc
xcb-damage.pc
xcb-dpms.pc
xcb-dri2.pc
xcb-glx.pc
xcb.pc
xcb-proto.pc
xcb-randr.pc
xcb-record.pc
xcb-render.pc
xcb-res.pc
xcb-screensaver.pc
xcb-shape.pc
xcb-shm.pc
xcb-sync.pc
xcb-xevie.pc
xcb-xf86dri.pc
xcb-xfixes.pc
xcb-xinerama.pc
xcb-xprint.pc
xcb-xtest.pc
xcb-xvmc.pc
xcb-xv.pc
xcmiscproto.pc
xextproto.pc
xfont.pc
xkbfile.pc
xorg-server.pc
xproto.pc




signature.asc
Description: This is a digitally signed message part
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: Platform Specific

2010-07-09 Thread David G
While I have not yet located answers to all my questions I did just
happen across some helpful bits in the git tree of which have recent
changes. For anyone else looking for dependency and module lists and
some relational information you may useful the scripts and lists at:

http://cgit.freedesktop.org/xorg/util/modular/tree/

Specifically the xorg.modules and xorg-7.0 modules as well as the
various build scripts have provided me some additional information
regarding dependency and build ordering and such.


-D


On Thu, Jul 8, 2010 at 4:34 PM, David G daveg68+list-x...@gmail.com wrote:
 Hi,

 I am attempting to build kdrive (or xorg) for several specific
 platforms (via cross compiling) and my goal is to end up with just
 enough of a feature set to fire up rdesktop/vnc or other apps without
 a window manager and as the only running app. Obviously with
 keyboard/mouse functionality.

 After reading much of the wiki and other sources regarding kdrive and
 modular xorg I still am at a loss as to what the minimum
 requirements/dependencies are for a kdrive server and including
 platform specific video driver. Can anyone shed some light on bare
 minimum dependencies for kdrive + video driver and/or point me in the
 direction of where to continue reading?

 I have walked through building individual components one by one in
 attempt to learn what depends on what and have a much better grasp on
 some of the dependencies than I did a couple days ago however I am
 still lacking knowledge. What would be very helpful would be docs
 which explain each component so I can (hopefully) choose which is
 needed and which isn't.

 For example I see the xorg-server configure option
 --disable-screensaver which is what I prefer...don't need one, does
 this mean that scrnsaverproto is not needed then? If this device will
 never be rendering video or 3d what more can I disable and/or not have
 to install?

 Is libXau, pixman, libXfont, etc even needed?

 I don't mind readinging/researching deeper if someone can point me to
 more information about the relationship and dependencies between the
 various components.

 Thanks in advance for any assistance.


 -D

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Platform Specific

2010-07-08 Thread David G
Hi,

I am attempting to build kdrive (or xorg) for several specific
platforms (via cross compiling) and my goal is to end up with just
enough of a feature set to fire up rdesktop/vnc or other apps without
a window manager and as the only running app. Obviously with
keyboard/mouse functionality.

After reading much of the wiki and other sources regarding kdrive and
modular xorg I still am at a loss as to what the minimum
requirements/dependencies are for a kdrive server and including
platform specific video driver. Can anyone shed some light on bare
minimum dependencies for kdrive + video driver and/or point me in the
direction of where to continue reading?

I have walked through building individual components one by one in
attempt to learn what depends on what and have a much better grasp on
some of the dependencies than I did a couple days ago however I am
still lacking knowledge. What would be very helpful would be docs
which explain each component so I can (hopefully) choose which is
needed and which isn't.

For example I see the xorg-server configure option
--disable-screensaver which is what I prefer...don't need one, does
this mean that scrnsaverproto is not needed then? If this device will
never be rendering video or 3d what more can I disable and/or not have
to install?

Is libXau, pixman, libXfont, etc even needed?

I don't mind readinging/researching deeper if someone can point me to
more information about the relationship and dependencies between the
various components.

Thanks in advance for any assistance.


-D
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Platform Specific

2010-07-08 Thread Alan Coopersmith
David G wrote:
 Is libXau, pixman, libXfont, etc even needed?

Yes, yes, and yes, unless you start hacking the code to remove
all the calls to them, but what you end up with after that won't
be an X11 server.

-- 
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Platform Specific

2010-07-08 Thread Pat Kane
Gosh, I would really like to see current architectural diagrams for both
the client and server sides of X11 Window System.

I'd be happy to help construct it and put it on the Wiki (if it is not
already there).

Is Doxygen  a good place to start?


On Thu, Jul 8, 2010 at 7:37 PM, Alan Coopersmith
alan.coopersm...@oracle.com wrote:
 David G wrote:
 Is libXau, pixman, libXfont, etc even needed?

 Yes, yes, and yes, unless you start hacking the code to remove
 all the calls to them, but what you end up with after that won't
 be an X11 server.

 --
        -Alan Coopersmith-        alan.coopersm...@oracle.com
         Oracle Solaris Platform Engineering: X Window System

 ___
 xorg@lists.freedesktop.org: X.Org support
 Archives: http://lists.freedesktop.org/archives/xorg
 Info: http://lists.freedesktop.org/mailman/listinfo/xorg
 Your subscription address: pekan...@gmail.com

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com