--- libsm-1.2.2.orig/autogen.sh +++ libsm-1.2.2/autogen.sh @@ -0,0 +1,14 @@ +#! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + +autoreconf -v --install || exit 1 +cd $ORIGDIR || exit $? + +if test -z "$NOCONFIGURE"; then + $srcdir/configure "$@" +fi --- libsm-1.2.2.orig/debian/README.source +++ libsm-1.2.2/debian/README.source @@ -0,0 +1,73 @@ +------------------------------------------------------ +Quick Guide To Patching This Package For The Impatient +------------------------------------------------------ + +1. Make sure you have quilt installed +2. Unpack the package as usual with "dpkg-source -x" +3. Run the "patch" target in debian/rules +4. Create a new patch with "quilt new" (see quilt(1)) +5. Edit all the files you want to include in the patch with "quilt edit" + (see quilt(1)). +6. Write the patch with "quilt refresh" (see quilt(1)) +7. Run the "clean" target in debian/rules + +Alternatively, instead of using quilt directly, you can drop the patch in to +debian/patches and add the name of the patch to debian/patches/series. + +------------------------------------ +Guide To The X Strike Force Packages +------------------------------------ + +The X Strike Force team maintains X packages in git repositories on +git.debian.org in the pkg-xorg subdirectory. Most upstream packages +are actually maintained in git repositories as well, so they often +just need to be pulled into git.debian.org in a "upstream-*" branch. +Otherwise, the upstream sources are manually installed in the Debian +git repository. + +The .orig.tar.gz upstream source file could be generated using this +"upstream-*" branch in the Debian git repository but it is actually +copied from upstream tarballs directly. + +Due to X.org being highly modular, packaging all X.org applications +as their own independent packages would have created too many Debian +packages. For this reason, some X.org applications have been grouped +into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils, +x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils. +Most packages, including the X.org server itself and all libraries +and drivers are, however maintained independently. + +The Debian packaging is added by creating the "debian-*" git branch +which contains the aforementioned "upstream-*" branch plus the debian/ +repository files. +When a patch has to be applied to the Debian package, two solutions +are involved: +* If the patch is available in one of the upstream branches, it + may be git'cherry-picked into the Debian repository. In this + case, it appears directly in the .diff.gz. +* Otherwise, the patch is added to debian/patches/ which is managed + with quilt as documented in /usr/share/doc/quilt/README.source. + +quilt is actually invoked by the Debian X packaging through a larger +set of scripts called XSFBS. XSFBS brings some other X specific +features such as managing dependencies and conflicts due to the video +and input driver ABIs. +XSFBS itself is maintained in a separate repository at + git://git.debian.org/pkg-xorg/xsfbs.git +and it is pulled inside the other Debian X repositories when needed. + +The XSFBS patching system requires a build dependency on quilt. Also +a dependency on $(STAMP_DIR)/patch has to be added to debian/rules +so that the XSFBS patching occurs before the actual build. So the +very first target of the build (likely the one running autoreconf) +should depend on $(STAMP_DIR)/patch. It should also not depend on +anything so that parallel builds are correctly supported (nothing +should probably run while patching is being done). And finally, the +clean target should depend on the xsfclean target so that patches +are unapplied on clean. + +When the upstream sources contain some DFSG-nonfree files, they are +listed in text files in debian/prune/ in the "debian-*" branch of +the Debian repository. XSFBS' scripts then take care of removing +these listed files during the build so as to generate a modified +DFSG-free .orig.tar.gz tarball. --- libsm-1.2.2.orig/debian/changelog +++ libsm-1.2.2/debian/changelog @@ -0,0 +1,216 @@ +libsm (2:1.2.2-1) unstable; urgency=medium + + * New upstream release. + * Remove Cyril from Uploaders. + * Rewrite debian/rules using dh. Bump compat to 9, get rid of xsfbs. + + -- Julien Cristau Sun, 13 Jul 2014 01:57:15 +0200 + +libsm (2:1.2.1-2) unstable; urgency=low + + * Add missing ${misc:Depends} to libsm-doc. + * Add missing Replaces/Breaks on libsm-dev to the doc package. Thanks, + Sven Joachim! + + -- Julien Cristau Mon, 09 Apr 2012 20:18:02 +0200 + +libsm (2:1.2.1-1) unstable; urgency=low + + * New upstream release. + * Drop 0001-sm.pc-don-t-export-a-dependency-on-ice.patch, applied upstream. + * Don't require (fake)root for debian/rules clean. + * Split the docs to a separate libsm-doc package + - mark libsm-dev Multi-Arch: same, and libsm-doc Multi-Arch: foreign + - don't build the docs in build-arch + * Bump build-deps on xutils-dev, xmlto and xorg-sgml-doctools. + + -- Julien Cristau Mon, 09 Apr 2012 17:55:48 +0200 + +libsm (2:1.2.0-2) unstable; urgency=low + + * Team upload. + + [ Steve Langasek ] + * Build for multiarch. + + [ Julien Cristau ] + * Remove David Nusinow and Brice Goglin from Uploaders. + * Bump Standards-Version to 3.9.2. + + -- Julien Cristau Sat, 11 Jun 2011 14:49:47 +0200 + +libsm (2:1.2.0-1) unstable; urgency=low + + [ Julien Cristau ] + * Rename the build directory to not include DEB_BUILD_GNU_TYPE for no + good reason. Thanks, Colin Watson! + * Remove myself from Uploaders + + [ Cyril Brulebois ] + * New upstream release. + * Bump xutils-dev build-dep for new macros. + * Add xmlto, xorg-sgml-doctools, and w3m build-dep for the doc. + * Pass --with-xmlto and --without-fop, we want html and txt only. + * Kill *.xml in the doc directory, no point in shipping them. + * Ship *.html, *.css, and *.txt from the doc directory. + * Switch from --list-missing to --fail-missing for additional safety. + * Add myself to Uploaders. + + -- Cyril Brulebois Mon, 08 Nov 2010 01:42:36 +0100 + +libsm (2:1.1.1-1) unstable; urgency=low + + * New upstream release. + * Move libsm6-dbg to 'debug' section. + * Drop x11-common (pre-)dependencies, this isn't needed anymore. + * Bump libice-dev build-dep to 2:1.0.5. + * Bump xutils-dev build-dep to 1:7.4+4 for new util-macros. + * Add README.source from xsfbs, bump Standards-Version to 3.8.3. + * Look for space-separated DEB_BUILD_OPTIONS. + + -- Julien Cristau Tue, 25 Aug 2009 17:58:18 +0200 + +libsm (2:1.1.0-2) unstable; urgency=low + + * Upload to unstable. + + -- Julien Cristau Mon, 16 Feb 2009 01:33:27 +0100 + +libsm (2:1.1.0-1) experimental; urgency=low + + [ Brice Goglin ] + * Use ${binary:Version} instead of the deprecated ${Source-Version}. + + [ Julien Cristau ] + * New upstream release. + - generate client IDs using libuuid instead of gethostbyname() + * Switch to running autoreconf at build time; clean up in debian/rules + clean, and build-depend on automake, libtool and xutils-dev. + * Drop -1 debian revisions from build-deps. + * Stop handling nostrip explicitly in debian/rules (dh_strip does it + already), and allow parallel builds using sample code from policy. + * Add myself to Uploaders. + * Don't export a dependency on ice in sm.pc. + + -- Julien Cristau Fri, 18 Jul 2008 16:16:47 +0200 + +libsm (2:1.0.3-2) unstable; urgency=low + + * Fix short descriptions of libsm-dev and libsm-dbg, + thanks Philippe Cloutier, closes: #432967. + * Add upstream URL to debian/copyright. + * Bump Standards-Version to 3.7.3 (no changes). + * Add myself to Uploaders, and remove Branden and Fabio with their + permission. + * Add Vcs-Browser field and drop the XS- prefix from Vcs-Git. + * Add a link to www.X.org and a reference to the libSM module in the long + description. + + -- Brice Goglin Fri, 13 Jun 2008 07:07:33 +0200 + +libsm (2:1.0.3-1) unstable; urgency=low + + [ Julien Cristau ] + * Move binary packages to the proper sections. + * New upstream release. + + [ Timo Aaltonen ] + * Bump the epoch so that this can be synced to Ubuntu in the future. + + -- Julien Cristau Mon, 14 May 2007 16:41:22 +0200 + +libsm (1:1.0.2-2) unstable; urgency=low + + * Upload to unstable. + + -- Julien Cristau Wed, 11 Apr 2007 10:53:40 +0200 + +libsm (1:1.0.2-1) experimental; urgency=low + + * New upstream release. + * Drop obsolete CVS info from the descriptions, and add XS-Vcs-Git. + * Install the upstream changelog. + + -- Julien Cristau Fri, 9 Feb 2007 17:37:39 +0100 + +libsm (1:1.0.1-3) unstable; urgency=low + + * Exclude libSM.la from dh_install. + * The library in debian/rules is libsm6 not libxau6! Closes: #383468. + * libsm-dev uses versioned depends on libice-dev from X11R7. + Closes: #372129. + + -- Drew Parsons Fri, 22 Sep 2006 21:33:23 +1000 + +libsm (1:1.0.1-2) unstable; urgency=low + + [ Andres Salomon ] + * Test for obj-$(DEB_BUILD_GNU_TYPE) before creating it during build; + idempotency fix. + + [ Drew Parsons ] + * dbg package has priority extra. + + -- David Nusinow Tue, 29 Aug 2006 23:35:12 +0000 + +libsm (1:1.0.1-1) experimental; urgency=low + + * New upstream release + * Run dh_install with --list-missing + * Bump debhelper compat to 5 + * Remove extra x11-common dep from -dev package + * Version x11-common pre-dep in -dev package to be 1:7.0.0 to match the rest + of Debian and shut lintian up + * Bump standards version to 3.7.2.0 + * Don't look to install manpages for -dev package, there aren't any + + -- David Nusinow Mon, 3 Jul 2006 17:18:41 -0400 + +libsm (1:1.0.0-4) unstable; urgency=low + + * Reorder makeshlib command in rules file so that ldconfig is run + properly. Thanks Drew Parsons and Steve Langasek. + + -- David Nusinow Tue, 18 Apr 2006 21:49:55 -0400 + +libsm (1:1.0.0-3) unstable; urgency=low + + * Upload to unstable + + -- David Nusinow Thu, 23 Mar 2006 22:44:25 -0500 + +libsm (1:1.0.0-2) experimental; urgency=low + + * Provide versioned build depends for the X libs + + -- David Nusinow Thu, 23 Feb 2006 22:46:43 -0500 + +libsm (1:1.0.0-1) UNRLEASED; urgency=low + + * First upload to Debian + + -- David Nusinow Thu, 29 Dec 2005 20:47:53 -0500 + +libsm (1:6.0.4-4) breezy; urgency=low + + * Version the x11proto-core-dev build-dep to avoid _XOPEN_SOURCE. + + -- Adam Conrad Sun, 24 Jul 2005 10:42:00 +0000 + +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.2.2.orig/debian/compat +++ libsm-1.2.2/debian/compat @@ -0,0 +1 @@ +9 --- libsm-1.2.2.orig/debian/control +++ libsm-1.2.2/debian/control @@ -0,0 +1,95 @@ +Source: libsm +Section: x11 +Priority: optional +Maintainer: Debian X Strike Force +Build-Depends: + debhelper (>= 9), + dh-autoreconf, + pkg-config, + x11proto-core-dev (>= 6.8.99.15+cvs.20050722), + xtrans-dev, + libice-dev (>= 2:1.0.5), + uuid-dev, + automake, + libtool, + xutils-dev (>= 1:7.6+2), + quilt, +# doc: + xmlto (>= 0.0.22), xorg-sgml-doctools (>= 1:1.8), w3m, +Standards-Version: 3.9.2 +Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/libsm +Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/libsm.git + +Package: libsm6 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Pre-Depends: ${misc:Pre-Depends} +Multi-Arch: same +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 at + git://anongit.freedesktop.org/git/xorg/lib/libSM + +Package: libsm6-dbg +Section: debug +Architecture: any +Priority: extra +Depends: ${shlibs:Depends}, ${misc:Depends}, libsm6 (= ${binary:Version}) +Multi-Arch: same +Description: X11 Session Management 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 at + git://anongit.freedesktop.org/git/xorg/lib/libSM + +Package: libsm-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: ${shlibs:Depends}, ${misc:Depends}, libsm6 (= ${binary:Version}), x11proto-core-dev, libice-dev (>= 1:1.0.0-1) +Suggests: libsm-doc +Description: X11 Session Management 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 at + git://anongit.freedesktop.org/git/xorg/lib/libSM + +Package: libsm-doc +Section: doc +Architecture: all +Multi-Arch: foreign +Depends: + ${misc:Depends}, +Replaces: + libsm-dev (<< 2:1.2.1), +Breaks: + libsm-dev (<< 2:1.2.1), +Description: documentation for the X Session Management protocol and library + The X Session Management protocol facilitates the management of groups of + client applications by a session manager. + . + This package contains documentation for the session management protocol + itself and for the associated library, libSM. --- libsm-1.2.2.orig/debian/copyright +++ libsm-1.2.2/debian/copyright @@ -0,0 +1,24 @@ +This package was downloaded from +http://xorg.freedesktop.org/releases/individual/lib/ + +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.2.2.orig/debian/libsm-dev.install +++ libsm-1.2.2/debian/libsm-dev.install @@ -0,0 +1,4 @@ +usr/include/X11/* +usr/lib/*/libSM.a +usr/lib/*/libSM.so +usr/lib/*/pkgconfig/sm.pc --- libsm-1.2.2.orig/debian/libsm-doc.install +++ libsm-1.2.2/debian/libsm-doc.install @@ -0,0 +1 @@ +usr/share/doc/libsm-dev --- libsm-1.2.2.orig/debian/libsm6.install +++ libsm-1.2.2/debian/libsm6.install @@ -0,0 +1 @@ +usr/lib/*/libSM.so.6* --- libsm-1.2.2.orig/debian/patches/series +++ libsm-1.2.2/debian/patches/series @@ -0,0 +1 @@ +# placeholder --- libsm-1.2.2.orig/debian/rules +++ libsm-1.2.2/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f +# debian/rules for the Debian libxau package. +# Copyright © 2004 Scott James Remnant +# Copyright © 2005 Daniel Stone +# Copyright © 2005 David Nusinow + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# set this to the name of the main shlib's binary package +PACKAGE = libsm6 + +%: + dh $@ --with quilt,autoreconf --builddirectory=build/ --parallel + +override_dh_auto_configure-arch: docflags = --disable-docs +override_dh_auto_configure-indep: docflags = --enable-docs +override_dh_auto_configure-arch override_dh_auto_configure-indep: + dh_auto_configure -- \ + --with-libuuid \ + --with-xmlto --without-fop \ + --docdir=\$${datadir}/doc/libsm-dev \ + $(docflags) + +override_dh_install: + dh_install --sourcedir=debian/tmp --fail-missing --exclude=libSM.la + +override_dh_strip: + dh_strip --dbg-package=$(PACKAGE)-dbg + --- libsm-1.2.2.orig/debian/watch +++ libsm-1.2.2/debian/watch @@ -0,0 +1,3 @@ +#git=git://anongit.freedesktop.org/xorg/lib/libSM +version=3 +http://xorg.freedesktop.org/releases/individual/lib/ libSM-(.*)\.tar\.gz