/10.4-transitional/unstable/main/finkinfo/libs/publib.patch
Patch | 314 lines | 313 code | 1 blank | 0 comment | 0 complexity | c438f196677593a0a177c15492db0ccc MD5 | raw file
- diff -ruN publib-0.34/debian/Default.config publib-0.34.new/debian/Default.config
- --- publib-0.34/debian/Default.config 1969-12-31 19:00:00.000000000 -0500
- +++ publib-0.34.new/debian/Default.config 2002-12-26 09:53:18.000000000 -0500
- @@ -0,0 +1,7 @@
- +library=publib
- +libshort=pub
- +modules=../../liw
- +CFLAGS='-Wall -O'
- +verbmake=no
- +prefix=../tmp/usr
- +mandir=../tmp/usr/share/man
- diff -ruN publib-0.34/debian/changelog publib-0.34.new/debian/changelog
- --- publib-0.34/debian/changelog 1969-12-31 19:00:00.000000000 -0500
- +++ publib-0.34.new/debian/changelog 2002-12-26 09:53:18.000000000 -0500
- @@ -0,0 +1,129 @@
- +publib (0.34-1) unstable; urgency=low
- +
- + * New upstream version. Excerpts from upstream changelog:
- + + liw/sbuf/sbuf_srch.c: Added missing #include for <sys/types.h>
- + (<regex.h> needs it). Thanks to Dmitry Astapov <adept@umc.com.ua>.
- + Closes: #144483.
- + + framework/Generic.mk, framework/link-alternative-names,
- + liw/publibdocs/Makefile: Manual pages are installed compressed,
- + and links to alternative names are created
- + Closes: #99605.
- + * debian/control [Standards-Version]: Upgraded to 3.5.5.
- +
- + -- Antti-Juhani Kaijanaho <ajk@debian.org> Mon, 22 Jul 2002 21:50:30 +0300
- +
- +publib (0.32-1) unstable; urgency=low
- +
- + * debian/control: New maintainer.
- + * Converted from native to non-native packaging, as upstream is no
- + longer the Debian maintainer.
- + * debian/control [Standards-Version]: Upgraded to 3.5.4; due to
- + bug#99605 we are not yet compliant to 3.5.5 or later.
- + * debian/control [Build-Depends]: Added.
- +
- + -- Antti-Juhani Kaijanaho <ajk@debian.org> Sun, 23 Sep 2001 14:07:47 +0300
- +
- +publib (0.32) unstable; urgency=low
- +
- + * Moved files from /usr/doc to /usr/share/doc, as per current policy.
- + (Closes: Bug#91623)
- + * Moved files from /usr/man to /usr/share/man.
- + * Converted to use debhelper.
- +
- + -- Lars Wirzenius <liw@iki.fi> Sat, 31 Mar 2001 12:56:42 +0300
- +
- +publib (0.31) unstable; urgency=low
- +
- + * liw/errormsg/errormsg.c: Treat "" same as NULL for the program name.
- + Suggestion sent by Gary Kline <kline@tao.thought.org>.
- + * This recompile should also fix dwww related problems (closes:
- + Bug #45092).
- +
- + -- Lars Wirzenius <liw@iki.fi> Sun, 19 Sep 1999 19:14:04 +0300
- +
- +publib (0.30) unstable; urgency=low
- +
- + * framework/Makefile.in: Add C++ wrappers in the generated header;
- + if the module headers are to be included directly, they need to add
- + the wrappers themselves.
- +
- + -- Lars Wirzenius <liw@iki.fi> Mon, 8 Feb 1999 17:55:41 +0200
- +
- +publib (0.29) unstable; urgency=low
- +
- + * Added tbuf module. Not working yet, however.
- + * Changed name of changelog in /usr/log.
- + * liw/alloc/alloc.h: Removed prototype for strdup. It isn't included
- + in publib, anyway. Fixes bug #31977, although differently than the
- + suggested patch in the bug report. Also #29887 and #22561.
- + * liw/sbuf: Added code to log the size and position of changes, triggered
- + by macro SBUF_LOG. This is needed for optimizing, and is not turned on
- + in the release versions.
- +
- + -- Lars Wirzenius <liw@iki.fi> Mon, 25 Jan 1999 15:35:56 +0200
- +
- +publib (0.28) unstable; urgency=low
- +
- + * No longer compresses /usr/doc/publib-dev/copyright. (Fixes bug #14504.)
- + * Moved upstream changelog to debian/changelog (this file).
- + * Compresses manual pages.
- + * Changes section manual pages on the .TH line to 3pub. This fixes
- + bug #8415.
- + * Updated to conform to Debian Policy Manual 2.4.0.0.
- +
- + -- Lars Wirzenius <liw@iki.fi> Fri, 13 Mar 1998 15:55:54 +0200
- +
- +publib (0.27) unstable; urgency=low
- +
- + * Re-compiled for libc6.
- + * Changes to liw/sbuf, liw/log, and liw/cfg in the upstream version.
- + * Removed Debian version from version number (but didn't combine upstream
- + changelog with Debian changelog).
- +
- + -- Lars Wirzenius <liw@iki.fi> Tue, 11 Nov 1997 04:37:02 +0200
- +
- +publib (0.26-1) unstable; urgency=low
- +
- + * New upstream release that only fixes bugs.
- + * Fixes bug #8228: adds one missing #include, and removes an extra one.
- +
- + -- Lars Wirzenius <liw@iki.fi> Sun, 27 Apr 1997 03:02:43 +0300
- +
- +publib (0.25-1) unstable; urgency=low
- +
- + * New upstream release; mostly just bug fixes.
- +
- + -- Lars Wirzenius <liw@iki.fi> Sat, 28 Dec 1996 00:50:15 +0200
- +
- +publib (0.24-1) unstable; urgency=low
- +
- + * New upstream release with important changes in sbuf and cfgtool.
- +
- + -- Lars Wirzenius <liw@iki.fi> Thu, 5 Dec 1996 11:27:41 +0200
- +
- +publib (0.23-1) unstable; urgency=low
- +
- + * New upstream release (read Changes).
- + * Minor tweaking to debian/rules.
- +
- + -- Lars Wirzenius <liw@iki.fi> Wed, 6 Nov 1996 20:04:02 +0200
- +
- +publib (0.22-1) unstable; urgency=low
- +
- + * New upstream release (read Changes).
- + * Added debian/* to upstream sources.
- +
- + -- Lars Wirzenius <liw@iki.fi> Tue, 5 Nov 1996 23:55:00 +0200
- +
- +publib (0.21-1) unstable; urgency=low
- +
- + * New upstream release (mostly just changes in the sbuf module).
- +
- + -- Lars Wirzenius <liw@iki.fi> Mon, 4 Nov 1996 19:31:04 +0200
- +
- +publib (0.20-1) unstable; urgency=low
- +
- + * First release.
- +
- + -- Lars Wirzenius <liw@iki.fi> Sun, 22 Sep 1996 02:47:04 +0300
- +
- diff -ruN publib-0.34/debian/control publib-0.34.new/debian/control
- --- publib-0.34/debian/control 1969-12-31 19:00:00.000000000 -0500
- +++ publib-0.34.new/debian/control 2002-12-26 09:53:18.000000000 -0500
- @@ -0,0 +1,21 @@
- +Source: publib
- +Maintainer: Antti-Juhani Kaijanaho <ajk@debian.org>
- +Section: devel
- +Priority: optional
- +Standards-Version: 3.5.5
- +Build-Depends: debhelper (>= 3.0.0)
- +
- +Package: publib-dev
- +Architecture: any
- +Description: C function library
- + Publib is a library of C functions for various purposes. It has
- + been written so that it is easy to extend. It's build tools can
- + easily be used for other libraries, but that isn't relevant for
- + the Debian pre-packaged version.
- + .
- + The library contains functions for memory allocation, bit arrays,
- + configuration files, comparing standard C types for qsort and
- + bsearch, error messages, expression parsing and evaluation,
- + filenames, hash tables, integer sets, log files, the Linux Software
- + Map, NNTP, priority queues, normal queues, editor buffers, stacks,
- + and strings.
- diff -ruN publib-0.34/debian/copyright publib-0.34.new/debian/copyright
- --- publib-0.34/debian/copyright 1969-12-31 19:00:00.000000000 -0500
- +++ publib-0.34.new/debian/copyright 2002-12-26 09:53:18.000000000 -0500
- @@ -0,0 +1,34 @@
- +This is a Debian pre-packaged version of Publib. Both the original
- +library and the Debian packaging by Lars Wirzenius (liw@iki.fi). The
- +Debian package is currently maintained by Antti-Juhani Kaijanaho
- +<ajk@debian.org>
- +
- +Publib consists of the library functions and the build framework
- +that configures, compiles, and installs the library. The framework
- +is in the public domain, the library functions have the following
- +copyright:
- +
- +Copyright (c) 1996 Lars Wirzenius. All rights reserved.
- +
- +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.
- +
- +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.
- diff -ruN publib-0.34/debian/docs publib-0.34.new/debian/docs
- --- publib-0.34/debian/docs 1969-12-31 19:00:00.000000000 -0500
- +++ publib-0.34.new/debian/docs 2002-12-26 09:53:18.000000000 -0500
- @@ -0,0 +1,2 @@
- +README
- +framework/Blurb
- diff -ruN publib-0.34/debian/rules publib-0.34.new/debian/rules
- --- publib-0.34/debian/rules 1969-12-31 19:00:00.000000000 -0500
- +++ publib-0.34.new/debian/rules 2002-12-26 09:53:18.000000000 -0500
- @@ -0,0 +1,51 @@
- +#!/usr/bin/make -f
- +
- +build: debian/objs debian/objs/Makefile
- + cd debian/objs && $(MAKE) --no-print-dir -s
- +
- +binary: binary-arch binary-indep
- +
- +binary-arch: build
- + dh_testdir
- + dh_testroot
- + dh_clean -k
- + dh_installdirs
- +
- + install -d debian/tmp/usr/share/doc/publib-dev
- + install -d debian/tmp/usr/include
- + install -d debian/tmp/usr/lib
- + install -d debian/tmp/usr/share/man
- + install -d debian/tmp/usr/share/man/man3
- + cd debian/objs && \
- + $(MAKE) --no-print-dir \
- + mandir=../tmp/usr/share/man man3ext=3pub install
- + set -e; find debian/tmp/usr/share/man -type f | \
- + while read file; do \
- + sed 's/^\.TH [A-Z0-9]* [0-9]/&pub/' $$file > $$file.new; \
- + mv $$file.new $$file; done
- +
- + dh_installdocs
- + dh_installchangelogs
- + dh_link
- + dh_compress
- + dh_fixperms
- + dh_installdeb
- + dh_strip
- + dh_shlibdeps
- + dh_gencontrol -- -isp
- + dh_md5sums
- + dh_builddeb
- +
- +binary-indep:
- +
- +clean:
- + dh_clean
- + rm -rf debian/objs
- +
- +debian/objs:
- + mkdir debian/objs
- +
- +debian/objs/Makefile:
- + cd debian/objs && \
- + cp ../Default.config . && \
- + ../../framework/configure
- diff -ruN publib-0.34/fink/Default.config publib-0.34.new/fink/Default.config
- --- publib-0.34/fink/Default.config 1969-12-31 19:00:00.000000000 -0500
- +++ publib-0.34.new/fink/Default.config 2002-12-26 10:04:53.000000000 -0500
- @@ -0,0 +1,7 @@
- +library=publib
- +libshort=pub
- +modules=../../liw
- +CFLAGS='-Wall -O'
- +verbmake=no
- +prefix=../tmp/usr
- +mandir=../tmp/usr/share/man
- diff -ruN publib-0.34/framework/Generic.mk publib-0.34.new/framework/Generic.mk
- --- publib-0.34/framework/Generic.mk 2002-05-23 09:17:39.000000000 -0400
- +++ publib-0.34.new/framework/Generic.mk 2002-12-26 10:44:29.000000000 -0500
- @@ -48,7 +48,6 @@
- if test -f $$i; then \
- t="$(man3dir)/`basename $$i .3`.$(man3ext)"; \
- $(INSTALL_MAN) $$i "$$t"; \
- - gzip -9f "$$t"; \
- sh $(fwdir)/link-alternative-names $$t $(man3dir) $(man3ext); \
- fi; \
- done
- diff -ruN publib-0.34/framework/link-alternative-names publib-0.34.new/framework/link-alternative-names
- --- publib-0.34/framework/link-alternative-names 2002-05-23 09:17:39.000000000 -0400
- +++ publib-0.34.new/framework/link-alternative-names 2002-12-26 11:29:38.000000000 -0500
- @@ -14,9 +14,9 @@
-
- for name in `find_names "$1"`
- do
- - tgt="$2/$name.$3.gz"
- + tgt="$2/$name.$3"
- if [ ! -f $tgt -a ! -L $tgt ]
- then
- - (cd $2 && ln -sf `basename $1`.gz $name.$3.gz)
- + (cd $2 && ln -sf `basename $1` $name.$3)
- fi
- done
- diff -ruN publib-0.34/liw/publibdoc/Makefile publib-0.34.new/liw/publibdoc/Makefile
- --- publib-0.34/liw/publibdoc/Makefile 2002-05-23 09:17:39.000000000 -0400
- +++ publib-0.34.new/liw/publibdoc/Makefile 2002-12-26 10:33:04.000000000 -0500
- @@ -4,4 +4,4 @@
- install:
- $(INSTALL) -d "$(man3dir)"
- $(INSTALL_MAN) $(srcdir)/publib.3 $(man3dir)/publib.$(man3ext)
- - gzip -9f $(man3dir)/publib.$(man3ext)
- +# gzip -9f $(man3dir)/publib.$(man3ext)