--- libsm-1.0.0.orig/debian/compat +++ libsm-1.0.0/debian/compat @@ -0,0 +1 @@ +4 --- libsm-1.0.0.orig/debian/copyright +++ libsm-1.0.0/debian/copyright @@ -0,0 +1,21 @@ +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. --- libsm-1.0.0.orig/debian/rules +++ libsm-1.0.0/debian/rules @@ -0,0 +1,90 @@ +#!/usr/bin/make -f +# debian/rules for the Debian libxau 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 = libxau6 + +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 --- libsm-1.0.0.orig/debian/libsm6.install +++ libsm-1.0.0/debian/libsm6.install @@ -0,0 +1 @@ +usr/lib/libSM.so.6* --- libsm-1.0.0.orig/debian/libsm-dev.install +++ libsm-1.0.0/debian/libsm-dev.install @@ -0,0 +1,5 @@ +usr/include/X11/* +usr/share/man/man3/* +usr/lib/libSM.a +usr/lib/libSM.so +usr/lib/pkgconfig/sm.pc --- libsm-1.0.0.orig/debian/changelog +++ libsm-1.0.0/debian/changelog @@ -0,0 +1,41 @@ +libsm (2:1.0.0-0ubuntu1) dapper; urgency=low + + * New upstream release. + + -- Daniel Stone Tue, 20 Dec 2005 17:47:18 +1100 + +libsm (2:0.99.3-0ubuntu1) dapper; urgency=low + + * New upstream release. + + -- Daniel Stone Mon, 12 Dec 2005 14:42:13 +1100 + +libsm (2:0.99.2-0ubuntu1) dapper; urgency=low + + * New upstream release. + + -- Daniel Stone Wed, 16 Nov 2005 09:45:48 +1100 + +libsm (2:0.99.1-1) dapper; urgency=low + + * New upstream release, new versioning scheme. + + -- Daniel Stone Thu, 20 Oct 2005 14:30:36 +1000 + +libsm (1:6.0.4-3) breezy; urgency=low + + * Add libice-dev to libsm-dev Depends. + + -- Daniel Stone Thu, 21 Jul 2005 18:07:37 +1000 + +libsm (1:6.0.4-2) breezy; urgency=low + + * Fix Build-Depends-Indep vs B-D hilarity/stupidity. + + -- Daniel Stone Wed, 1 Jun 2005 00:34:43 +1000 + +libsm (1:6.0.4-1) breezy; urgency=low + + * First libsm release. + + -- Daniel Stone Mon, 16 May 2005 22:10:17 +1000 --- libsm-1.0.0.orig/debian/control +++ libsm-1.0.0/debian/control @@ -0,0 +1,58 @@ +Source: libsm +Section: x11 +Priority: optional +Maintainer: Daniel Stone +Build-Depends: debhelper (>= 4.0.0), pkg-config, x11proto-core-dev, xtrans-dev, libice-dev (>= 6.3.5-1) +Standards-Version: 3.6.1.0 + +Package: libsm6 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, x-common +Description: X11 Session Management library + This package provides the main interface to the X11 Session Management + library, which allows for applications to both manage sessions, and make use + of session managers to save and restore their state for later use. + . + More information about X.Org can be found at: + + + . + This module can be found as the module 'lib/SM' at + :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg + +Package: libsm6-dbg +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, x-common, libsm6 (= ${Source-Version}) +Description: X11 Inter-Client Exchange library (debug package) + This package provides the main interface to the X11 Session Management + library, which allows for applications to both manage sessions, and make use + of session managers to save and restore their state for later use. + . + This package contains the debug versions of the library found in libsm6. + 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/SM' at + :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg + +Package: libsm-dev +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, x-common, libsm6 (= ${Source-Version}), x11proto-core-dev, libice-dev +Pre-Depends: x-common (>= 1.0) +Description: X11 Inter-Client Exchange library (development headers) + This package provides the main interface to the X11 Session Management + library, which allows for applications to both manage sessions, and make use + of session managers to save and restore their state for later use. + . + This package contains the development headers for the library found in libsm6. + 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/SM' at + :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg