From 259726f3c3f1d40c56b0d24c370fca4290f49e06 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 30 Aug 2015 10:58:38 +0100 Subject: [PATCH] Makefile.am, debian/: Initial packaging; release 0.2.0. --- Makefile.am | 19 +++++++++++++++ debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 60 +++++++++++++++++++++++++++++++++++++++++++++++ debian/copyright | 21 +++++++++++++++++ debian/libsod-dev.install | 5 ++++ debian/libsod.install | 1 + debian/rules | 2 ++ debian/sod-dev.install | 1 + debian/sod.install | 1 + src/sod.asd | 2 +- 11 files changed, 117 insertions(+), 1 deletion(-) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/libsod-dev.install create mode 100644 debian/libsod.install create mode 100755 debian/rules create mode 100644 debian/sod-dev.install create mode 100644 debian/sod.install diff --git a/Makefile.am b/Makefile.am index 421bf26..d1a016d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -61,4 +61,23 @@ dist-hook: EXTRA_DIST += config/auto-version EXTRA_DIST += config/confsubst +###-------------------------------------------------------------------------- +### Debian. + +EXTRA_DIST += debian/rules debian/copyright +EXTRA_DIST += debian/control debian/changelog +EXTRA_DIST += debian/compat + +## libsod +EXTRA_DIST += debian/libsod.install + +## libsod-dev +EXTRA_DIST += debian/libsod-dev.install + +## sod +EXTRA_DIST += debian/sod.install + +## sod-dev +EXTRA_DIST += debian/sod-dev.install + ###----- That's all, folks -------------------------------------------------- diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f89bea0 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +sod (0.2.0) experimental; urgency=low + + * Initial Debian packaging. + + -- Mark Wooding Sun, 06 Sep 2015 22:38:24 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4fda78f --- /dev/null +++ b/debian/control @@ -0,0 +1,60 @@ +Source: sod +Section: devel +Priority: extra +Maintainer: Mark Wooding +Build-Depends: debhelper (>= 8), cl-launch, sbcl | clisp, cl-asdf, cl-xlunit +Standards-Version: 3.1.1 + +Package: libsod +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: An object system for C, runtime library + Sod is a `sensible object design' for C, supporting a number of fancy + features, including multiple inheritance, method combinations with daemon + methods, and a compile-time metaprotocol. The only downside is that the + translator is written in Common Lisp. + . + This package contains a dynamically linkable version of the runtime support + library for Sod programs, which is deliberately very small. + +Package: libsod-dev +Architecture: any +Depends: libsod (= ${Source-Version}), libc6-dev, ${misc:Depends} +Suggests: sod +Description: An object system for C, runtime library + Sod is a `sensible object design' for C, supporting a number of fancy + features, including multiple inheritance, method combinations with daemon + methods, and a compile-time metaprotocol. The only downside is that the + translator is written in Common Lisp. + . + This package contains the development files for the runtime support library, + which are useful for clients of other libraries which are themselves built + on Sod. + +Package: sod +Architecture: any +Depends: ${shlibs:Depends} +Recommends: libsod-dev (= ${Source-Version}) +Description: An object system for C, translator + Sod is a `sensible object design' for C, supporting a number of fancy + features, including multiple inheritance, method combinations with daemon + methods, and a compile-time metaprotocol. The only downside is that the + translator is written in Common Lisp. + . + This package contains the Sod translator, which reads object definitions and + produces compilable C code. + +Package: sod-dev +Architecture: any +Recommends: sbcl | clisp, cl-asdf, cl-xlunit +Description: An object system for C, Lisp source + Sod is a `sensible object design' for C, supporting a number of fancy + features, including multiple inheritance, method combinations with daemon + methods, and a compile-time metaprotocol. The only downside is that the + translator is written in Common Lisp. + . + This package contains the source and ASDF system definition for the Sod + translator which, while may be useful for developing extensions or doing + interesting things with the translator. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..1da80a3 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,21 @@ +Sod is copyright (c) 2015 Straylight/Edgeware + + +The Sod runtime library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the License, +or (at your option) any later version. + +Sod 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 Library General Public +License for more details. + +You should have a copy of the GNU Library General Public License in +/usr/share/common-licenses/LGPL-2; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, +USA. + +You should have a copy of the GNU General Public License in +/usr/share/common-licenses/GPL; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. diff --git a/debian/libsod-dev.install b/debian/libsod-dev.install new file mode 100644 index 0000000..3b5a2b8 --- /dev/null +++ b/debian/libsod-dev.install @@ -0,0 +1,5 @@ +/usr/include/sod +/usr/lib/*/libsod.a +/usr/lib/*/libsod.la +/usr/lib/*/libsod.so +/usr/lib/*/pkgconfig diff --git a/debian/libsod.install b/debian/libsod.install new file mode 100644 index 0000000..7297331 --- /dev/null +++ b/debian/libsod.install @@ -0,0 +1 @@ +/usr/lib/*/libsod.so.* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cec98bb --- /dev/null +++ b/debian/rules @@ -0,0 +1,2 @@ +#! /usr/bin/make -f +%:; dh $@ --parallel -Bdebian/build diff --git a/debian/sod-dev.install b/debian/sod-dev.install new file mode 100644 index 0000000..af1ca9c --- /dev/null +++ b/debian/sod-dev.install @@ -0,0 +1 @@ +/usr/share/common-lisp diff --git a/debian/sod.install b/debian/sod.install new file mode 100644 index 0000000..da67451 --- /dev/null +++ b/debian/sod.install @@ -0,0 +1 @@ +/usr/bin/sod diff --git a/src/sod.asd b/src/sod.asd index 0504ce4..aae3be1 100644 --- a/src/sod.asd +++ b/src/sod.asd @@ -34,7 +34,7 @@ (defsystem sod ;; Boring copyright stuff. - :version "0.1.0" + :version "0.2.0" :author "Mark Wooding" :license "GNU General Public License, version 2 or later" -- 2.11.0