Re: [CMake] CPack and RPM packages

2011-03-08 Thread Eric Noulard
2011/3/8 Laszlo Papp : > I could not still build cmake.. But I did this modification > locally you suggested and that is the output: > > CPack: Create package using RPM > CPack: Install projects > CPack: - Run preinstall target for: Gluon > CPack: - Install project: Gluon > CPack: Create packag

Re: [CMake] CPack and RPM packages

2011-03-08 Thread Laszlo Papp
My familiar did a package as an interim solution and let us see whether or not this version can be integrated into the 1.2 MeeGo release or just later. http://forum.meego.com/showthread.php?p=18810#post18810 Best Regards, Laszlo Papp On Tue, Mar 8, 2011 at 7:59 AM, Laszlo Papp wrote: > I could

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Laszlo Papp
I could not still build cmake.. But I did this modification locally you suggested and that is the output: CPack: Create package using RPM CPack: Install projects CPack: - Run preinstall target for: Gluon CPack: - Install project: Gluon CPack: Create package CPackRPM: Will use GENERATED spec fi

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Eric Noulard
2011/3/8 Laszlo Papp : > On Tue, Mar 8, 2011 at 12:45 AM, Eric Noulard wrote: >> 2011/3/8 Laszlo Papp : >>> Well: http://public.kitware.com/Bug/view.php?id=11595 >>> That is fixed in cmake 2.8.4. >>> Changelog: http://www.cmake.org/pipermail/cmake/2011-February/042839.html >>> "CPackRPM fix bug 00

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Laszlo Papp
1st run: ca -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compi

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Laszlo Papp
On Tue, Mar 8, 2011 at 12:45 AM, Eric Noulard wrote: > 2011/3/8 Laszlo Papp : >> Well: http://public.kitware.com/Bug/view.php?id=11595 >> That is fixed in cmake 2.8.4. >> Changelog: http://www.cmake.org/pipermail/cmake/2011-February/042839.html >> "CPackRPM fix bug 0011595 : Can't generate RPMs (o

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Eric Noulard
2011/3/8 Laszlo Papp : > Well: http://public.kitware.com/Bug/view.php?id=11595 > That is fixed in cmake 2.8.4. > Changelog: http://www.cmake.org/pipermail/cmake/2011-February/042839.html > "CPackRPM fix bug 0011595 : Can't generate RPMs (on FC11...)" > > I am trying to build this  version now on Me

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Laszlo Papp
Well: http://public.kitware.com/Bug/view.php?id=11595 That is fixed in cmake 2.8.4. Changelog: http://www.cmake.org/pipermail/cmake/2011-February/042839.html "CPackRPM fix bug 0011595 : Can't generate RPMs (on FC11...)" I am trying to build this version now on MeeGo since the available binary one

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Eric Noulard
2011/3/7 Laszlo Papp : > As said, the working OBS spec files can be found here: > http://repo.pub.meego.com/home:/sandst1/standard/armv7l/ > http://repo.pub.meego.com/home:/sandst1/standard/i586/ Not really, since binary RPMs do not contains the spec file, but I did find the spec file in src: http

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Laszlo Papp
Further news, I have just tried the rpm generation on my host system out and it worked like a charm, here are the logs: http://djszapi.homelinux.net/cpack_host.log http://djszapi.homelinux.net/gluon_host.spec I hope it helps with something... Best Regards, Laszlo Papp On Mon, Mar 7, 2011 at 9:29

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Laszlo Papp
As said, the working OBS spec files can be found here: http://repo.pub.meego.com/home:/sandst1/standard/armv7l/ http://repo.pub.meego.com/home:/sandst1/standard/i586/ http://djszapi.homelinux.net/gluon.spec -> this is the cpack/cmake generated one. Well, the cpack one doesn't really do anything,

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Laszlo Papp
On Mon, Mar 7, 2011 at 9:11 PM, Eric Noulard wrote: > 2011/3/7 Laszlo Papp : >> Any progress on it ? > > Nope. > I won't be very responsive this week. That does not sound too good.. ! >> One more information, this n900-devel image uses >> internally qemu and I am not sure that can ca

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Eric Noulard
2011/3/7 Laszlo Papp : > Any progress on it ? Nope. I won't be very responsive this week. > One more information, this n900-devel image uses > internally qemu and I am not sure that can cause any issue for the > build system. I don't like I said I'm not that experienced with cross-compiling env.

Re: [CMake] CPack and RPM packages

2011-03-07 Thread Laszlo Papp
Any progress on it ? One more information, this n900-devel image uses internally qemu and I am not sure that can cause any issue for the build system. That is also interesting why the debian packaging worked just fine in the scratchbox using also qemu internally. Best Regards, Laszlo Papp On Mon

Re: [CMake] CPack and RPM packages

2011-03-06 Thread Laszlo Papp
By the way, you can find here the gluon-*.rpm packages built by the OBS: http://repo.pub.meego.com/home:/sandst1/standard/armv7l/ http://repo.pub.meego.com/home:/sandst1/standard/i586/ (unpack it with rpm2cpio | cpio -idmv) Those spec files are done by a packager (human), thus not automated by a

Re: [CMake] CPack and RPM packages

2011-03-06 Thread Laszlo Papp
On Sun, Mar 6, 2011 at 11:27 PM, Eric Noulard wrote: > 2011/3/6 Laszlo Papp : >> Mmh, my previous mail is blocked because the cpack.log is too big. >> >> http://djszapi.homelinux.net/rpmbuild.out >> http://djszapi.homelinux.net/rpmbuild.err >> http://djszapi.homelinux.net/cpack.log > > I do not qu

Re: [CMake] CPack and RPM packages

