unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: David Craven <david@craven.ch>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 06/31] gnu: kwindowsystem: Update to 5.24.0.
Date: Tue, 2 Aug 2016 00:17:21 +0200	[thread overview]
Message-ID: <20160801220815.GA9832@solar> (raw)
In-Reply-To: <20160801211034.GG6728@solar>

[-- Attachment #1: Type: text/plain, Size: 2142 bytes --]

Hello!

On Mon, Aug 01, 2016 at 11:10:34PM +0200, Andreas Enge wrote:
> Sorry for the long message, which follows my own path in trying to debug
> this mess. To quickly summarise it:
> I think we need to modify the qtbase package to drop the
> NO_DEFAULT_PATH from Qt5Config.cmake.

I think that the attached patch solves the problem. Now the kwindowsystem
package fails as follows:
-- Found XCB: /gnu/store/jsy847sch7lnxjppkn1s1as22dbx74fx-libxcb-1.11/lib/libxcb.so;/gnu/store/3f6ysnalwhc73hj68c2vy9nc5zq8f3vr-xcb-util-keysyms-0.4.0/lib/libxcb-keysyms.so (found version "1.11") found components:  XCB KEYSYMS 
CMake Error at /gnu/store/kmbklh40857lxqvb8xvp6x9yvlfava79-extra-cmake-modules-5.24.0/share/ECM/modules/ECMPoQmTools.cmake:131 (find_package):
  Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  /gnu/store/kmbklh40857lxqvb8xvp6x9yvlfava79-extra-cmake-modules-5.24.0/share/ECM/modules/ECMPoQmTools.cmake:207 (ecm_process_po_files_as_qm)
  CMakeLists.txt:64 (ecm_install_po_files_as_qm)

Otherwise said, it goes beyond the line where it failed previously. I am just
surprised it does not print anything about Qt5X11Extras. In any case, the
CMakeCache.txt file in the build directory now contains the following lines:
   //The directory containing a CMake configuration file for Qt5X11Extras.
   Qt5X11Extras_DIR:PATH=/gnu/store/wlzvy1427jx3fjm9yj1yr4vv9fi065hc-qtx11extras-5.6.1-1/lib/cmake/Qt5X11Extras

I think that before continuing work on KDE, it may be a good idea to package
the missing Qt modules. (Well, I think we just need qttools here; which
makes me think that we might also want to add them as native inputs to
cmake-extra-modules before enabling tests, if we manage to do this.)

Andreas


[-- Attachment #2: 0001-gnu-qtbase-Modify-.cmake-files-to-enable-modules-in-.patch --]
[-- Type: text/plain, Size: 1468 bytes --]

From 2a4591e2eed1f0f5d88fe0a944cc7d294f5f37ab Mon Sep 17 00:00:00 2001
From: Andreas Enge <andreas@enge.fr>
Date: Mon, 1 Aug 2016 23:54:43 +0200
Subject: [PATCH] gnu: qtbase: Modify .cmake files to enable modules in
 different packages.

* gnu/packages/qt.scm (qtbase)[arguments]: In the configure phase, modify
.cmake and .cmake.in files so that find_package honors CMAKE_PREFIX_PATH.
---
 gnu/packages/qt.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index f246550..d1701c6 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -393,6 +393,13 @@ developers using C++ or QML, a CSS & JavaScript like language.")
                  (("/bin/pwd") (which "pwd")))
                (substitute* "src/corelib/global/global.pri"
                  (("/bin/ls") (which "ls")))
+               ;; The configuration files for other Qt5 packages are searched
+               ;; through a call to "find_package" in Qt5Config.cmake, which
+               ;; disables the use of CMAKE_PREFIX_PATH via the parameter
+               ;; "NO_DEFAULT_PATH". Re-enable it so that the different
+               ;; components can be installed in different places.
+               (substitute* (find-files "." ".*\\.cmake")
+                 (("NO_DEFAULT_PATH") ""))
                ;; do not pass "--enable-fast-install", which makes the
                ;; configure process fail
                (zero? (system*
-- 
2.9.1


  reply	other threads:[~2016-08-01 22:17 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-01 18:13 [PATCH 00/31] KDE Framework Tier1 Packages David Craven
2016-08-01 18:13 ` [PATCH 01/31] gnu: network-manager: Propagate GLIB David Craven
2016-08-01 19:48   ` Andreas Enge
2016-08-01 19:56     ` David Craven
2016-08-01 21:16       ` Andreas Enge
2016-08-01 18:13 ` [PATCH 02/31] download: Add KDE mirrors David Craven
2016-08-01 19:54   ` Andreas Enge
2016-08-02  9:55     ` Ludovic Courtès
2016-08-02 10:08       ` David Craven
2016-08-02 15:47         ` Leo Famulari
2016-08-02 15:52           ` David Craven
2016-08-02 16:27             ` Leo Famulari
2016-08-02 16:40               ` David Craven
2016-08-02 16:54                 ` David Craven
2016-08-01 18:13 ` [PATCH 03/31] gnu-maintenance: Add KDE updater David Craven
2016-08-02 10:02   ` Ludovic Courtès
2016-08-02 10:41     ` Andreas Enge
2016-08-02 12:42       ` Ludovic Courtès
2016-08-01 18:13 ` [PATCH 04/31] lint: 'inputs-should-be-native' checks for extra-cmake-modules and qttools David Craven
2016-08-01 21:22   ` Ludovic Courtès
2016-08-01 18:13 ` [PATCH 05/31] gnu: extra-cmake-modules: Update to 5.24.0 David Craven
2016-08-01 20:19   ` Andreas Enge
2016-08-01 18:13 ` [PATCH 06/31] gnu: kwindowsystem: " David Craven
2016-08-01 21:10   ` Andreas Enge
2016-08-01 22:17     ` Andreas Enge [this message]
2016-08-01 22:21       ` David Craven
2016-08-01 22:28         ` David Craven
2016-08-01 22:51           ` David Craven
2016-08-02 17:36             ` David Craven
2016-08-02 21:31               ` Ludovic Courtès
2016-08-03 14:08                 ` David Craven
2016-08-05 14:36                   ` David Craven
2016-08-05 18:21                     ` Andreas Enge
2016-08-05 18:23                     ` Andreas Enge
2016-08-05 19:38                   ` Andreas Enge
2016-08-05 19:51                     ` David Craven
2016-08-01 18:13 ` [PATCH 07/31] gnu: oxygen-icons: " David Craven
2016-08-01 18:13 ` [PATCH 08/31] gnu: kde-frameworks: Remove kde-frameworks-version David Craven
2016-08-01 19:57   ` Andreas Enge
2016-08-01 20:00     ` David Craven
2016-08-01 21:17       ` Andreas Enge
2016-08-02 11:55         ` David Craven
2016-08-02 11:57           ` David Craven
2016-08-02 12:15             ` Andreas Enge
2016-08-02 12:44             ` Ludovic Courtès
2016-08-02 12:50               ` David Craven
2016-08-01 19:58   ` Andreas Enge
2016-08-02 12:33   ` Ludovic Courtès
2016-08-01 18:13 ` [PATCH 09/31] gnu: kde-frameworks: Add attica David Craven
2016-08-01 18:13 ` [PATCH 10/31] gnu: kde-frameworks: Add bluez-qt David Craven
2016-08-01 18:13 ` [PATCH 11/31] gnu: kde-frameworks: Add breeze-icons David Craven
2016-08-01 18:13 ` [PATCH 12/31] gnu: kde-frameworks: Add kapidox David Craven
2016-08-01 18:13 ` [PATCH 13/31] gnu: kde-frameworks: Add karchive David Craven
2016-08-01 18:13 ` [PATCH 14/31] gnu: kde-frameworks: Add kcodecs David Craven
2016-08-01 18:13 ` [PATCH 15/31] gnu: kde-frameworks: Add kconfig David Craven
2016-08-01 18:13 ` [PATCH 16/31] gnu: kde-frameworks: Add kcoreaddons David Craven
2016-08-01 18:13 ` [PATCH 17/31] gnu: kde-frameworks: Add kdbusaddons David Craven
2016-08-01 18:13 ` [PATCH 18/31] gnu: kde-frameworks: Add kdnssd David Craven
2016-08-01 18:13 ` [PATCH 19/31] gnu: kde-frameworks: Add kguiaddons David Craven
2016-08-01 18:13 ` [PATCH 20/31] gnu: kde-frameworks: Add ki18n David Craven
2016-08-01 18:13 ` [PATCH 21/31] gnu: kde-frameworks: Add kidletime David Craven
2016-08-01 18:13 ` [PATCH 22/31] gnu: kde-frameworks: Add kitemmodels David Craven
2016-08-01 18:13 ` [PATCH 23/31] gnu: kde-frameworks: Add kitemviews David Craven
2016-08-01 18:13 ` [PATCH 24/31] gnu: kde-frameworks: Add kplotting David Craven
2016-08-01 18:13 ` [PATCH 25/31] gnu: kde-frameworks: Add kwayland David Craven
2016-08-01 18:13 ` [PATCH 26/31] gnu: kde-frameworks: Add kwidgetsaddons David Craven
2016-08-01 18:13 ` [PATCH 27/31] gnu: kde-frameworks: Add modemmanager-qt David Craven
2016-08-01 18:13 ` [PATCH 28/31] gnu: kde-frameworks: Add networkmanager-qt David Craven
2016-08-01 18:13 ` [PATCH 29/31] gnu: kde-frameworks: Add solid David Craven
2016-08-01 18:13 ` [PATCH 30/31] gnu: kde-frameworks: Add sonnet David Craven
2016-08-01 18:13 ` [PATCH 31/31] gnu: kde-frameworks: Add threadweaver David Craven
2016-08-01 19:44 ` [PATCH 00/31] KDE Framework Tier1 Packages Andreas Enge
2016-08-01 21:21 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160801220815.GA9832@solar \
    --to=andreas@enge.fr \
    --cc=david@craven.ch \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).