Review Request 127169: By default, make KDE_INSTALL_USE_QT_SYS_PATHS share the same directory scheme as Qt if they share the prefix
Stephen Kelly
steveire at gmail.com
Thu Feb 25 20:51:54 UTC 2016
> On Feb. 24, 2016, 7:06 p.m., Stephen Kelly wrote:
> > Hi Aleix,
> >
> > I'm not familiar with the 'tiny mess'. Can you say what it is? I would expect the libs go in the same place, but maybe the plugins are affected by this? Can you be more specific?
> >
> > Thanks,
>
> Aleix Pol Gonzalez wrote:
> Well, Qt might be installing things in `$prefix/lib` and cmake in `$prefix/lib64`. In fact, Qt by default installs plugins in `$prefix/plugins` (which looks really odd, I agree).
> In any case, if it's meant to go to the same place, let's just ask Qt where to go.
>
> As you can see, all of the distros are already specifying this: (and they don't need to in fact, because it's the same prefix)
> https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/kcoreaddons
> http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/pkg-kde-tools/wily/view/head:/datalib/kf5_flags
> https://pkgs.fedoraproject.org/cgit/rpms/kf5.git/tree/macros.kf5
>
> Nicolás Alvarez wrote:
> I don't think "all distros set it" is a valid argument for changing a default, otherwise we would be setting `CMAKE_INSTALL_PREFIX=/usr` by default too.
I agree with Nicolás that this seems wierd. Are packagers complaining about having to set this?
Also, I don't think I've seen enough specifics about the impact this has. What moves where etc.
- Stephen
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127169/#review92739
-----------------------------------------------------------
On Feb. 24, 2016, 5:09 p.m., Aleix Pol Gonzalez wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127169/
> -----------------------------------------------------------
>
> (Updated Feb. 24, 2016, 5:09 p.m.)
>
>
> Review request for Extra Cmake Modules, KDE Frameworks and Albert Vaca Cintora.
>
>
> Repository: extra-cmake-modules
>
>
> Description
> -------
>
> Make Qt and ECM-based projects use the same directory sctructure (i.e. where plugins are, libs, etc.) by default. Otherwise it creates a tiny mess that might be controlled but usually won't.
>
> In the end, otherwise, people need to keep adapting their systems with environment variables anyway. All distros end up setting always this setting as ON, as well as brave developers who don't have separate prefixes for Qt and KDE.
>
>
> Diffs
> -----
>
> kde-modules/KDEInstallDirs.cmake ebd48fa
>
> Diff: https://git.reviewboard.kde.org/r/127169/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Aleix Pol Gonzalez
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20160225/9df5df94/attachment.html>
More information about the Kde-buildsystem
mailing list