unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: shishi: Add more inputs for libidn and PAM support
@ 2014-02-18 16:03 Mark H Weaver
  2014-02-18 16:59 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2014-02-18 16:03 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: [PATCH] gnu: shishi: Add more inputs for libidn and PAM support --]
[-- Type: text/x-patch, Size: 1666 bytes --]

From dec2fd78c2bf9fc0081423854eee9794e7945b08 Mon Sep 17 00:00:00 2001
From: Mark H Weaver <mhw@netris.org>
Date: Tue, 18 Feb 2014 10:34:04 -0500
Subject: [PATCH] gnu: shishi: Add more inputs for libidn and PAM support.

* gnu/packages/shishi.scm (shishi): Add 'pkg-config' native-input.
  Add 'libidn' and 'linux-pam' inputs.
---
 gnu/packages/shishi.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/shishi.scm b/gnu/packages/shishi.scm
index 0523a4e..47e7802 100644
--- a/gnu/packages/shishi.scm
+++ b/gnu/packages/shishi.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2012, 2013 Nikita Karetnikov <nikita@karetnikov.org>
 ;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22,6 +23,9 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages gnutls)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages libidn)
+  #:use-module (gnu packages linux)
+  #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages compression)
   #:use-module (guix packages)
   #:use-module (guix download)
@@ -40,8 +44,11 @@
        (base32
         "032qf72cpjdfffq1yq54gz3ahgqf2ijca4vl31sfabmjzq9q370d"))))
     (build-system gnu-build-system)
+    (native-inputs `(("pkg-config" ,pkg-config)))
     (inputs
      `(("gnutls" ,gnutls)
+       ("libidn" ,libidn)
+       ("linux-pam" ,linux-pam)
        ("zlib" ,zlib)
        ;; libgcrypt 1.6 fails because of the following test:
        ;;  #include <gcrypt.h>
-- 
1.8.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: shishi: Add more inputs for libidn and PAM support
  2014-02-18 16:03 [PATCH] gnu: shishi: Add more inputs for libidn and PAM support Mark H Weaver
@ 2014-02-18 16:59 ` Ludovic Courtès
  2014-02-18 17:40   ` Mark H Weaver
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2014-02-18 16:59 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Mark H Weaver <mhw@netris.org> skribis:

> From dec2fd78c2bf9fc0081423854eee9794e7945b08 Mon Sep 17 00:00:00 2001
> From: Mark H Weaver <mhw@netris.org>
> Date: Tue, 18 Feb 2014 10:34:04 -0500
> Subject: [PATCH] gnu: shishi: Add more inputs for libidn and PAM support.
>
> * gnu/packages/shishi.scm (shishi): Add 'pkg-config' native-input.
>   Add 'libidn' and 'linux-pam' inputs.

Does it really need libidn?  Glibc is supposed to use it already
somehow, no?

Otherwise OK to push.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: shishi: Add more inputs for libidn and PAM support
  2014-02-18 16:59 ` Ludovic Courtès
@ 2014-02-18 17:40   ` Mark H Weaver
  2014-02-18 17:48     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2014-02-18 17:40 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

ludo@gnu.org (Ludovic Courtès) writes:

> Mark H Weaver <mhw@netris.org> skribis:
>
>> From dec2fd78c2bf9fc0081423854eee9794e7945b08 Mon Sep 17 00:00:00 2001
>> From: Mark H Weaver <mhw@netris.org>
>> Date: Tue, 18 Feb 2014 10:34:04 -0500
>> Subject: [PATCH] gnu: shishi: Add more inputs for libidn and PAM support.
>>
>> * gnu/packages/shishi.scm (shishi): Add 'pkg-config' native-input.
>>   Add 'libidn' and 'linux-pam' inputs.
>
> Does it really need libidn?  Glibc is supposed to use it already
> somehow, no?

Without it, configure outputs this, which seems suboptimal:

--8<---------------cut here---------------start------------->8---
checking for libidn... no
configure: WARNING: Libidn not found.  String process disabled.
checking if String processing support via Libidn should be built... no
--8<---------------cut here---------------end--------------->8---

> Otherwise OK to push.

    Thanks,
      Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: shishi: Add more inputs for libidn and PAM support
  2014-02-18 17:40   ` Mark H Weaver
@ 2014-02-18 17:48     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2014-02-18 17:48 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Mark H Weaver <mhw@netris.org> skribis:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Mark H Weaver <mhw@netris.org> skribis:
>>
>>> From dec2fd78c2bf9fc0081423854eee9794e7945b08 Mon Sep 17 00:00:00 2001
>>> From: Mark H Weaver <mhw@netris.org>
>>> Date: Tue, 18 Feb 2014 10:34:04 -0500
>>> Subject: [PATCH] gnu: shishi: Add more inputs for libidn and PAM support.
>>>
>>> * gnu/packages/shishi.scm (shishi): Add 'pkg-config' native-input.
>>>   Add 'libidn' and 'linux-pam' inputs.
>>
>> Does it really need libidn?  Glibc is supposed to use it already
>> somehow, no?
>
> Without it, configure outputs this, which seems suboptimal:
>
> checking for libidn... no
> configure: WARNING: Libidn not found.  String process disabled.
> checking if String processing support via Libidn should be built... no

Ah OK, perfect then!

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-18 17:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18 16:03 [PATCH] gnu: shishi: Add more inputs for libidn and PAM support Mark H Weaver
2014-02-18 16:59 ` Ludovic Courtès
2014-02-18 17:40   ` Mark H Weaver
2014-02-18 17:48     ` Ludovic Courtès

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