debian/0000755000000000000000000000000012077305667007203 5ustar debian/uthash-dev.install0000644000000000000000000000002612077013731012625 0ustar src/*.h /usr/include/ debian/uthash-dev.dirs0000644000000000000000000000005111323613056012115 0ustar /usr/include/ /usr/share/doc/uthash-dev/ debian/README.Debian0000644000000000000000000000113412077015556011236 0ustar uthash for Debian ----------------- Installation procedure implemented in debian/rules as upstream provides no Makefile or other installation routine. The README of the upstream source has been modified and paths have been adapted to reflect the installation directories. A (brief) manual page has been included. The examples from the upstream tarball are installed in /usr/share/doc/uthash-dev/examples. The build scripts in the examples directory have been modified (replaced /bin/sh with /bin/bash) to resolve the bashism. -- Bastian Blywis Mon, 21 May 2011 20:02:16 +0100 debian/source/0000755000000000000000000000000012077305667010503 5ustar debian/source/format0000644000000000000000000000001411566000624011674 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000303511725346174011134 0ustar This work was packaged for Debian by: Bastian Blywis on Mon, 23 Nov 2009 10:10:51 +0100 It was downloaded from http://uthash.sourceforge.net/ Upstream Author: Troy D. Hanson Copyright: Copyright (C) 2005-2010, Troy D. Hanson All rights reserved. License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 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. The Debian packaging is: Copyright (C) 2009,2012 Bastian Blywis and is licensed under the license stated above. debian/watch0000644000000000000000000000006712045454765010236 0ustar version=3 http://sf.net/uthash/uthash-(.+)\.tar\.bz2 debian/manpage.xml0000644000000000000000000001271212077003657011332 0ustar .
will be generated. You may view the manual page with: nroff -man .
| less'. A typical entry in a Makefile or Makefile.am is: DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" manpage.1: manpage.xml $(XP) $(DB2MAN) $< The xsltproc binary is found in the xsltproc package. The XSL files are in docbook-xsl. A description of the parameters you can use can be found in the docbook-xsl-doc-* packages. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include xsltproc and docbook-xsl in your Build-Depends control field. Alternatively use the xmlto command/package. That will also automatically pull in xsltproc and docbook-xsl. Notes for using docbook2x: docbook2x-man does not automatically create the AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as ... . To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be found in the docbook-xsl-doc-html package. Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` General documentation about man-pages and man-page-formatting: man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ --> ]> &dhtitle; &dhpackage; &dhfirstname; &dhsurname; Wrote this manpage for the Debian system.
&dhemail;
2009 &dhusername; This manual page was written for the Debian system (and 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 (at your option) any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
&dhucpackage; &dhsection; &dhpackage; Hash map and linked list implementation #include <uthash.h> #include <utlist.h> #include <utarray.h> #include <utstring.h> DESCRIPTION The &dhpackage; Debian package build from the uthash source package contains the uthash, utlist, utharray, and utstring headers. They can be included in any C source code and provide a hash map, linked list, etc implementations as C preprocessor macros. The documentation is available in the documentation directory of the package (/usr/share/doc/uthash-dev/) in HTML and PDF format. Additionally, some examples are also included that have been provided as test cases in the upstream release. FILES /usr/include/uthash.h The hash map implementation as C preprocessor macro. /usr/include/utlist.h The linked list implementation as C preprocessor macro. /usr/include/utarray.h The dynamic array implementation as C preprocessor macro. /usr/include/utstring.h The dynamic string implementation as C preprocessor macro.
debian/README.source0000644000000000000000000000027711323601426011351 0ustar uthash for Debian ----------------- debian/control0000644000000000000000000000123412077003657010600 0ustar Source: uthash Section: devel Priority: extra Maintainer: Bastian Blywis Build-Depends: debhelper (>= 7.0.50~), docbook-xsl, docbook-xml, xsltproc, asciidoc, dblatex, libxml2-utils Standards-Version: 3.9.4 Homepage: http://uthash.sourceforge.net Package: uthash-dev Architecture: all Depends: ${misc:Depends} Description: Hash table and linked list for C structures This package provides uthash and utlist, C preprocessor implementations of a hash table and a linked list. It is a dev package without a source or binary package as there are only header files. Since version 1.9 uthash includes also macros for dynamic arrays and strings. debian/changelog0000644000000000000000000000474212077003657011056 0ustar uthash (1.9.7-1) unstable; urgency=low * New upstream release. Closes: #691924 * Fixed watch file URL. * Updated patch build-doc as change has been incorporated into upstream. * Added brief description to build-doc patch. * Updated patch examples because upstream added a line. * Changed debian/rules to short format. * Raised required version of debhelper because of overwrites in debian/rules. * Bumped Standards-Version to 3.9.4 without changes needed. * Moved manual installation from debian/rules to uthash-dev.install*. * Renamed patches/build-doc to patches/build-doc.diff. * Replaced maintainer email address with new address in all files. -- Bastian Blywis Sun, 20 Nov 2012 12:03:06 +0100 uthash (1.9.5-1) unstable; urgency=low * New upstream release. Closes: #661651 * Updated year in copyright file. * Added build-arch and build-indep target to debian/rules to fix lintian warning debian-rules-missing-recommended-target. * Added rebuilding of documentationi in upstream source. The number of build-dependencies increased due to this change. * Building of debian/uthash-dev.3 in build-indep instead of build. -- Bastian Blywis Thu, 01 Mar 2012 16:03:09 +0100 uthash (1.9.4-1) unstable; urgency=low * New upstream release. * Added example files from upstream. * Patched out bashisms in example build script. Closes: #581144 * Updated package description to reflect inclusion of utarray and utstring. * Updated years in copyright file. * Replaced maintainer email address with new address in all files. * Bumped Standards-Version to 3.9.2 without changes needed. * Switched to 3.0 (quilt). * Patched examples scripts (updated paths and fixed a "sh -n" error). * Changed license of the packaging to BSD (2 Clause) to match upstream. -- Bastian Blywis Wed, 08 Jun 2011 09:12:25 +0200 uthash (1.8-3) unstable; urgency=low * Manual was not installed. -- Bastian Blywis Fri, 15 Jan 2010 16:56:12 +0100 uthash (1.8-2) unstable; urgency=low * Deleted unecessary files from documentation. * Added example files. * Wrote man page. -- Bastian Blywis Thu, 14 Jan 2010 15:57:34 +0100 uthash (1.8-1) unstable; urgency=low * Initial release. (Closes: #565271: ITP: uthash -- A hash table and linked list for C structures) -- Bastian Blywis Mon, 14 Jan 2010 11:34:16 +0100 debian/uthash-dev.examples0000644000000000000000000000001011323621227012764 0ustar tests/* debian/rules0000755000000000000000000000073012077305646010260 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 override_dh_installchangelogs: dh_installchangelogs doc/txt/ChangeLog.txt override_dh_auto_build: xsltproc --nonet \ --param make.year.ranges 1 \ --param make.single.year.ranges 1 \ --param man.charmap.use.subset 0 \ -o debian/uthash-dev.3 \ /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \ debian/manpage.xml make -C $(CURDIR)/doc %: dh $@ debian/compat0000644000000000000000000000000211323601426010362 0ustar 7 debian/patches/0000755000000000000000000000000012077305667010632 5ustar debian/patches/updateDoc.diff0000644000000000000000000000140012052723467013362 0ustar Description: Modification of the README file to reflect the new installation directory of the documentation and the examples. Author: Bastian Blywis Last-Update: 2012-11-20 --- a/README +++ b/README @@ -4,7 +4,8 @@ DOCUMENTATION ============= -Documentation for uthash is available in the doc/ directory or at: +Documentation for uthash is available in the /usr/share/doc/uthash-dev +directory or at: http://uthash.sourceforge.net @@ -24,8 +25,10 @@ SELF-TESTS ============ -The automated self-test can be from the tests/ directory by running -make on a unix platform, or by running do_tests_win32.cmd on Windows. +The automated self-test can be run by: + + cd /usr/share/doc/uthash-dev/examples + make LICENSE debian/patches/examples.diff0000644000000000000000000000236412052723467013302 0ustar Description: Updates the Makefile in the examples directory to use the system include directory where the headers are stored. Replaces default shell by bash to resolve bashism warnings. Author: Bastian Blywis Last-Update: 2012-11-20 Index: trunk/tests/all_funcs =================================================================== --- trunk.orig/tests/all_funcs 2012-10-09 08:06:45.000000000 +0200 +++ trunk/tests/all_funcs 2012-11-04 12:57:07.558471784 +0100 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash function proceed { read -p "proceed ? [n] " response Index: trunk/tests/mexpand =================================================================== --- trunk.orig/tests/mexpand 2012-10-09 08:06:45.000000000 +0200 +++ trunk/tests/mexpand 2012-11-04 12:57:07.558471784 +0100 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # utility to macro-expand a test program CC=gcc Index: trunk/tests/Makefile =================================================================== --- trunk.orig/tests/Makefile 2012-10-09 08:06:45.000000000 +0200 +++ trunk/tests/Makefile 2012-11-04 12:59:45.978426142 +0100 @@ -1,5 +1,5 @@ #CC=clang -HASHDIR = ../src +HASHDIR = /usr/include/ FUNCS = BER SAX FNV OAT JEN SFH SPECIAL_FUNCS = MUR UTILS = emit_keys debian/patches/series0000644000000000000000000000005412052723467012041 0ustar build-doc.diff examples.diff updateDoc.diff debian/patches/build-doc.diff0000644000000000000000000000050612052723467013322 0ustar Description: Sets HOME variable so that the build process of the documentation succeeds. Author: Bastian Blywis Last-Update: 2012-11-20 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,3 +1,5 @@ +export HOME=. + all: css userguide changelog pdf utlist utstring utarray userguide: txt/userguide.txt debian/uthash-dev.manpages0000644000000000000000000000002411324110353012740 0ustar debian/uthash-dev.3 debian/uthash-dev.doc-base0000644000000000000000000000060611324075750012643 0ustar Document: uthash Title: Debian uthash Manual Author: Bastian Blywis Abstract: This manual describes what uthash is and how it can be used in C source code. Section: Programming Format: pdf Files: /usr/share/doc/uthash-dev/pdf/userguide.pdf.gz Format: HTML Index: /usr/share/doc/uthash-dev/html/index.html Files: /usr/share/doc/uthash-dev/html/*.html /usr/share/doc/uthash-dev/html/img/* debian/uthash-dev.docs0000644000000000000000000000003012052720426012101 0ustar README doc/html doc/pdf