debian/0000755000000000000000000000000011761422433007171 5ustar debian/patches/0000755000000000000000000000000011761422433010620 5ustar debian/patches/configure.diff0000644000000000000000000000111311621404035013420 0ustar Patch fixes typo in configure script and prevents removing $(srcdir) from VPATH in Makefile. Also, fixes build on hurd-i386, kfreebsd-i386 and kfreebsd-amd64 architectures. --- memchan-2.3.orig/configure +++ memchan-2.3/configure @@ -8793,7 +8793,7 @@ fi ;; - Linux*) + Linux*|GNU*) SHLIB_CFLAGS="-fPIC" SHLIB_SUFFIX=".so" @@ -11704,7 +11704,6 @@ # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ debian/patches/series0000644000000000000000000000001710621465476012043 0ustar configure.diff debian/tcl-memchan.dirs0000644000000000000000000000010011761422242012231 0ustar usr/lib/tcltk usr/share/doc/tcl-memchan/html usr/share/man/man3 debian/tcl-memchan-dev.install0000644000000000000000000000007711761422105013525 0ustar debian/tmp/usr/include/* debian/tmp/usr/lib/tcltk/Memchan*/*.a debian/rules0000755000000000000000000000324711761422364010262 0ustar #!/usr/bin/make -f DDIR = $(CURDIR)/debian/tmp MDIR = $(CURDIR)/debian/tcl-memchan MDDIR = $(CURDIR)/debian/tcl-memchan-dev DOCDIR = $(MDIR)/usr/share/doc/tcl-memchan/html DDOCDIR = $(MDDIR)/usr/share/doc/tcl-memchan-dev/html DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif %: dh $@ override_dh_auto_configure: dh_testdir CFLAGS="$(CFLAGS)" \ dh_auto_configure -- \ --with-tcl=/usr/lib \ --with-tclinclude=/usr/include/tcl \ --enable-threads override_dh_auto_build: $(MAKE) $(MAKE) doc $(MAKE) doc-html override_dh_auto_install: # Install the package into debian/tmp. $(MAKE) install-binaries DESTDIR=$(DDIR) $(MAKE) install-libraries DESTDIR=$(DDIR) install -m 755 -d $(DDIR)/usr/lib/tcltk mv $(DDIR)/usr/lib/Memchan* $(DDIR)/usr/lib/tcltk # Cleanup manpages for f in *.n ; do \ sed -e'/^\.so man.macros/ d' \ -e'/^\.B[SE]$$/ d' \ -e's/^\.TH \([^ ]\+\) n/.TH \1 3tcl/' \ -i $$f || exit 1; \ done # Cleanup docs for f in *.html ; do \ sed -i -e's/(n)/(3tcl)/g' $$f; \ done # Copy HTML docs mv memchanapi.html $(DDOCDIR) mv *.html $(DOCDIR) mv memchanapi.n memchanapi.3tcl # Generate documentation indices tclsh debian/gen_index.tcl $(DOCDIR) >$(DOCDIR)/index.html tclsh debian/gen_index.tcl $(DDOCDIR) >$(DDOCDIR)/index.html get-orig-source: wget -O memchan_2.3.orig.tar.gz \ http://prdownloads.sourceforge.net/memchan/Memchan2.3.tar.gz .PHONY: override_dh_auto_configure override_dh_auto_build override_dh_auto_install get-orig-source debian/control0000644000000000000000000000256311761421650010602 0ustar Source: memchan Section: interpreters Priority: optional Maintainer: Sergei Golovan Build-Depends: debhelper (>= 8.0.0), dpkg-dev (>= 1.16.1~), tcl-dev, tcllib Standards-Version: 3.9.3 Homepage: http://memchan.sourceforge.net/ Package: tcl-memchan Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${tclsh:Depends} Replaces: libmemchan-tcl Conflicts: libmemchan-tcl Provides: libmemchan-tcl Description: Tcl extension for in-memory channels - runtime library Allows the creation of I/O channels, which store data in memory, not on disk. It implements the channel types fifo, null, random and zero; and provides a C API for creating custom memory channels. . This package contains the runtime library to be used in Tcl programs. Package: tcl-memchan-dev Section: libdevel Architecture: any Depends: tcl-memchan (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Replaces: libmemchan-tcl-dev Conflicts: libmemchan-tcl-dev Provides: libmemchan-tcl-dev Description: Tcl extension for in-memory channels - development files Allows the creation of I/O channels, which store data in memory, not on disk. It implements the channel types fifo, null, random and zero; and provides a C API for creating custom memory channels. . This package contains files to be used for development of C-based extensions which use the Memchan library. debian/tcl-memchan.manpages0000644000000000000000000000000411761422303013064 0ustar *.n debian/gen_index.tcl0000644000000000000000000000226111621404035011627 0ustar #!/usr/bin/tclsh set docdir [lindex $argv 0] set manuals {} foreach docfile [glob -nocomplain -directory $docdir *.html] { puts stderr $docfile if {[catch {set fd [open $docfile]} msg]} { puts stderr "Can't open file $docfile: $msg" continue } while {[gets $fd line] >= 0} { if {[regexp {]*>\s*(.*)\(3tcl\)\s+(\S+)\s+.*} $line -> \ name version]} { } if {[regexp {

