summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-07-30 15:14:20 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-07-30 15:14:20 +0100
commitfd5f4dc4dd9eb386586b75a947df45d7b51067db (patch)
treeccf3d2fc94f0bd2f261f6013dfae640b14bb1d9b
downloaddebian-fd5f4dc4dd9eb386586b75a947df45d7b51067db.tar.bz2
Initial debianisation for tongue
-rw-r--r--changelog7
-rw-r--r--compat1
-rw-r--r--control28
-rw-r--r--copyright41
-rw-r--r--lua-tongue-doc.doc-base11
-rw-r--r--lua-tongue-doc.docs1
-rw-r--r--lua-tongue.docs1
-rw-r--r--lua5.1.tongue.dh-lua.conf8
l---------lua5.2.tongue.dh-lua.conf1
l---------lua5.3.tongue.dh-lua.conf1
-rwxr-xr-xrules12
-rw-r--r--source/format1
-rw-r--r--watch2
13 files changed, 115 insertions, 0 deletions
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..9e8b1ea
--- /dev/null
+++ b/changelog
@@ -0,0 +1,7 @@
+tongue (0.1-1) unstable; urgency=medium
+
+ * Initial packaging of Tongue as a separate project.
+ * Closes: #999999
+
+ -- Daniel Silverstone <dsilvers@digital-scurf.org> Sat, 30 Jul 2016 15:11:10 +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..d246b88
--- /dev/null
+++ b/control
@@ -0,0 +1,28 @@
+Source: tongue
+Section: interpreters
+Priority: optional
+Maintainer: Daniel Silverstone <dsilvers@digital-scurf.org>
+Build-Depends: debhelper (>= 8), dh-lua, lua-ldoc, lua-discount, lua-iconv
+Standards-Version: 3.9.6
+Homepage: https://www.gitano.org.uk/lace/
+
+Package: lua-tongue
+Architecture: all
+Depends: ${misc:Depends}, lua-iconv
+Provides: ${lua:Provides}
+XB-Lua-Versions: ${lua:Versions}
+Description: Lua I18N library 'Tongue'
+ Tongue is an internationalisation engine written in Lua which implements a
+ heirarchical language pack system for Lua programs to use in localising
+ messages into and out of themselves.
+
+Package: lua-tongue-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Documentation for lua-tongue
+ Tongue is an internationalisation engine written in Lua which implements a
+ heirarchical language pack system for Lua programs to use in localising
+ messages into and out of themselves.
+ .
+ This package contains the documentation on how to use the Tongue library.
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..1c6b802
--- /dev/null
+++ b/copyright
@@ -0,0 +1,41 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: tongue
+Source: https://www.gitano.org.uk/tongue/
+
+Files: *
+Copyright: Copyright 2016 Daniel Silverstone <dsilvers@digital-scurf.org>
+License: ISC
+ Copyright 2016 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, 2016 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-tongue-doc.doc-base b/lua-tongue-doc.doc-base
new file mode 100644
index 0000000..e020154
--- /dev/null
+++ b/lua-tongue-doc.doc-base
@@ -0,0 +1,11 @@
+Document: lua-tongue-doc
+Title: Lua I18N library 'Tongue' - API Documentation
+Author: Daniel Silverstone
+Abstract: This manual describes the API and functioning of the Lua library
+ lua-tongue.
+Section: Programming/Lua
+
+Format: HTML
+Index: /usr/share/doc/lua-tongue-doc/html/index.html
+Files: /usr/share/doc/lua-tongue-doc/html/modules/*.html
+ /usr/share/doc/lua-tongue-doc/html/topics/*.html \ No newline at end of file
diff --git a/lua-tongue-doc.docs b/lua-tongue-doc.docs
new file mode 100644
index 0000000..5ccff1a
--- /dev/null
+++ b/lua-tongue-doc.docs
@@ -0,0 +1 @@
+html/
diff --git a/lua-tongue.docs b/lua-tongue.docs
new file mode 100644
index 0000000..100b938
--- /dev/null
+++ b/lua-tongue.docs
@@ -0,0 +1 @@
+README \ No newline at end of file
diff --git a/lua5.1.tongue.dh-lua.conf b/lua5.1.tongue.dh-lua.conf
new file mode 100644
index 0000000..ca8c440
--- /dev/null
+++ b/lua5.1.tongue.dh-lua.conf
@@ -0,0 +1,8 @@
+PKG_NAME=tongue
+LUA_SOURCES=$(wildcard lib/tongue/*.lua) lib/tongue.lua
+LUA_SOURCES_MANGLER=sed s?^lib/??
+LUA_MODNAME=tongue
+tongue_empty:=
+tongue_space:=$(tongue_empty) $(tongue_empty)
+LUA_TEST=$(subst $(tongue_space),;,$(wildcard test/*.lua))
+
diff --git a/lua5.2.tongue.dh-lua.conf b/lua5.2.tongue.dh-lua.conf
new file mode 120000
index 0000000..a9d1ffd
--- /dev/null
+++ b/lua5.2.tongue.dh-lua.conf
@@ -0,0 +1 @@
+lua5.1.tongue.dh-lua.conf \ No newline at end of file
diff --git a/lua5.3.tongue.dh-lua.conf b/lua5.3.tongue.dh-lua.conf
new file mode 120000
index 0000000..a9d1ffd
--- /dev/null
+++ b/lua5.3.tongue.dh-lua.conf
@@ -0,0 +1 @@
+lua5.1.tongue.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.