all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John J Foerch <jjfoerch@earthlink.net>
To: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add ola
Date: Fri, 26 Aug 2016 08:10:59 -0400	[thread overview]
Message-ID: <87poovrar0.fsf@hecubus.retroj.net> (raw)
In-Reply-To: 871t1cl1su.fsf@gmail.com

Alex Vong <alexvong1995@gmail.com> writes:

> Hi,
>
> The patch builds on my machine and lgtm. I make some minor changes (in
> diff format):
>
> 1. Add ola.scm to gnu/local.mk, so that the build system knows the
>    presence of gnu/package/ola.scm. The commit message should say this
>    as well.
>
> 2. Move protobuf from propagated-inputs to inputs. I don't know if this
>    is right. But usually library depedencies don't need to be propagated
>    (?), only command line tools needed at run-time need to be
>    propagated, right?
>
> 3. Remove make-flags and phases. %standard-phases is the implicit
>    phases, so there is no need to specify it. I think PREFIX is already
>    handled by gnu-build-system. So it is not needed.
>
>
> 2 files changed, 4 insertions(+), 6 deletions(-)
> gnu/local.mk         | 1 +
> gnu/packages/ola.scm | 9 +++------
>
> modified   gnu/local.mk
> @@ -261,6 +261,7 @@ GNU_SYSTEM_MODULES =				\
>    %D%/packages/nvi.scm				\
>    %D%/packages/ocaml.scm			\
>    %D%/packages/ocr.scm				\
> +  %D%/packages/ola.scm				\
>    %D%/packages/onc-rpc.scm			\
>    %D%/packages/openbox.scm			\
>    %D%/packages/openldap.scm			\
> modified   gnu/packages/ola.scm
> @@ -55,16 +55,13 @@
>         ("libmicrohttpd" ,libmicrohttpd)
>         ("libusb" ,libusb)
>         ("libuuid" ,util-linux)
> -       ("zlib" ,zlib)))
> -    (propagated-inputs
> -     `(("protobuf" ,protobuf)))
> +       ("zlib" ,zlib)
> +       ("protobuf" ,protobuf)))
>      (arguments
>       `(;; G++ >= 4.8 macro expansion tracking requires lots of memory, causing
>         ;; build to fail on low memory systems.  We disable that with the
>         ;; following configure flags.
> -       #:configure-flags (list "CXXFLAGS=-ftrack-macro-expansion=0")
> -       #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
> -       #:phases %standard-phases))
> +       #:configure-flags (list "CXXFLAGS=-ftrack-macro-expansion=0")))
>      (synopsis "Framework for controlling entertainment lighting equipment")
>      (description "The Open Lighting Architecture is a framework for lighting
>  control information.  It supports a range of protocols and over a dozen USB
>
>
> Thanks for the patch. How do the others think?
>
> Cheers,
> Alex


Hello,

Thank you for taking a look and for catching those details.  Protobuf as
a propagated input is correct however - it is needed for 'pkg-config
--libs libola'.

--
John Foerch

  parent reply	other threads:[~2016-08-26 13:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-25 23:55 [PATCH] gnu: Add ola John J Foerch
2016-08-26  2:08 ` Alex Vong
2016-08-26 11:47   ` Marius Bakke
2016-08-28 20:01     ` Ludovic Courtès
2016-08-29 14:48       ` John J Foerch
2016-09-01 12:47         ` Ludovic Courtès
2016-09-02 17:56           ` John J Foerch
2016-09-05  8:54             ` Ludovic Courtès
2016-08-26 12:10   ` John J Foerch [this message]
     [not found] <mailman.11647.1470832050.26855.guix-devel@gnu.org>
2016-08-10 14:05 ` rennes
2016-08-10 20:24   ` John J Foerch
2016-08-22 19:14     ` John J Foerch
2016-08-24  2:03       ` John J Foerch
     [not found] <mailman.10291.1470243841.26857.guix-devel@gnu.org>
2016-08-04  3:26 ` rennes
2016-08-10 11:57   ` John J Foerch

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=87poovrar0.fsf@hecubus.retroj.net \
    --to=jjfoerch@earthlink.net \
    --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.