Patrick Welche | 1 Dec 2009 14:03
Picon
Picon
Favicon

xrdb preprocessing

I just upgraded a laptop to the -current/i386 xorg, and for some reason
preprocessing doesn't seem to happen when loading xrdb resources any more.

(xrdb -symbols lists all the relevant variables, but the #ifdefs in
/etc/X11/xdm/Xresources behave as comments so there are warnings about
e.g. xlogin*greetFont being defined twice)

  http://bugs.archlinux.org/task/16957?opened=3611&status[0]=

looks relevant, but I haven't taken it further...

Cheers,

Patrick

Patrick Welche | 1 Dec 2009 14:56
Picon
Picon
Favicon

Re: xrdb preprocessing

On Tue, Dec 01, 2009 at 01:03:55PM +0000, Patrick Welche wrote:
> I just upgraded a laptop to the -current/i386 xorg, and for some reason
> preprocessing doesn't seem to happen when loading xrdb resources any more.
> 
> (xrdb -symbols lists all the relevant variables, but the #ifdefs in
> /etc/X11/xdm/Xresources behave as comments so there are warnings about
> e.g. xlogin*greetFont being defined twice)
> 
>   http://bugs.archlinux.org/task/16957?opened=3611&status[0]=
> 
> looks relevant, but I haven't taken it further...

It boils down to access(2) receiving "cpp -traditional" as the file to
check for X_OK. Trying to get the flag in will be "interesting"...

Cheers,

Patrick

Patrick Welche | 2 Dec 2009 12:04
Picon
Picon
Favicon

Re: xrdb preprocessing

On Tue, Dec 01, 2009 at 01:56:28PM +0000, Patrick Welche wrote:
> On Tue, Dec 01, 2009 at 01:03:55PM +0000, Patrick Welche wrote:
> > I just upgraded a laptop to the -current/i386 xorg, and for some reason
> > preprocessing doesn't seem to happen when loading xrdb resources any more.
> > 
> > (xrdb -symbols lists all the relevant variables, but the #ifdefs in
> > /etc/X11/xdm/Xresources behave as comments so there are warnings about
> > e.g. xlogin*greetFont being defined twice)
> > 
> >   http://bugs.archlinux.org/task/16957?opened=3611&status[0]=
> > 
> > looks relevant, but I haven't taken it further...
> 
> It boils down to access(2) receiving "cpp -traditional" as the file to
> check for X_OK. Trying to get the flag in will be "interesting"...

