unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/2] gnu: Add libical.
@ 2015-04-26 21:54 David Thompson
  2015-04-26 21:57 ` [PATCH 2/2] gnu: Add bluez David Thompson
  2015-04-29 21:56 ` [PATCH 1/2] gnu: Add libical Andreas Enge
  0 siblings, 2 replies; 6+ messages in thread
From: David Thompson @ 2015-04-26 21:54 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: 0001-gnu-Add-libical.patch --]
[-- Type: text/x-diff, Size: 3127 bytes --]

From a186fd49a55796917431088c0a04dee1b7da30c6 Mon Sep 17 00:00:00 2001
From: David Thompson <dthompson2@worcester.edu>
Date: Sun, 26 Apr 2015 17:46:57 -0400
Subject: [PATCH 1/2] gnu: Add libical.

* gnu/packages/libical.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
---
 gnu-system.am            |  1 +
 gnu/packages/libical.scm | 52 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 gnu/packages/libical.scm

diff --git a/gnu-system.am b/gnu-system.am
index a99e2bd..2209a0f 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -173,6 +173,7 @@ GNU_SYSTEM_MODULES =				\
   gnu/packages/libffcall.scm			\
   gnu/packages/libffi.scm			\
   gnu/packages/libftdi.scm			\
+  gnu/packages/libical.scm			\
   gnu/packages/libidn.scm			\
   gnu/packages/libphidget.scm			\
   gnu/packages/libsigsegv.scm			\
