From: ng0 <ng0@libertad.pw>
To: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add fluid.
Date: Mon, 09 Jan 2017 14:15:04 +0000 [thread overview]
Message-ID: <87mvf0qpzr.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20170109124413.2448-2-ng0@libertad.pw>
ng0 <ng0@libertad.pw> writes:
> * gnu/packages/kde-frameworks.scm (fluid): New variable.
> ---
> gnu/packages/kde-frameworks.scm | 57 +++++++++++++++++++++++++++++++++++++++++
> gnu/packages/qt.scm | 1 +
> 2 files changed, 58 insertions(+)
>
> diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
> index 94145fb95..224b35666 100644
> --- a/gnu/packages/kde-frameworks.scm
> +++ b/gnu/packages/kde-frameworks.scm
> @@ -3,6 +3,7 @@
> ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
> ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
> ;;; Copyright © 2016 David Craven <david@craven.ch>
> +;;; Copyright © 2017 ng0 <ng0@libertad.pw>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -2896,3 +2897,59 @@ script engines.")
>
> (define kinit-bootstrap
> ((package-input-rewriting `((,kdbusaddons . ,kdbusaddons-bootstrap))) kinit))
> +
> +(define-public fluid
> + (package
> + (name "fluid")
> + (version "0.9.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append "https://github.com/lirios/fluid/releases/download/"
> + "v" version "/" name "-" version ".tar.xz"))
> + (file-name (string-append name "-" version ".tar.xz"))
> + (sha256
> + (base32
> + "0m6mijlnizgvmh0z2wcrmkfl5cdrylxz3d7bqii8dasmm0q8f68y"))))
> + (build-system cmake-build-system)
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + (add-before 'check 'set-path-for-check
> + ;; The tests do not find the fluid module.
> + (lambda* (#:key inputs outputs #:allow-other-keys)
> + (let* ((out (assoc-ref outputs "out"))
> + (bin (string-append out "/bin"))
> + (qtb (assoc-ref inputs "qtbase"))
> + (qtd (assoc-ref inputs "qtdeclarative"))
> + (qts (assoc-ref inputs "qtsvg"))
> + (qtq (assoc-ref inputs "qtquickcontrol2")))
> + (setenv "PATH" (string-append (getenv "PATH")
Should this be a string-join instead?
> + ":" bin ":" qtb ":"
> + qtd ":" qtd ":" qts
> + ":" qtq))
> + (setenv "QML2_IMPORT_PATH"
> + (string-append (getcwd)
> + "/test_root/usr/lib/"
> + "qt5/qml"))
> + (setenv "LD_LIBRARY_PATH" (string-append (getcwd) "/lib"))
> + (setenv "HOME" (getcwd))
> + (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; Enable debug output
> + (setenv "QT_QPA_PLATFORM" "offscreen"))
> + #t))
> + (add-after 'install 'check
> + ;; Swap check and install phases and set paths to installed binaries.
> + (assoc-ref %standard-phases 'check)))))
> + (native-inputs
> + `(("extra-cmake-modules" ,extra-cmake-modules)))
> + (inputs
> + `(("qtbase" ,qtbase)
> + ("qtdeclarative" ,qtdeclarative)
> + ("qtsvg" ,qtsvg)
> + ("qtquickcontrols2" ,qtquickcontrols2)))
> + (home-page "https://github.com/lirios/fluid")
> + (synopsis "Library for QtQuick applications")
> + (description
> + "Fluid is a collection of cross-platform QtQuick components for
> +building fluid and dynamic applications.")
> + (license license:mpl2.0)))
> diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
> index df6fe168a..0846e5f89 100644
> --- a/gnu/packages/qt.scm
> +++ b/gnu/packages/qt.scm
> @@ -46,6 +46,7 @@
> #:use-module (gnu packages gtk)
> #:use-module (gnu packages icu4c)
> #:use-module (gnu packages image)
> + #:use-module (gnu packages kde-frameworks)
> #:use-module (gnu packages linux)
> #:use-module (gnu packages databases)
> #:use-module (gnu packages pciutils)
> --
> 2.11.0
>
>
--
♥Ⓐ ng0 -- https://www.inventati.org/patternsinthechaos/
next prev parent reply other threads:[~2017-01-09 14:14 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-04 12:47 Patches to add: DOtherSide, fluid, font-google-roboto ng0
2017-01-04 12:47 ` [PATCH 1/3] gnu: Add dotherside ng0
2017-01-04 12:47 ` [PATCH 2/3] gnu: Add fluid ng0
2017-01-04 14:04 ` Danny Milosavljevic
2017-01-04 14:48 ` David Craven
2017-01-04 12:47 ` [PATCH 3/3] gnu: Add font-google-roboto ng0
2017-01-09 9:21 ` Ludovic Courtès
2017-01-04 14:53 ` fluid, dotherside, roboto. v2 ng0
2017-01-04 14:53 ` [PATCH 1/3] gnu: Add dotherside ng0
2017-01-09 9:24 ` Ludovic Courtès
2017-01-04 14:53 ` [PATCH 2/3] gnu: Add fluid ng0
2017-01-09 9:32 ` Ludovic Courtès
2017-01-09 10:11 ` Efraim Flashner
2017-01-09 10:20 ` ng0
2017-01-09 12:44 ` fluid, v2 ng0
2017-01-09 12:44 ` [PATCH] gnu: Add fluid ng0
2017-01-09 14:15 ` ng0 [this message]
2017-01-09 15:58 ` David Craven
2017-01-09 16:11 ` David Craven
2017-01-09 16:45 ` ng0
2017-01-09 16:49 ` David Craven
2017-01-04 14:53 ` [PATCH 3/3] gnu: Add font-google-roboto ng0
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mvf0qpzr.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me \
--to=ng0@libertad.pw \
--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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.