Debian package building
authorPhilip Chimento <philip.chimento@gmail.com>
Sat, 28 Nov 2009 13:38:59 +0000 (13:38 +0000)
committerPhilip Chimento <philip.chimento@gmail.com>
Sat, 28 Nov 2009 13:38:59 +0000 (13:38 +0000)
To build a Debian package:
* make dist
* copy the tarball somewhere
* untar it
* rename it to chimara_0.1.orig.tar.gz
* cd chimara-0.1
* dpkg-buildpackage -rfakeroot

Lintian reports several errors, these are due to us not having a public website, and to me being too lazy to figure out all the license crap before we know exactly what will be in the distribution.

git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@190 ddfedd41-794f-dd11-ae45-00112f111e67

14 files changed:
debian/.svnignore [new file with mode: 0644]
debian/README.Debian [new file with mode: 0644]
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/docs [new file with mode: 0644]
debian/info [new file with mode: 0644]
debian/libchimara-dev.install [new file with mode: 0644]
debian/libchimara-doc.doc-base [new file with mode: 0644]
debian/libchimara-doc.install [new file with mode: 0644]
debian/libchimara0.install [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/watch [new file with mode: 0644]

diff --git a/debian/.svnignore b/debian/.svnignore
new file mode 100644 (file)
index 0000000..69a0d7d
--- /dev/null
@@ -0,0 +1,9 @@
+*.debhelper.log
+*.debhelper
+*.substvars
+stamp-*
+files
+libchimara0
+libchimara-dev
+libchimara-doc
+tmp
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..639e8f4
--- /dev/null
@@ -0,0 +1,6 @@
+chimara for Debian
+------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Philip Chimento <philip.chimento@gmail.com>  Sat, 28 Nov 2009 00:57:21 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..f4c67af
--- /dev/null
@@ -0,0 +1,7 @@
+chimara (0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+  * TODO FIXME when actually doing release
+
+ -- Philip Chimento <philip.chimento@gmail.com>  Sat, 28 Nov 2009 00:57:21 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..2cdf307
--- /dev/null
@@ -0,0 +1,49 @@
+Source: chimara
+Section: libs
+Priority: extra
+Maintainer: Philip Chimento <philip.chimento@gmail.com>
+Build-Depends: cdbs, 
+               debhelper (>= 7), 
+               autotools-dev, 
+               pkg-config, 
+               gtk-doc-tools (>= 1.9), 
+               libglib2.0-dev, 
+               libgtk2.0-dev
+Standards-Version: 3.7.3
+Homepage: <insert the upstream URL, if relevant>
+
+Package: libchimara0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, 
+         ${misc:Depends}
+Description: A GTK+ widget implementation of the Glk library
+ Chimara is a GTK+ widget that loads and runs Glk programs as plugins. Glk is an
+ input/output specification specifically designed for interactive fiction.
+Package: libchimara-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends},
+         libchimara0 (= ${binary:Version}),
+         libglib2.0-dev,
+         libgtk2.0-dev
+Suggests: libchimara-doc
+Description: Development files for the Chimara Glk library
+ Chimara is a GTK+ widget that loads and runs Glk programs as plugins. Glk is an
+ input/output specification specifically designed for interactive fiction.
+ .
+ This package contains the header files required if you wish to develop software
+ that uses the Chimara widget.
+
+Package: libchimara-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: Documentation for the Chimara Glk library
+ Chimara is a GTK+ widget that loads and runs Glk programs as plugins. Glk is an
+ input/output specification specifically designed for interactive fiction.
+ .
+ This package contains the Chimara reference manual.
+
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..0087586
--- /dev/null
@@ -0,0 +1,25 @@
+This package was debianized by Philip Chimento <philip.chimento@gmail.com> on
+Sat, 28 Nov 2009 00:57:21 +0100.
+
+It was downloaded from <url://example.com>
+
+Upstream Author(s):
+
+    Marijn van Vliet <whatever>
+    Philip Chimento <philip.chimento@gmail.com>
+
+Copyright:
+
+    Copyright (C) 2009 <<whatever>>
+
+License:
+
+    Yada yada TODO FIXME when actually doing release
+
+The Debian packaging is (C) 2009, Philip Chimento <philip.chimento@gmail.com> and
+is licensed under the same license as the main program.
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+# TODO
+# We'll have to sort through all this license crap before we release the package.
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..4a282e4
--- /dev/null
@@ -0,0 +1,16 @@
+ABOUT-NLS
+AUTHORS
+ChangeLog
+COPYING
+NEWS
+README
+interpreters/frotz/AUTHORS
+interpreters/frotz/COPYING
+interpreters/frotz/README
+interpreters/frotz/TODO
+interpreters/git/README.txt
+interpreters/glulxe/README
+interpreters/nitfol/COPYING
+interpreters/nitfol/ChangeLog
+interpreters/nitfol/INSTALL
+interpreters/nitfol/README
diff --git a/debian/info b/debian/info
new file mode 100644 (file)
index 0000000..cbf9cd5
--- /dev/null
@@ -0,0 +1 @@
+interpreters/nitfol/nitfol.info
diff --git a/debian/libchimara-dev.install b/debian/libchimara-dev.install
new file mode 100644 (file)
index 0000000..08cc8b3
--- /dev/null
@@ -0,0 +1,4 @@
+debian/tmp/usr/include
+debian/tmp/usr/lib/lib*.a
+debian/tmp/usr/lib/lib*.so
+debian/tmp/usr/lib/pkgconfig/*
diff --git a/debian/libchimara-doc.doc-base b/debian/libchimara-doc.doc-base
new file mode 100644 (file)
index 0000000..7bb7dc8
--- /dev/null
@@ -0,0 +1,12 @@
+Document: chimara
+Title: Chimara Reference Manual
+Author: Andrew Plotkin, Philip Chimento, Marijn van Vliet
+Abstract: The Chimara Reference Manual includes Andrew Plotkin's Glk 
+ specification, version 0.7.0, annotated for use with the Chimara library. It
+ also contains the API documentation for using the Chimara widgets.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/gtk-doc/html/chimara/index.html
+Files: /usr/share/gtk-doc/html/chimara/*.html
+
diff --git a/debian/libchimara-doc.install b/debian/libchimara-doc.install
new file mode 100644 (file)
index 0000000..133e6a2
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/share/gtk-doc
diff --git a/debian/libchimara0.install b/debian/libchimara0.install
new file mode 100644 (file)
index 0000000..5feeda8
--- /dev/null
@@ -0,0 +1,5 @@
+debian/tmp/usr/lib/lib*.so.*
+debian/tmp/usr/lib/chimara/frotz.so
+debian/tmp/usr/lib/chimara/git.so
+debian/tmp/usr/lib/chimara/glulxe.so
+debian/tmp/usr/lib/chimara/nitfol.so
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..f27efba
--- /dev/null
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/gnome.mk
+
+
+# Add here any variable or target overrides you need.
+DEB_CONFIGURE_EXTRA_FLAGS = --enable-gtk-doc
+DEB_BUILD_OPTIONS = nocheck
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..22a3f47
--- /dev/null
@@ -0,0 +1,23 @@
+# You can run the "uscan" command to check for upstream updates and more.
+# See uscan(1) for format
+
+# TODO FIXME do this when we release and there is a public URL for the source
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php chimara-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/chimara-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/chimara-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for devscripts >= 2.9
+# http://sf.net/chimara/chimara-(.*)\.tar\.gz
+
+# Uncomment to find new files on GooglePages
+# http://example.googlepages.com/foo.html chimara-(.*)\.tar\.gz