Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Stop building libpthread-stubs0 completely
· 928ec881
Julien Cristau
authored
Sep 22, 2013
Even hurd doesn't need this anymore.
928ec881
Upload to unstable
· a35f3979
Julien Cristau
authored
Sep 22, 2013
a35f3979
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
a35f3979
libpthread-stubs (0.3-4)
UNRELEASED
; urgency=low
libpthread-stubs (0.3-4)
unstable
; urgency=low
* Stop building libpthread-stubs0{,-udeb}
on non-hurd-i386
.
* Stop building libpthread-stubs0{,-udeb}
(closes: 706865)
.
-- Julien Cristau <jcristau@debian.org>
Fri, 11 Nov 2011 23:31:45
+0
1
00
-- Julien Cristau <jcristau@debian.org>
Sun, 22 Sep 2013 16:58:17
+0
2
00
libpthread-stubs (0.3-3) unstable; urgency=low
...
...
debian/control
View file @
a35f3979
...
...
@@ -8,35 +8,11 @@ Standards-Version: 3.8.3
Vcs-Git: git://anonscm.debian.org/git/collab-maint/libpthread-stubs
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libpthread-stubs.git
Package: libpthread-stubs0
Section: libs
Architecture: hurd-i386
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
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: hurd-i386
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
Multi-Arch: same
Depends: ${misc:Depends}
, libpthread-stubs0 (= ${binary:Version}) [hurd-i386]
Depends: ${misc:Depends}
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
...
...
debian/libpthread-stubs0-udeb.install
deleted
100644 → 0
View file @
2b7b683f
lib
/
i386
-
gnu
lib
debian/libpthread-stubs0.install
deleted
100644 → 0
View file @
2b7b683f
lib
debian/rules
View file @
a35f3979
...
...
@@ -7,29 +7,11 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
dh $@ --with autoreconf --builddirectory=build
override_dh_auto_configure: debian/copyright
ifeq ($(DEB_HOST_ARCH_OS), hurd)
# libc.so pulls in libpthread-stubs.so, defeating our configure checks
# by making them think the stubs are already in libc. Point ld at an
# empty libpthread-stubs instead.
echo 'OUTPUT_FORMAT(elf32-i386)' > debian/libpthread-stubs.so
LDFLAGS='-L$(CURDIR)/debian' dh_auto_configure --builddirectory=build
else
dh_auto_configure --builddirectory=build
endif
override_dh_makeshlibs:
ifeq ($(DEB_HOST_ARCH_OS), hurd)
dh_makeshlibs -plibpthread-stubs0 --add-udeb=libpthread-stubs0-udeb
endif
override_dh_auto_install:
dh_auto_install --builddirectory=build
dh_auto_install --builddirectory=build
--destdir=debian/tmp
find debian/tmp -name '*.la' -delete
ifeq ($(DEB_HOST_ARCH_OS), hurd)
install -d debian/tmp/lib/$(DEB_HOST_MULTIARCH)
mv debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.so.0* debian/tmp/lib/$(DEB_HOST_MULTIARCH)
ln -sf /lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.so.0 debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.so
endif
debian/copyright: debian/copyright.debian COPYING
cat $+ > $@
...
...