KDE/kdepimlibs

Andreas Pakulat apaku at gmx.de
Tue May 12 19:31:41 CEST 2009


On 11.05.09 22:59:15, Alexander Neundorf wrote:
> On Monday 11 May 2009, Christophe Giboudeaux wrote:
> > SVN commit 966746 by cgiboudeaux:
> >
> > As mentioned by Alex when KDEPIMLIBS_INCLUDE_DIRS was created, installing
> > the kdepimlibs CamelCase headers in the same dir as the kdelibs ones is not
> > a good idea. (different package -> different dir).
> >
> > They will now be installed in include/KDEPIMLIBS.
> >
> >
> > CCMAIL: kde-pim at kde.org
> > CCMAIL: kde-buildsystem at kde.org
> >
> >
> >
> >  M  +1 -1      KdepimLibsConfig.cmake.in
> >  M  +1 -1      includes/CMakeLists.txt
> >
> >
> > --- trunk/KDE/kdepimlibs/KdepimLibsConfig.cmake.in #966745:966746
> > @@ -15,7 +15,7 @@
> >  set(KDEPIMLIBS_DBUS_INTERFACES_DIR "@KDEPIMLIBS_DBUS_INTERFACES_DIR@")
> >  set(KDEPIMLIBS_DBUS_SERVICES_DIR   "@KDEPIMLIBS_DBUS_SERVICES_DIR@")
> >  set(KDEPIMLIBS_INCLUDE_DIR         "@KDEPIMLIBS_INCLUDE_DIR@")
> > -set(KDEPIMLIBS_INCLUDE_DIRS        "@KDEPIMLIBS_INCLUDE_DIR@"
> > "@KDEPIMLIBS_INCLUDE_DIR@/KDE") +set(KDEPIMLIBS_INCLUDE_DIRS       
> > "@KDEPIMLIBS_INCLUDE_DIR@" "@KDEPIMLIBS_INCLUDE_DIR@/KDEPIMLIBS")
> > set(KDEPIMLIBS_LIB_DIR             "@KDEPIMLIBS_LIB_DIR@")
> >  set(KDEPIMLIBS_BIN_DIR             "@KDEPIMLIBS_BIN_DIR@")
> >  set(KDEPIMLIBS_LIBEXEC_DIR         "@KDEPIMLIBS_LIBEXEC_DIR@")
> > --- trunk/KDE/kdepimlibs/includes/CMakeLists.txt #966745:966746
> > @@ -4,7 +4,7 @@
> >
> >  macro(install_headers _dir)
> >    file(GLOB _includes "${CMAKE_CURRENT_SOURCE_DIR}/${_dir}/[A-Za-z]*")
> > -  install(FILES ${_includes} DESTINATION
> > ${INCLUDE_INSTALL_DIR}/KDE/${_dir} COMPONENT Devel) +  install(FILES
> > ${_includes} DESTINATION ${INCLUDE_INSTALL_DIR}/KDEPIMLIBS/${_dir}
> > COMPONENT Devel) endmacro(install_headers)
> 
> Are you sure you want to install the to all-uppercase include/KDEPIMLIBS/ and 
> not maybe include/KDEPimLibs/ (or KDEPIMLibs/ or KdepimLibs/ ) ?
> This would look more friendly IMHO.

As asked by Pino (just to make sure that this doesn't get lost as I've
discussed with him a bit different things): Why is this done at all? All
the headers in kdepimlibs are namespaced with the relevant libraries
inside prefix/include/KDE. So whats the reasoning? I don't see the old
version create problems for anyone, but apparently all applications that
used the old dir need to be built from scratch so cmake find the right
include dirs (and doesn't use the cache).

Andreas

-- 
You will be held hostage by a radical group.


More information about the Kde-buildsystem mailing list