2011-03-06 Thread Eric Noulard
2011/3/6 Laszlo Papp : > Mmh, my previous mail is blocked because the cpack.log is too big. > > http://djszapi.homelinux.net/rpmbuild.out > http://djszapi.homelinux.net/rpmbuild.err > http://djszapi.homelinux.net/cpack.log I do not quite understand what makes rpmbuild fail. Could you send me [a l

Re: [CMake] CPack and RPM packages

2011-03-06 Thread Laszlo Papp
Mmh, my previous mail is blocked because the cpack.log is too big. http://djszapi.homelinux.net/rpmbuild.out http://djszapi.homelinux.net/rpmbuild.err http://djszapi.homelinux.net/cpack.log Best Regards, Laszlo Papp On Sun, Mar 6, 2011 at 9:43 PM, Laszlo Papp wrote: > On Sun, Mar 6, 2011 at 9:3

Re: [CMake] CPack and RPM packages

2011-03-06 Thread Eric Noulard
2011/3/6 Laszlo Papp : > Hi, > > I do not get the infinite loop right now (not sure what caused it > then), but I get an error while trying. > > djszapi@djszapi:/home/meego/gluon/buildroot /home/meego/gluon/build #  cpack > CPack: Create package using RPM > CPack: Install projects > CPack: - Run pr

Re: [CMake] CPack and RPM packages

2011-03-06 Thread Laszlo Papp
Hi, I do not get the infinite loop right now (not sure what caused it then), but I get an error while trying. djszapi@djszapi:/home/meego/gluon/buildroot /home/meego/gluon/build # cpack CPack: Create package using RPM CPack: Install projects CPack: - Run preinstall target for: Gluon CPack: - Ins

Re: [CMake] CPack and RPM packages

2011-03-06 Thread Eric Noulard
2011/3/6 Laszlo Papp : > CPack froze for hours What happened ? Seems a "nice" infinite loop... > Idea ? > > Best Regards, > Laszlo Papp > > cpack > CPack: Create package using RPM > CPack: Install projects > CPack: - Run preinstall target for: Gluon try with verbose/debug mode: cpack --verbo

Re: [CMake] CPack and RPM packages

2011-03-06 Thread Laszlo Papp
CPack froze for hours What happened ? Seems a "nice" infinite loop... Idea ? Best Regards, Laszlo Papp cpack CPack: Create package using RPM CPack: Install projects CPack: - Run preinstall target for: Gluon ^[[D ^C On Sun, Mar 6, 2011 at 11:52 AM, Eric Noulard wrote: > 2011/3/5

Re: [CMake] CPack and RPM packages

2011-03-06 Thread Eric Noulard
2011/3/5 Laszlo Papp : > On Sat, Mar 5, 2011 at 5:32 PM, Eric Noulard wrote: >> 2011/3/5 Laszlo Papp : >>> Well, first I cannot build :) >> >> I thought you were already using CPack for Deb package? >> >> If you never used a cross-compiling setup with CMake then >> read this first: >> http://www.c

Re: [CMake] CPack and RPM packages

2011-03-05 Thread Laszlo Papp
On Sat, Mar 5, 2011 at 5:32 PM, Eric Noulard wrote: > 2011/3/5 Laszlo Papp : >> Well, first I cannot build :) > > I thought you were already using CPack for Deb package? Yes, but from scratchbox and scratchbox passed the corrent toolchain arguments... By the way, I solved it with export CXXFLAGS

Re: [CMake] CPack and RPM packages

2011-03-05 Thread Laszlo Papp
On Sat, Mar 5, 2011 at 5:32 PM, Eric Noulard wrote: > 2011/3/5 Laszlo Papp : >> Well, first I cannot build :) > > I thought you were already using CPack for Deb package? > > If you never used a cross-compiling setup with CMake then > read this first: > http://www.cmake.org/Wiki/CMake_Cross_Compili

Re: [CMake] CPack and RPM packages

2011-03-05 Thread Eric Noulard
2011/3/5 Laszlo Papp : > Well, first I cannot build :) I thought you were already using CPack for Deb package? If you never used a cross-compiling setup with CMake then read this first: http://www.cmake.org/Wiki/CMake_Cross_Compiling [...] -- Erk Membre de l'April - « promouvoir et défendre le

[CMake] CPack and RPM packages

2011-03-05 Thread Laszlo Papp
Restore the mailing list ! Well, first I cannot build :) cd /home/meego/gluon/build/core && /usr/bin/c++ -DMAKE_GLUON_CORE_LIB -Wall -Wno-psabi -Wall -g3 -ggdb -O0 -Wno-psabi -fPIC -I/home/meego/gluon -I/home/meego/gluon/build -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/

Re: [CMake] CPack and RPM packages

2011-03-04 Thread Eric Noulard
2011/3/4 Laszlo Papp : > On Fri, Mar 4, 2011 at 3:05 PM, Eric Noulard wrote: >> 2011/3/4 Laszlo Papp : >>> Hi, >>> >>> Can I create an rpm package with cpack in order to not deal with spec files >>> ? >> >> Yes you can CPackRPM is meant to do that: >> http://www.cmake.org/Wiki/CMake:CPackPackageG

Re: [CMake] CPack and RPM packages

2011-03-04 Thread Eric Noulard
2011/3/4 Laszlo Papp : > Hi, > > Can I create an rpm package with cpack in order to not deal with spec files ? Yes you can CPackRPM is meant to do that: http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#RPM_.28Unix_Only.29 The fastest path is to try: $ cd /path/to/builddir $ cpack -G RPM >

[CMake] CPack and RPM packages

2011-03-04 Thread Laszlo Papp
Hi, Can I create an rpm package with cpack in order to not deal with spec files ? We did not need to put any debian/{changelog,rules,control} files related implementation into the project so that to build a debian package for arm with cpack. https://projects.kde.org/projects/playground/games/gluo