From: Ricardo Wurmus <rekado@elephly.net>
To: Mathieu Lirzin <mthl@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] Add rapicorn.
Date: Thu, 14 Apr 2016 20:29:52 +0200 [thread overview]
Message-ID: <8760vk11sv.fsf@elephly.net> (raw)
In-Reply-To: <idjpots4mln.fsf@bimsb-sys02.mdc-berlin.net>
[-- Attachment #1: Type: text/plain, Size: 1684 bytes --]
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
> Mathieu Lirzin <mthl@gnu.org> writes:
>
>>> + (modify-phases %standard-phases
>>> + (add-after 'unpack 'replace-/bin/ls
>>> + (lambda _
>>> + (substitute* '("Makefile.decl"
>>> + "tools/Makefile.in"
>>> + "tests/Makefile.in"
>>> + "aidacc/tests/Makefile.in"
>>> + "aidacc/Makefile.in"
>>> + "cython/Makefile.in"
>>> + "res/Makefile.in"
>>> + "ui/tests/Makefile.in"
>>> + "ui/Makefile.in"
>>> + "docs/tutorial/Makefile.in"
>>> + "docs/mans/Makefile.in"
>>> + "docs/Makefile.in"
>>> + "docs/examples/Makefile.in"
>>> + "docs/imports/Makefile.in"
>>> + "Makefile.in"
>>> + "pytests/Makefile.in"
>>> + "examples/Makefile.in"
>>> + "data/Makefile.in"
>>> + "rcore/tests/Makefile.in"
>>> + "rcore/Makefile.in")
>>> + (("/bin/ls") (which "ls")))
>>
>> Can you try to use ‘find-files’ for this substitution?
>
> Yes, that would be better. I’ll send a new version of this patch
> later; I found that some inputs need to be propagated.
Here’s a new version of the patch moving around inputs to the
propagated-inputs field and using “find-files”.
~~ Ricardo
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-rapicorn.patch --]
[-- Type: text/x-patch, Size: 3821 bytes --]
From 168af32c5973fa30c56679b6c08e878e3ea2f632 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Wed, 13 Apr 2016 08:56:16 +0200
Subject: [PATCH 1/2] gnu: Add rapicorn.
* gnu/packages/graphics.scm (rapicorn): New variable.
---
gnu/packages/graphics.scm | 63 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 1c52c2c..da764ed 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -31,22 +31,32 @@
#:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bash)
+ #:use-module (gnu packages bison)
#:use-module (gnu packages boost)
+ #:use-module (gnu packages doxygen)
+ #:use-module (gnu packages haskell)
#:use-module (gnu packages image)
#:use-module (gnu packages python)
+ #:use-module (gnu packages flex)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate
#:use-module (gnu packages compression)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages gl)
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages graphviz)
+ #:use-module (gnu packages gtk)
+ #:use-module (gnu packages gnome)
#:use-module (gnu packages image)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages photo)
#:use-module (gnu packages python)
#:use-module (gnu packages qt)
+ #:use-module (gnu packages readline)
#:use-module (gnu packages sdl)
#:use-module (gnu packages video)
+ #:use-module (gnu packages xml)
#:use-module (gnu packages xorg))
(define-public blender
@@ -271,6 +281,59 @@ visual effects work for film.")
(home-page "http://www.openimageio.org")
(license license:bsd-3)))
+(define-public rapicorn
+ (package
+ (name "rapicorn")
+ (version "16.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://testbit.eu/pub/dists/rapicorn/"
+ "rapicorn-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1y51yjrpsihas1jy905m9p3r8iiyhq6bwi2690c564i5dnix1f9d"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(;; FIXME: At least "testrcore1" fails.
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'replace-/bin/ls
+ (lambda _
+ (substitute* (cons "Makefile.decl"
+ (find-files "." "^Makefile\\.in$"))
+ (("/bin/ls") (which "ls")))
+ #t)))))
+ ;; These libraries are listed in the "Required" section of the pkg-config
+ ;; file.
+ (propagated-inputs
+ `(("librsvg" ,librsvg)
+ ("cairo" ,cairo)
+ ("pango" ,pango)
+ ("libxml2" ,libxml2)))
+ (inputs
+ `(("gdk-pixbuf" ,gdk-pixbuf)
+ ("libpng" ,libpng12)
+ ("readline" ,readline)
+ ("libcroco" ,libcroco)
+ ("python" ,python-2)
+ ("cython" ,python2-cython)))
+ (native-inputs
+ `(("pandoc" ,ghc-pandoc)
+ ("bison" ,bison)
+ ("flex" ,flex)
+ ("doxygen" ,doxygen)
+ ("graphviz" ,graphviz)
+ ("intltool" ,intltool)
+ ("pkg-config" ,pkg-config)))
+ (home-page "http://rapicorn.org")
+ (synopsis "Toolkit for rapid development of user interfaces")
+ (description
+ "Rapicorn is a toolkit for rapid development of user interfaces in C++
+and Python. The user interface is designed in a declarative markup language
+and is connected to the programming logic using data bindings and commands.")
+ (license license:mpl2.0)))
+
(define-public ctl
(package
(name "ctl")
--
2.7.3
next prev parent reply other threads:[~2016-04-14 18:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-13 19:34 [PATCH] Add rapicorn Ricardo Wurmus
2016-04-13 20:09 ` Mathieu Lirzin
2016-04-14 8:32 ` Ricardo Wurmus
2016-04-14 18:29 ` Ricardo Wurmus [this message]
2016-04-17 19:04 ` Ludovic Courtès
2016-04-14 6:55 ` Florian Paul Schmidt
2016-04-14 8:30 ` Ricardo Wurmus
2016-04-14 20:58 ` Andreas Enge
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=8760vk11sv.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=guix-devel@gnu.org \
--cc=mthl@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).