summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2006-05-25 01:02:00 +0000
committerMarcus Brinkmann <mb@g10code.com>2006-05-25 01:02:00 +0000
commit93aa5a8069b1c404e93f22a38cb1a30203b5f5e1 (patch)
treea84b6a0d1b86a5e3adb446202c70e247e38cc71a /lang
parent8d5faae87937a41820caca6ffd4c685c24f31da1 (diff)
downloadlibgpg-error-93aa5a8069b1c404e93f22a38cb1a30203b5f5e1.tar.gz
2006-05-25 Marcus Brinkmann <marcus@g10code.de>
* lang/cl/mkerrcodes.awk, lang/cl/gpg-error-package.lisp, lang/cl/gpg-error.lisp, lang/cl/gpg-error.asd, lang/cl/Makefile.am (clfilesdir): Fix package and file names.
Diffstat (limited to 'lang')
-rw-r--r--lang/cl/Makefile.am2
-rw-r--r--lang/cl/README4
-rw-r--r--lang/cl/gpg-error-package.lisp2
-rw-r--r--lang/cl/gpg-error.asd12
-rw-r--r--lang/cl/gpg-error.lisp2
-rw-r--r--lang/cl/mkerrcodes.awk2
6 files changed, 14 insertions, 10 deletions
diff --git a/lang/cl/Makefile.am b/lang/cl/Makefile.am
index 5431d56..3379d0f 100644
--- a/lang/cl/Makefile.am
+++ b/lang/cl/Makefile.am
@@ -26,7 +26,7 @@ generated_clfiles = gpg-error-codes.lisp
clfiles = $(distributed_clfiles) $(generated_clfiles)
# FIXME: Should be configurable.
-clfilesdir = $(datadir)/common-lisp/source/libgpg-error
+clfilesdir = $(datadir)/common-lisp/source/gpg-error
dist_clfiles_DATA = $(distributed_clfiles)
nodist_clfiles_DATA = $(generated_clfiles)
diff --git a/lang/cl/README b/lang/cl/README
index 468a194..f61d5e5 100644
--- a/lang/cl/README
+++ b/lang/cl/README
@@ -6,3 +6,7 @@ Requirements:
ASDF Packaging Support
CFFI Foreign Function Interface
+Use with:
+
+> (asdf:operate 'asdf:load-op ':gpg-error)
+> (use-package :gpg-error)
diff --git a/lang/cl/gpg-error-package.lisp b/lang/cl/gpg-error-package.lisp
index 589324d..c3f85df 100644
--- a/lang/cl/gpg-error-package.lisp
+++ b/lang/cl/gpg-error-package.lisp
@@ -43,7 +43,7 @@
;;; *gpg-err-source-default* is a dynamic variable that can be set to
;;; change the default for gpg-error.
-(defpackage #:org.gnupg.libgpg-error
+(defpackage #:gpg-error
(:use #:common-lisp #:cffi)
(:export :gpg-err-code-as-key
diff --git a/lang/cl/gpg-error.asd b/lang/cl/gpg-error.asd
index afde126..100fea5 100644
--- a/lang/cl/gpg-error.asd
+++ b/lang/cl/gpg-error.asd
@@ -19,13 +19,13 @@
;;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
;;; 02111-1307, USA.
-(defpackage #:org.gnupg.libgpg-error.system
+(defpackage #:gpg-error-system
(:use #:common-lisp #:asdf))
-(in-package #:org.gnupg.libgpg-error.system)
+(in-package #:gpg-error-system)
-(defsystem org.gnupg.libgpg-error
- :components ((:file "libgpg-error-package")
- (:file "libgpg-error-codes"
+(defsystem gpg-error
+ :components ((:file "gpg-error-package")
+ (:file "gpg-error-codes"
:depends-on ("libgpg-error-package"))
- (:file "libgpg-error" :depends-on ("error-codes"))))
+ (:file "gpg-error" :depends-on ("error-codes"))))
diff --git a/lang/cl/gpg-error.lisp b/lang/cl/gpg-error.lisp
index 3d63d8c..68a65e1 100644
--- a/lang/cl/gpg-error.lisp
+++ b/lang/cl/gpg-error.lisp
@@ -21,7 +21,7 @@
;;; Set up the library.
-(in-package :org.gnupg.libgpg-error)
+(in-package :gpg-error)
(define-foreign-library libgpg-error
(:unix "libgpg-error.so")
diff --git a/lang/cl/mkerrcodes.awk b/lang/cl/mkerrcodes.awk
index d7f4950..ae29043 100644
--- a/lang/cl/mkerrcodes.awk
+++ b/lang/cl/mkerrcodes.awk
@@ -99,7 +99,7 @@ header {
{
header = 0;
- print "(in-package :org.gnupg.libgpg-error)";
+ print "(in-package :gpg-error)";
print "";
print ";;; The error code type gpg-err-code-t.";
print "";