debian/0000755000000000000000000000000012271526117007172 5ustar debian/libmowgli-dev.install0000644000000000000000000000006611735313562013327 0ustar usr/include/* usr/lib/*/lib*.so usr/lib/*/pkgconfig/* debian/libmowgli2.lintian-overrides0000644000000000000000000000010111736013770014612 0ustar libmowgli2 binary: shlib-calls-exit usr/lib/*/libmowgli.so.2.0.0 debian/control0000644000000000000000000000477312271525535010613 0ustar Source: libmowgli Priority: optional Maintainer: Andrew Shadura Build-Depends: debhelper (>= 9), dh-autoreconf, autotools-dev Standards-Version: 3.9.4 Homepage: http://www.atheme.org/projects/mowgli Vcs-Hg: http://anonscm.debian.org/hg/collab-maint/libmowgli Vcs-Browser: http://anonscm.debian.org/hg/collab-maint/libmowgli/summary Section: libs Package: libmowgli-dev Section: libdevel Architecture: any Depends: libmowgli2 (= ${binary:Version}), ${misc:Depends} Multi-Arch: same Description: high performance development framework for C (development) 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 high performance block allocator. . This package contains files needed for development with this library and code examples. Package: libmowgli2 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: 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 high performance block allocator. . This package contains the shared library needed to run programs that use the mowgli library. Package: libmowgli2-dbg Priority: extra Section: debug Architecture: any Depends: libmowgli2 (= ${binary:Version}), ${misc:Depends} Multi-Arch: same Description: high performance development framework for C (debug) 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 high performance block allocator. . This package contains the debug symbols needed to create meaningful backtraces for applications that use the mowgli library. debian/libmowgli2.symbols0000644000000000000000000001570111664714736012672 0ustar 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_index_allocate@Base 1.0.0 mowgli_index_append@Base 1.0.0 mowgli_index_copy_append@Base 1.0.0 mowgli_index_copy_insert@Base 1.0.0 mowgli_index_copy_set@Base 1.0.0 mowgli_index_count@Base 1.0.0 mowgli_index_create@Base 1.0.0 mowgli_index_delete@Base 1.0.0 mowgli_index_destroy@Base 1.0.0 mowgli_index_get@Base 1.0.0 mowgli_index_init@Base 1.0.0 mowgli_index_insert@Base 1.0.0 mowgli_index_merge_append@Base 1.0.0 mowgli_index_merge_insert@Base 1.0.0 mowgli_index_move@Base 1.0.0 mowgli_index_set@Base 1.0.0 mowgli_index_sort@Base 1.0.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_elem_add@Base 1.0.0 mowgli_patricia_elem_delete@Base 1.0.0 mowgli_patricia_elem_find@Base 1.0.0 mowgli_patricia_elem_get_data@Base 1.0.0 mowgli_patricia_elem_get_key@Base 1.0.0 mowgli_patricia_elem_set_data@Base 1.0.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_soft_assert_log@Base 1.0.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 mowgli_strlcat@Base 1.0.0 mowgli_strlcpy@Base 1.0.0 debian/libmowgli-dev.docs0000644000000000000000000000002111664714736012611 0ustar doc/BOOST README debian/watch0000644000000000000000000000007211664714736010235 0ustar version=3 http://distfiles.atheme.org/libmowgli-(.*)\.t.* debian/clean0000644000000000000000000000017512271523707010204 0ustar .deps src/.deps src/*/.deps src/*/*/.deps buildsys.mk config.log config.status extra.mk libmowgli.pc config.sub config.guess debian/libmowgli-dev.examples0000644000000000000000000000003311664714736013502 0ustar src/examples/* buildsys.mk debian/changelog0000644000000000000000000001373412271525573011061 0ustar libmowgli (1.0.0-4) unstable; urgency=low * Update config.sub and config.guess on build (Closes: #727414). * Build-depend on autotools-dev to have fresh config.* files. -- Andrew Shadura Mon, 27 Jan 2014 19:54:50 +0100 libmowgli (1.0.0-3) unstable; urgency=low * Fix arch-dependent files in -dev package (Closes: #670014). -- Andrew Shadura Wed, 23 Oct 2013 11:57:40 +0200 libmowgli (1.0.0-2) unstable; urgency=low * Update Standards-Version to 3.9.4 (no changes). * Fix FTBFS with latest debhelper (Closes: #724183). * Fix arch-dependent files in -dev package (Closes: #670014). -- Andrew Shadura Tue, 22 Oct 2013 15:30:44 +0200 libmowgli (1.0.0-1) unstable; urgency=low * New maintainer * New upstream release (Closes: #647748, #559181, #590064) * Switch to 3.0 (quilt) format, drop README.source * Bump Standards-Version to 3.9.3 * Don't compress examples source code * Use dpkg-buildflags * Update Homepage field * Update copyright file * Update package descriptions * Update symbols file * Update watch file * Run autoreconf during build, stop using autotools-dev * Use debian/clean to clean up after build * Remove duplicate Section fields in debian/control * Update Vcs-* fields * Add lintian override for exception handling code calling exit(3) * Don't try to install make dependency bits along with examples * Add multiarch support: - raise debhelper compatibility level to 9 - raise debhelper build-dependency to 9 - add Pre-Depends to the binary package - change install files to use multiarch paths - use Multi-Arch: same for binary packages - strip multiarch paths from buildsys.mk installed along with examples -- Andrew O. Shadura Mon, 02 Apr 2012 15:04:06 +0200 libmowgli (0.7.1-1) unstable; urgency=low * New upstream version * Update patch 001-Disable_Makefile_silent_output.diff Update 001-Disable_Makefile_silent_output.diff for current makefile * Remove 'a' from package description (Closes: #500944) -- Patrick Schoenfeld Tue, 22 Feb 2011 16:21:44 +0100 libmowgli (0.7.0-3) unstable; urgency=low * Upload to sid (Closes: #559181, #590064) * Update watch file * Update the Vcs-uris to reflection the migration git * Switch to debhelper 7 * Switch to quilt as patch management system * Update Standards-Version, changes needed: + Update section of libmowgli2-dbg to 'debug' * Add missing misc:Depends in libmowgli-dev and libmowgli2-dbg control information * Remove Adam Cécile from uploaders * Fix watch file (again) (Closes: #486575) -- Patrick Schoenfeld Tue, 22 Feb 2011 15:26:10 +0100 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 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 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 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 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 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 Wed, 24 Oct 2007 21:14:58 +0200 libmowgli (0.5.0-1) unstable; urgency=low * Initial release (Closes: #444334, #447410). -- Patrick Schoenfeld Wed, 10 Oct 2007 15:53:56 +0200 debian/libmowgli2.install0000644000000000000000000000002411735313576012634 0ustar usr/lib/*/lib*.so.* debian/source/0000755000000000000000000000000011735536142010475 5ustar debian/source/format0000644000000000000000000000001411664714736011713 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000001232611735314260011127 0ustar This package was debianized by: Patrick Schoenfeld Adam Cécile (Le_Vert) 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 Patrick McFarland Jonathan Schleifer Pippijn van Steenhoven Jilles Tjoelker Giacomo Lozito Takuji Nishimura and Makoto Matsumoto License (for everything except the exceptions listed below): Copyright for all files: © 2007 William Pitcock 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 Additional copyright on mowgli_dictionary.*: © 2007 Jilles Tjoelker Additional copyright on mowgli_string.*: © 2007 Pippijn van Steenhoven Additional copyright on mowgli_hook.*: © 2007 Giacomo Lozito 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 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 version 2 can be found in `/usr/share/common-licenses/LGPL-2'. License (for all .c files in src/examples/*): © 2007 William Pitcock 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) Copyright © 2007 Patrick Schoenfeld and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/patches/0000755000000000000000000000000011664714736010634 5ustar debian/patches/002-Make-Examples-Buildable-standalone.diff0000644000000000000000000000462511664714736020434 0ustar Author: Adam Cécile (Le_Vert) Description: This patch makes the examples build standalone. --- a/src/examples/dicttest/dicttest.c +++ b/src/examples/dicttest/dicttest.c @@ -31,7 +31,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include +#include #ifdef _WIN32 #define strcasecmp _stricmp --- a/src/examples/dicttest/Makefile +++ b/src/examples/dicttest/Makefile @@ -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 --- a/src/examples/formattertest/formattertest.c +++ b/src/examples/formattertest/formattertest.c @@ -31,7 +31,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include +#include int main(int argc, char *argv[]) { --- a/src/examples/formattertest/Makefile +++ b/src/examples/formattertest/Makefile @@ -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 --- a/src/examples/listsort/listsort.c +++ b/src/examples/listsort/listsort.c @@ -31,7 +31,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include +#include #ifdef _WIN32 #define strcasecmp _stricmp --- a/src/examples/listsort/Makefile +++ b/src/examples/listsort/Makefile @@ -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 --- a/src/examples/Makefile +++ b/src/examples/Makefile @@ -1,3 +1,3 @@ SUBDIRS = randomtest listsort formattertest dicttest patriciatest patriciatest2 -include ../../buildsys.mk +include buildsys.mk --- a/src/examples/randomtest/Makefile +++ b/src/examples/randomtest/Makefile @@ -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 --- a/src/examples/randomtest/randomtest.c +++ b/src/examples/randomtest/randomtest.c @@ -31,7 +31,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#include +#include int main(int argc, char *argv[]) { debian/patches/series0000644000000000000000000000012411664714736012046 0ustar 001-Disable_Makefile_silent_output.diff 002-Make-Examples-Buildable-standalone.diff debian/patches/001-Disable_Makefile_silent_output.diff0000644000000000000000000000065111664714736020124 0ustar Author: Adam Cécile (Le_Vert) Description: Let's show what happens... --- a/buildsys.mk.in +++ b/buildsys.mk.in @@ -89,7 +89,7 @@ OBJS10 = ${OBJS9:.S=.o} OBJS += ${OBJS10:.po=.gmo} -.SILENT: +#.SILENT: .SUFFIXES: .SUFFIXES: .beam .c .cc .cxx .d .dep .erl .gmo .m .mm .o .po .py .pyc .xpm .S .PHONY: all subdirs pre-depend depend install install-extra uninstall uninstall-extra clean distclean debian/rules0000755000000000000000000000272612271523756010267 0ustar #!/usr/bin/make -f export CFLAGS := $(shell dpkg-buildflags --get CFLAGS) export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) export ACLOCAL := aclocal -I m4 export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh $@ --with=autoreconf override_dh_auto_configure: 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 dh_auto_configure -- SHELL=/bin/sh override_dh_auto_install: dh_auto_install mkdir -p debian/libmowgli2/usr/include/$(DEB_HOST_MULTIARCH)/libmowgli mv -f debian/tmp/usr/include/libmowgli/mowgli_config.h debian/libmowgli2/usr/include/$(DEB_HOST_MULTIARCH)/libmowgli/mowgli_config.h override_dh_installexamples: sed -e 's,\(libdir = \$${prefix}/lib\)/.*$$,\1,' \ -e 's,CFLAGS = .*$$,CFLAGS = ,' \ -e 's,CPPFLAGS = .*$$,CPPFLAGS = ,' \ -e 's,LDFLAGS = .*$$,LDFLAGS = ,' < buildsys.mk > buildsys.mk.new mv -f buildsys.mk.new buildsys.mk dh_installexamples -X.dep override_dh_compress: dh_compress -Xusr/share/doc/libmowgli-dev/examples override_dh_strip: dh_strip --dbg-package=libmowgli2-dbg override_dh_auto_clean: [ ! -f buildsys.mk ] || dh_auto_clean .PHONY: override_dh_installexamples override_dh_compress override_dh_strip override_dh_auto_clean override_dh_auto_install override_dh_auto_configure debian/compat0000644000000000000000000000000211735313330010363 0ustar 9