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

Re: OpenInventor Solaris patch set with build instructions.

To: "Vincent S. Cojot" <coyote@xxxxxxxxxxxxxxx>
Subject: Re: OpenInventor Solaris patch set with build instructions.
From: Simon Ney <Simon.Ney@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Sep 2002 19:03:35 +0200
Cc: info-inventor-dev@xxxxxxxxxxx
Organization: KOMMUNIKATOR
References: <3026.212.208.45.51.1031228674.squirrel@xxxxxxxxxxxxxxxxxxxx>
Reply-to: Simon.Ney@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Sender: info-inventor-dev-bounce@xxxxxxxxxxx
Hi,

i have checked the patches side-side and cant understand the reason for
the following remaining:

lib/database/include/Inventor/SbTime.h                          N (no
reason)
lib/database/src/sb/SbMatrix.c++                                N (no
reason)
lib/database/src/so/SoInput.c++                                 N (no
reason)
lib/database/src/so/nodes/nurbs/head/mymath.h                   N (no
reason)
lib/interaction/src/nodekits/SoInteractionKit.c++               N (no
reason)
libSoXt/src/mtlEdit/SoXtMtlEdit.c++                             N (no
reason)
libSoXt/src/viewers/SoXtFullVwr.c++                             N (no
reason)

i'am not sure if they are really required ...

all the other except some minor difference matches with my fixes.
for the GNUmakefile it have a solution that have no impact on other
systems.

i think for "make/ivcommondefs" we should add "ivcommondefs.in" and add
a autogen configure to figure out the location of the tools, install
prefix,
location of fonts package and some options for overlay on/off.
... if not everone must hack it.

(
 )imon

"Vincent S. Cojot" wrote:
> 
> Hello everyone,
> 
> It's my first post here so please forgive me if my netiquette isn't perfect.
> 
> After browsing through the list archives for a while, I came up with a patch
> against inventor-2.1.5-9 that lets one compile it end to end under
> Solaris/Sparc (tested under Solaris 8 02/02 with gcc 2.95.3).
> 
> My problem with the patches previously submitted to this list was that
> nobody came up with a complete set which would make life a little easier for
> the average end-user.
> I integrated all of the posted patches into one big patch, wrote a README
> file for Solaris and a build script and I fixed a few things in the process
> of compiling the samples. The patch is far from perfect but at least now, on
> a Solaris/Sparc box, compiling inventor is as easy as:
> 
> 1) meeting the software requirements (Software Companion stuff, Gnome-1.4
> for freetype, OpenGL).
> 2) getting inventor-2.1.5-9.src.tar.gz
> 3) applying the patch
> 4) cd inventor; ./go.sh.
> 
> I'm attaching the patch to this e-mail.
> It is also availble from
> http://step.polymtl.ca/~coyote/OpenInventor-2.1.5.9-Solaris.patch.gz
> 
> I hope this will be useful to others.
> 
> Portability: I tried to protect all code modifications with __sun__ but I
> didn't bother to do that for diffs to GNUmakefiles under inventor/apps/...
> The code can thereforce probably be integrated into the main tree but not
> the diffs to the makefiles.
> I will come up with a better patch later on but I'm posting this preliminary
> result here. Also, this inventor installs under /usr/local/lib,
> /usr/local/bin, etc.. a-la-BSD/Linux. :) So far, this build has proven as
> reliable as the Linux official build for me.
> 
> The files that are modified/created are:
> inventor/README.Solaris
> inventor/apps/demos/SceneViewer/GNUmakefile
> inventor/apps/demos/drop/GNUmakefile
> inventor/apps/demos/gview/GNUmakefile
> inventor/apps/demos/maze/GNUmakefile
> inventor/apps/demos/noodle/GNUmakefile
> inventor/apps/demos/qmorf/GNUmakefile
> inventor/apps/demos/revo/GNUmakefile
> inventor/apps/demos/textomatic/GNUmakefile
> inventor/apps/demos/textomatic/TextWrapper.c++
> inventor/apps/samples/widgets/GNUmakefile.componentTest
> inventor/apps/samples/widgets/MyTextureEd.c++
> inventor/apps/tools/ivview/GNUmakefile
> inventor/go.sh
> inventor/lib/database/include/Inventor/SbBasic.h
> inventor/lib/database/include/Inventor/SbTime.h
> inventor/lib/database/src/sb/SbMatrix.c++
> inventor/lib/database/src/so/SoInput.c++
> inventor/lib/database/src/so/nodes/SoText2.c++
> inventor/lib/database/src/so/nodes/SoText3.c++
> inventor/lib/database/src/so/nodes/nurbs/head/mymath.h
> inventor/lib/interaction/src/nodekits/SoInteractionKit.c++
> inventor/libSoXt/src/mixedMode/SoXtSlider.c++
> inventor/libSoXt/src/mtlEdit/SoXtMtlEdit.c++
> inventor/libSoXt/src/viewers/SoXtFullVwr.c++
> inventor/make/commondefs
> inventor/make/commonrules
> inventor/make/ivcommondefs
> inventor/make/system
> 
> The issues that remain are related to text: I am not sure that text displays
> correctly or displays at all.. Perhaps a freetype problem.
> 
> Here is README.Solaris:
> 
> Small HOWTO written by Vincent S. Cojot <coyote@xxxxxxxxxxxxxxx>
> 
> Compiled on Solaris 8/sparc 02/02 with OpenGL 1.2.3
> Tested on Ultra5/PGX64 and SunBlade 2000/XVR-1000.
> 
> It requires the following packages:

-- 
---------------------------------------------------------------------
| Simon Ney, Bischofsweg 46 60598 Frankfurt/M Tel: ++49 69 68600055 |
| Email Simon.Ney@xxxxxxxxxxxxxxxxxxxxxxxxxxx Fax: ++49 69 68600052 |
---------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>