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

Bug#457075: Salomé packaging



> I think this is getting into the technical details, so it is probably
> not so interesting to the debian-science list.  I'm afraid I can't
> figure out a way to set up an account on ww.python-science.org; if you
> can let me know how then I'll go ahead and use that.
A message with your first and last names needs to be send to:                                             
    nicolas.chauvat@logilab.fr
However Nicolas just told me that Sylvestre would prefer to use the
Debian tracking system. Do you know where should I move the work from
http://www.python-science.org/project/salome-packaging?
> 
> In the meantime, I'd like to let you know how to build the versions of
> dependencies I'm using.
> 
> I don't know why the med-fichier tests are failing with HDF5 1.8.4.  To
> build my patched hdf5 package for Debian, you can do the following (in a
> Debian unstable chroot):
> 
>         apt-get source hdf5
>         rm -rf hdf5-1.8.4/debian
>         svn co svn://svn.debian.org/svn/pkg-grass/packages/hdf5
>         cp -a hdf5/trunk/debian hdf5-1.8.4/
>         wget 'http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=27;filename=hdf5-default-mpi.patch;att=1;bug=510057' -O hdf5-default-mpi.patch
>         cd hdf5-1.8.4/
>         patch -p0 < ../hdf5-default-mpi.patch
>         dpkg-buildpackage
> 
> Install the resulting .deb packages, particularly libhdf5-mpi-dev which
> should depend on libhdf5-openmpi-dev.  Then you can build the latest
> med-fichier using:
> 
>         git clone http://git.debian.org/git/debian-science/packages/med-fichier.git -b master
>         cd med-fichier
>         git-buildpackage
> 
> It should all build correctly.  At this point, does this version of
> med-fichier pass or fail the tests?
All the tests pass, that is really great. I would like to add such
documentation do the salome.git repo, inside the debian directory. I
have added the following ticket:
http://www.python-science.org/ticket/1403
that will certainly move.
> 
> You can get and build my latest salome package by the same "git clone"
> command but substitute salome for med-fichier.  It still needs a lot of
> tweaking before it is ready to upload into Debian unstable.  And first
> the patched HDF5 package needs to go in, along with the new med-fichier.
I have succeeded to build salome at revision
181964c525693f410d01646a616e5d94f05c7c9d but I got only KERNEL and GUI
running out of the box at the end. I plan to investigate on the GEOM
runtime problem first, is it allright for you?

Then I have some questions regarding the packaging workflow. My main
problem is that running::

    git-buildpackage --git-ignore-new

cleans everything and start from scratch. By the way I had to add 
the '--git-ignore-new' option but did not understand why. I finally use:

    ./debian/rules build

for building everything after small changes. And:

    ./debian/rules install

for then testing the updated version in debian/tmp. The step that I 
did not find is how to apply the series of patch once I pull from 
http://git.debian.org/git/debian-science/packages/salome.git 
Reading:
http://www.debian.org/doc/maint-guide/ch-build.en.html#s-completebuild
I did not find the tool. I first thought about the dpatch candidate but
the command is not installed on my system so I wonder how git-buildpackage
works.


André    



Reply to: