Bug#678100: ITP: salome-{kernel,gui,med,geom,paravis,..} -- integration platform for numerical simulation

2012-06-21 Thread Julien Cristau
On Thu, Jun 21, 2012 at 02:13:47 +0100, Dmitrijs Ledkovs wrote:

 On 19/06/12 10:00, Julien Cristau wrote:
  On Tue, Jun 19, 2012 at 09:40:32 +0100, Dmitrijs Ledkovs wrote:
  
  Good luck! It's a beast =)
 
  Thanks :)
  
  Did you see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657433 ?
 
  Yep.  I'll start with a smaller set of modules, and get things in
  experimental at first to get a feel for the pain involved.
  
 
 One thing I can recommend is using cdbs, due to native flavours support
 
I'm afraid there's no way I'm getting anywhere near cdbs.

Cheers,
Julien
-- 
Julien Cristau  julien.cris...@logilab.fr
Logilab http://www.logilab.fr/
Informatique scientifique  gestion de connaissances



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#678100: ITP: salome-{kernel,gui,med,geom,paravis,..} -- integration platform for numerical simulation

2012-06-20 Thread Dmitrijs Ledkovs
On 19/06/12 10:00, Julien Cristau wrote:
 On Tue, Jun 19, 2012 at 09:40:32 +0100, Dmitrijs Ledkovs wrote:
 
 Good luck! It's a beast =)

 Thanks :)
 
 Did you see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657433 ?

 Yep.  I'll start with a smaller set of modules, and get things in
 experimental at first to get a feel for the pain involved.
 

One thing I can recommend is using cdbs, due to native flavours support

Using:
DEB_MAKE_FLAVORS = pkg1 pkg2 pkg3
DEB_BUILDDIR = build

It will manage the machinery of running configure, build, test, install
for each of the flavours, conveniently installing each build under
debian/tmp/$flavors/ and using out of the tree builds (if you prefer)

(there are many more variables available)

Then you can do tricks like:
DEB_CONFIGURE_FLAGS_pkg1 = --enable-foo, --disable-bar

Or provide additional environment variables
debian/stamp-autotools/pkg1:: DEB_CONFIGURE_SCRIPT_ENV=PYTHON=python3

... and set dependencies between various packages using stable stamp names

Furthermore, if you use $(filter $(DEB_PACKAGES), pkg1 pkg2 pkg3), then
only those packages that are specified in debian/control will be build.
Win, cause this now means that you can work on packaging the next
component without affecting stable build... or choose to build more in
experimental and less components in unstable to gradually package more
and more of it.

I hope you will consider this, as this should save you from inventing
again the whole stamp/targets management and provide you with many
dynamic targets to do custom things per each debian package, flavour,
component, etc...

I think you will find it exceptionally useful to remove some stamp files
to rerun just one step of the build, instead of doing a massive
./debian/rules clean while developing as well.

Another thing to take into account is that ./debian/package.install and
similar dh_* helper files can now be executable  do variable replacements.

If that is not enough, and you want dh_install with rename support,
please look into dh-exec, cause it supports this:
usr/bin/foo = usr/bin/salome-foo

Using state of the art tools, I hope it will save you time and let you
concentrate on figuring out correct build flags, environment variables,
where to install what, and writing patches. Feel free to delegate
packaging questions  manual laborious tasks, by aggressively using help
tag in the bts. This package needs synergy! And there are a lot of
people in debian-science  debian-med who I think would be interested in
salome.

I have now a powerful machine to potentially build salome in reasonable
amount of time, but unfortunately I don't have much spare time to throw
myself into salome packaging.

All the best.

-- 
Regards,
Dmitrijs.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#678100: ITP: salome-{kernel,gui,med,geom,paravis,..} -- integration platform for numerical simulation

2012-06-19 Thread Julien Cristau
Package: wnpp
Severity: wishlist
Owner: Julien Cristau julien.cris...@logilab.fr

* Package name: salome-{kernel,gui,med,geom,paravis,..}
  Version : 6.5.0
  Upstream Author : CEA, EDF RD, Open CASCADE
* URL : http://www.salome-platform.org/
* License : mostly LGPL
  Programming Lang: C++, Python
  Description : integration platform for numerical simulation

 Salomé is a pre- and post-processor for numerical simulations.  It can
 import CAD files in IGES and STEP formats, facilitates component
 integration in heterogeneous systems, and has a user-friendly GUI as
 well as a Python console with all of the platform functionality.

An earlier version used to be in sid as the 'salome' source package, but
was removed early this year.  I'm planning on reintroducing it in
smaller pieces in the hope it'll be more manageable.

Cheers,
Julien
-- 
Julien Cristau  julien.cris...@logilab.fr
Logilab http://www.logilab.fr/
Informatique scientifique  gestion de connaissances



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#678100: ITP: salome-{kernel,gui,med,geom,paravis,..} -- integration platform for numerical simulation

2012-06-19 Thread Dmitrijs Ledkovs
On 19/06/12 09:29, Julien Cristau wrote:
 Package: wnpp
 Severity: wishlist
 Owner: Julien Cristau julien.cris...@logilab.fr
 
 * Package name: salome-{kernel,gui,med,geom,paravis,..}
   Version : 6.5.0
   Upstream Author : CEA, EDF RD, Open CASCADE
 * URL : http://www.salome-platform.org/
 * License : mostly LGPL
   Programming Lang: C++, Python
   Description : integration platform for numerical simulation
 
  Salomé is a pre- and post-processor for numerical simulations.  It can
  import CAD files in IGES and STEP formats, facilitates component
  integration in heterogeneous systems, and has a user-friendly GUI as
  well as a Python console with all of the platform functionality.
 
 An earlier version used to be in sid as the 'salome' source package, but
 was removed early this year.  I'm planning on reintroducing it in
 smaller pieces in the hope it'll be more manageable.
 
 Cheers,
 Julien
 

Good luck! It's a beast =)

Did you see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657433 ?

Adam said he did push the latest packaging to alioth.

I have enough beasts on my list to package, so this time around I won't
be able to help much (not that I did help much last time around).

-- 
Regards,
Dmitrijs.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#678100: ITP: salome-{kernel,gui,med,geom,paravis,..} -- integration platform for numerical simulation

2012-06-19 Thread Julien Cristau
On Tue, Jun 19, 2012 at 09:40:32 +0100, Dmitrijs Ledkovs wrote:

 Good luck! It's a beast =)
 
Thanks :)

 Did you see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657433 ?
 
Yep.  I'll start with a smaller set of modules, and get things in
experimental at first to get a feel for the pain involved.

Cheers,
Julien
-- 
Julien Cristau  julien.cris...@logilab.fr
Logilab http://www.logilab.fr/
Informatique scientifique  gestion de connaissances



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org