all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Craven <david@craven.ch>
To: guix-devel@gnu.org
Cc: David Craven <david@craven.ch>
Subject: [PATCH 2/8] gnu: Use define-public to export packages.
Date: Fri, 29 Jul 2016 10:23:51 +0200	[thread overview]
Message-ID: <20160729082357.17501-2-david@craven.ch> (raw)
In-Reply-To: <20160729082357.17501-1-david@craven.ch>

* gnu/packages/bison.scm (bison): Define public.
* gnu/packages/flex.scm (flex): Define public.
* gnu/packages/pulseaudio.scm (libsndfile, libsamplerate, pulseaudio): Define
public.
* gnu/packages/sdl.scm (sdl, sdl2, libmikmod, sdl-gfx, sdl-image, sdl-mixer,
sdl-net, sdl-ttf): Define public.
* gnu/packages/search.scm (xapian): Remove unnecessary #:export.
* gnu/packages/swig.scm (swig): Define public.
---
 gnu/packages/bison.scm      |  6 ++----
 gnu/packages/flex.scm       |  6 ++----
 gnu/packages/pulseaudio.scm | 11 ++++-------
 gnu/packages/sdl.scm        | 26 +++++++++-----------------
 gnu/packages/search.scm     |  3 +--
 gnu/packages/swig.scm       |  7 +++----
 6 files changed, 21 insertions(+), 38 deletions(-)

diff --git a/gnu/packages/bison.scm b/gnu/packages/bison.scm
index c8ec8cc..178a99d 100644
--- a/gnu/packages/bison.scm
+++ b/gnu/packages/bison.scm
@@ -24,10 +24,9 @@
   #:use-module (gnu packages m4)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages flex)
-  #:use-module (srfi srfi-1)
-  #:export (bison))
+  #:use-module (srfi srfi-1))
 
-(define bison
+(define-public bison
   (package
     (name "bison")
     (version "3.0.4")
@@ -65,4 +64,3 @@ simple tools through complex programming languages.")
       (sha256
        (base32
         "1zd77ilmpv5mi3kr55jrj6ncqlcnyhpianhrwzak2q28cv2cbn23"))))))
-
diff --git a/gnu/packages/flex.scm b/gnu/packages/flex.scm
index f8d5ccd..20aff19 100644
--- a/gnu/packages/flex.scm
+++ b/gnu/packages/flex.scm
@@ -26,10 +26,9 @@
   #:use-module (gnu packages m4)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages indent)
-  #:use-module (srfi srfi-1)
-  #:export (flex))
+  #:use-module (srfi srfi-1))
 
-(define flex
+(define-public flex
   (package
     (name "flex")
     (version "2.6.0")
@@ -79,4 +78,3 @@ regular expressions for each rule.  Whenever it finds a match, it
 executes the corresponding C code.")
     (license (non-copyleft "file://COPYING"
                         "See COPYING in the distribution."))))
-
diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index b2b0508..5d36dbe 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -36,12 +36,9 @@
   #:use-module (gnu packages linux)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages xiph)
-  #:export (libsndfile
-            libsamplerate
-            pulseaudio))
+  #:use-module (gnu packages xiph))
 
-(define libsndfile
+(define-public libsndfile
   (package
     (name "libsndfile")
     (version "1.0.26")
@@ -74,7 +71,7 @@ SPARC.  Hopefully the design of the library will also make it easy to extend
 for reading and writing new sound file formats.")
     (license l:gpl2+)))
 
-(define libsamplerate
+(define-public libsamplerate
   (package
     (name "libsamplerate")                     ; aka. Secret Rabbit Code (SRC)
     (version "0.1.8")
@@ -112,7 +109,7 @@ the theoretical best bandwidth for a given pair of input and output sample
 rates.")
     (license l:gpl2+)))
 
-(define pulseaudio
+(define-public pulseaudio
   (package
     (name "pulseaudio")
     (version "8.0")
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 49b9dea..161689b 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -38,17 +38,9 @@
   #:use-module (gnu packages gl)
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xorg)
-  #:export (sdl
-            sdl2
-            libmikmod
-            sdl-gfx
-            sdl-image
-            sdl-mixer
-            sdl-net
-            sdl-ttf
-            sdl-union))
+  #:export (sdl-union))
 
-(define sdl
+(define-public sdl
   (package
     (name "sdl")
     (version "1.2.15")
@@ -92,7 +84,7 @@ joystick, and graphics hardware.")
     (home-page "http://libsdl.org/")
     (license lgpl2.1)))
 
-(define sdl2
+(define-public sdl2
   (package (inherit sdl)
     (name "sdl2")
     (version "2.0.4")
@@ -106,7 +98,7 @@ joystick, and graphics hardware.")
                "0jqp46mxxbh9lhpx1ih6sp93k752j2smhpc0ad0q4cb3px0famfs"))))
     (license bsd-3)))
 
