summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2015-07-16 11:53:50 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2015-07-16 11:53:50 +0100
commit782d2c2b79c76d5a52dd61422fa2dc6315f1af66 (patch)
treeadc8efc774a043c8aa831318973396773436dea5
downloaddebian-782d2c2b79c76d5a52dd61422fa2dc6315f1af66.tar.bz2
Initial bits
-rw-r--r--changelog7
-rw-r--r--compat1
-rw-r--r--control27
-rw-r--r--copyright41
-rw-r--r--lua-gall-doc.doc-base11
-rw-r--r--lua-gall-doc.docs1
-rw-r--r--lua-gall.docs1
-rw-r--r--lua5.1.gall.dh-lua.conf14
l---------lua5.2.gall.dh-lua.conf1
-rwxr-xr-xrules12
-rw-r--r--source/format1
-rw-r--r--watch2
12 files changed, 119 insertions, 0 deletions
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..45a219e
--- /dev/null
+++ b/changelog
@@ -0,0 +1,7 @@
+gall (1.0-1) unstable; urgency=medium
+
+ * Initial packaging of Gall as a separate project.
+ * Closes: #999999
+
+ -- Daniel Silverstone <dsilvers@digital-scurf.org> Thu, 16 Jul 2015 11:40:39 +0100
+
diff --git a/compat b/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+8
diff --git a/control b/control
new file mode 100644
index 0000000..2116fb8
--- /dev/null
+++ b/control
@@ -0,0 +1,27 @@
+Source: gall
+Section: interpreters
+Priority: optional
+Maintainer: Daniel Silverstone <dsilvers@digital-scurf.org>
+Build-Depends: debhelper (>= 8), dh-lua, lua-ldoc, lua-discount, lua-luxio0,
+ libgit2-dev, git
+Standards-Version: 3.9.6
+Homepage: https://www.gitano.org.uk/gall/
+
+Package: lua-gall
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, git
+Provides: ${lua:Provides}
+XB-Lua-Versions: ${lua:Versions}
+Description: Git Abstraction Layer for Lua
+ Gall is a Git abstraction layer for Lua which implements a set of Lua objects
+ which can interact with git repositories (via libgit2 where possible).
+
+Package: lua-gall-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Documentation for lua-gall
+ Gall is a Git abstraction layer for Lua which implements a set of Lua objects
+ which can interact with git repositories (via libgit2 where possible).
+ .
+ This package contains the documentation on how to use the Gall library.
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..8602706
--- /dev/null
+++ b/copyright
@@ -0,0 +1,41 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gall
+Source: https://www.gitano.org.uk/gall/
+
+Files: *
+Copyright: Copyright 2012 Daniel Silverstone <dsilvers@digital-scurf.org>
+License: ISC
+ Copyright 2012 Daniel Silverstone <dsilvers@digital-scurf.org>
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the author nor the names of their contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+Files: debian/*
+Copyright: Copyright 2015 Daniel Silverstone <dsilvers@digital-scurf.org>
+License: permissive
+ Copying and distribution of this package, with or without
+ modification, are permitted in any medium without royalty
+ provided the copyright notice and this notice are
+ preserved.
diff --git a/lua-gall-doc.doc-base b/lua-gall-doc.doc-base
new file mode 100644
index 0000000..8cf418f
--- /dev/null
+++ b/lua-gall-doc.doc-base
@@ -0,0 +1,11 @@
+Document: lua-gall-doc
+Title: Git Abstraction Layer for Lua - API Documentation
+Author: Daniel Silverstone
+Abstract: This manual describes the API and functioning of the Lua library
+ lua-gall.
+Section: Programming/Lua
+
+Format: HTML
+Index: /usr/share/doc/lua-gall-doc/html/index.html
+Files: /usr/share/doc/lua-gall-doc/html/modules/*.html
+ /usr/share/doc/lua-gall-doc/html/topics/*.html
diff --git a/lua-gall-doc.docs b/lua-gall-doc.docs
new file mode 100644
index 0000000..5ccff1a
--- /dev/null
+++ b/lua-gall-doc.docs
@@ -0,0 +1 @@
+html/
diff --git a/lua-gall.docs b/lua-gall.docs
new file mode 100644
index 0000000..100b938
--- /dev/null
+++ b/lua-gall.docs
@@ -0,0 +1 @@
+README \ No newline at end of file
diff --git a/lua5.1.gall.dh-lua.conf b/lua5.1.gall.dh-lua.conf
new file mode 100644
index 0000000..107e8fc
--- /dev/null
+++ b/lua5.1.gall.dh-lua.conf
@@ -0,0 +1,14 @@
+PKG_NAME=gall
+LUA_SOURCES=$(wildcard lib/gall/*.lua) lib/gall.lua
+LUA_SOURCES_MANGLER=sed s?^lib/??
+LUA_MODNAME=gall
+CLIB_OBJS=lib/gall/ll/git2.lo
+CLIB_CFLAGS=$(shell pkg-config --cflags libgit2)
+CLIB_LDFLAGS=$(shell pkg-config --libs libgit2)
+CLIB_LDFLAGS_STATIC=$(shell pkg-config --static libgit2)
+VERSION_INFO=0:0:0
+LUA_MODNAME_CPART=gall.ll.git2
+gall_empty:=
+gall_space:=$(gall_empty) $(gall_empty)
+LUA_TEST=$(subst $(gall_space),;,$(wildcard test/*.lua))
+
diff --git a/lua5.2.gall.dh-lua.conf b/lua5.2.gall.dh-lua.conf
new file mode 120000
index 0000000..e1b93d5
--- /dev/null
+++ b/lua5.2.gall.dh-lua.conf
@@ -0,0 +1 @@
+lua5.1.gall.dh-lua.conf \ No newline at end of file
diff --git a/rules b/rules
new file mode 100755
index 0000000..a7c322f
--- /dev/null
+++ b/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --buildsystem=lua --with lua
+
+override_dh_auto_build:
+ dh_auto_build
+ ldoc .
+
+override_dh_auto_clean:
+ dh_auto_clean
+ $(RM) -r html
diff --git a/source/format b/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/watch b/watch
new file mode 100644
index 0000000..2c1378a
--- /dev/null
+++ b/watch
@@ -0,0 +1,2 @@
+# Currently upstream only releases versions by tagging their git repo
+# as such we cannot do anything useful for now.