Hi Robert, On 12/12/08, Robert Osfield <[email protected]> wrote: > Hi Mattias, > > I've just successfully done some tests. The only problem I came > across was that make package_source sat there forever till I killed > it. I build the OSG in source so perhaps this is the cause of the > problem with it. The other packaging targets worked fine. I'll try > an out of source build and see if that fixes things.
Yes your assumptions are correct. The source packaging support is still immature. It seems to rely on out-of-source builds *and* that the out-of-source build tree not be placed under the source tree (like I have). It basically takes a folder and zip it recursively. The only control is the CPACK_IGNORE_FILES variable. The root of this is that cmake don't know which files are in version control or not. One idea I had was to do do 'svn export ...' to some folder and then feed that folder to the CPackSource script. > > Since enough is working to get others to test I've checked things in. very nice > > In terms of zip vs bzp2 vs gz, I'm inclined to suggest that we only do > one, or perhaps stick to .zip for Windows, and gz for everything else. Yes, I agree. Will fix. > > I also wonder about the platform naming of packages, we might need to > add the architecture as well to distinguish between 32bit vs 64bit, or > VS8 vs VS9. will fix. I have only 32bit windows and linux-2.6 so I'll call for help to test on 64bit systems. Mattias > > Robert. > > On Fri, Dec 12, 2008 at 10:53 AM, Mattias Helsing <[email protected]> > wrote: >> cpack and ctest were initially shipped with cmake 2.6.0 so yes - I >> should have put guards aournd the BUILD_PACKAGE option. I have testd >> the submission with cmake-2.6.2 on WinXP and Linux(ubuntu intrepid). >> If you decide to commit eventually I willl test on 2.6.0 (and put >> proper guards) on further devel submissions of these parts. >> >> >From what I can see (cmake list, debian list and other sources) cpack >> is still moving (like cmake) so regarding cpack functinoality we may >> need to keep up. >> >> cheers >> Mattias >> >>> >>> Robert. >>> >>> On Thu, Dec 11, 2008 at 6:58 PM, Mattias Helsing <[email protected]> >>> wrote: >>>> Hi all, >>>> >>>> I have developed the earlier cpack example a bit. Perhaps you could >>>> consider these initial cpack support scripts. It is hidden behind a >>>> BUILD_PACKAGES option so won't affect the normal user. The submission >>>> 1) set the COMPONENT attribute on all cmake install commands. >>>> COMPONENT names are according to >>>> http://www.openscenegraph.org/projects/osg/wiki/Community/Packaging >>>> >>>> 2) provide cmake script and a template for creating CPack >>>> configuration files. It will generate target for creating packages >>>> with everything that gets "installed" (make package on unx, project >>>> PACKAGE in MSVC) plus targets for generating one package per COMPONENT >>>> (i.e. libopenscenegraph-core etc.). >>>> >>>> I have temporariliy uploaded some examples to >>>> http://www.openscenegraph.org/projects/osg/wiki/Community/People/MattiasHelsing >>>> >>>> If this submission makes it into svn we can develop it to generate >>>> rpms, installers for windows and mac (I know at least J-S don't like >>>> these but there may be others who do ;) and even DEBs (not sure if we >>>> can make them "ubuntu-ready" but they eventually may - at least we >>>> could put a deb on the website) >>>> >>>> Feedback more then welcome of course >>>> cheers >>>> Mattias >>>> >>>> _______________________________________________ >>>> osg-submissions mailing list >>>> [email protected] >>>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >>>> >>>> >>> _______________________________________________ >>> osg-submissions mailing list >>> [email protected] >>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >>> >> _______________________________________________ >> osg-submissions mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >> > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
