unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Craven <david@craven.ch>
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: packaging qt applications
Date: Tue, 26 Jul 2016 21:12:23 +0200	[thread overview]
Message-ID: <CAL1_imm=zBVBy7ENGg8Q7mTffyPgUAdwu1H+CWUe-_uiW-Y02w@mail.gmail.com> (raw)
In-Reply-To: <20160726185524.GA13164@solar>

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))))
```

  reply	other threads:[~2016-07-26 19:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-26 13:30 packaging qt applications David Craven
2016-07-26 13:41 ` John Darrington
2016-07-26 14:18 ` Andreas Enge
2016-07-26 14:43   ` David Craven
2016-07-26 18:55     ` Andreas Enge
2016-07-26 19:12       ` David Craven [this message]
2016-07-26 19:19         ` David Craven

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='CAL1_imm=zBVBy7ENGg8Q7mTffyPgUAdwu1H+CWUe-_uiW-Y02w@mail.gmail.com' \
    --to=david@craven.ch \
    --cc=andreas@enge.fr \
    --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).