--- libpthread-stubs-0.3.orig/debian/control +++ libpthread-stubs-0.3/debian/control @@ -0,0 +1,48 @@ +Source: libpthread-stubs +Priority: optional +Section: libdevel +Maintainer: XCB Developers +Uploaders: Jamey Sharp , Josh Triplett , Julien Danjou +Build-Depends: cdbs (>= 0.4.40), debhelper (>= 5.0.0) +Standards-Version: 3.8.3 +XS-Vcs-Git: git://anongit.freedesktop.org/git/xcb/pthread-stubs +XS-Vcs-Browser: http://gitweb.freedesktop.org/?p=xcb/pthread-stubs.git + +Package: libpthread-stubs0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: pthread stubs not provided by native libc + This library provides weak aliases for pthread functions not provided + in libc or otherwise available by default. Libraries like libxcb rely + on pthread stubs to use pthreads optionally, becoming thread-safe when + linked to libpthread, while avoiding any performance hit when running + single-threaded. libpthread-stubs supports this behavior even on + platforms which do not supply all the necessary pthread stubs. On + platforms which already supply all the necessary pthread stubs, this + package has no content. + +Package: libpthread-stubs0-udeb +Section: debian-installer +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Package-Type: udeb +Description: pthread stubs not provided by native libc - udeb + This is a udeb, or a microdeb, for the debian-installer. + +Package: libpthread-stubs0-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, libpthread-stubs0 (= ${binary:Version}) +Description: pthread stubs not provided by native libc, development files + This library provides weak aliases for pthread functions not provided + in libc or otherwise available by default. Libraries like libxcb rely + on pthread stubs to use pthreads optionally, becoming thread-safe when + linked to libpthread, while avoiding any performance hit when running + single-threaded. libpthread-stubs supports this behavior even on + platforms which do not supply all the necessary pthread stubs. + . + On platforms which already supply all the necessary pthread stubs, this + package ships only the pkg-config file pthread-stubs.pc, to allow + libraries to unconditionally express a dependency on pthread-stubs and + still obtain correct behavior. --- libpthread-stubs-0.3.orig/debian/rules +++ libpthread-stubs-0.3/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +DEB_DH_INSTALL_SOURCEDIR=debian/tmp + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_CONFIGURE_EXTRA_FLAGS=--prefix=/ +DEB_DH_MAKESHLIBS_ARGS_libpthread-stubs0=--add-udeb=libpthread-stubs0-udeb + +debian/copyright: debian/copyright.debian COPYING + cat $+ > $@ + +clean:: + -rm -f debian/copyright + +common-install-prehook-arch common-install-prehook-indep:: debian/copyright + +install/libpthread-stubs0:: + if test -f debian/tmp/lib/libpthread-stubs.so.0.0.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0.0.0; fi + if test -L debian/tmp/lib/libpthread-stubs.so.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0; fi + +install/libpthread-stubs0-udeb:: + if test -f debian/tmp/lib/libpthread-stubs.so.0.0.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0.0.0; fi + if test -L debian/tmp/lib/libpthread-stubs.so.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0; fi + +install/libpthread-stubs0-dev:: + if test -f debian/tmp/lib/libpthread-stubs.a; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.a usr/lib; ln -s /lib/libpthread-stubs.so.0.0.0 debian/libpthread-stubs0-dev/usr/lib/libpthread-stubs.so; fi + dh_install -p$(cdbs_curpkg) debian/tmp/lib/pkgconfig/pthread-stubs.pc usr/share/pkgconfig/ --- libpthread-stubs-0.3.orig/debian/compat +++ libpthread-stubs-0.3/debian/compat @@ -0,0 +1 @@ +5 --- libpthread-stubs-0.3.orig/debian/watch +++ libpthread-stubs-0.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://xcb.freedesktop.org/dist/libpthread-stubs-([0-9].*)\.tar\.gz --- libpthread-stubs-0.3.orig/debian/changelog +++ libpthread-stubs-0.3/debian/changelog @@ -0,0 +1,46 @@ +libpthread-stubs (0.3-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Add libpthread-stubs-udeb (Closes: #620946) + + -- Samuel Thibault Mon, 13 Jun 2011 22:01:38 +0000 + +libpthread-stubs (0.3-2) unstable; urgency=low + + * Fix bogus symlink (Closes: #556222) + + -- Julien Danjou Mon, 16 Nov 2009 09:58:11 +0100 + +libpthread-stubs (0.3-1) unstable; urgency=low + + * New upstream release + + Revert sem_ symbols (Closes: #548240) + * Move static stuff in /usr/lib (Closes: #548109) + + -- Julien Danjou Wed, 14 Oct 2009 11:18:06 +0200 + +libpthread-stubs (0.2-1) unstable; urgency=low + + * New upstream release + + Provides sem function (Closes: #495229) + * Add myself as uploader + * Bump standard version + * Move lib into /lib (Closes: #480237) + * Add copyrights + * Fix substvars in debian/control + + -- Julien Danjou Wed, 23 Sep 2009 10:34:09 +0200 + +libpthread-stubs (0.1-2) unstable; urgency=low + + * Add XS-Vcs-Git and XS-Vcs-Browser fields. + * Upload to unstable. + + -- Josh Triplett Mon, 21 May 2007 14:00:38 -0700 + +libpthread-stubs (0.1-1) experimental; urgency=low + + * Initial release. + + -- Jamey Sharp Fri, 24 Nov 2006 01:01:49 -0800 + --- libpthread-stubs-0.3.orig/debian/copyright.debian +++ libpthread-stubs-0.3/debian/copyright.debian @@ -0,0 +1,15 @@ +This package was debianized by Jamey Sharp on +Fri, 24 Nov 2006 01:01:49 -0800. The package is co-maintained by the +XCB developers via the XCB mailing list . + +It was downloaded from http://xcb.freedesktop.org/dist + +Upstream Authors: Jamey Sharp + Josh Triplett + +Copyright: + Copyright (C) 2006 Diego Pettenò + Inspired by libX11 code copyright (c) 1995 David E. Wexelblat. + Copyright (C) 2007 Jamey Sharp + Copyright (C) 2007 Josh Triplett +