[gentoo-dev] RFC: cmake.eclass

2007-11-04 Thread Krzysiek Pawlik
A little introduction: cmake is an alternative for autotools, more and more packages are using it (and some new big ones are on the way, KDE4 for example). I've wrote an eclass that makes writing ebuilds for such packages a little easier - it provides an ecmake function that takes care of few

Re: [gentoo-dev] RFC: cmake.eclass

2007-11-04 Thread Donnie Berkholz
On 12:51 Sun 04 Nov , Krzysiek Pawlik wrote: A little introduction: cmake is an alternative for autotools, more and more packages are using it (and some new big ones are on the way, KDE4 for example). I've wrote an eclass that makes writing ebuilds for such packages a little easier -

Re: [gentoo-dev] RFC: cmake.eclass

2007-11-04 Thread Krzysiek Pawlik
Donnie Berkholz wrote: I've wrote an eclass that makes writing ebuilds for such packages a little easier - it provides an ecmake function that takes care of few needed variables, prefix and such. Great! When's the scons one coming? =) I don't know scons ;) # # Original Author: nelchael

Re: [gentoo-dev] RFC: cmake.eclass

2007-11-04 Thread Krzysiek Pawlik
Wulf C. Krueger wrote: KDE4 will make use of cmake-utils.eclass we wrote because Why call it cmake-utils? - we need use_enable- and use_with-like functions for cmake (makes ebuilds easier to read) Could be done. - in-source and out-of-source build support Got it too :) - we need

Re: [gentoo-dev] RFC: cmake.eclass

2007-11-04 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Krzysiek Pawlik wrote: A little introduction: cmake is an alternative for autotools, more and more packages are using it (and some new big ones are on the way, KDE4 for example). I've wrote an eclass that makes writing ebuilds for such packages

Re: [gentoo-dev] RFC: cmake.eclass

2007-11-04 Thread Krzysiek Pawlik
Marijn Schouten (hkBst) wrote: I'm a bit confused now. Both this eclass and the recently submitted cmake-utils.eclass seem to handle CMake-based packages. Can someone clarify? Yes: I've missed the discussion about cmake-utils.eclass - my version (cmake.eclass) is not needed. -- Krzysiek

Re: [gentoo-dev] RFC: cmake.eclass

2007-11-04 Thread Krzysiek Pawlik
Wulf: check this patch to cmake-utils.eclass - it used pushd/popd, adds CMAKE_IN_SOURCE_BUILD in cmake-utils_src_compile and defines LIB_INSTALL_DIR (cmake-utils will be used by other packages besides KDE too). -- Krzysiek Pawlik nelchael at gentoo.org key id: 0xBC51 desktop-misc,

Re: [gentoo-dev] RFC: cmake.eclass

2007-11-04 Thread Wulf C. Krueger
Hello Krzysiek! On Sunday, 04. November 2007 15:09:47 Krzysiek Pawlik wrote: Wulf: check this patch to cmake-utils.eclass - it used pushd/popd, adds CMAKE_IN_SOURCE_BUILD in cmake-utils_src_compile and defines LIB_INSTALL_DIR (cmake-utils will be used by other packages besides KDE too).