
On Monday 05 February 2007 19:03:34 Aaron Spike wrote:
Craig Bradney wrote:
It took me a week to do the inital CMake conversion for Scribus, and its had quite a few tweaks along the way, as well as even backporting it to the 1.3.3.x stable series for wider testing. A lot of the initial issues I faced related to Qt and moc files, which is obviously not an issue for you.
How did you start? I've got almost no idea how to take this on even though I've been working with cmake for a few weeks now. I suppose most of my difficulty comes from autotools ignorance. Would you be willing to give me a breif outline?
I started with the most basic things..
-subscribe to the CMake mailing list.. its worth reading -external dependencies (eg cairo, libart, etc) -internal dependencies (our plugins and convenience libs) -working out how to do a lot of the decision making and versioning (this is something I really fleshed out later on though) -working out where to install files -I started with linux only and let the porter work on OSX, although Andras really just said this doesnt work and either added or asked me what to change -I read the cmake 2.4.0 (or so at the time) manual a lot.. -A lot is repetitive, ls -1 helps a lot when listing dirs :)
I'd love to help out, but right now, work is making concentrating a lot at home hard. I'm happy to answer questions but doing the work won't be too productive.
I had no autotools experience apart from editing the Makefile.ams we had, the rest of the black magic remains just that.
By no means is the Scribus CMake build system finished, or close to being perfect, however for now it works on Linux and OSX. At least based on that, it would be worth you checking out Scribus cvs and reading the files if you haven't.
Use CMake 2.4.6 or CVS (for testing).. theres a lot changed recently and its important to push the distros to use CMake and keep their 2.4.x versions updated.
Craig