\s*([^-]*)\s*-\s*(.*)} $line -> - title]} { lappend manuals [list $name $name $version $title [file tail $docfile]] break } } close $fd } puts " Tcl Memory Channels HTML Documentation

Tcl Memory Channels HTML Documentation

" debian/tcl-memchan-dev.dirs0000644000000000000000000000010411761422146013014 0ustar usr/lib/tcltk usr/share/doc/tcl-memchan-dev/html usr/share/man/man3 debian/tcl-memchan.install0000644000000000000000000000011711761422106012745 0ustar debian/tmp/usr/lib/tcltk/Memchan*/*.so debian/tmp/usr/lib/tcltk/Memchan*/*.tcl debian/tcl-memchan.doc-base0000644000000000000000000000060411761422267012765 0ustar Document: tcl-memchan Title: Memchan Documentation Author: Authors of the Memchan modules Abstract: This is a documentation for Memchan. Memchan is a Tcl extension for in-memory channels. This manual contains documentation on individual Memchan commands. Section: Programming Format: HTML Index: /usr/share/doc/tcl-memchan/html/index.html Files: /usr/share/doc/tcl-memchan/html/*.html debian/tcl-memchan-dev.manpages0000644000000000000000000000000711761422105013643 0ustar *.3tcl debian/changelog0000644000000000000000000000471211761417422011051 0ustar memchan (2.3-2) unstable; urgency=low * Renamed libmemchan-tcl into tcl-memchan and libmemchan-tcl-dev into tcl-memchan-dev to comply the Debian Tcl/Tk policy. * Bumped debhelper compatibility version to 8. * Switched to 3.0 (quilt) source package format. * Added hardened build flags using dpkg-buildflags. * Bumped standards version to 3.9.3. * Use sf redirector in debian/watch uscan control file. -- Sergei Golovan Wed, 30 May 2012 09:38:40 +0400 memchan (2.3-1) unstable; urgency=low * New upstream release. * Added build dependency on tcllib to build documentation from sources. * Bumped standards version to 3.9.2. -- Sergei Golovan Sat, 13 Aug 2011 09:04:24 +0400 memchan (2.2.1-6) unstable; urgency=low * Fixed clean target to work with debhelper 7.0 (made dh_clean the last command, so debhelper logs are removed now). * Changed doc-base section to Programming and removed extra leading whitespaces. * Clarified copyright messages. * Removed undefined macros BS and BE from manpages. * Protected quilt calls in debian/rules to make the source package convertible to 3.0 (quilt) format (closes: #482709). * Bumped standards version to 3.8.0. -- Sergei Golovan Thu, 19 Jun 2008 10:13:15 +0400 memchan (2.2.1-5) unstable; urgency=low * Bumped standards-version to 3.7.3. -- Sergei Golovan Fri, 04 Jan 2008 17:12:57 +0300 memchan (2.2.1-4) unstable; urgency=low * Adapted the package to Debian Tcl/Tk policy. This includes moving the Tcl modules into a subdirectory of /usr/lib/tcltk and switching to default tcl package in dependencies. * Added Homepage field in debian/control. -- Sergei Golovan Sun, 18 Nov 2007 10:36:48 +0300 memchan (2.2.1-3) unstable; urgency=low * Fixed build on hurd-i386, kfreebsd-i386 and kfreebsd-amd64 architectures. * Rewritten clean target in debian/rules to ignore only missing Makefile error. * Made clean-patched target in debian/rules depend on patch-stamp. -- Sergei Golovan Tue, 11 Sep 2007 16:32:34 +0400 memchan (2.2.1-2) unstable; urgency=low * New maintainer's email address sgolovan@debian.org. -- Sergei Golovan Sat, 04 Aug 2007 18:06:06 +0400 memchan (2.2.1-1) unstable; urgency=low * Initial release (closes: #425756). -- Sergei Golovan Sun, 20 May 2007 23:59:31 +0400 debian/tcl-memchan-dev.doc-base0000644000000000000000000000063111761422205013531 0ustar Document: tcl-memchan-dev Title: Memchan C API Documentation Author: Authors of the Memchan modules Abstract: This is a documentation for Memchan C API. Memchan is a Tcl extension for in-memory channels. This manual contains documentation on Memchan C function calls. Section: Programming Format: HTML Index: /usr/share/doc/tcl-memchan-dev/html/index.html Files: /usr/share/doc/tcl-memchan-dev/html/*.html debian/source/0000755000000000000000000000000011761422433010471 5ustar debian/source/format0000644000000000000000000000001411761331170011674 0ustar 3.0 (quilt) debian/tcl-memchan.docs0000644000000000000000000000000711761422106012225 0ustar README debian/clean0000644000000000000000000000001311761420417010170 0ustar *.n *.3tcl debian/compat0000644000000000000000000000000211761331232010363 0ustar 8 debian/tcl-memchan-dev.docs0000644000000000000000000000000711761422105013000 0ustar README debian/watch0000644000000000000000000000021111761417562010223 0ustar # Watch control file for uscan # Compulsory line, this is a version 3 file version=3 http://sf.net/memchan/[Mm]emchan-?([\d.]*).tar.gz debian/copyright0000644000000000000000000000407211026404720011120 0ustar This package was debianized by Sergei Golovan on Sun, 13 May 2007 18:38:36 +0400 It was downloaded from http://memchan.sourceforge.net/ Upstream Authors: Andreas Kupries (andreas_kupries@users.sourceforge.net), Pat Thoyts (patthoyts@users.sourceforge.net) Copyright: The author hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply. IN NO EVENT SHALL THE AUTHOR OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHOR HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE AUTHOR AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHOR AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. Full list of copyright holders of individual files: Copyright 1990-1994 The Regents of the University of California Copyright 1992-1996,2003 Free Software Foundation, Inc. Copyright 1994-1996 Sun Microsystems, Inc. Copyright 1996-2003 Andreas Kupries Copyright 1998-2000 Ajuba Solutions Copyright 1998-2000 Scriptics Corporation Copyright 1998 Paul Duffin Copyright 2000 by William H. Duquette Copyright 2001-2002 David Gravereaux Copyright 2001 Joe English Copyright 2001-2003 ActiveState Corporation Copyright 2002 ActiveState SRL Copyright 2003-2004 Pat Thoyts