Subversion Repositories liboop-bad

Compare Revisions

Ignore whitespace Rev 38 → Rev 39

/tags/1.0-7/debian/control
0,0 → 1,69
Source: liboop
Section: libs
Priority: optional
Maintainer: Magnus Holmgren <holmgren@debian.org>
Build-Depends: libtool, autoconf, automake1.9,
debhelper (>= 7), libadns1-dev,
libglib2.0-dev, libreadline-dev,
tcl8.4-dev | tcl8.3-dev, binutils-gold
Build-Depends-Indep: sharutils
Standards-Version: 3.9.1
Homepage: http://liboop.ofb.net/
 
Package: liboop4
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Provides: liboop
Replaces: liboop3
Description: Event loop management library
Liboop is a low-level event loop management library for POSIX-based
operating systems. It supports the development of modular, multiplexed
applications which may respond to events from several sources. It
replaces the "select() loop" and allows the registration of event
handlers for file and network I/O, timers and signals. Since processes
use these mechanisms for almost all external communication, liboop can
be used as a basis for almost any application.
 
Package: liboop-dev
Section: libdevel
Architecture: any
Depends: liboop4 (= ${binary:Version}), ${misc:Depends}
Description: Event loop management library - development files
Liboop is a low-level event loop management library for POSIX-based
operating systems. It supports the development of modular, multiplexed
applications which may respond to events from several sources. It
replaces the "select() loop" and allows the registration of event
handlers for file and network I/O, timers and signals. Since processes
use these mechanisms for almost all external communication, liboop can
be used as a basis for almost any application.
.
This package contains the liboop development libraries and header
files, required to develop and/or compile applications that use liboop.
 
Package: liboop-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}
Description: Event loop management library - documentation
Liboop is a low-level event loop management library for POSIX-based
operating systems. It supports the development of modular, multiplexed
applications which may respond to events from several sources. It
replaces the "select() loop" and allows the registration of event
handlers for file and network I/O, timers and signals. Since processes
use these mechanisms for almost all external communication, liboop can
be used as a basis for almost any application.
.
This package contains a mirror of the http://liboop.org website and its
associated HTML documentation for the liboop library.
 
Package: liboop-dbg
Section: debug
Priority: extra
Architecture: any
Depends: liboop4 (= ${binary:Version}), ${misc:Depends}
Description: Event loop management library - debug symbols
Liboop is a low-level event loop management library for POSIX-based
operating systems.
.
This package contains debugging symbols.
/tags/1.0-7/debian/changelog
0,0 → 1,132
liboop (1.0-7) unstable; urgency=low
 
