From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: packaging qt applications Date: Tue, 26 Jul 2016 21:12:23 +0200 Message-ID: References: <20160726141838.GA5250@solar> <20160726185524.GA13164@solar> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS7mI-0001Cm-7e for guix-devel@gnu.org; Tue, 26 Jul 2016 15:12:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bS7mE-0007kT-RE for guix-devel@gnu.org; Tue, 26 Jul 2016 15:12:30 -0400 Received: from mail-yw0-x235.google.com ([2607:f8b0:4002:c05::235]:36612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS7mD-0007k0-Ii for guix-devel@gnu.org; Tue, 26 Jul 2016 15:12:26 -0400 Received: by mail-yw0-x235.google.com with SMTP id u134so28277291ywg.3 for ; Tue, 26 Jul 2016 12:12:24 -0700 (PDT) In-Reply-To: <20160726185524.GA13164@solar> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Andreas Enge Cc: guix-devel Also I didn't mention that this only happens when running guix build greenisland and not when running guix environment greenisland && cmake . The snippet is there because I know that Qml and Quick are there, they just aren't being found. This let's the build continue until the previous error. I'm still trying to compile qt 5.6.1-1 so that should fix the problem (when I get it to build), finding a cause to this problem would be very nice dough... ``` (define-module (gnu packages wayland) #:use-module (gnu packages admin) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages libunwind) #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) #:use-module (gnu packages qt) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages)) (define-public wayland-protocols (package (name "wayland-protocols") (version "1.4") (source (origin (method url-fetch) (uri (string-append "https://wayland.freedesktop.org/releases/" "wayland-protocols-" version ".tar.xz")) (sha256 (base32 "0wpm7mz7ww6nn3vrgz7a9iyk7mk6za73wnq0n54lzl8yq8irljh1")))) (build-system gnu-build-system) (inputs `(("wayland" ,wayland))) (native-inputs `(("pkg-config" ,pkg-config))) (synopsis "Wayland protocols") (description "Placeholder.") (home-page "https://wayland.freedesktop.org") (license license:expat))) (define-public greenisland (package (name "greenisland") (version "0.8.90") (source (origin (method url-fetch) (uri (string-append "https://github.com/greenisland/" "greenisland/archive/v" version ".tar.gz")) (sha256 (base32 "0454f1xh52f7ibl4w41x3qjfr5kq5yqjpxh5ylhahl8vrzk0ykbx")) (modules '((guix build utils))) (snippet '(substitute* "CMakeLists.txt" (("find_package.*Qt5.*Qml Quick.*\n") "find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core DBus Gui)\n"))))) (build-system cmake-build-system) (inputs `(("extra-cmake-modules" ,extra-cmake-modules) ("fontconfig" ,fontconfig) ("freetype" ,freetype) ("glib" ,glib) ("libdrm" ,libdrm-update) ("libinput" ,libinput) ("libxcursor" ,libxcursor) ("libxkbcommon" ,libxkbcommon) ("mesa" ,mesa-update) ("qtbase" ,qtbase) ("qtdeclarative" ,qtdeclarative) ("udev" ,eudev) ("wayland" ,wayland) ("wayland-protocols" ,wayland-protocols) ("xcb-util-cursor" ,xcb-util-cursor))) (native-inputs `(("glib:bin" ,glib "bin") ("pkg-config" ,pkg-config))) (synopsis "QtQuick Wayland compositor and shell for desktop and mobile") (description "Green Island provides a full blown Wayland compositor for QtQuick as well as pluggable hardware abstraction, extensions, tools and a Qt-style API for Wayland clients.") (home-page "http://hawaiios.org") (license (list license:gpl2 license:gpl3 license:lgpl2.1 license:lgpl3)))) ```