Makefile.am, debian/: Initial packaging; release 0.2.0. 0.2.0
authorMark Wooding <mdw@distorted.org.uk>
Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 6 Sep 2015 23:49:32 +0000 (00:49 +0100)
Makefile.am
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/libsod-dev.install [new file with mode: 0644]
debian/libsod.install [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/sod-dev.install [new file with mode: 0644]
debian/sod.install [new file with mode: 0644]
src/sod.asd

index 421bf26..d1a016d 100644 (file)
@@ -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 (file)
index 0000000..f89bea0
--- /dev/null
@@ -0,0 +1,5 @@
+sod (0.2.0) experimental; urgency=low
+
+  * Initial Debian packaging.
+
+ -- Mark Wooding <mdw@distorted.org.uk>  Sun, 06 Sep 2015 22:38:24 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..4fda78f
--- /dev/null
@@ -0,0 +1,60 @@
+Source: sod
+Section: devel
+Priority: extra
+Maintainer: Mark Wooding <mdw@distorted.org.uk>
+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 (file)
index 0000000..1da80a3
--- /dev/null
@@ -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 (file)
index 0000000..3b5a2b8
--- /dev/null
@@ -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 (file)
index 0000000..7297331
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/*/libsod.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..cec98bb
--- /dev/null
@@ -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 (file)
index 0000000..af1ca9c
--- /dev/null
@@ -0,0 +1 @@
+/usr/share/common-lisp
diff --git a/debian/sod.install b/debian/sod.install
new file mode 100644 (file)
index 0000000..da67451
--- /dev/null
@@ -0,0 +1 @@
+/usr/bin/sod
index 0504ce4..aae3be1 100644 (file)
@@ -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"