--- libice-1.0.0.orig/mkinstalldirs +++ libice-1.0.0/mkinstalldirs @@ -109,3 +109,114 @@ # sh-indentation: 2 # End: # mkinstalldirs ends here +#! /bin/sh +# mkinstalldirs --- make directory hierarchy +# Author: Noah Friedman +# Created: 1993-05-16 +# Public domain + +errstatus=0 +dirmode="" + +usage="\ +Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." + +# process command line arguments +while test $# -gt 0 ; do + case $1 in + -h | --help | --h*) # -h for help + echo "$usage" 1>&2 + exit 0 + ;; + -m) # -m PERM arg + shift + test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } + dirmode=$1 + shift + ;; + --) # stop option processing + shift + break + ;; + -*) # unknown option + echo "$usage" 1>&2 + exit 1 + ;; + *) # first non-opt arg + break + ;; + esac +done + +for file +do + if test -d "$file"; then + shift + else + break + fi +done + +case $# in + 0) exit 0 ;; +esac + +case $dirmode in + '') + if mkdir -p -- . 2>/dev/null; then + echo "mkdir -p -- $*" + exec mkdir -p -- "$@" + fi + ;; + *) + if mkdir -m "$dirmode" -p -- . 2>/dev/null; then + echo "mkdir -m $dirmode -p -- $*" + exec mkdir -m "$dirmode" -p -- "$@" + fi + ;; +esac + +for file +do + set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` + shift + + pathcomp= + for d + do + pathcomp="$pathcomp$d" + case $pathcomp in + -*) pathcomp=./$pathcomp ;; + esac + + if test ! -d "$pathcomp"; then + echo "mkdir $pathcomp" + + mkdir "$pathcomp" || lasterr=$? + + if test ! -d "$pathcomp"; then + errstatus=$lasterr + else + if test ! -z "$dirmode"; then + echo "chmod $dirmode $pathcomp" + lasterr="" + chmod "$dirmode" "$pathcomp" || lasterr=$? + + if test ! -z "$lasterr"; then + errstatus=$lasterr + fi + fi + fi + fi + + pathcomp="$pathcomp/" + done +done + +exit $errstatus + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# End: +# mkinstalldirs ends here --- libice-1.0.0.orig/debian/compat +++ libice-1.0.0/debian/compat @@ -0,0 +1 @@ +4 --- libice-1.0.0.orig/debian/copyright +++ libice-1.0.0/debian/copyright @@ -0,0 +1,23 @@ +Copyright 1993, 1998 The Open Group + +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. + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of The Open Group shall not be +used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization from The Open Group. + +Author: Ralph Mor, X Consortium --- libice-1.0.0.orig/debian/libice-dev.install +++ libice-1.0.0/debian/libice-dev.install @@ -0,0 +1,5 @@ +usr/include/X11/* +usr/share/man/man3/* +usr/lib/libICE.a +usr/lib/libICE.so +usr/lib/pkgconfig/ice.pc --- libice-1.0.0.orig/debian/libice6.install +++ libice-1.0.0/debian/libice6.install @@ -0,0 +1 @@ +usr/lib/libICE.so.6* --- libice-1.0.0.orig/debian/rules +++ libice-1.0.0/debian/rules @@ -0,0 +1,90 @@ +#!/usr/bin/make -f +# debian/rules for the Debian libice package. +# Copyright © 2004 Scott James Remnant +# Copyright © 2005 Daniel Stone + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# set this to the name of the main shlib's binary package +PACKAGE = libice6 + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build=$(DEB_HOST_GNU_TYPE) +else + confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) +endif + + +build: build-stamp +build-stamp: + dh_testdir + + mkdir obj-$(DEB_BUILD_GNU_TYPE) + cd obj-$(DEB_BUILD_GNU_TYPE) && \ + ../configure --prefix=/usr --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info $(confflags) \ + CFLAGS="$(CFLAGS)" + cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + rm -f config.cache config.log config.status + rm -f */config.cache */config.log */config.status + rm -f conftest* */conftest* + rm -rf autom4te.cache */autom4te.cache + rm -rf obj-* + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + + dh_installdocs + dh_install --sourcedir=debian/tmp + dh_installchangelogs + dh_link + dh_strip --dbg-package=$(PACKAGE) + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_makeshlibs + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-independent files here. +binary-indep: build install +# Nothing to do + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libice-1.0.0.orig/debian/control +++ libice-1.0.0/debian/control @@ -0,0 +1,55 @@ +Source: libice +Section: x11 +Priority: optional +Maintainer: Daniel Stone +Build-Depends: debhelper (>= 4.0.0), pkg-config, x11proto-core-dev, xtrans-dev (>= 0.2+cvs.20050530-1) +Standards-Version: 3.6.1.0 + +Package: libice6 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, x-common +Description: X11 Inter-Client Exchange library + This package provides the main interface to the X11 Inter-Client Exchange + library, which allows for communciation of data between X clients. + . + More information about X.Org can be found at: + + + . + This module can be found as the module 'lib/ICE' at + :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg + +Package: libice6-dbg +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, x-common, libice6 (= ${Source-Version}) +Description: X11 Inter-Client Exchange library (debug package) + This package provides the main interface to the X11 Inter-Client Exchange + library, which allows for communciation of data between X clients. + . + This package contains the debug versions of the library found in libice6. + Non-developers likely have little use for this package. + . + More information about X.Org can be found at: + + + . + This module can be found as the module 'lib/ICE' at + :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg + +Package: libice-dev +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, x-common, libice6 (= ${Source-Version}), x11proto-core-dev +Pre-Depends: x-common (>= 1.0) +Description: X11 Inter-Client Exchange library (development headers) + This package provides the main interface to the X11 Inter-Client Exchange + library, which allows for communciation of data between X clients. + . + This package contains the development headers for the library found in libice6. + Non-developers likely have little use for this package. + . + More information about X.Org can be found at: + + + . + This module can be found as the module 'lib/ICE' at + :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg --- libice-1.0.0.orig/debian/changelog +++ libice-1.0.0/debian/changelog @@ -0,0 +1,51 @@ +libice (2:1.0.0-0ubuntu1) dapper; urgency=low + + * New upstream release. + + -- Daniel Stone Tue, 20 Dec 2005 17:46:36 +1100 + +libice (2:0.99.2-0ubuntu1) dapper; urgency=low + + * New upstream release. + + -- Daniel Stone Mon, 12 Dec 2005 14:36:28 +1100 + +libice (2:0.99.1-0ubuntu1) dapper; urgency=low + + * New upstream release. + + -- Daniel Stone Wed, 16 Nov 2005 09:45:04 +1100 + +libice (2:0.99.0+cvs.20051025-1) dapper; urgency=low + + * Remove patch #016, which was merged upstream. + * Remove now-unused dpatch infrastructure. + + -- Daniel Stone Tue, 25 Oct 2005 14:18:01 +1000 + +libice (2:0.99.0-1) dapper; urgency=low + + * New upstream version, new versioning scheme (sigh). + + -- Daniel Stone Thu, 20 Oct 2005 14:27:00 +1000 + +libice (1:6.3.5-3) breezy; urgency=low + + * Add 016_ICE_subprotocol_reply_fix.diff, from the monolithic tree. + * Remove pointless #include in ICEutil.h. + * Make Build-Depend xtrans versioned to a fixed one, to keep buildds a + little bit happier. + + -- Daniel Stone Wed, 1 Jun 2005 12:34:51 +1000 + +libice (1:6.3.5-2) breezy; urgency=low + + * Fix Build-Depends-Indep vs B-D hilary/stupidity. + + -- Daniel Stone Wed, 1 Jun 2005 00:33:36 +1000 + +libice (1:6.3.5-1) breezy; urgency=low + + * First libice release. + + -- Daniel Stone Mon, 16 May 2005 22:10:17 +1000