-(define libmikmod
+(define-public libmikmod
   (package
     (name "libmikmod")
     (version "3.3.7")
@@ -131,7 +123,7 @@ system, such as sound redirection over the network.")
     (license lgpl2.1)
     (home-page "http://mikmod.sourceforge.net/")))
 
-(define sdl-gfx
+(define-public sdl-gfx
   (package
     (name "sdl-gfx")
     (version "2.0.24")
@@ -155,7 +147,7 @@ other supporting functions for SDL.")
     ;; MIPS, at least.
     (supported-systems '("i686-linux" "x86_64-linux"))))
 
-(define sdl-image
+(define-public sdl-image
   (package
     (name "sdl-image")
     (version "1.2.12")
@@ -191,7 +183,7 @@ WEBP, XCF, XPM, and XV.")
     (home-page "http://www.libsdl.org/projects/SDL_image/")
     (license zlib)))
 
-(define sdl-mixer
+(define-public sdl-mixer
   (package
     (name "sdl-mixer")
     (version "1.2.12")
@@ -229,7 +221,7 @@ MIDI, Ogg Vorbis, and MP3.")
     (home-page "http://www.libsdl.org/projects/SDL_mixer/")
     (license zlib)))
 
-(define sdl-net
+(define-public sdl-net
   (package
     (name "sdl-net")
     (version "1.2.8")
@@ -250,7 +242,7 @@ SDL.")
     (home-page "http://www.libsdl.org/projects/SDL_net/")
     (license zlib)))
 
-(define sdl-ttf
+(define-public sdl-ttf
   (package
     (name "sdl-ttf")
     (version "2.0.11")
diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index d34d70b..9b01909 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -26,8 +26,7 @@
   #:use-module (gnu packages compression)
   #:use-module (gnu packages check)
   #:use-module (gnu packages databases)
-  #:use-module (gnu packages linux)
-  #:export (xapian))
+  #:use-module (gnu packages linux))
 
 (define-public xapian
   (package
diff --git a/gnu/packages/swig.scm b/gnu/packages/swig.scm
index 01137d8..096cfd5 100644
--- a/gnu/packages/swig.scm
+++ b/gnu/packages/swig.scm
@@ -26,10 +26,9 @@
   #:use-module (gnu packages guile)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages python)
-  #:use-module (gnu packages perl)
-  #:export (swig))
+  #:use-module (gnu packages perl))
 
-(define swig
+(define-public swig
   (package
     (name "swig")
     (version "3.0.5")
@@ -49,7 +48,7 @@
               ("guile" ,guile-2.0)
               ("perl" ,perl)))
               ;; FIXME: reactivate input python as soon as the test failures
-              ;;   fatal error: Python.h: No such file or directory 
+              ;;   fatal error: Python.h: No such file or directory
               ;;   # include <Python.h>
               ;; are fixed.
               ;; The python part probably never worked and does not seem to
-- 
2.9.0

  reply	other threads:[~2016-07-29  8:24 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-29  8:23 [PATCH 1/8] gnu: qt: Update to 5.6.1-1 David Craven
2016-07-29  8:23 ` David Craven [this message]
2016-07-29 15:35   ` [PATCH 2/8] gnu: Use define-public to export packages Ludovic Courtès
2016-07-29  8:23 ` [PATCH 3/8] gnu: Remove trailing periods from synopsis David Craven
2016-07-29 15:38   ` Ludovic Courtès
2016-07-29  8:23 ` [PATCH 4/8] gnu: freedesktop: Add libinput-minimal David Craven
2016-07-29 11:25   ` Vincent Legoll
2016-07-29 12:53     ` David Craven
2016-07-29 13:13       ` Vincent Legoll
2016-07-29 15:40   ` Ludovic Courtès
2016-07-29  8:23 ` [PATCH 5/8] gnu: xorg: Add xf86-video-qxl David Craven
2016-07-29 15:42   ` Ludovic Courtès
2016-07-29  8:23 ` [PATCH 6/8] gnu: Order module imports in (gnu packages qemu) alphabetically David Craven
2016-07-29 15:44   ` Ludovic Courtès
2016-07-29 16:26     ` David Craven
2016-07-29  8:23 ` [PATCH 7/8] gnu: qemu: Enable spice support David Craven
2016-07-29 19:10   ` Ludovic Courtès
2016-07-29 19:12     ` David Craven
2016-07-30 12:47     ` Ludovic Courtès
2016-07-29  8:23 ` [PATCH 8/8] services: Add spice vdagent service David Craven
2016-07-29 19:16   ` Ludovic Courtès
2016-07-29 19:20     ` David Craven
2016-07-30 10:29       ` David Craven
2016-07-30 22:41         ` Ludovic Courtès
2016-07-31 18:14           ` David Craven
2016-08-01 12:01             ` Ludovic Courtès
2016-07-29 19:20 ` [PATCH 1/8] gnu: qt: Update to 5.6.1-1 Ludovic Courtès
2016-07-29 19:23   ` David Craven
2016-07-30  8:57   ` Andreas Enge
2016-07-30 22:44     ` Code formatting Ludovic Courtès
2016-07-31 10:34       ` Danny Milosavljevic
2016-07-31 10:37         ` Andreas Enge
2016-07-31 10:59         ` Ludovic Courtès
2016-09-11 16:35           ` Andreas Enge
     [not found] ` <20160729101510.GA30683@solar>
     [not found]   ` <CAL1_im=qJ3=0P=c6OhL9wW2rz4wJY3cFubute0dHWyr5ymjhsA@mail.gmail.com>
     [not found]     ` <CAL1_im=EbMqBufpsW2eMxYZdLWVDtmq4TD1HDKvAQ_u_RpdjXw@mail.gmail.com>
     [not found]       ` <20160729180053.GA1301@solar>
2016-07-30  8:53         ` [PATCH 1/8] gnu: qt: Update to 5.6.1-1 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160729082357.17501-2-david@craven.ch \
    --to=david@craven.ch \
    --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.