[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#457075: Salomé packaging



Hello all,

I think we're getting close to a -6 release and first upload into Debian
unstable.  I'm noticing two issues though which will need just a tiny
bit of work.

First, the -dev dependency extends beyond libsalome-dev.  For example,
the GEOM module requires libTKOpenGl.so which is in
libopencascade-visualization-dev so salome must depend on at least that
package as well.  There are likely others.  Can some of you help me to
figure out what is required?  If we miss a couple before upload, that's
probably okay, we'll just get even more bug reports for these than we
otherwise would. :-)

Later we can hopefully modify Salomé's shared lib loading code so it
detects the soname at build time and loads that file at runtime, as this
is a bug.  If anyone can figure out an easy way to do that now, great;
otherwise we need to add a few -dev packages to the dependencies.

Second, I've cut the number of lintian warnings by dozens by making
the .py files non-executable.  The one problem that results is during
startup, which can be solved by the following patch:

diff --git a/KERNEL_SRC_5.1.3/bin/runSalome.py b/KERNEL_SRC_5.1.3/bin/runSalome.py
index d67d6b0..550a6c2 100755
--- a/KERNEL_SRC_5.1.3/bin/runSalome.py
+++ b/KERNEL_SRC_5.1.3/bin/runSalome.py
@@ -191,7 +191,7 @@ class ContainerPYServer(Server):
         if sys.platform == "win32":
           self.CMD=[os.environ["PYTHONBIN"], '\"'+os.environ["KERNEL_ROOT_DIR"] + '/bin/salome/SALOME_ContainerPy.py'+'\"','FactoryServerPy']
         else:
-          self.CMD=['SALOME_ContainerPy.py','FactoryServerPy']
+          self.CMD=['python','/usr/lib/python2.5/site-packages/salome/SALOME_ContainerPy.py','FactoryServerPy']
 
 # ---
 
My python is even worse than my French, so that's the best I can do, but
I'm certain there's a better way.  Can someone help my pathetic python,
hopefully in a way that will be acceptable to upstream?

This is getting exciting, we're just about there!  I think this will be
ready for its first upload on Monday...  Any differing opinions?

-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 to: