Hi Robert,

On Mon, Jan 26, 2009 at 8:58 PM, Robert Osfield
<[email protected]> wrote:
> Mostly I think we probably do reasonable well on the ready to package
> front.  We can always do better of course.  I'm curious just how much
> the new cpack work can help out in this direction.

At 'make install' time there is nothing cpack can do of course. This
could be solved be running a clever script from cmake like you have
discussed earlier in this thread. The script would need to figure out
the current system's policy on ld.so.conf or ld.so.conf.d or other.

cpack is able to generate DEBs for Debian based systems and rpm's for
distro's using that package system. I have been taking peeks at how
DEBs could be generated and it's not too much work I think. I'm not an
experienced packager

Debian packages have the option of running scripts embedded in the deb
and I'm sure there are descriptions on how one should go about adding
to ld.so.conf/ld.so.conf.d

I'm also sure rpm's have a way of modifying the system too but with
rpm's I'm currently at zero. (It is possible to generate rpm's as our
cpack support goes today, e.g. "cpack -G RPM --config
CPackSource-libopenscenegraph-dev.cmake")


>
> Perhaps we should have a README.txt, or a section for it in the
> present README.txt, just for package maintainers.  The alternative
> would be to put a page(s) up on the wiki just for package maintainers.

I have been meaning to add packaging to the wiki. I'll try and get a
page up this week

Mattias

>
> As another little small step I've changed the ./configure script to
> pass on any command line arguments, so it now reads:
>
>   cmake . -DCMAKE_BUILD_TYPE=Release $@
>
> This will allow users/maintainers to ./configure --help, as well as
> pass in the various prefix settings they may require.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to