* Add debug package
* Switch to source format 3.0 (quilt).
* Put the documentation from the former web site in an additional
upstream tarball. This means the logo no longer has to be stored as-is
instead of as a self-extracting archive, making the associated
Makefile unnecessary as well. The html can be installed by
dh_installdocs instead.
* read_bugfixes.patch: Fixes from Ian Jackson to bugs in a feature for
reading lines and records that he once contributed (Closes: #579604).
* Upgrade to debhelper compatibility level 7, use dh_install instead
of dh_movefiles as well as dh_prep instead of dh_clean.
* configure_support_freebsd_hurd.patch: Separate patch for bug #359930.
* explicit_linking.patch: In Makefile.am, explicitly link test-oop with
all the libraries that the adapter libraries use, so that the package
can be built with binutils-gold, where --no-add-needed is the default
(Closes: #555285). Also add -lglib-2.0 to the Libs: line in
liboop-glib2.pc (indirectly, via liboop-glib2.pc.in).
 
-- Magnus Holmgren <holmgren@debian.org> Fri, 30 Jul 2010 17:57:35 +0200
 
liboop (1.0-6) unstable; urgency=low
 
* Build with libreadline6 instead of libreadline5 (drop the
libreadline5-dev Build-Depends alternative).
* Add ${misc:Depends} to all Depends in case Debhelper needs it.
* Remove libc6-dev from Depends of liboop-dev; it's build-essential.
* Bump Standards-Version to 3.8.3.
 
-- Magnus Holmgren <holmgren@debian.org> Sun, 27 Sep 2009 21:29:45 +0200
 
liboop (1.0-5) unstable; urgency=low
 
* Build with GLib 2.0 instead of 1.2 (Closes: #523688).
* Switch to Debhelper level 5.
* Bump Standards-Version to 3.8.1.
* Skip unnecessary dh_installdirs; delete unused files from the debian
directory.
 
-- Magnus Holmgren <holmgren@debian.org> Mon, 13 Apr 2009 20:36:57 +0200
 
liboop (1.0-4) unstable; urgency=low
 
* New maintainer (Closes: #487130).
* Fix documentation file name extensions (Closes: #307732).
* Build liboop-doc in binary-indep target (Closes: #475573).
* Add debian/compat; remove DH_COMPAT from debian/rules.
* Don't ignore "make distclean" errors.
* Move sharutils to Build-Depends-Indep.
* debian/copyright: Update postal address of the FSF.
* Patch configure.ac as suggested in bug 359930, run autoreconf for good
measure and remove autogenerated files in clean target. I don't like
huge Debian diffs. Copying files from autotools-dev thus becomes
redundant.
* Update doc-base section to match current structure.
* debian/control: Replace ${Source-Version} with ${binary:Version}.
* Standards-Version upgraded to 3.8.0 with the above change.
* Add Homepage field and watch file, and update download location in
debian/copyright to one that works.
 
-- Magnus Holmgren <holmgren@debian.org> Wed, 25 Jun 2008 13:03:42 +0200
 
liboop (1.0-3.3) unstable; urgency=high
 
* Non-maintainer upload.
* Drop unused libwww-dev build-dependency. Closes: #458866.
* This fixes an FTBFS in testing, set urgency to high.
 
-- Regis Boudin <regis@debian.org> Thu, 10 Apr 2008 21:47:16 +0100
 
liboop (1.0-3.2) unstable; urgency=low
 
* Non-maintainer upload.
* Relibtoolize. Closes: #359930.
 
-- Aurelien Jarno <aurel32@debian.org> Wed, 23 Jan 2008 22:22:53 +0100
 
liboop (1.0-3.1) unstable; urgency=medium
 
* Non-maintainer upload.
* Build against libreadline5. Closes: #350647.
 
-- Matej Vela <vela@debian.org> Thu, 16 Mar 2006 16:50:24 +0100
 
liboop (1.0-3) unstable; urgency=low
 
* Include pkg-config files. (Closes: Bug#227061)
* New liboop-doc package that includes documentation from liboop.org.
(Closes: Bug#224392)
 
-- Simon Law <sfllaw@debian.org> Sun, 11 Jul 2004 16:53:38 -0400
 
liboop (1.0-2) unstable; urgency=low
 
* New maintainer.
* Update 'missing' binary from Automake 1.6.
* Use Policy 3.6.1.
* Use Debconf 4.
 
-- Simon Law <sfllaw@debian.org> Wed, 02 Jun 2004 17:39:12 -0400
 
liboop (1.0-1) unstable; urgency=low
 
* New upstream release (closes: #224210)
 
-- Timshel Knoll <timshel@debian.org> Fri, 19 Dec 2003 00:55:53 +1100
 
liboop (0.9-1) unstable; urgency=low
 
* New upstream release (closes: #191305)
+ liboop SONAME has been bumped to 4, so name of source and binary
packages is now liboop4, to allow co-existence with liboop3
* Moved liboop-dev to libdevel section
* Fixed configure{.in,} to build libwww support, Build-Depend on libwww-dev
* Policy 3.5.9
 
-- Timshel Knoll <timshel@debian.org> Wed, 30 Apr 2003 22:50:34 +1000
 
liboop (0.8-2) unstable; urgency=low
 
* debian/rules: update config.{sub,guess} in `clean' target
(closes: #142310)
 
-- Timshel Knoll <timshel@debian.org> Sat, 20 Apr 2002 02:25:49 +1000
 
liboop (0.8-1) unstable; urgency=low
 
* Initial Release. (closes: #135810)
 
-- Timshel Knoll <timshel@debian.org> Tue, 26 Feb 2002 13:29:09 +1100
 
/tags/1.0-7/debian/patches/series
0,0 → 1,3
read_bugfixes.patch
configure_support_freebsd_hurd.patch
explicit_linking.patch
/tags/1.0-7/debian/patches/explicit_linking.patch
0,0 → 1,20
--- a/Makefile.am
+++ b/Makefile.am
@@ -51,7 +51,7 @@ noinst_PROGRAMS = test-oop
test_oop_SOURCES = test-oop.c
test_oop_CFLAGS = $(GLIB2_CFLAGS) $(GLIB_INCLUDES) $(TCL_INCLUDES) $(WWW_INCLUDES)
-test_oop_LDADD = $(lib_LTLIBRARIES)
+test_oop_LDADD = $(lib_LTLIBRARIES) $(GLIB2_LIBS) $(ADNS_LIBS) $(TCL_LIBS) $(READLINE_LIBS)
release: dist
gzip -dc $(PACKAGE)-$(VERSION).tar.gz | bzip2 -9 \
--- a/liboop-glib2.pc.in
+++ b/liboop-glib2.pc.in
@@ -7,5 +7,5 @@ Name: liboop-glib2
Description: Event loop management library (GLIB2 support)
Version: @VERSION@
Requires: liboop = @VERSION@ glib-2.0
-Libs: -L${libdir} -loop-glib2
+Libs: -L${libdir} -loop-glib2 @GLIB2_LIBS@
Cflags: -D_REENTRANT -I${includedir}
/tags/1.0-7/debian/patches/configure_support_freebsd_hurd.patch
0,0 → 1,17
From: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
Origin: <vendor|upstream|other>, <url of original patch>
Bug-Debian: http://bugs.debian.org/359930
Forwarded: no
Subject: Make configure.ac recognize BSD and Hurd.
 
--- liboop-1.0.orig/configure.ac
+++ liboop-1.0/configure.ac
@@ -15,7 +15,7 @@ AC_ARG_WITH(libwww, AC_HELP_STRING(--wit
dnl System type checks.
case "$host" in
- *-linux-*)
+ *-linux-*|*-k*bsd*|*-gnu*)
AC_PATH_PROG(PROG_LDCONFIG, ldconfig, :, $PATH:/usr/sbin:/sbin)
no_wacky_libs=yes
;;
/tags/1.0-7/debian/patches/read_bugfixes.patch
0,0 → 1,40
From: Ian Jackson <ijackson@chiark.greenend.org.uk>
Applied-Upstream: no
Bug-Debian: http://bugs.debian.org/579604
Subject: oop-read.h bugfixes
 
Some years ago I contributed a feature for reading lines and records
to liboop: oop-read.h and read.c. Since it took a while for that
feature to make it into distributed versions, for a long time I've
been using my own copy of the source file. It seems that I fixed a
couple of bugs in my copy which are still in the Debian package. I
can't find any record of me having told anyone about them and now I
find that 1.0-6 still has the bugs.
 
There are two fixes:
* Initialise "rd->discard" properly
* Avoid rd->neednotcheck becoming negative
 
--- a/read.c
+++ b/read.c
@@ -114,6 +114,7 @@ oop_read *oop_rd_new(oop_source *oop, oo
rd->allocbuf= 0;
rd->used= 0;
rd->alloc= buf ? bufsz : 0;
+ rd->discard= 0;
rd->neednotcheck= 0;
rd->displacedchar= -1;
rd->style= *OOP_RD_STYLE_IMMED;
@@ -235,7 +236,11 @@ static void *on_process(oop_source *oop,
if (rd->discard) {
rd->used -= rd->discard;
- rd->neednotcheck -= rd->discard;
+ if (rd->neednotcheck > rd->discard) {
+ rd->neednotcheck -= rd->discard;
+ } else {
+ rd->neednotcheck= 0;
+ }
memmove(buf, buf + rd->discard, rd->used);
rd->discard= 0;
}
/tags/1.0-7/debian/compat
0,0 → 1,0
7
/tags/1.0-7/debian/liboop-dev.install
0,0 → 1,4
usr/include/*
usr/lib/lib*.a
usr/lib/lib*.so
usr/lib/pkgconfig/*
/tags/1.0-7/debian/rules
0,0 → 1,163
#!/usr/bin/make -f
# debian/rules file for libraries
#
# To build the packages, run `dpkg-buildpackage' or `debuild' from the
# parent directory of this file. (You may need to specify the `-rfakeroot'
# option if you are using dpkg-buildpackage and are not running as root)
#
# $Id: rules,v 1.8 2003/04/30 07:45:50 timshel Exp $
#
# Copyright (C) 1999, 2000, 2001, 2002 Timshel Knoll <timshel@debian.org>
# Licensed under the terms of the GNU General Public License
#
# Based originally on Sample debian/rules that uses debhelper, from dh-make,
# GNU copyright 1997 to 1999 by Joey Hess.
 
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
 
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 
CFLAGS += -g
ifeq (, $(findstring noopt, $(DEB_BUILD_OPTIONS)))
CFLAGS += -O2
else
CFLAGS += -O0
endif
 
 
# The name of the library - this is the base name of the packages that
# will be built
LIBRARY = liboop
 
# This is the soname of the package being built - we have to know this
# before the start of the build because changing the control file half
# way though the build probably isn't a good idea, and this would also
# mean renaming the $(LIBRARY)$(SONAME).{files,docs,...} files
SONAME = 4
 
# A list of variables to substitute when generating files from .in files
# If you put an 'x' here, then all @x@'s in .in files will be substituted
# with the value of $(x) in the output file
SUBSTS = SONAME
 
GENFILES = debian/control \
debian/$(LIBRARY)$(SONAME).install \
debian/$(LIBRARY)$(SONAME).dirs
 
# We can't use these until after the package has been built ... otherwise
# they will fail because no .libs/lib*.so.* exists
version = $(shell ls .libs/lib*.so.* | \
awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) \
print substr($$0,RSTART)}')
major = $(shell ls .libs/lib*.so.* | \
awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}')
 
# This builds a substitution list for sed based on the SUBSTS variable
# and the variables whose names SUBSTS contains ...
SUBSTLIST = $(foreach subst, $(SUBSTS),s/@$(subst)@/$($(subst))/g;)
 
# A sane default rule
default:
@echo "Try: debian/rules [configure|build|clean|install|binary|binary-arch|binary-indep]"
@echo "Vars:"
@echo " SUBSTLIST: $(SUBSTLIST)"
@echo " SONAME: $(SONAME)"
 
# Pattern rules:
 
# How to generate files from .in's
debian/%: debian/%.in debian/rules
sed -e '$(SUBSTLIST)' < $< > $@
 
# This puts the $(LIBRARY)* packaging files in their right places
# Could I / should I use ln?
debian/$(LIBRARY)$(SONAME).%: debian/$(LIBRARY).%
cp $< $@
 
# Do the substitution/moving stuff
packaging-files: $(GENFILES)
 
configure: packaging-files configure-stamp
configure-stamp:
dh_testdir
 
autoreconf -sfi
 
env CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr
 
touch $@
 
build: configure-stamp build-stamp
build-stamp:
dh_testdir
 
$(MAKE)
 
touch $@
 
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
 
[ ! -f Makefile ] || $(MAKE) distclean
 
rm -rf Makefile.in aclocal.m4 ltmain.sh configure mkinstalldirs config.sub config.guess autom4te.cache missing depcomp install-sh
dh_clean
 
install: build
dh_testdir
dh_testroot
dh_prep
 
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 
binary-indep:
dh_testdir
dh_testroot
dh_install -i
 
dh_installdocs -i
dh_installman -i
dh_installinfo -i
dh_installchangelogs -i
dh_link -i
dh_compress -i -Xliboop-doc/html
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
 
binary-arch: install
dh_testdir
dh_testroot
dh_install -a
 
dh_installdocs -a
dh_installman -a
dh_installinfo -a
dh_installchangelogs -a
dh_link -a
dh_strip -a --dbg-package=liboop-dbg
dh_compress -a -Xliboop-doc/html
dh_fixperms -a
dh_makeshlibs -a
dh_installdeb -a
# Don't add the depends for adapter libraries - programs which link
# with them will also link with the appropriate library
dh_shlibdeps -a -Xliboop-
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
 
binary: binary-indep binary-arch
 
.PHONY: packaging-files configure build install
.PHONY: binary-indep binary-arch binary clean
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: 1.0-7/debian/liboop4.install
===================================================================
--- 1.0-7/debian/liboop4.install (nonexistent)
+++ 1.0-7/debian/liboop4.install (revision 39)
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
Index: 1.0-7/debian/liboop-doc.docs
===================================================================
--- 1.0-7/debian/liboop-doc.docs (nonexistent)
+++ 1.0-7/debian/liboop-doc.docs (revision 39)
@@ -0,0 +1 @@
+html
Index: 1.0-7/debian/source/format
===================================================================
--- 1.0-7/debian/source/format (nonexistent)
+++ 1.0-7/debian/source/format (revision 39)
@@ -0,0 +1 @@
+3.0 (quilt)
Index: 1.0-7/debian/watch
===================================================================
--- 1.0-7/debian/watch (nonexistent)
+++ 1.0-7/debian/watch (revision 39)
@@ -0,0 +1,3 @@
+version=3
+
+http://download.ofb.net/liboop/liboop-(.*)\.tar\.gz
Index: 1.0-7/debian/copyright
===================================================================
--- 1.0-7/debian/copyright (nonexistent)
+++ 1.0-7/debian/copyright (revision 39)
@@ -0,0 +1,31 @@
+This package was debianized by Timshel Knoll <timshel@debian.org> on
+Tue, 26 Feb 2002 13:29:09 +1100.
+
+It was downloaded from http://download.ofb.net/liboop/
+
+Upstream Author: Dan Egnor <egnor@ofb.net>
+With contributions by Ian Jackson <ian@chiark.greenend.org.uk>
+
+Copyright:
+
+ Copyright (C) 1999, 2000, 2001 Dan Egnor, Ian Jackson
+
+ This library 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.1 of the License, or (at your option) any later version.
+
+ This library 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 library; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU Lesser
+General Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+ -- Timshel Knoll <timshel@debian.org> Tue, 26 Feb 2002 13:47:55 +1100
Index: 1.0-7/debian/liboop-doc.doc-base
===================================================================
--- 1.0-7/debian/liboop-doc.doc-base (nonexistent)
+++ 1.0-7/debian/liboop-doc.doc-base (revision 39)
@@ -0,0 +1,11 @@
+Document: liboop-doc
+Title: Liboop Website and Manuals
+Author: Dan Egnor
+Abstract: This website describes the liboop library, and includes manuals.
+ There is an introduction and overview of the library, as well as a
+ hypertext reference manual.
+Section: Programming/C
+
+Format: HTML
+Index: /usr/share/doc/liboop-doc/html/index.html
+Files: /usr/share/doc/liboop-doc/html/*
Index: 1.0-7/debian/README.Debian
===================================================================
--- 1.0-7/debian/README.Debian (nonexistent)
+++ 1.0-7/debian/README.Debian (revision 39)
@@ -0,0 +1,28 @@
+liboop for Debian
+-----------------
+
+I've chosen at this stage not to package the adapter libraries separately,
+since the package only weighs in at just over 500k when unpacked. If anyone
+would rather that these were all in separate packages, please let me know
+and I'll think again about doing this ... At the moment, the package _DOES
+NOT DEPEND_ on any of the libraries required to use the adapter libraries,
+so if your package uses one of the adapter libraries, you _must_ depend on
+the appropriate library (ie. if you link with liboop-tcl, you must also
+depend on tcl8.3 ...). The same goes for Build-Depends.
+
+My reasoning for packaging liboop in this way is to avoid having to install
+excessive numbers of large-ish packages (tcl for instance) just to install
+your program that depends on liboop.
+
+I haven't compiled in the libwww adapter support - this is primarily because
+the current libwww0 package in Debian doesn't include libwwwxml, because when
+this library is compiled there is a name clash (libwww also includes
+libxmltok and libxmlparse, which are in the libxmltok1 package). It's
+difficult to compile liboop support for libwww libraries excluding libwwwxml,
+as the configure script simply links liboop-www with all of the libwww
+libraries, including libwwwxml. I'm working on a solution to this with the
+libwww maintainer. In the meantime, liboop Build-Conflicts: libwww-dev. If
+you need this support urgently, feel free to contact me and I'll hurry up
+my work on this (no real urgency at the moment, however ...)
+
+ -- Timshel Knoll <timshel@debian.org> Tue, 5 Mar 2002 15:41:41 +1100
Index: 1.0-7/debian
===================================================================
--- 1.0-7/debian (nonexistent)
+++ 1.0-7/debian (revision 39)
/1.0-7/debian
Property changes:
Added: mergeWithUpstream
## -0,0 +1 ##
+1
\ No newline at end of property