info-inventor-dev
[Top] [All Lists]

ivman: X11 required?

To: OpenInventor devel mailing list <info-inventor-dev@xxxxxxxxxxx>
Subject: ivman: X11 required?
From: "Steve M. Robbins" <steven.robbins@xxxxxxxxxxxx>
Date: Thu, 26 Jul 2001 14:20:15 -0400
Sender: owner-info-inventor-dev@xxxxxxxxxxx
User-agent: Mutt/1.3.18i
Hi,

To build the current sources, one needs to be running an X11 server:
the man-page generator doc/man/ivman makes Xt-calls in its initialization.
However, upon closer inspection, this doesn't appear to be necessary.

The Xt calls come from the SoXt::init() call in doc/man/ivman/Main.c++.  
A cursory glance through the code doesn't show where any Xt stuff is
necessary, so I replaced the SoXt::init() call in Main.c++ with the
corresponding code after stripping out the X11 calls.

I did a full build, and compared the installed man pages before and
after.  There was no change on my (Debian) linux system.  

By the way, after stripping the X11-calls from SoXt::init(), all
that remains is:

     SoDB::init();
     SoNodeKit::init();
     SoInteraction::init();

... which appears in ivman/Main.c++ just above the SoXt::init() call!

The upshot is: you can just remove the SoXt::init() call and build
without needing an X11 server.

-Steve

-- 
by Rocket to the Moon,
by Airplane to the Rocket,
by Taxi to the Airport,
by Frontdoor to the Taxi,
by throwing back the blanket and laying down the legs ...
- They Might Be Giants


<Prev in Thread] Current Thread [Next in Thread>
  • ivman: X11 required?, Steve M. Robbins <=