debian/0000755000000000000000000000000012142131677007172 5ustar debian/libserd-doc.doc-base0000644000000000000000000000040312142131363012745 0ustar Document: libserd-doc Title: Serd Manual Author: David Robillard Abstract: This is a programming manual for the Serd library. Section: Programming Format: HTML Index: /usr/share/doc/libserd-dev/index.html Files: /usr/share/doc/libserd-dev/* debian/compat0000644000000000000000000000000212142131363010360 0ustar 9 debian/patches/0000755000000000000000000000000012142131363010611 5ustar debian/patches/1001-dont_run_ldconfig.patch0000644000000000000000000000072012142131363015705 0ustar Description: Don't run ldconfig after calling the install target and save a bit of time. Author: Alessio Treglia Forwarded: not-needed --- wscript | 1 - 1 file changed, 1 deletion(-) --- serd.orig/wscript +++ serd/wscript @@ -211,7 +211,6 @@ def build(bld): # Man page bld.install_files('${MANDIR}/man1', 'doc/serdi.1') - bld.add_post_fun(autowaf.run_ldconfig) if bld.env.DOCS: bld.add_post_fun(fix_docs) debian/patches/series0000644000000000000000000000006712142131363012031 0ustar 0001-kfreebsd_ftbfs.patch 1001-dont_run_ldconfig.patch debian/patches/0001-kfreebsd_ftbfs.patch0000644000000000000000000000105312142131363015160 0ustar Description: posix_fadvice is not available on kFreeBSD. Author: Alessio Treglia Forwarded: David Robillard --- src/serd_internal.h | 2 ++ 1 file changed, 2 insertions(+) --- serd.orig/src/serd_internal.h +++ serd/src/serd_internal.h @@ -57,7 +57,9 @@ serd_fopen(const char* path, const char* return NULL; } #if defined(HAVE_POSIX_FADVISE) && defined(HAVE_FILENO) +#ifndef __FreeBSD_kernel__ posix_fadvise(fileno(fd), 0, 0, POSIX_FADV_SEQUENTIAL); +#endif /*__FreeBSD_kernel__*/ #endif return fd; } debian/rules0000755000000000000000000000317012142131363010243 0ustar #!/usr/bin/make -f upstream_version ?= $(shell dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.]+)(\+dfsg\d+)?.*$$/\1/p') dfsg_version = $(upstream_version)~dfsg0 pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p') DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) LDFLAGS+=-Wl,--as-needed WAF = ./waf ifeq ($(shell dpkg-query -s doxygen graphviz 1>/dev/null 2>&1 && echo yes),yes) CONFIGURE_EXTRA_FLAGS += --docs endif %: dh $@ override_dh_auto_configure: $(WAF) configure \ --prefix=/usr \ --mandir=/usr/share/man \ --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \ --strict \ --debug \ $(CONFIGURE_EXTRA_FLAGS) override_dh_auto_build: $(WAF) override_dh_auto_clean: $(WAF) clean || true find -name "*.pyc" -delete rm -rf build .waf* dh_auto_clean override_dh_auto_install: $(WAF) install --destdir=$(CURDIR)/debian/tmp override_dh_strip: dh_strip -plibserd-0-0 --dbg-package=serd-dbg dh_strip --remaining-packages override_dh_installchangelogs: dh_installchangelogs NEWS # get-orig-source to drop waf get-orig-source: uscan --noconf --force-download --rename --download-current-version --destdir=. tar -xf $(pkg)_$(upstream_version).orig.tar.bz2 mv $(pkg)-$(upstream_version) $(pkg)-$(dfsg_version) cd $(pkg)-$(dfsg_version) ; python waf --help > /dev/null mv $(pkg)-$(dfsg_version)/.waf-*/* $(pkg)-$(dfsg_version) sed -i '/^#==>$$/,$$d' $(pkg)-$(dfsg_version)/waf rmdir $(pkg)-$(dfsg_version)/.waf-* find $(pkg)-$(dfsg_version)/ -name '*.pyc' -delete tar cf $(pkg)_$(dfsg_version).orig.tar $(pkg)-$(dfsg_version) xz -9fz $(pkg)_$(dfsg_version).orig.tar rm -rf $(pkg)-$(dfsg_version) debian/libserd-dev.install0000644000000000000000000000005712142131363012754 0ustar usr/include usr/lib/*/*.so usr/lib/*/pkgconfig debian/control0000644000000000000000000000664412142131475010603 0ustar Source: serd Section: libs Priority: optional Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia Build-Depends: debhelper (>= 9), pkg-config, python Build-Depends-Indep: doxygen, graphviz Standards-Version: 3.9.4 Homepage: http://drobilla.net/software/serd/ Vcs-Git: git://anonscm.debian.org/pkg-multimedia/serd.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/serd.git Package: libserd-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libserd-0-0 (= ${binary:Version}), ${misc:Depends} Recommends: pkg-config Suggests: libserd-doc Description: lightweight RDF syntax library - development files Serd is a lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples. . This package provides the development files for Serd. Package: libserd-0-0 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Suggests: serdi Description: lightweight RDF syntax library Serd is a lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples. . Serd is not intended to be a swiss-army knife of RDF syntax, but rather is suited to resource limited applications, or situations where a simple reader/writer with minimal dependencies is ideal (e.g. in LV2 hosts or plugins). . Serd is: * small: Serd is implemented in under 2500 lines1 of standard C code. * portable and dependency-free: Serd uses only the C standard library, and has no external dependencies, making it a lightweight dependency in every sense. * fast and lightweight: Serd (and the included serdi tool) can be used to stream abbreviated Turtle (unlike many other tools which can not stream since they must first build an internal model to abbreviate). In other words, Serd can re-serialise an unbounded amount of Turtle using a fixed amount of memory, preserving the abbreviations in the input. * conformant and well-tested: Serd is written to the Turtle, NTriples and URI specifications, and includes a comprehensive test suite which includes all the normative examples from the Turtle specification, all the "normal" examples from the URI specification, and additional tests added specifically for Serd. The test suite has over 96% code coverage (by line), and runs with zero memory errors or leaks. Package: serdi Architecture: any Section: text Depends: ${misc:Depends}, ${shlibs:Depends} Description: lightweight RDF syntax library - serdi tool Serd is a lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples. . This package provides the utility 'serdi'. Package: libserd-doc Section: doc Architecture: all Enhances: libserd-dev Depends: ${misc:Depends} Description: lightweight RDF syntax library - documentation Serd is a lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples. . This package provides the developer's reference for serd. Package: serd-dbg Architecture: any Multi-Arch: same Priority: extra Section: debug Depends: libserd-0-0 (= ${binary:Version}), ${misc:Depends} Description: lightweight RDF syntax library - debugging symbols Serd is a lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples. . This package contains the debugging symbols for serd. debian/libserd-doc.install0000644000000000000000000000011212142131363012733 0ustar usr/share/doc/serd-*/html/* usr/share/doc/libserd-dev/ usr/share/man/man3 debian/libserd-0-0.install0000644000000000000000000000002112142131363012461 0ustar usr/lib/*/*.so.* debian/changelog0000644000000000000000000000744712142131530011044 0ustar serd (0.18.2~dfsg0-2) unstable; urgency=low * Upload to unstable. * Fix Vcs URLs. * Bump Standards. -- Alessio Treglia Tue, 07 May 2013 09:54:54 +0200 serd (0.18.2~dfsg0-1) experimental; urgency=low * New upstream release. * Refresh patches. * Fix debian/libserd-doc.install. -- Alessio Treglia Sat, 29 Dec 2012 15:53:15 +0000 serd (0.18.0~dfsg0-1) experimental; urgency=low * New upstream release. * Refresh patches. * Update symbols. * Implement a mechanism to automatically repack the tarball. * Install NEWS as upstream changelog. -- Alessio Treglia Sun, 02 Sep 2012 17:18:54 +0200 serd (0.14.0~dfsg0-2) unstable; urgency=low * Add patch to prevent FTBFS on kfreebsd. * Update debian/copyright. -- Alessio Treglia Thu, 19 Apr 2012 13:31:01 +0200 serd (0.14.0~dfsg0-1) unstable; urgency=low * New upstream release. * Refresh patches. * Refresh symbols file. * Bump debhelper requirement to 9. * Put in serd-dbg only symbols from libserd-0-0. * Set 'xz' as upstream tarball compression format. * Update debian/copyright's format. * debian/watch: Mangle dfsg suffix. * Bump Standards. -- Alessio Treglia Thu, 19 Apr 2012 11:48:16 +0200 serd (0.5.0+dfsg0-2) unstable; urgency=low * Build with MultiArch. -- Alessio Treglia Tue, 24 Jan 2012 09:36:42 +0100 serd (0.5.0+dfsg0-1) unstable; urgency=low * Repack upstream tarball to get rid of waf blob (Closes: #654501). * Adjust the clean target to properly clean the sources tree. -- Alessio Treglia Tue, 10 Jan 2012 01:23:34 +0100 serd (0.5.0-1) unstable; urgency=low * New upstream release: - Fix pretty printing of successive blank descriptions, i.e. "] , [" - Avoid writing illegal Turtle names as a result of URI qualifying - Gracefully handle NULL reader sinks - Add serd_strerror - Add serd_env_set_prefix_from_strings for convenience - Fix erroneously equal SERD_ERR_BAD_SYNTAX and SERD_ERR_BAD_ARG - Add ability to build static library * Update symbols file. -- Alessio Treglia Sun, 02 Oct 2011 10:35:47 +0200 serd (0.4.2-2) unstable; urgency=low * Sources are now taken from download.drobilla.net. * Add doxygen,graphviz to Build-Depends-Indep. * Add documentation package. * Add libserd-doc to libserd-dev's Suggests field. * Enable strict flag. -- Alessio Treglia Fri, 27 May 2011 15:57:32 +0200 serd (0.4.2-1) unstable; urgency=low * New upstream bugfix release: - Fix compilation issues on some systems. - Fix build system Python 3 compatibility. -- Alessio Treglia Thu, 26 May 2011 09:57:25 +0200 serd (0.4.0-1) unstable; urgency=low * First upstream stable release. * Delete 0001-write_text_escape_buf_overflow.patch, applied upstream. * Refresh patches. * Update symbols file. * debian/copyright: Update format spec. * Add watch file. * Drop unneeded get-svn-source.sh. -- Alessio Treglia Thu, 26 May 2011 00:07:31 +0200 serd (0~svn155-1) unstable; urgency=low * New upstream release: - Re-licensed under ISC license terms, update debian/copyright. * Move from libserd0 to libserd-0-0. * Add patch to fix snprintf overflow (Closes: #624775). * Refresh 1001-dont_run_ldconfig.patch. * debian/rules: Explicitly pass --mandir to configure. * debian/get-svn-source.sh - Abort on errors. - Append upstream versioning to the directory's name. * Bump Standards. -- Alessio Treglia Tue, 03 May 2011 13:57:33 +0200 serd (0~svn128-1) unstable; urgency=low * Initial release. (Closes: #619429) -- Alessio Treglia Wed, 23 Mar 2011 20:45:10 +0100 debian/serdi.install0000644000000000000000000000003312142131363011654 0ustar usr/bin usr/share/man/man1 debian/gbp.conf0000644000000000000000000000005712142131363010603 0ustar [DEFAULT] pristine-tar = True compression = xz debian/copyright0000644000000000000000000000505612142131363011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Serd Upstream-Contact: David Robillard Source: http://download.drobilla.net/ Copyright: 2011-2012 David Robillard License: ISC Files: * Copyright: 2011-2012 David Robillard License: ISC Files: waf Copyright: 2005-2011 Thomas Nagy License: BSD-3-clause Files: debian/* Copyright: 2011-2012 Alessio Treglia License: ISC License: ISC 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 appear in all copies. . THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. License: BSD-3-clause 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. debian/source/0000755000000000000000000000000012142131363010462 5ustar debian/source/format0000644000000000000000000000001412142131363011670 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000016512142131363010215 0ustar version=3 opts="uversionmangle=s/-/./,dversionmangle=s/~dfsg.*//" \ http://download.drobilla.net/serd-(.*)\.tar\.bz2 debian/clean0000644000000000000000000000004212142131363010163 0ustar autowaf/autowaf.pyc .lock-wscript debian/libserd-0-0.symbols0000644000000000000000000000416512142131363012520 0ustar libserd-0.so.0 libserd-0-0 #MINVER# serd_base64_decode@Base 0.14.0~dfsg0 serd_chunk_sink@Base 0.14.0~dfsg0 serd_chunk_sink_finish@Base 0.14.0~dfsg0 serd_env_expand@Base 0~svn155 serd_env_expand_node@Base 0.4.0 serd_env_foreach@Base 0~svn155 serd_env_free@Base 0~svn155 serd_env_get_base_uri@Base 0.4.0 serd_env_new@Base 0~svn155 serd_env_qualify@Base 0~svn155 serd_env_set_base_uri@Base 0.4.0 serd_env_set_prefix@Base 0.4.0 serd_env_set_prefix_from_strings@Base 0.5.0 serd_file_sink@Base 0.14.0~dfsg0 serd_file_uri_parse@Base 0.14.0~dfsg0 serd_node_copy@Base 0~svn155 serd_node_equals@Base 0~svn155 serd_node_free@Base 0~svn155 serd_node_from_string@Base 0~svn155 serd_node_new_blob@Base 0.14.0~dfsg0 serd_node_new_decimal@Base 0.14.0~dfsg0 serd_node_new_file_uri@Base 0.14.0~dfsg0 serd_node_new_integer@Base 0.14.0~dfsg0 serd_node_new_uri@Base 0~svn155 serd_node_new_uri_from_node@Base 0~svn155 serd_node_new_uri_from_string@Base 0~svn155 serd_reader_add_blank_prefix@Base 0.4.0 serd_reader_free@Base 0~svn155 serd_reader_get_handle@Base 0.4.0 serd_reader_new@Base 0~svn155 serd_reader_read_file@Base 0~svn155 serd_reader_read_file_handle@Base 0.4.0 serd_reader_read_string@Base 0~svn155 serd_reader_set_default_graph@Base 0.14.0~dfsg0 serd_strerror@Base 0.5.0 serd_strlen@Base 0.4.0 serd_strtod@Base 0.14.0~dfsg0 serd_uri_parse@Base 0~svn155 serd_uri_resolve@Base 0~svn155 serd_uri_serialise@Base 0~svn155 serd_uri_serialise_relative@Base 0.14.0~dfsg0 serd_uri_string_has_scheme@Base 0~svn155 serd_uri_to_path@Base 0.4.0 serd_writer_chop_blank_prefix@Base 0.4.0 serd_writer_end_anon@Base 0~svn155 serd_writer_finish@Base 0~svn155 serd_writer_free@Base 0~svn155 serd_writer_get_env@Base 0.14.0~dfsg0 serd_writer_new@Base 0~svn155 serd_writer_set_base_uri@Base 0~svn155 serd_writer_set_prefix@Base 0~svn155 serd_writer_set_root_uri@Base 0.14.0~dfsg0 serd_writer_write_statement@Base 0~svn155 serd_reader_end_stream@Base 0.18.0~dfsg0 serd_reader_read_chunk@Base 0.18.0~dfsg0 serd_reader_set_error_sink@Base 0.18.0~dfsg0 serd_reader_start_stream@Base 0.18.0~dfsg0 serd_writer_set_error_sink@Base 0.18.0~dfsg0