[Pkg-ocaml-maint-commits] [SCM] laby packaging branch, master, updated. upstream/0.4.5-1-g043e286
Mehdi Dogguy
dogguy at pps.jussieu.fr
Wed May 13 19:46:02 UTC 2009
The following commit has been merged in the master branch:
commit 043e28690ca6b376ba72a2dbb0d939a3ccaaa1ba
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
Date: Wed May 13 19:32:55 2009 +0200
Initial import of debian/ directory
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4a9b5ed
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+laby (0.4.5-1) unstable; urgency=low
+
+ * Initial release (Closes: #515617)
+
+ -- Mehdi Dogguy <dogguy at pps.jussieu.fr> Wed, 13 May 2009 18:56:57 +0200
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..aa3b9c4
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: laby
+Section: games
+Priority: extra
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Mehdi Dogguy <dogguy at pps.jussieu.fr>
+DM-Upload-Allowed: yes
+Build-Depends:
+ debhelper (>= 7),
+ menhir,
+ ocaml-nox (>= 3.11),
+ dh-ocaml,
+ liblablgtk2-ocaml-dev,
+ liblablgtksourceview-ocaml-dev
+Standards-Version: 3.8.1
+Homepage: http://www.pps.jussieu.fr/~gimenez/enseignement.html
+
+Package: laby
+Architecture: any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ ${F:LabyRuntime},
+ alsa-utils,
+ ocaml-nox | java-compiler | c-compiler
+Suggests:
+ java-compiler,
+ c-compiler,
+ ocaml-nox
+Description: Learn how to program with ants and spider webs.
+ Laby is a small program to learn how to program with ants and spider webs.
+ You have to move an ant out of a labyrinth, avoid spider webs, move rocks,
+ etc.
+ .
+ Using Laby, you can learn OCaml, C and Java. Other bindings can be added later
+ to support new programming languages.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7630628
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,16 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+
+Packaged-By: Mehdi Dogguy <dogguy at pps.jussieu.fr
+Packaged-Date: Mon, 11 May 2009 15:11:37 +0200
+Original-Source: http://www.pps.jussieu.fr/~gimenez/enseignement.html
+Upstream-Author: Stéphane Gimenez <gimenez at pps.jussieu.fr> (and al.)
+
+Files: *
+Copyright: © 2007-2008 The laby team
+Licence: GPL-3+
+ See `/usr/share/common-licenses/GPL-3'.
+
+Files: debian/*
+Copyright: © 2009 Mehdi Dogguy <dogguy at pps.jussieu.fr>
+License: GPL-3+
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..01d52bc
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,5 @@
+usr/games/
+usr/share/laby/
+usr/share/icons/hicolor/scalable/apps/
+usr/share/applications/
+usr/share/pixmaps/
diff --git a/debian/laby.1 b/debian/laby.1
new file mode 100644
index 0000000..415f1a5
--- /dev/null
+++ b/debian/laby.1
@@ -0,0 +1,88 @@
+'\" t
+.\" Title: laby
+.\" Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
+.\" Generator: DocBook XSL Stylesheets v1.74.3 <http://docbook.sf.net/>
+.\" Date: May 13, 2009
+.\" Manual: laby
+.\" Source: laby
+.\" Language: English
+.\"
+.TH "LABY" "1" "May 13, 2009" "laby" "laby"
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+laby \- You have to move an ant out of a labyrinth, avoid spider webs, move rocks, etc\&.\&.\&. You have to click on "Reload" at startup\&.
+.SH "SYNOPSIS"
+.HP \w'\fBlaby\fR\ 'u
+\fBlaby\fR [options]
+.SH "DESCRIPTION"
+.PP
+This manual page documents briefly the
+\fBlaby\fR
+command\&.
+.SH "OPTIONS"
+.PP
+\fB\-\-help\fR
+.RS 4
+Display help message
+.RE
+.PP
+\fB\-\-version\fR
+.RS 4
+Show versioning information
+.RE
+.PP
+\fB\-\-lang=l\fR
+.RS 4
+Select a programming language
+.RE
+.PP
+\fB\-\-sound\fR
+.RS 4
+Enable/Disable sounds
+.RE
+.PP
+\fB\-\-conf\fR
+.RS 4
+Set a configuration key
+.RE
+.PP
+\fB\-\-conf\-descr=key\fR
+.RS 4
+Describe a configuration key
+.RE
+.PP
+\fB\-\-conf\-dump\fR
+.RS 4
+Dump a configutation key
+.RE
+.PP
+\fB\-\-debug=d\fR
+.RS 4
+Select debug level where d is an integer
+.RE
+.SH "LICENSE"
+.PP
+This manual page was written by
+Mehdi Dogguy
+dogguy at pps\&.jussieu\&.fr
+for the Debian GNU/Linux system (but may be used by others)\&. Permission is granted to copy, distribute and/or modify this document under the terms of the
+GNU
+General Public License, Version 3 or any later version published by the Free Software Foundation; considering as source code all the file that enable the production of this manpage\&.
+.SH "AUTHOR"
+.PP
+\fBMehdi Dogguy\fR <\&dogguy at pps\&.jussieu\&.fr\&>
+.RS 4
+.RE
+.SH "COPYRIGHT"
+.br
+Copyright \(co 2009 Mehdi Dogguy
+.br
diff --git a/debian/laby.desktop b/debian/laby.desktop
new file mode 100644
index 0000000..1709954
--- /dev/null
+++ b/debian/laby.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Laby
+Comment=Learn how to program with ants and spider webs
+Comment[fr]=Apprendre à programmer avec des fourmis
+Exec=/usr/games/laby
+Icon=laby
+Terminal=false
+Type=Application
+Categories=GNOME;GTK;Game;CardGame;
+StartupNotify=true
diff --git a/debian/laby.xml b/debian/laby.xml
new file mode 100644
index 0000000..94c4cd4
--- /dev/null
+++ b/debian/laby.xml
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+"/usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd" [
+ <!ENTITY debian "Debian GNU/Linux">
+ <!ENTITY dhprg "<command>laby</command>">
+]>
+
+<!--**********************************************************************-->
+<!-- Laby manpage -->
+<!-- -->
+<!-- Copyright (C) 2009 Mehdi Dogguy <dogguy at pps.jussieu.fr> -->
+<!-- -->
+<!-- This library is free software; you can redistribute it and/or -->
+<!-- modify it under the terms of the GNU Lesser General Public -->
+<!-- License as published by the Free Software Foundation; either -->
+<!-- version 2.1 of the License, or (at your option) any later version; -->
+<!-- with the OCaml static compilation exception. -->
+<!-- -->
+<!-- This library 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 -->
+<!-- Lesser General Public License for more details. -->
+<!-- -->
+<!-- You should have received a copy of the GNU Lesser General Public -->
+<!-- License along with this library; if not, write to the Free Software -->
+<!-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, -->
+<!-- MA 02110-1301, USA. -->
+<!-- -->
+<!-- Contact: dogguy at pps.jussieu.fr -->
+<!--**********************************************************************-->
+
+<refentry>
+
+ <refentryinfo>
+ <author>
+ <firstname>Mehdi</firstname>
+ <surname>Dogguy</surname>
+ <email>dogguy at pps.jussieu.fr</email>
+ <personblurb><para></para></personblurb>
+ </author>
+ <copyright>
+ <year>2009</year>
+ <holder>Mehdi Dogguy</holder>
+ </copyright>
+ <date>May 13, 2009</date>
+ </refentryinfo>
+
+ <refmeta>
+ <refentrytitle>laby</refentrytitle>
+ <manvolnum>1</manvolnum>
+ <refmiscinfo class="software">laby</refmiscinfo>
+ <refmiscinfo class="manual">laby</refmiscinfo>
+ </refmeta>
+
+ <refnamediv>
+ <refname>&dhprg;</refname>
+
+ <refpurpose>You have to move an ant out of a labyrinth, avoid
+ spider webs, move rocks, etc... You have to click on "Reload" at
+ startup.
+ </refpurpose>
+ </refnamediv>
+
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ &dhprg;
+ <arg>options</arg>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+
+ <refsect1>
+ <title>DESCRIPTION</title>
+
+ <para>This manual page documents briefly the &dhprg; command.</para>
+
+ </refsect1>
+
+ <refsect1>
+ <title>OPTIONS</title>
+
+ <variablelist>
+ <varlistentry>
+ <term><option>--help</option></term>
+ <listitem><para>Display help message</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--version</option></term>
+ <listitem><para>Show versioning information</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--lang=l</option></term>
+ <listitem><para>Select a programming language</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--sound</option></term>
+ <listitem><para>Enable/Disable sounds</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--conf</option></term>
+ <listitem><para>Set a configuration key</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--conf-descr=key</option></term>
+ <listitem><para>Describe a configuration key</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--conf-dump</option></term>
+ <listitem><para>Dump a configutation key</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--debug=d</option></term>
+ <listitem><para>Select debug level where d is an integer</para></listitem>
+ </varlistentry>
+
+ </variablelist>
+
+ </refsect1>
+
+ <refsect1>
+ <title>LICENSE</title>
+
+ <para>
+ This manual page was written by
+ <personname>
+ <firstname>Mehdi</firstname>
+ <surname>Dogguy</surname>
+ </personname>
+ <email>dogguy at pps.jussieu.fr</email>
+ for the Debian GNU/Linux system (but may be used by others).
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the <acronym>GNU</acronym> General Public
+ License, Version 3 or any later version published by the Free
+ Software Foundation; considering as source code all the file that
+ enable the production of this manpage.
+ </para>
+ </refsect1>
+
+</refentry>
+
diff --git a/debian/laby.xpm b/debian/laby.xpm
new file mode 100644
index 0000000..f004661
--- /dev/null
+++ b/debian/laby.xpm
@@ -0,0 +1,101 @@
+/* XPM */
+static char *laby[] = {
+/* columns rows colors chars-per-pixel */
+"29 26 69 1",
+" c black",
+". c #010101",
+"X c #020202",
+"o c gray1",
+"O c #040404",
+"+ c gray2",
+"@ c #060606",
+"# c #070707",
+"$ c gray3",
+"% c #090909",
+"& c gray4",
+"* c #0C0C0C",
+"= c gray6",
+"- c gray7",
+"; c #131313",
+": c gray8",
+"> c #161616",
+", c gray9",
+"< c #181818",
+"1 c #191919",
+"2 c #1B1B1B",
+"3 c gray11",
+"4 c #1D1D1D",
+"5 c gray12",
+"6 c #202020",
+"7 c #222222",
+"8 c #232323",
+"9 c gray15",
+"0 c gray16",
+"q c #2A2A2A",
+"w c gray17",
+"e c #2D2D2D",
+"r c gray18",
+"t c gray20",
+"y c gray22",
+"u c #393939",
+"i c #3A3A3A",
+"p c gray23",
+"a c gray26",
+"s c #434343",
+"d c #444444",
+"f c gray27",
+"g c gray28",
+"h c #494949",
+"j c #4B4B4B",
+"k c gray31",
+"l c #505050",
+"z c #555555",
+"x c gray34",
+"c c #5A5A5A",
+"v c #5B5B5B",
+"b c #5D5D5D",
+"n c #5F5F5F",
+"m c #6A6A6A",
+"M c #6D6D6D",
+"N c #6F6F6F",
+"B c gray44",
+"V c #747474",
+"C c gray46",
+"Z c gray47",
+"A c #797979",
+"S c gray48",
+"D c #7B7B7B",
+"F c #7C7C7C",
+"G c gray49",
+"H c #7E7E7E",
+"J c #7F7F7F",
+"K c #808080",
+"L c None",
+/* pixels */
+"LLLLLLLLLLLLLLLLLLLLLLLLLLLLL",
+"LLLLLLLLLLLLLL LLLLLLLLLLLLL",
+"LLLLLLLLLLLL@@<5##LLLLLLLLLLL",
+"LLLLLLLLLLL.9AKKFq LLLLLLLLLL",
+"LLLLLLLLLLL=;HKKKw2LLLLLLLLLL",
+"LLLLL LLLL at hZKKKKKz%LLLLLLLLL",
+"LLLLLL LLL%kKKKKKKv%LLLLLLLLL",
+"LLLLLL LLLwKKKKKKyOLLLLL LLL",
+"LLLLLLL LLL at lKKKKc+LLLLLL LLL",
+"LLLLLLLL LL at 4df7@LLLLLL LLLL",
+"LLLLLLLLLL *gpikr#L LLLL",
+"LLLL LLLLLL#nKKKKG% LLLLLLLLL",
+"LLLLL LLLLLXHKKKKKqLLLLLLL LL",
+"LLLLLL LoZKKKKK6LLLLLL LLL",
+"LLLLLLLLLL +sKKKKNO LLL LLLL",
+"LLLLLLLLLL#*&fCDb-:X LLLLL",
+"LLLLLLLLLL;DB0#o,xKa#LLLLLLLL",
+"LLLLLLLLLoMKKKJGKKKJ2LLLLLLLL",
+"LLLLLLL ;KKKKKKKKKKgX LLLLL",
+"LLLLL L eKKKKKKKKKKb#LL LLLL",
+"LLLL LLL>KKKKKKKKKKj$LLL LLL",
+"LLL LLLLoVKKKKKKKKK8LLLL LL",
+"LL LLLLLO3JKKKKKKKk at LLLLL LL",
+"L LLLLLLL#2mKKKKSuOLLLLLLL L",
+" LLLLLLLLLLO1tp6@#LLLLLLLL L",
+"LLLLLLLLLLLLLLLXLLLLLLLLLLLLL"
+};
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..29cc3ca
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/laby.1
diff --git a/debian/menu b/debian/menu
new file mode 100644
index 0000000..9fe446f
--- /dev/null
+++ b/debian/menu
@@ -0,0 +1,3 @@
+?package(laby):needs="X11" section="Games/Board" \
+ title="Laby" command="/usr/games/laby" \
+ icon="/usr/share/pixmaps/laby.xpm"
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3addaac
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,30 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+export DH_VERBOSE=1
+
+include /usr/share/ocaml/ocamlvars.mk
+include /usr/share/ocaml/ocamlinit.mk
+
+OCAML_BEST = $(if $(OCAML_OPT_ARCH),native,byte)
+
+override_dh_auto_install:
+ cp laby.$(OCAML_BEST) $(CURDIR)/debian/laby/usr/games/laby
+ cp -r data/* $(CURDIR)/debian/laby/usr/share/laby/
+ cp data/tiles/ant-n.svg $(CURDIR)/debian/laby/usr/share/icons/hicolor/scalable/apps/laby.svg
+ cp debian/laby.xpm $(CURDIR)/debian/laby/usr/share/pixmaps/
+ cp debian/laby.desktop $(CURDIR)/debian/laby/usr/share/applications/
+ifeq ($(OCAML_OPT_ARCH),)
+ echo 'F:LabyRuntime=liblablgtk2-ocaml,liblablgtksourceview-ocaml,$(OCAML_RUNTIME)' >> debian/laby.substvars
+endif
+
+%:
+ dh $@
+
+laby.1: laby.xml
+# Verification
+ -xmllint --nonet --noout --postvalid --xinclude $^
+# Compilation
+ xsltproc --nonet --xinclude \
+ /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
+ $^
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..aaf7afb
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://www.pps.jussieu.fr/~gimenez/enseignement.html data/fdls/laby-(.*)\.tar\.gz
--
laby packaging
More information about the Pkg-ocaml-maint-commits
mailing list