debian/0000755000000000000000000000000012172760366007200 5ustar debian/changelog0000644000000000000000000000152012172756127011050 0ustar libtrio (1.14+dfsg-2) UNRELEASED; urgency=low * use make to regenerate documentation * use multiarch -- Balint Reczey Sun, 21 Jul 2013 14:45:22 +0200 libtrio (1.14+dfsg-1) unstable; urgency=low * regenerate doxygen documentation during package build * drop generated documentation from original sources -- Balint Reczey Fri, 19 Jul 2013 12:18:51 +0200 libtrio (1.14-2) unstable; urgency=low * set CFLAGS properly in debian/rules * use versioned machine readable copyright format in debian/copyright * ship libtrio.so symlink in libtrio-dev -- Balint Reczey Tue, 15 May 2012 23:48:18 +0200 libtrio (1.14-1) unstable; urgency=low * Initial release (Closes: #672792) -- Balint Reczey Thu, 10 May 2012 15:37:19 +0200 debian/compat0000644000000000000000000000000212172756127010376 0ustar 9 debian/control0000644000000000000000000000240312172756127010602 0ustar Source: libtrio Priority: extra Maintainer: Balint Reczey Build-Depends: debhelper (>= 9), dh-autoreconf, doxygen Standards-Version: 3.9.3 Section: libs Homepage: http://daniel.haxx.se/projects/trio/ Vcs-Git: git://git.debian.org/collab-maint/libtrio.git Vcs-Browser: http://git.debian.org/?p=collab-maint/libtrio.git;a=summary Package: libtrio-dev Section: libdevel Architecture: any Depends: libtrio1 (= ${binary:Version}), ${misc:Depends} Description: portable and extendable printf and string functions development files Trio is a fully matured and stable set of printf and string functions designed be used by applications with focus on portability or with the need for additional features that are not supported by standard stdio implementation. . This package provides header files and static libraries. Package: libtrio1 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: portable and extendable printf and string functions Trio is a fully matured and stable set of printf and string functions designed be used by applications with focus on portability or with the need for additional features that are not supported by standard stdio implementation. debian/copyright0000644000000000000000000000566212172756127011144 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Trio Source: http://daniel.haxx.se/projects/trio/ Files: * Copyright: 1998-2001 Bjorn Reese 1998-2001 Daniel Stenberg License: ISC-Original Permission to use, copy, modify, and 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 WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER. Files: install-sh Copyright: 1991 Massachusetts Institute of Technology License: MIT Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of M.I.T. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. M.I.T. makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. Files: debian/* Copyright: 2012 Balint Reczey 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. Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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. debian/docs0000644000000000000000000000000712172756127010050 0ustar README debian/libtrio-dev.dirs0000644000000000000000000000002412172756127012277 0ustar usr/lib usr/include debian/libtrio-dev.doc-base0000644000000000000000000000057312172756127013024 0ustar Document: libtrio Title: Debian Trio Manual Author: Bjorn Reese and Daniel Stenberg Abstract: This manual describes what Trio is and how it can be used in C programs instead of or in addition to standard printf-like or string handling functions. Section: Programming Format: HTML Index: /usr/share/doc/libtrio-dev/html/index.html Files: /usr/share/doc/libtrio-dev/html/*.html debian/libtrio-dev.install0000644000000000000000000000012212172756127013003 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/libtrio.so usr/share/doc/libtrio-dev/htmldebian/libtrio1.dirs0000644000000000000000000000001012172756127011577 0ustar usr/lib debian/libtrio1.install0000644000000000000000000000002412172756127012311 0ustar usr/lib/*/lib*.so.* debian/libtrio1.shlibs0000644000000000000000000000003712172756127012133 0ustar libtrio 1 libtrio1 (>> 1.14-0) debian/patches/0000755000000000000000000000000012172756127010627 5ustar debian/patches/0001-build-shared-lib.patch0000644000000000000000000000324412172756127015340 0ustar From: Balint Reczey Date: Sun, 13 May 2012 11:39:20 +0200 Subject: [PATCH] build shared lib --- Makefile.in | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 4f3b969..0f83126 100755 --- a/Makefile.in +++ b/Makefile.in @@ -3,6 +3,7 @@ CC = @CC@ CFLAGS = @CFLAGS@ -I. -DDEBUG OBJS = triostr.o trio.o trionan.o TARGETLIB = libtrio.a +TARGETSHLIB = $(TARGETLIB:.a=.so.1.0.0) TARGETINCS = trio.h triop.h triodef.h trionan.h triostr.h LDFLAGS = -L. -ltrio -lm AR = ar @@ -24,7 +25,7 @@ exec_prefix = @exec_prefix@ includedir = @includedir@ libdir = @libdir@ -all: $(TARGETLIB) $(TARGET) +all: $(TARGETLIB) $(TARGETSHLIB) $(TARGET) .PHONY: all check test install doc clean @@ -42,10 +43,10 @@ check: test test: regression ./regression -install: $(TARGETLIB) +install: $(TARGETLIB) $(TARGETSHLIB) $(MKDIR) $(libdir) $(MKDIR) $(includedir) - $(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB) + $(INSTALL_DATA) $(TARGETLIB) $(TARGETSHLIB) $(libdir)/ for i in $(TARGETINCS);do \ (set -x;$(INSTALL_DATA) $(srcdir)/$$i $(includedir)); \ done @@ -66,8 +67,11 @@ $(TARGETLIB): $(OBJS) $(AR) ruv $(TARGETLIB) $(OBJS) $(RANLIB) $(TARGETLIB) +$(TARGETSHLIB): $(TARGETLIB) + $(CC) -lm -shared -Wl,-soname,$(patsubst %.so.1.0.0,%.so.1,$@) -Wl,--whole-archive,$< -Wl,--no-whole-archive -o $@ + doc:: (cd $(srcdir) && $(GENDOC) doc/trio.cfg) clean: - $(ERASE) *~ core core.* regression example $(TOBJS) $(OBJS) $(TARGET) $(TARGETLIB) example.o regression.o + $(ERASE) *~ core core.* regression example $(TOBJS) $(OBJS) $(TARGET) $(TARGETLIB) $(TARGETSHLIB) example.o regression.o -- debian/patches/series0000644000000000000000000000003412172756127012041 0ustar 0001-build-shared-lib.patch debian/rules0000755000000000000000000000216712172756127010266 0ustar #!/usr/bin/make -f # -*- makefile -*- # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 CFLAGS := $(shell dpkg-buildflags --get CFLAGS) -fPIC DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) override_dh_auto_clean: dh_auto_clean rm -rf html/* override_dh_auto_build: dh_auto_build $(MAKE) doc override_dh_auto_configure: dh_auto_configure -- --prefix=$(CURDIR)/debian/tmp/usr CFLAGS="$(CFLAGS)" override_dh_auto_install: dh_auto_install ln -s libtrio.so.1.0.0 $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libtrio.so.1 ln -s libtrio.so.1.0.0 $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libtrio.so mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/libtrio-dev/html install -m 644 $(CURDIR)/html/* $(CURDIR)/debian/tmp/usr/share/doc/libtrio-dev/html/ %: dh $@ --with autoreconf --buildsystem autoconf debian/source/0000755000000000000000000000000012172756127010500 5ustar debian/source/format0000644000000000000000000000001412172756127011706 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000034012172756127010226 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 # Uncomment to find new files on sourceforge, for devscripts >= 2.9 opts=dversionmangle=s/\.dfsg// \ http://sf.net/ctrio/trio-(.*)\.tar\.gz