summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Shadura <bugzilla@tut.by>2011-11-17 19:46:58 +0100
committerAndrew Shadura <bugzilla@tut.by>2011-11-17 19:46:58 +0100
commit9f47f0661ef41bb7720808c68965a4a99e458c96 (patch)
treeea08d7015948461bc2af0d0c74aee6c2ef365e7e
parent1de62163f0237e2fdd7d9b5ee7c29c57851ce87e (diff)
add debian directory
-rw-r--r--debian/README.source6
-rw-r--r--debian/changelog79
-rw-r--r--debian/compat1
-rw-r--r--debian/control42
-rw-r--r--debian/copyright122
-rw-r--r--debian/libmowgli-dev.docs2
-rw-r--r--debian/libmowgli-dev.examples2
-rw-r--r--debian/libmowgli-dev.install4
-rw-r--r--debian/libmowgli2.install1
-rw-r--r--debian/libmowgli2.symbols172
-rw-r--r--debian/patches/001-Disable_Makefile_silent_output.dpatch19
-rw-r--r--debian/patches/002-Make-Examples-Buildable-standalone.dpatch112
-rwxr-xr-xdebian/rules71
-rw-r--r--debian/watch2
14 files changed, 635 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..1d696cb
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,6 @@
+This package uses dpatch to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+Further information can be found here (with the dpatch package installed):
+/usr/share/doc/dpatch/README.source
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4d605f5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,79 @@
+libmowgli (0.7.0-2) experimental; urgency=low
+
+ * Upload to experimental because lenny is frozen
+ * Replace (C) with © because of its legal entitlement (in debian/copyright)
+
+ -- Patrick Schoenfeld <schoenfeld@debian.org> Wed, 17 Sep 2008 16:21:14 +0200
+
+libmowgli (0.7.0-1) experimental; urgency=low
+
+ * Upload to experimental because lenny is frozen
+ * New upstream version
+ * Updated maintainer email address
+ * Adapt the packagename, because of the bumped SONAME
+ * Remove 003-dont-call-exit-where-its-not-appropriate.dpatch because
+ changes were applied upstream
+ * Fix watch file, broken due to change in upstream site. Thanks to Tim Retout
+ for the bug report and the patch.
+ (Closes: #486575)
+ * Fixed a spelling error in the long description of libmowgli2
+ (application -> applications)
+ * Remove introduction texts from descriptions that are not aimed at
+ developers, because its not interesting for endusers
+ * Fix indentation in debian/copyright
+ * Update upstream homepage in debian/control and debian/changelog
+ * Updated copyright file
+ * Add debian/README.source to document patch handling for compliance
+ with updated policy
+ * Bump Standards-version to 3.8.0
+
+ -- Patrick Schoenfeld <schoenfeld@debian.org> Wed, 17 Sep 2008 10:46:27 +0200
+
+libmowgli (0.6.1-1) unstable; urgency=low
+
+ * New upstream release (Closes: #463604)
+ * Added Vcs-Headers
+ * Introducing William Pitcock as a new co-maintainer
+ * Added a symbols file for dpkg-gensymbols to enable more relaxed
+ dependencies for packages that depend on libmowgli
+ * Added a patch (backport of changes in upstream mercurial repository) to
+ fix the inappropriate call of exit in the library (Closes: #465740)
+ * Reworked the copyright file to make licensing and copyright informations
+ more clear and fix errors in old copyright file.
+ * Changed order of dh_makeshlibs and dh_fixperms in debian/rules to avoid
+ problems with permissions that occur under some conditions
+ * Changed call to dh_makeshlibs so that it produces a versioned shlibs file
+ * Some changes to the package descriptions so its more clear for what the
+ different binary packages are used
+
+ -- Patrick Schoenfeld <schoenfeld@in-medias-res.com> Thu, 10 Jan 2008 08:41:59 +0100
+
+libmowgli (0.6.0-1) unstable; urgency=low
+
+ * New upstream release
+ (Closes: #458410)
+ * Removed patch for wrong SONAME (it was integrated upstream)
+ * Updated Standards Version
+
+ -- Patrick Schoenfeld <schoenfeld@in-medias-res.com> Mon, 31 Dec 2007 14:47:12 +0100
+
+libmowgli (0.5.0-3) unstable; urgency=low
+
+ * Updated upstream domain, because the old domain seems not to be
+ available any more (Closes: #450201)
+ * Changed priority of libmowgli1-dbg to be extra to fix override disparity
+
+ -- Patrick Schoenfeld <schoenfeld@in-medias-res.com> Thu, 08 Nov 2007 06:52:28 +0100
+
+libmowgli (0.5.0-2) unstable; urgency=low
+
+ * Fixed issues with copyright file (Accidentally we stated that the library
+ ilicensed under the terms of the BSD license)
+
+ -- Patrick Schoenfeld <schoenfeld@in-medias-res.com> Wed, 24 Oct 2007 21:14:58 +0200
+
+libmowgli (0.5.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #444334, #447410).
+
+ -- Patrick Schoenfeld <schoenfeld@in-medias-res.com> Wed, 10 Oct 2007 15:53:56 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..237612d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,42 @@
+Source: libmowgli
+Priority: optional
+Maintainer: Patrick Schoenfeld <schoenfeld@debian.org>
+Uploaders: Adam Cécile (Le_Vert) <gandalf@le-vert.net>, William Pitcock <nenolod@sacredspiral.co.uk>
+Build-Depends: debhelper (>= 5), autotools-dev, dpatch
+Standards-Version: 3.8.0
+Homepage: http://www.atheme.org/index.php/Projects/Libmowgli
+Vcs-Svn: svn://svn.debian.org/svn/collab-maint/ext-maint/libmowgli/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/ext-maint/libmowgli
+Section: libs
+
+Package: libmowgli-dev
+Section: libdevel
+Architecture: any
+Depends: libmowgli2 (= ${binary:Version})
+Description: a high performance development framework for C
+ Mowgli is a development framework for C (like GLib), which provides high
+ performance and highly flexible algorithms. It can be used as a supplement
+ to GLib (to add additional functions (dictionaries, hashes), or replace some
+ of the slow GLib list manipulation functions), or stand alone. It also
+ provides a powerful hook system and convenient logging for your code, as well
+ as a high performance block allocator.
+ .
+ This package contains files needed for development with this library and code
+ examples.
+
+Package: libmowgli2
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: a high performance development framework for C
+ This package contains the shared library needed to run programs that use the
+ mowgli library.
+
+Package: libmowgli2-dbg
+Priority: extra
+Section: libdevel
+Architecture: any
+Depends: libmowgli2 (= ${binary:Version})
+Description: a high performance development framework for C
+ This package contains the debug symbols needed to create meaningful backtraces
+ for applications that use the mowgli library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..38e50d4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,122 @@
+This package was debianized by:
+ Patrick Schoenfeld <schoenfeld@in-medias-res.com>
+ Adam Cécile (Le_Vert) <gandalf@le-vert.net>
+on Wed, 10 Oct 2007 13:15:01 +0200.
+
+It was downloaded from http://www.atheme.org/index.php/Projects/Libmowgli
+
+Copyright Holders:
+
+ William Pitcock <nenolod@sacredspiral.co.uk>
+ Patrick McFarland <pmcfarland@adterrasperaspera.com>
+ Jonathan Schleifer <js@h3c.de>
+ Pippijn van Steenhoven <pippijn@one09.net>
+ Jilles Tjoelker <jilles@stack.nl>
+ Giacomo Lozito <james -at- develia.org>
+ Takuji Nishimura and Makoto Matsumoto
+
+License (for everything except the exceptions listed below):
+
+ Copyright for all files:
+ © 2007 William Pitcock <nenolod -at- sacredspiral.co.uk>
+
+ Additional copyright on examples/patriciatest/patriciatest.c:
+ © 2008 Jilles Tjoelker
+
+ Additional copyright on mowgli_patricia.*:
+ © 2007-2008 Jilles Tjoelker
+
+ Additional copyright on mowgli_heap.*:
+ © 2005-2006 Theo Julienne <terminal -at- atheme.org>
+
+ Additional copyright on mowgli_dictionary.*:
+ © 2007 Jilles Tjoelker <jilles -at- stack.nl>
+
+ Additional copyright on mowgli_string.*:
+ © 2007 Pippijn van Steenhoven <pippijn -at- one09.net>
+
+ Additional copyright on mowgli_hook.*:
+ © 2007 Giacomo Lozito <james -at- develia.org>
+
+ Additional copyright for algorithm in mowgli_random.c:
+ © 1999-2007 Takuji Nishimura and Makoto Matsumoto
+
+ Additional copyright on buildsys.mk.in and m4/buildsys.m4:
+ © 2007, Jonathan Schleifer <js-buildsys@webkeks.org>
+
+ Atheme License (ISC derivate):
+
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice is present in all copies.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT OWNER
+ 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.
+
+License (for src/libmowgli/win32_dlfcn.c and win32_dlfcn.h):
+
+ © 2007 Ramiro Polla
+
+ This package 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 of the License, or (at your option) any later version.
+
+ This package 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+License (for all .c files in src/examples/*):
+
+ © 2007 William Pitcock <nenolod -at- sacredspiral.co.uk>
+
+ Additional copyright for algorithm in randomtest.c:
+ © 1999-2007 Takuji Nishimura and Makoto Matsumoto
+
+ 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. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+
+The Debian packaging is :
+ Copyright © 2007 Adam Cécile (Le_Vert) <gandalf@le-vert.net>
+ Copyright © 2007 Patrick Schoenfeld <schoenfeld@in-medias-res.com>
+and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/libmowgli-dev.docs b/debian/libmowgli-dev.docs
new file mode 100644
index 0000000..da6ffa7
--- /dev/null
+++ b/debian/libmowgli-dev.docs
@@ -0,0 +1,2 @@
+doc/BOOST
+README
diff --git a/debian/libmowgli-dev.examples b/debian/libmowgli-dev.examples
new file mode 100644
index 0000000..b28d08f
--- /dev/null
+++ b/debian/libmowgli-dev.examples
@@ -0,0 +1,2 @@
+src/examples/*
+buildsys.mk
diff --git a/debian/libmowgli-dev.install b/debian/libmowgli-dev.install
new file mode 100644
index 0000000..ebcc6e7
--- /dev/null
+++ b/debian/libmowgli-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
+usr/lib/pkgconfig/*
diff --git a/debian/libmowgli2.install b/debian/libmowgli2.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/libmowgli2.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/libmowgli2.symbols b/debian/libmowgli2.symbols
new file mode 100644
index 0000000..d75563b
--- /dev/null
+++ b/debian/libmowgli2.symbols
@@ -0,0 +1,172 @@
+libmowgli.so.2 libmowgli2 #MINVER#
+ mowgli_alloc@Base 0.7.0
+ mowgli_alloc_array@Base 0.7.0
+ mowgli_allocation_policy_create@Base 0.7.0
+ mowgli_allocation_policy_init@Base 0.7.0
+ mowgli_allocation_policy_lookup@Base 0.7.0
+ mowgli_allocator_init@Base 0.7.0
+ mowgli_allocator_malloc@Base 0.7.0
+ mowgli_allocator_set_policy@Base 0.7.0
+ mowgli_allocator_set_policy_by_name@Base 0.7.0
+ mowgli_argstack_create@Base 0.7.0
+ mowgli_argstack_create_from_va_list@Base 0.7.0
+ mowgli_argstack_init@Base 0.7.0
+ mowgli_argstack_pop_boolean@Base 0.7.0
+ mowgli_argstack_pop_numeric@Base 0.7.0
+ mowgli_argstack_pop_pointer@Base 0.7.0
+ mowgli_argstack_pop_string@Base 0.7.0
+ mowgli_bitvector_combine@Base 0.7.0
+ mowgli_bitvector_compare@Base 0.7.0
+ mowgli_bitvector_create@Base 0.7.0
+ mowgli_bitvector_get@Base 0.7.0
+ mowgli_bitvector_init@Base 0.7.0
+ mowgli_bitvector_set@Base 0.7.0
+ mowgli_bitvector_xor@Base 0.7.0
+ mowgli_dictionary_add@Base 0.7.0
+ mowgli_dictionary_create@Base 0.7.0
+ mowgli_dictionary_create_named@Base 0.7.0
+ mowgli_dictionary_delete@Base 0.7.0
+ mowgli_dictionary_destroy@Base 0.7.0
+ mowgli_dictionary_find@Base 0.7.0
+ mowgli_dictionary_foreach@Base 0.7.0
+ mowgli_dictionary_foreach_cur@Base 0.7.0
+ mowgli_dictionary_foreach_next@Base 0.7.0
+ mowgli_dictionary_foreach_start@Base 0.7.0
+ mowgli_dictionary_get_comparator_func@Base 0.7.0
+ mowgli_dictionary_get_linear_index@Base 0.7.0
+ mowgli_dictionary_link@Base 0.7.0
+ mowgli_dictionary_retrieve@Base 0.7.0
+ mowgli_dictionary_retune@Base 0.7.0
+ mowgli_dictionary_search@Base 0.7.0
+ mowgli_dictionary_set_comparator_func@Base 0.7.0
+ mowgli_dictionary_size@Base 0.7.0
+ mowgli_dictionary_stats@Base 0.7.0
+ mowgli_dictionary_unlink_root@Base 0.7.0
+ mowgli_error_context_create@Base 0.7.0
+ mowgli_error_context_destroy@Base 0.7.0
+ mowgli_error_context_display@Base 0.7.0
+ mowgli_error_context_display_with_error@Base 0.7.0
+ mowgli_error_context_pop@Base 0.7.0
+ mowgli_error_context_push@Base 0.7.0
+ mowgli_fnv_hash@Base 0.7.0
+ mowgli_fnv_hash_string@Base 0.7.0
+ mowgli_formatter_format@Base 0.7.0
+ mowgli_formatter_format_from_argstack@Base 0.7.0
+ mowgli_formatter_print@Base 0.7.0
+ mowgli_free@Base 0.7.0
+ mowgli_global_storage_free@Base 0.7.0
+ mowgli_global_storage_get@Base 0.7.0
+ mowgli_global_storage_init@Base 0.7.0
+ mowgli_global_storage_put@Base 0.7.0
+ mowgli_heap_alloc@Base 0.7.0
+ mowgli_heap_create@Base 0.7.0
+ mowgli_heap_create_full@Base 0.7.0
+ mowgli_heap_destroy@Base 0.7.0
+ mowgli_heap_free@Base 0.7.0
+ mowgli_hook_associate@Base 0.7.0
+ mowgli_hook_call@Base 0.7.0
+ mowgli_hook_dissociate@Base 0.7.0
+ mowgli_hook_init@Base 0.7.0
+ mowgli_hook_register@Base 0.7.0
+ mowgli_init@Base 0.7.0
+ mowgli_ioevent_associate@Base 0.7.0
+ mowgli_ioevent_create@Base 0.7.0
+ mowgli_ioevent_destroy@Base 0.7.0
+ mowgli_ioevent_dissociate@Base 0.7.0
+ mowgli_ioevent_get@Base 0.7.0
+ mowgli_list_concat@Base 0.7.0
+ mowgli_list_create@Base 0.7.0
+ mowgli_list_free@Base 0.7.0
+ mowgli_list_reverse@Base 0.7.0
+ mowgli_list_sort@Base 0.7.0
+ mowgli_log_cb_default@Base 0.7.0
+ mowgli_log_real@Base 0.7.0
+ mowgli_log_set_cb@Base 0.7.0
+ mowgli_mempool_add@Base 0.7.0
+ mowgli_mempool_allocate@Base 0.7.0
+ mowgli_mempool_cleanup@Base 0.7.0
+ mowgli_mempool_create@Base 0.7.0
+ mowgli_mempool_destroy@Base 0.7.0
+ mowgli_mempool_release@Base 0.7.0
+ mowgli_mempool_strdup@Base 0.7.0
+ mowgli_mempool_sustain@Base 0.7.0
+ mowgli_mempool_with_custom_destructor@Base 0.7.0
+ mowgli_module_close@Base 0.7.0
+ mowgli_module_open@Base 0.7.0
+ mowgli_module_symbol@Base 0.7.0
+ mowgli_node_add@Base 0.7.0
+ mowgli_node_add_after@Base 0.7.0
+ mowgli_node_add_before@Base 0.7.0
+ mowgli_node_add_head@Base 0.7.0
+ mowgli_node_create@Base 0.7.0
+ mowgli_node_delete@Base 0.7.0
+ mowgli_node_find@Base 0.7.0
+ mowgli_node_free@Base 0.7.0
+ mowgli_node_index@Base 0.7.0
+ mowgli_node_init@Base 0.7.0
+ mowgli_node_insert@Base 0.7.0
+ mowgli_node_move@Base 0.7.0
+ mowgli_node_nth@Base 0.7.0
+ mowgli_node_nth_data@Base 0.7.0
+ mowgli_object_class_check_cast@Base 0.7.0
+ mowgli_object_class_destroy@Base 0.7.0
+ mowgli_object_class_find_by_name@Base 0.7.0
+ mowgli_object_class_init@Base 0.7.0
+ mowgli_object_class_message_handler_attach@Base 0.7.0
+ mowgli_object_class_message_handler_detach@Base 0.7.0
+ mowgli_object_class_reinterpret_impl@Base 0.7.0
+ mowgli_object_class_set_derivitive@Base 0.7.0
+ mowgli_object_init@Base 0.7.0
+ mowgli_object_init_from_class@Base 0.7.0
+ mowgli_object_message_broadcast@Base 0.7.0
+ mowgli_object_message_handler_attach@Base 0.7.0
+ mowgli_object_message_handler_detach@Base 0.7.0
+ mowgli_object_metadata_associate@Base 0.7.0
+ mowgli_object_metadata_dissociate@Base 0.7.0
+ mowgli_object_metadata_retrieve@Base 0.7.0
+ mowgli_object_ref@Base 0.7.0
+ mowgli_object_unref@Base 0.7.0
+ mowgli_patricia_add@Base 0.7.0
+ mowgli_patricia_create@Base 0.7.0
+ mowgli_patricia_create_named@Base 0.7.0
+ mowgli_patricia_delete@Base 0.7.0
+ mowgli_patricia_destroy@Base 0.7.0
+ mowgli_patricia_foreach@Base 0.7.0
+ mowgli_patricia_foreach_cur@Base 0.7.0
+ mowgli_patricia_foreach_next@Base 0.7.0
+ mowgli_patricia_foreach_start@Base 0.7.0
+ mowgli_patricia_retrieve@Base 0.7.0
+ mowgli_patricia_search@Base 0.7.0
+ mowgli_patricia_size@Base 0.7.0
+ mowgli_patricia_stats@Base 0.7.0
+ mowgli_queue_destroy@Base 0.7.0
+ mowgli_queue_find@Base 0.7.0
+ mowgli_queue_head@Base 0.7.0
+ mowgli_queue_init@Base 0.7.0
+ mowgli_queue_length@Base 0.7.0
+ mowgli_queue_pop_head@Base 0.7.0
+ mowgli_queue_pop_tail@Base 0.7.0
+ mowgli_queue_push@Base 0.7.0
+ mowgli_queue_remove@Base 0.7.0
+ mowgli_queue_remove_data@Base 0.7.0
+ mowgli_queue_rewind@Base 0.7.0
+ mowgli_queue_shift@Base 0.7.0
+ mowgli_queue_skip@Base 0.7.0
+ mowgli_queue_tail@Base 0.7.0
+ mowgli_random_create@Base 0.7.0
+ mowgli_random_create_with_seed@Base 0.7.0
+ mowgli_random_init@Base 0.7.0
+ mowgli_random_int@Base 0.7.0
+ mowgli_random_int_ranged@Base 0.7.0
+ mowgli_random_reseed@Base 0.7.0
+ mowgli_signal_install_handler@Base 0.7.0
+ mowgli_spinlock_create@Base 0.7.0
+ mowgli_spinlock_lock@Base 0.7.0
+ mowgli_spinlock_timed_wait@Base 0.7.0
+ mowgli_spinlock_unlock@Base 0.7.0
+ mowgli_spinlock_wait@Base 0.7.0
+ mowgli_string_append@Base 0.7.0
+ mowgli_string_append_char@Base 0.7.0
+ mowgli_string_create@Base 0.7.0
+ mowgli_string_destroy@Base 0.7.0
+ mowgli_string_reset@Base 0.7.0
diff --git a/debian/patches/001-Disable_Makefile_silent_output.dpatch b/debian/patches/001-Disable_Makefile_silent_output.dpatch
new file mode 100644
index 0000000..01cfaf1
--- /dev/null
+++ b/debian/patches/001-Disable_Makefile_silent_output.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 001-Disable_Makefile_silent_output.dpatch
+## by Adam Cécile (Le_Vert) <gandalf@le-vert.net>
+##
+## DP: Let's show what happens...
+
+@DPATCH@
+
+--- a/buildsys.mk.in 2007-10-15 07:03:45.000000000 +0200
++++ b/buildsys.mk.in 2007-10-21 02:14:21.518788374 +0200
+@@ -73,7 +73,7 @@
+ OBJS5 = ${OBJS4:.erl=.beam}
+ OBJS += ${OBJS5:.m=.o}
+
+-.SILENT:
++#.SILENT:
+ .SUFFIXES: .beam .c .cc .cxx .d .erl .m
+ .PHONY: all subdirs pre-depend depend install install-extra uninstall uninstall-extra clean distclean
+
diff --git a/debian/patches/002-Make-Examples-Buildable-standalone.dpatch b/debian/patches/002-Make-Examples-Buildable-standalone.dpatch
new file mode 100644
index 0000000..dd2dd51
--- /dev/null
+++ b/debian/patches/002-Make-Examples-Buildable-standalone.dpatch
@@ -0,0 +1,112 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 002-Make-Examples-Buildable-standalone.dpatch
+## by Adam Cécile (Le_Vert) <gandalf@le-vert.net>
+##
+## DP: This patch makes the examples build standalone.
+
+@DPATCH@
+
+diff -ur libmowgli-patched/src/examples/dicttest/dicttest.c libmowgli/src/examples/dicttest/dicttest.c
+--- libmowgli-patched/src/examples/dicttest/dicttest.c 2007-10-21 15:49:43.019930332 +0200
++++ libmowgli/src/examples/dicttest/dicttest.c 2007-09-27 22:04:26.404664058 +0200
+@@ -31,7 +31,7 @@
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+-#include <mowgli.h>
++#include <libmowgli/mowgli.h>
+
+ int main(int argc, const char *argv[])
+ {
+diff -ur libmowgli-patched/src/examples/dicttest/Makefile libmowgli/src/examples/dicttest/Makefile
+--- libmowgli-patched/src/examples/dicttest/Makefile 2007-10-21 15:48:02.014174342 +0200
++++ libmowgli/src/examples/dicttest/Makefile 2007-10-10 20:37:43.653955022 +0200
+@@ -1,7 +1,7 @@
+ PROG_NOINST = dicttest${PROG_SUFFIX}
+ SRCS = dicttest.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli
+diff -ur libmowgli-patched/src/examples/formattertest/formattertest.c libmowgli/src/examples/formattertest/formattertest.c
+--- libmowgli-patched/src/examples/formattertest/formattertest.c 2007-10-21 15:49:14.518306117 +0200
++++ libmowgli/src/examples/formattertest/formattertest.c 2007-09-27 22:04:26.404664058 +0200
+@@ -31,7 +31,7 @@
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+-#include <mowgli.h>
++#include <libmowgli/mowgli.h>
+
+ int main(int argc, char *argv[])
+ {
+diff -ur libmowgli-patched/src/examples/formattertest/Makefile libmowgli/src/examples/formattertest/Makefile
+--- libmowgli-patched/src/examples/formattertest/Makefile 2007-10-21 15:48:02.014174342 +0200
++++ libmowgli/src/examples/formattertest/Makefile 2007-10-10 20:37:44.153983517 +0200
+@@ -1,7 +1,7 @@
+ PROG_NOINST = formattertest${PROG_SUFFIX}
+ SRCS = formattertest.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli
+diff -ur libmowgli-patched/src/examples/listsort/listsort.c libmowgli/src/examples/listsort/listsort.c
+--- libmowgli-patched/src/examples/listsort/listsort.c 2007-10-21 15:49:14.518306117 +0200
++++ libmowgli/src/examples/listsort/listsort.c 2007-09-27 22:04:26.404664058 +0200
+@@ -31,7 +31,7 @@
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+-#include <mowgli.h>
++#include <libmowgli/mowgli.h>
+
+ int str_comparator(mowgli_node_t *n, mowgli_node_t *n2, void *opaque)
+ {
+diff -ur libmowgli-patched/src/examples/listsort/Makefile libmowgli/src/examples/listsort/Makefile
+--- libmowgli-patched/src/examples/listsort/Makefile 2007-10-21 15:48:02.014174342 +0200
++++ libmowgli/src/examples/listsort/Makefile 2007-10-10 20:37:44.654012012 +0200
+@@ -1,7 +1,7 @@
+ PROG_NOINST = listsort${PROG_SUFFIX}
+ SRCS = listsort.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli
+diff -ur libmowgli-patched/src/examples/Makefile libmowgli/src/examples/Makefile
+--- libmowgli-patched/src/examples/Makefile 2007-10-21 15:48:02.014174342 +0200
++++ libmowgli/src/examples/Makefile 2007-10-10 20:37:43.653955022 +0200
+@@ -1,3 +1,3 @@
+ SUBDIRS = randomtest listsort formattertest dicttest
+
+-include ../../buildsys.mk
++include buildsys.mk
+diff -ur libmowgli-patched/src/examples/randomtest/Makefile libmowgli/src/examples/randomtest/Makefile
+--- libmowgli-patched/src/examples/randomtest/Makefile 2007-10-21 15:48:02.014174342 +0200
++++ libmowgli/src/examples/randomtest/Makefile 2007-10-10 20:37:44.654012012 +0200
+@@ -1,7 +1,7 @@
+ PROG_NOINST = randomtest${PROG_SUFFIX}
+ SRCS = randomtest.c
+
+-include ../../../buildsys.mk
++include ../buildsys.mk
+
+ CPPFLAGS += -I../../libmowgli
+ LIBS += -L../../libmowgli -lmowgli
+diff -ur libmowgli-patched/src/examples/randomtest/randomtest.c libmowgli/src/examples/randomtest/randomtest.c
+--- libmowgli-patched/src/examples/randomtest/randomtest.c 2007-10-21 15:49:14.518306117 +0200
++++ libmowgli/src/examples/randomtest/randomtest.c 2007-10-14 00:16:59.752080433 +0200
+@@ -31,7 +31,7 @@
+ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+-#include <mowgli.h>
++#include <libmowgli/mowgli.h>
+
+ int main(int argc, char *argv[])
+ {
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..11be2e8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,71 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+config.status: patch-stamp
+ dh_testdir
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+ ./configure --host=$(DEB_HOST_GNU_TYPE) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --prefix=/usr \
+ CFLAGS="$(CFLAGS)" \
+ LDFLAGS="-Wl,-z,defs"
+
+build: build-stamp
+build-stamp: config.status
+ dh_testdir
+ $(MAKE)
+ touch $@
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp config.guess config.sub
+ [ ! -f buildsys.mk ] || $(MAKE) distclean
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+binary-indep: build install
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_install --sourcedir=debian/tmp
+ dh_link
+ dh_strip --dbg-package=libmowgli2-dbg
+ dh_compress -Xusr/share/doc/libmowgli-dev/examples
+ dh_makeshlibs -V 'libmowgli2 (>= 0.7.0)'
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a26f626
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://distfiles.atheme.org/libmowgli-(.*)\.t.*