On Tue, 2008-06-10 at 09:55 +0200, Denis Barbier wrote:
> On Mon, 09 Jun 2008 18:57:09 -0400, Adam C Powell IV <[EMAIL PROTECTED]> 
> wrote:
> > On Mon, 2008-06-09 at 23:54 +0200, denis31.barbier wrote:
> >> Package: libopencascade6.2
> >> Version: 6.2-3
> >> Severity: normal
> >> 
> >> Hi Adam,
> >> 
> >> DRAWEXE needs some resource files to be operational, I had these lines
> >> in my experimental debian/rules:
> >> install -m 0755 -d
> >> $(CURDIR)/debian/tmp/usr/share/opencascade6.1/src/DrawResources
> >> install -m 0644 ros/src/DrawResources/*.tcl
> >> $(CURDIR)/debian/tmp/usr/share/opencascade6.1/src/DrawResources
> >> install -m 0644 ros/src/DrawResources/DrawDefault
> >> $(CURDIR)/debian/tmp/usr/share/opencascade6.1/src/DrawResources
> >> install -m 0644 ros/src/DrawResources/DrawPlugin
> >> $(CURDIR)/debian/tmp/usr/share/opencascade6.1/src/DrawResources
> > 
> > Thank you!  How can I make sure that DRAWEXE sees and uses these files?
> > 
> >> BTW ros/env.ksh defines environment variables which points to other
> >> src/ files,
> >> it is likely that files and directories referenced by those CSF_*
> >> environment
> >> variables are useful too.
> > 
> > Thank you.  What do you think is an appropriate way to add these to the
> > package?  Perhaps README.Debian.html should give suggestions for
> > including the variables into the user's bash or other profile?
> > 
> > (I guess that this will answer the above question...)
> 
> OCC users are requested to set CASROOT environment variable, e.g.
> if you chose /opt/OpenCASCADE6.2.0 as your root installation directory,
> you set CASROOT=/opt/OpenCASCADE6.2.0
>   $ ls /opt/OpenCASCADE6.2.0
>   data  doc  LICENSE  ros  samples  tools  wok
> 
> Source files are searched into $CASROOT/ros/src, include files into
> $CASROOT/ros/inc, libs into $CASROOT/ros/`uname -s`/lib
> The best solution is to modify sources to look into installation path.
> I may provide a patch, this is fairly easy. Is your package on Alioth
> or somewhere else?

Great, a patch would help a lot!  The package is not on Alioth, but
should be; I'm choosing between pkg-scicomp and Debian Science.  I'll
probably use Debian Science.

Also, all of these files are for DRAWEXE, right?  Then this should be a
bug against opencascade-tools...

Thanks!
-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to