--- ucl-1.03.orig/examples/portab.h +++ ucl-1.03/examples/portab.h @@ -28,7 +28,7 @@ #include -#if 1 +#if 0 #include "examples/portab_a.h" --- ucl-1.03.orig/examples/uclpack.c +++ ucl-1.03/examples/uclpack.c @@ -60,7 +60,7 @@ #define WANT_UCL_UCLOCK 1 #endif #define WANT_UCL_WILDARGV 1 -#include "examples/portab.h" +#include "portab.h" static const char *progname = NULL; --- ucl-1.03.orig/examples/simple.c +++ ucl-1.03/examples/simple.c @@ -32,7 +32,7 @@ /* portability layer */ #define WANT_UCL_MALLOC 1 -#include "examples/portab.h" +#include "portab.h" /************************************************************************* --- ucl-1.03.orig/debian/watch +++ ucl-1.03/debian/watch @@ -0,0 +1,4 @@ +# control file for the uscan(1) tool +version=2 +http://www.oberhumer.com/opensource/ucl/ \ + (?:.*/)ucl-([\d\.]+)\.tar\.gz --- ucl-1.03.orig/debian/rules +++ ucl-1.03/debian/rules @@ -0,0 +1,112 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# This file is public domain software, originally written by Joey Hess. +# +# This version is for a multibinary package. It also allows you to build any +# of the binary packages independantly, via binary- targets. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +DESTDIR = $(CURDIR)/debian/tmp + +export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + conf_add = --build $(DEB_HOST_GNU_TYPE) +else + conf_add = --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + conf_add += --enable-debug +endif + +CFLAGS = -g -D_REENTRANT +LDFLAGS = -Wl,-z,noexecstack -Wl,-z,defs -Wl,--as-needed + +build: build-stamp +build-stamp: + dh_testdir + + @echo "==> Configuring UCL" + CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + ./configure --prefix=/usr --enable-shared --disable-maintainer-mode $(conf_add) + + @echo "==> Building UCL" + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + @echo "==> Cleaning for UCL" + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + @echo "==> Installing package files" + $(MAKE) DESTDIR=$(DESTDIR) install + + dh_install + +# This single target is used to build all the packages, all at once, or +# one at a time. So keep in mind: any options passed to commands here will +# affect _all_ packages. Anything you want to only affect one package +# should be put in another target, such as the install target. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs NEWS + dh_installdocs + dh_installexamples +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installman +# dh_installcron +# dh_installinfo +# dh_undocumented + dh_strip +# dh_link + dh_compress + dh_fixperms + dh_makeshlibs -Nlibucl-dev -V + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: build install +# (Uncomment this next line if you have such packages.) +# $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build install + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +# Any other binary targets build just one binary package at a time. +binary-%: build install + make -f debian/rules binary-common DH_OPTIONS=-p$* + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- ucl-1.03.orig/debian/copyright +++ ucl-1.03/debian/copyright @@ -0,0 +1,25 @@ +This is the pre-packaged Debian Linux version of the UCL compression +library. It was packaged by Leon Breedt +from sources originally retrieved from: + +http://www.oberhumer.com/opensource/ucl/ + +Copyright notice: + + UCL is licensed under the terms of the GNU General Public License + version 2, a copy of which is available from /usr/share/common-licenses/GPL + on Debian systems. + + COPYRIGHT + --------- + + The UCL library is Copyright (C) 1996, 1997, 1998, 1999, 2000 by + Markus Franz Xaver Johannes Oberhumer + + The UCL library is distributed under the terms of the GNU General Public + License (GPL). See the file COPYING. + + Special licenses for commercial and other applications which + are not willing to accept the GNU General Public License + are available by contacting the author. + --- ucl-1.03.orig/debian/libucl-dev.examples +++ ucl-1.03/debian/libucl-dev.examples @@ -0,0 +1,2 @@ +examples/*.[ch] +debian/examples/Makefile --- ucl-1.03.orig/debian/libucl-dev.install +++ ucl-1.03/debian/libucl-dev.install @@ -0,0 +1,2 @@ +debian/tmp/usr/include +debian/tmp/usr/lib/*.{a,la,so} --- ucl-1.03.orig/debian/examples/Makefile +++ ucl-1.03/debian/examples/Makefile @@ -0,0 +1,17 @@ +CC=gcc +CFLAGS=-O2 +LDFLAGS=-lucl + +all: simple uclpack + +%.c: %.c.gz + gzip -d $< + +simple: simple.o + +uclpack: uclpack.o + +clean: + rm -f simple uclpack *.o + +.PHONY: all clean --- ucl-1.03.orig/debian/libucl1.docs +++ ucl-1.03/debian/libucl1.docs @@ -0,0 +1,3 @@ +README +THANKS +TODO --- ucl-1.03.orig/debian/changelog +++ ucl-1.03/debian/changelog @@ -0,0 +1,97 @@ +ucl (1.03-3) unstable; urgency=low + + * debian/rules: + + Don't ignore make distclean errors (lintian). + + Include `-Wl,-z,noexecstack' in LDFLAGS (fixes lintian's + `shlib-with-executable-stack' warning). + + Add `-Wl,-z,defs -Wl,--as-needed' to LDFLAGS. + + Add support for cross-linking. + + Compile with -D_REENTRANT (policy). + * Build with debhelper v6. + * Use ${binary:Version} instead of ${Source-Version} (lintian). + * Move Homepage to its own control field. + * Standards-Version: 3.7.3. + + -- Robert Luberda Tue, 29 Jan 2008 22:00:17 +0100 + +ucl (1.03-2) unstable; urgency=low + + * Upload to unstable. + * Fix typo in debian/watch. + + -- Robert Luberda Tue, 28 Sep 2004 21:31:12 +0200 + +ucl (1.03-1) experimental; urgency=low + + * New upstream version. + * Update download URL in the copyright file. + * New debian/watch file for uscan(1). + * Add link to the homepage to binary packages' descriptions. + * Add lintian source override file for `cvsignore-file-in-source'. + + -- Robert Luberda Mon, 26 Jul 2004 20:17:53 +0200 + +ucl (1.02-1) experimental; urgency=low + + * New upstream version: + + rename libucl0 to libucl1 beacuse of soname change. + * Change section of libcul-dev package to libdevel to match the override + file. + * Update config.guess and config.sub files. + * Standards-Version: 3.6.1 (no changes). + + -- Robert Luberda Sat, 27 Mar 2004 10:41:12 +0100 + +ucl (1.01-3) unstable; urgency=low + + * Upgrade to Standards-Version: 3.5.7. + * Build with debhelper v4. + * libucl-dev: Depends on `libc6-dev | libc-dev', not on `libc6-dev'. + + -- Robert Luberda Sat, 16 Nov 2002 10:43:01 +0100 + +ucl (1.01-2) unstable; urgency=low + + * Rename libucl to libucl0 (closes: #140415). + * Add some examples to libucl-dev. + * Close NMU fixed bug, closes: #96604. + + -- Robert Luberda Tue, 2 Apr 2002 08:12:50 +0200 + +ucl (1.01-1) unstable; urgency=low + + * New maintainer (closes: #128399). + * New upstream version (closes: #128015). + * Standars-Version: 3.5.6. + * Added support for DEB_BUILD_OPTIONS=debug,nostrip. + * Updated debian/rules to the newest debhelper. + * Use dh_makeshlibs to generate shlibs file and modify maintainer scripts + (and make lintian happy). + + -- Robert Luberda Thu, 28 Mar 2002 09:13:17 +0100 + +ucl (0.92-1.1) unstable; urgency=low + + * Run libtoolize to get support for new architectures. Closes: #96604 + + -- LaMont Jones Mon, 9 Jul 2001 21:39:34 -0600 + +ucl (0.92-1) unstable; urgency=low + + * New upstream version. Closes: #79801, #79802, #79803. + + -- Leon Breedt Wed, 18 Apr 2001 23:07:20 +0200 + +ucl (0.91-1.1) unstable; urgency=low + + * Non-maintainer upload + * Fix copyright file. Fixes #79801 + * Add a Build-Depends on debhelper to keep lintian happy. + + -- Paul Martin Sat, 17 Mar 2001 01:50:46 +0000 + +ucl (0.91-1) unstable; urgency=low + + * Initial release + + -- Leon Breedt Tue, 4 Jul 2000 20:26:38 +0200 --- ucl-1.03.orig/debian/control +++ ucl-1.03/debian/control @@ -0,0 +1,31 @@ +Source: ucl +Section: libs +Priority: optional +Maintainer: Robert Luberda +Build-Depends: debhelper (>= 6) +Standards-Version: 3.7.3 + +Package: libucl1 +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libucl (<= 1.01-1) +Replaces: libucl (<= 1.01-1) +Provides: libucl +Description: Portable compression library - runtime + UCL is a portable lossless data compression library written in ANSI C, + implementing a number of compression algorithms that achieve an + excellent compression ratio while allowing *very* fast decompression. + Decompression requires no additional memory. +Homepage: http://www.oberhumer.com/opensource/ucl/ + +Package: libucl-dev +Section: libdevel +Architecture: any +Depends: libucl1 (= ${binary:Version}), libc6-dev | libc-dev +Description: Portable compression library - development + UCL is a portable lossless data compression library written in ANSI C, + implementing a number of compression algorithms that achieve an + excellent compression ratio while allowing *very* fast decompression. + . + This package contains the development support files. +Homepage: http://www.oberhumer.com/opensource/ucl/ --- ucl-1.03.orig/debian/compat +++ ucl-1.03/debian/compat @@ -0,0 +1 @@ +6 --- ucl-1.03.orig/debian/libucl1.install +++ ucl-1.03/debian/libucl1.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libucl.so.*