diff --git a/gnu/packages/libical.scm b/gnu/packages/libical.scm
new file mode 100644
index 0000000..82ad18f
--- /dev/null
+++ b/gnu/packages/libical.scm
@@ -0,0 +1,52 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2015 David Thompson <davet@gnu.org>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages libical)
+  #:use-module (gnu packages)
+  #:use-module (guix licenses)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages icu4c)
+  #:use-module (gnu packages perl))
+
+(define-public libical
+  (package
+    (name "libical")
+    (version "1.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/libical/libical/releases/download/v"
+                    version "/libical-" version ".tar.gz"))
+              (sha256
+               (base32
+                "14lmjj63zyx88rf1z71l0v9ms4c2vpdhmixksjjxgywp5p2f7708"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:tests? #f)) ; test suite appears broken
+    (native-inputs
+     `(("perl" ,perl)))
+    (inputs
+     `(("icu4c" ,icu4c)))
+    (home-page "https://libical.github.io/libical/")
+    (synopsis "iCalendar protocols and data formats implementation")
+    (description
+     "Libical is an Open Source implementation of the iCalendar protocols and
+protocol data units.")
+    (license lgpl2.1)))
-- 
2.1.4


[-- Attachment #2: Type: text/plain, Size: 136 bytes --]


-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

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

* [PATCH 2/2] gnu: Add bluez.
  2015-04-26 21:54 [PATCH 1/2] gnu: Add libical David Thompson
@ 2015-04-26 21:57 ` David Thompson
  2015-04-29 21:57   ` Andreas Enge
  2015-04-29 21:56 ` [PATCH 1/2] gnu: Add libical Andreas Enge
  1 sibling, 1 reply; 6+ messages in thread
From: David Thompson @ 2015-04-26 21:57 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0002-gnu-Add-bluez.patch --]
[-- Type: text/x-diff, Size: 2256 bytes --]

From 8c370d8b1f6af1f0ac36b79cd0f79fa0701c3323 Mon Sep 17 00:00:00 2001
From: David Thompson <dthompson2@worcester.edu>
Date: Sun, 26 Apr 2015 17:49:53 -0400
Subject: [PATCH 2/2] gnu: Add bluez.

* gnu/packages/linux.scm (bluez): New variable.
---
 gnu/packages/linux.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 2232e86..076b70f 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -55,6 +55,8 @@
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages asciidoc)
+  #:use-module (gnu packages readline)
+  #:use-module (gnu packages libical)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix utils)
@@ -2161,3 +2163,39 @@ arrays when needed.")
 system calls, important for the performance of databases and other advanced
 applications.")
     (license lgpl2.1+)))
+
+(define-public bluez
+  (package
+    (name "bluez")
+    (version "5.30")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://www.kernel.org/pub/linux/bluetooth/bluez-"
+                    version ".tar.xz"))
+              (sha256
+               (base32
+                "0b1qbnq1xzcdw5rajg9yyg31bf21jnff0n6gnf1snz89bbdllfhy"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:configure-flags
+       (let ((out (assoc-ref %outputs "out")))
+         (list "--disable-systemd"
+               ;; Install dbus/udev files to the correct location.
+               (string-append "--with-dbusconfdir=" out "/etc")
+               (string-append "--with-udevdir=" out "/lib/udev")))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("gettext" ,gnu-gettext)))
+    (inputs
+     `(("glib" ,glib)
+       ("dbus" ,dbus)
+       ("eudev" ,eudev)
+       ("libical" ,libical)
+       ("readline" ,readline)))
+    (home-page "http://www.bluez.org/")
+    (synopsis "Linux Bluetooth protocol stack")
+    (description
+     "BlueZ provides support for the core Bluetooth layers and protocols. It
+is flexible, efficient and uses a modular implementation.")
+    (license gpl2+)))
-- 
2.1.4


[-- Attachment #2: Type: text/plain, Size: 136 bytes --]


-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

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

* Re: [PATCH 1/2] gnu: Add libical.
  2015-04-26 21:54 [PATCH 1/2] gnu: Add libical David Thompson
  2015-04-26 21:57 ` [PATCH 2/2] gnu: Add bluez David Thompson
@ 2015-04-29 21:56 ` Andreas Enge
  2015-05-05  2:17   ` David Thompson
  1 sibling, 1 reply; 6+ messages in thread
From: Andreas Enge @ 2015-04-29 21:56 UTC (permalink / raw)
  To: David Thompson; +Cc: guix-devel

On Sun, Apr 26, 2015 at 05:54:44PM -0400, David Thompson wrote:
>  create mode 100644 gnu/packages/libical.scm

Maybe calendar.scm? (I am not sure if we will have other calendar related
packages, but who knows.)

> +     "Libical is an Open Source implementation

Ts, ts, ts.

Otherwise looks good.

Andreas

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

* Re: [PATCH 2/2] gnu: Add bluez.
  2015-04-26 21:57 ` [PATCH 2/2] gnu: Add bluez David Thompson
@ 2015-04-29 21:57   ` Andreas Enge
  2015-05-05  2:17     ` David Thompson
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Enge @ 2015-04-29 21:57 UTC (permalink / raw)
  To: David Thompson; +Cc: guix-devel

On Sun, Apr 26, 2015 at 05:57:42PM -0400, David Thompson wrote:
> +     "BlueZ provides support for the core Bluetooth layers and protocols. It
> +is flexible, efficient and uses a modular implementation.")

Double space after period.

Otherwise it looks good.

Andreas

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

* Re: [PATCH 1/2] gnu: Add libical.
  2015-04-29 21:56 ` [PATCH 1/2] gnu: Add libical Andreas Enge
@ 2015-05-05  2:17   ` David Thompson
  0 siblings, 0 replies; 6+ messages in thread
From: David Thompson @ 2015-05-05  2:17 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel

Andreas Enge <andreas@enge.fr> writes:

> On Sun, Apr 26, 2015 at 05:54:44PM -0400, David Thompson wrote:
>>  create mode 100644 gnu/packages/libical.scm
>
> Maybe calendar.scm? (I am not sure if we will have other calendar related
> packages, but who knows.)

Yeah, that's a good name.  Done.

>> +     "Libical is an Open Source implementation
>
> Ts, ts, ts.

Oops, copy/paste error.  Fixed and pushed.  Thanks!

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

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

* Re: [PATCH 2/2] gnu: Add bluez.
  2015-04-29 21:57   ` Andreas Enge
@ 2015-05-05  2:17     ` David Thompson
  0 siblings, 0 replies; 6+ messages in thread
From: David Thompson @ 2015-05-05  2:17 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel

Andreas Enge <andreas@enge.fr> writes:

> On Sun, Apr 26, 2015 at 05:57:42PM -0400, David Thompson wrote:
>> +     "BlueZ provides support for the core Bluetooth layers and protocols. It
>> +is flexible, efficient and uses a modular implementation.")
>
> Double space after period.
>
> Otherwise it looks good.

Pushed.  Thanks!

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

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

end of thread, other threads:[~2015-05-05  2:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-26 21:54 [PATCH 1/2] gnu: Add libical David Thompson
2015-04-26 21:57 ` [PATCH 2/2] gnu: Add bluez David Thompson
2015-04-29 21:57   ` Andreas Enge
2015-05-05  2:17     ` David Thompson
2015-04-29 21:56 ` [PATCH 1/2] gnu: Add libical Andreas Enge
2015-05-05  2:17   ` David Thompson

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