[Xcb] Bug#620946: Bug#620946: libpthread-stubs: Please add an udeb
Julien Cristau
jcristau at debian.org
Sun Jun 12 01:12:19 PDT 2011
On Mon, Apr 11, 2011 at 00:41:25 +0200, Samuel Thibault wrote:
> Here is a fixed (and completely tested) patch.
>
> Samuel
> --- debian/control.original 2011-04-10 14:29:16.000000000 +0000
> +++ debian/control 2011-04-10 14:29:17.000000000 +0000
> @@ -22,6 +22,14 @@
> platforms which already supply all the necessary pthread stubs, this
> package has no content.
>
> +Package: libpthread-stubs0-udeb
> +Section: libs
I believe this should be 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
> --- debian/rules.original 2011-04-10 14:31:08.000000000 +0000
> +++ debian/rules 2011-04-10 15:08:33.000000000 +0000
> @@ -6,6 +6,7 @@
> 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 $+ > $@
> @@ -19,6 +20,10 @@
> 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/
With that change please feel free to nmu.
Cheers,
Julien
More information about the Xcb
mailing list