From 5f736bab8c5a29ed6a1f2f3f61db693525756067 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Sat, 28 Nov 2009 13:38:59 +0000 Subject: [PATCH] Debian package building 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 --- debian/.svnignore | 9 +++++++ debian/README.Debian | 6 +++++ debian/changelog | 7 +++++ debian/compat | 1 + debian/control | 49 ++++++++++++++++++++++++++++++++++ debian/copyright | 25 +++++++++++++++++ debian/docs | 16 +++++++++++ debian/info | 1 + debian/libchimara-dev.install | 4 +++ debian/libchimara-doc.doc-base | 12 +++++++++ debian/libchimara-doc.install | 1 + debian/libchimara0.install | 5 ++++ debian/rules | 9 +++++++ debian/watch | 23 ++++++++++++++++ 14 files changed, 168 insertions(+) create mode 100644 debian/.svnignore create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/info create mode 100644 debian/libchimara-dev.install create mode 100644 debian/libchimara-doc.doc-base create mode 100644 debian/libchimara-doc.install create mode 100644 debian/libchimara0.install create mode 100755 debian/rules create mode 100644 debian/watch diff --git a/debian/.svnignore b/debian/.svnignore new file mode 100644 index 0000000..69a0d7d --- /dev/null +++ b/debian/.svnignore @@ -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 index 0000000..639e8f4 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +chimara for Debian +------------------ + + + + -- Philip Chimento Sat, 28 Nov 2009 00:57:21 +0100 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f4c67af --- /dev/null +++ b/debian/changelog @@ -0,0 +1,7 @@ +chimara (0.1-1) unstable; urgency=low + + * Initial release (Closes: #nnnn) + * TODO FIXME when actually doing release + + -- Philip Chimento Sat, 28 Nov 2009 00:57:21 +0100 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2cdf307 --- /dev/null +++ b/debian/control @@ -0,0 +1,49 @@ +Source: chimara +Section: libs +Priority: extra +Maintainer: Philip Chimento +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: + +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 index 0000000..0087586 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Philip Chimento on +Sat, 28 Nov 2009 00:57:21 +0100. + +It was downloaded from + +Upstream Author(s): + + Marijn van Vliet + Philip Chimento + +Copyright: + + Copyright (C) 2009 <> + +License: + + Yada yada TODO FIXME when actually doing release + +The Debian packaging is (C) 2009, Philip Chimento 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 index 0000000..4a282e4 --- /dev/null +++ b/debian/docs @@ -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 index 0000000..cbf9cd5 --- /dev/null +++ b/debian/info @@ -0,0 +1 @@ +interpreters/nitfol/nitfol.info diff --git a/debian/libchimara-dev.install b/debian/libchimara-dev.install new file mode 100644 index 0000000..08cc8b3 --- /dev/null +++ b/debian/libchimara-dev.install @@ -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 index 0000000..7bb7dc8 --- /dev/null +++ b/debian/libchimara-doc.doc-base @@ -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 index 0000000..133e6a2 --- /dev/null +++ b/debian/libchimara-doc.install @@ -0,0 +1 @@ +debian/tmp/usr/share/gtk-doc diff --git a/debian/libchimara0.install b/debian/libchimara0.install new file mode 100644 index 0000000..5feeda8 --- /dev/null +++ b/debian/libchimara0.install @@ -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 index 0000000..f27efba --- /dev/null +++ b/debian/rules @@ -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 index 0000000..22a3f47 --- /dev/null +++ b/debian/watch @@ -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 +# +#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 -- 2.30.2