In fact, dropping the flag and adding the path works, so there aren't
too many ! in the resource files. (unifdef didn't work for me), so
trivial attached patch works...

Cheers,

Patrick

P.S., why the XXX?
Attachment (xrdb.diff): text/x-diff, 551 bytes
matthew green | 3 Dec 2009 07:38
Picon
Favicon

re: xrdb preprocessing


hi patrick.

thanks for the diagnosis.

i have a patch for this in testing.

.mrg.

Helge Muehlmeier | 4 Dec 2009 12:20
Picon
Picon

Multiseat

Hi,

I'm trying to setup a multiseat- workstation here. I was guided by:

http://wiki.archlinux.org/index.php/Xorg_multiseat

Ok, I have two keyboards and two mices:

wsmouse0 at ums0 mux 0
wsmouse1 at ums1 mux 0
wskbd0 at pckbd0: console keyboard, using wsdisplay0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
wskbd2 at ukbd1 mux 1
wskbd2: connecting to wsdisplay0

My gaphiccards are:

-bash-4.0$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation G94 [GeForce GT 130] (rev a1)
02:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3450

I put the busid's in my xorg.conf- file and tried to test the configuration. But I get the following error:

X.Org X Server 1.6.3
Release Date: 2009-7-7
X Protocol Version 11, Revision 0
Build Operating System: NetBSD/amd64  - 
Current Operating System: NetBSD beowulf.homenet.home 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #0: Fri
Oct 23 15:25:3
(Continue reading)

Mark Kirby | 5 Dec 2009 21:18
Picon

native xorg fails to build on sgimips latest netbsd-5 co

Hi,

I am building current xsrc against the latest from the netbsd-5 branch for sgimips. Every time i try it is
failing with errors regarding xinerama.h

--- includes-xextproto ---
#   install  /root/netbsd/netbsd-5/src/destdir.sgimips/usr/X11R7/include/X11/extensions/XEVI.h
/root/netbsd/netbsd-5/src/tooldir.NetBSD-5.99.15-i386/bin/mipseb--netbsd-install  -N
/root/netbsd/netbsd-5/src/etc -c -p -r -c -o root -g wheel  -m 444
/root/netbsd/netbsd-5/src/../xsrc/external/mit/xextproto/dist/XEVI.h /root/netbsd/netbsd-5/src/destdir.sgimips/usr/X11R7/include/X11/extensions/XEVI.h
--- /root/netbsd/netbsd-5/src/destdir.sgimips/usr/X11R7/include/X11/extensions/XLbx.h ---
--- includes-resourceproto ---
--- includes-xproto ---
/root/netbsd/netbsd-5/src/tooldir.NetBSD-5.99.15-i386/bin/nbsed
's/ <at> USE_FDS_BITS <at> /fds_bits/'  <
/root/netbsd/netbsd-5/src/../xsrc/external/mit/xproto/dist/Xpoll.h.in > Xpoll.h
--- includes-recordproto ---
--- includes-xextproto ---
--- /root/netbsd/netbsd-5/src/destdir.sgimips/usr/X11R7/include/X11/extensions/XShm.h ---
--- /root/netbsd/netbsd-5/src/destdir.sgimips/usr/X11R7/include/X11/extensions/XTest.h ---
--- /root/netbsd/netbsd-5/src/destdir.sgimips/usr/X11R7/include/X11/extensions/XLbx.h ---
#   install  /root/netbsd/netbsd-5/src/destdir.sgimips/usr/X11R7/include/X11/extensions/XLbx.h
/root/netbsd/netbsd-5/src/tooldir.NetBSD-5.99.15-i386/bin/mipseb--netbsd-install  -N
/root/netbsd/netbsd-5/src/etc -c -p -r -c -o root -g wheel  -m 444
/root/netbsd/netbsd-5/src/../xsrc/external/mit/xextproto/dist/XLbx.h /root/netbsd/netbsd-5/src/destdir.sgimips/usr/X11R7/include/X11/extensions/XLbx.h
--- includes-resourceproto ---
includes ===> external/mit/xorg/include/resourceproto
--- includes-xextproto ---
--- /root/netbsd/netbsd-5/src/destdir.sgimips/usr/X11R7/include/X11/extensions/XShm.h ---
#   install  /root/netbsd/netbsd-5/src/destdir.sgimips/usr/X11R7/include/X11/extensions/XShm.h
(Continue reading)

Michael | 6 Dec 2009 03:31
Picon

Re: native xorg fails to build on sgimips latest netbsd-5 co


Hello,

On Dec 5, 2009, at 3:18 PM, Mark Kirby wrote:

> I am building current xsrc against the latest from the netbsd-5  
> branch for sgimips. Every time i try it is failing with errors  
> regarding xinerama.h

Did you clean up OBJDIR and so on?
This should Just Work(tm) - the autobuilds on releng.netbsd.org don't  
show any error.

have fun
Michael

Mark Kirby | 6 Dec 2009 15:14
Picon

Re: native xorg fails to build on sgimips latest netbsd-5 co


On 6 Dec 2009, at 02:31, Michael wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
> 
> On Dec 5, 2009, at 3:18 PM, Mark Kirby wrote:
> 
>> I am building current xsrc against the latest from the netbsd-5 branch for sgimips. Every time i try it is
failing with errors regarding xinerama.h
> 
> Did you clean up OBJDIR and so on?
> This should Just Work(tm) - the autobuilds on releng.netbsd.org don't show any error.

I have removed my OBJDIR and started again same error.

Just a pointer the build system is 5.99.15 i386 it is cross compiling sgimips from the netbsd-5 branch and
trying to build current xsrc against that.

Mark

#   install  /root/netbsd/netbsd-5/src/../build/destdir.sgimips/usr/X11R7/include/X11/extensions/syncstr.h
/root/netbsd/netbsd-5/src/../build/tooldir.NetBSD-5.99.15-i386/bin/mipseb--netbsd-install 
-N /root/netbsd/netbsd-5/src/etc -c -p -r -c -o root -g wheel  -m 444
/root/netbsd/netbsd-5/src/../xsrc/external/mit/xextproto/dist/syncstr.h /root/netbsd/netbsd-5/src/../build/destdir.sgimips/usr/X11R7/include/X11/extensions/syncstr.h
#   install  /root/netbsd/netbsd-5/src/../build/destdir.sgimips/usr/X11R7/include/X11/extensions/xtestext1.h
/root/netbsd/netbsd-5/src/../build/tooldir.NetBSD-5.99.15-i386/bin/mipseb--netbsd-install 
-N /root/netbsd/netbsd-5/src/etc -c -p -r -c -o root -g wheel  -m 444
(Continue reading)

Helge Muehlmeier | 6 Dec 2009 18:58
Picon
Picon

Re: Multiseat

On Fri, Dec 04, 2009 at 12:20:07PM +0100, Helge Muehlmeier wrote:
> I put the busid's in my xorg.conf- file and tried to test the configuration. But I get the following error:
> 
> X.Org X Server 1.6.3
> Release Date: 2009-7-7
> X Protocol Version 11, Revision 0
> Build Operating System: NetBSD/amd64  - 
> Current Operating System: NetBSD beowulf.homenet.home 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #0:
Fri Oct 23 15:25:3
> 2 CEST 2009  root <at> beowulf.homenet.home:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
> Build Date: 09 July 2009  12:14:03AM
>  
> Before reporting problems, check http://wiki.X.Org
> to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
>          (++) from command line, (!!) notice, (II) informational,
>          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec  3 13:02:04 2009
> (==) Using config file: "/etc/X11/xorg.conf"
> (++) ServerLayout "Multi0"
> (**) |-->Screen "Screen0" (0)
> (**) |   |-->Monitor "Samsung"
> (**) |   |-->Device "nvidia"
> (**) |-->Input Device "Mouse0"
> (**) |-->Input Device "Keyboard0"
> ...
> ...
> (II) Primary Device is: PCI 01 <at> 01:00:0
> (EE) No devices detected.
> 
(Continue reading)

matthew green | 6 Dec 2009 21:42
Picon
Favicon

re: native xorg fails to build on sgimips latest netbsd-5 co


   includes ===> external/mit/xorg/include/xineramaproto
   nbmake: don't know how to make Xinerama.h. Stop

   nbmake: stopped in /root/netbsd/netbsd-5/src/external/mit/xorg/include/xineramaproto

   *** Failed target:  includes-xineramaproto
   *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*)
this="${dir}/"; real="${dir}" ;; .) this="external/mit/xorg
/include/"; real="/root/netbsd/netbsd-5/src/external/mit/xorg/include" ;; *)
this="external/mit/xorg/include/${dir}/"; real="/root/netbsd/netbsd-5/src/external
/mit/xorg/include/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with:
$ <at> )}"; cd "${real}" && /root/netbsd/netbsd-5/src/../build/tooldi
r.NetBSD-5.99.15-i386/bin/nbmake _THISDIR_="${this}" "$ <at> " ${target}; }; _makedirtarget
xineramaproto includes
   *** Error code 2

is your src/external/mit/xorg/include/xineramaproto/Makefile corrupt or
out of date some how?  it should not be trying to install Xinerama.h.
that gets installed from src/external/mit/xorg/lib/libXinerama/Makefile.

.mrg.


Gmane