# HG changeset patch # User Aleksej Bobylev # Date 1369680842 0 # Node ID 6726368e98f24dd2e87c88920482887689222520 # Parent 423935b2ad7a4bdb8fb3d470a8dae2a6d1c1caa4 libxcb: have no version 1.9.1 diff -r 423935b2ad7a -r 6726368e98f2 libxcb-dev/receipt --- a/libxcb-dev/receipt Mon May 27 13:23:03 2013 +0200 +++ b/libxcb-dev/receipt Mon May 27 18:54:02 2013 +0000 @@ -1,13 +1,15 @@ # SliTaz package receipt. PACKAGE="libxcb-dev" -VERSION="1.9.1" +VERSION="1.9" CATEGORY="development" SHORT_DESC="libxcb development files" -DEPENDS="libxcb libpthread-stubs xorg-libXau-dev xorg-libXdmcp-dev" MAINTAINER="mallory@sweetpeople.org" +LICENSE="other" +WEB_SITE="http://xcb.freedesktop.org/" + WANTED="libxcb" -WEB_SITE="http://xcb.freedesktop.org" +DEPENDS="libxcb xorg-libXau-dev xorg-libXdmcp-dev" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() @@ -16,5 +18,6 @@ cp -a $install/usr/include $fs/usr cp -a $install/usr/lib/*.*a $fs/usr/lib cp -a $install/usr/lib/pkgconfig $fs/usr/lib + sed -i 's|pthread-stubs||' $fs/usr/lib/pkgconfig/xcb.pc } diff -r 423935b2ad7a -r 6726368e98f2 libxcb/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libxcb/description.txt Mon May 27 18:54:02 2013 +0000 @@ -0,0 +1,3 @@ +The X protocol C-language Binding (XCB) is a replacement for Xlib featuring +a small footprint, latency hiding, direct access to the protocol, improved +threading support, and extensibility. diff -r 423935b2ad7a -r 6726368e98f2 libxcb/receipt --- a/libxcb/receipt Mon May 27 13:23:03 2013 +0200 +++ b/libxcb/receipt Mon May 27 18:54:02 2013 +0000 @@ -1,32 +1,39 @@ # SliTaz package receipt. PACKAGE="libxcb" -VERSION="1.9.1" +VERSION="1.9" CATEGORY="x-window" -SHORT_DESC="The X protocol C-language Binding (XCB) is a replacement for \ -Xlib featuring a small footprint, latency hiding, direct access to the \ -protocol, improved threading support, and extensibility." +SHORT_DESC="A C binding to the X11 protocol" MAINTAINER="mallory@sweetpeople.org" -DEPENDS="xorg-libXau xorg-libXdmcp" -BUILD_DEPENDS="xcb-proto libxslt-dev pkg-config libpthread-stubs xorg-libXau-dev xorg-libXdmcp-dev" +LICENSE="other" +WEB_SITE="http://xcb.freedesktop.org/" TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://xcb.freedesktop.org" -WGET_URL="$WEB_SITE/dist/$TARBALL" +WGET_URL="${WEB_SITE}dist/$TARBALL" + +DEPENDS="glibc-base xorg-libXau xorg-libXdmcp" +# autoconf and automake in bdeps breaks build (but, see warnings in log) +BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev" # Rules to configure and make the package. compile_rules() { - cd $src + # http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html + sed -i "s|pthread-stubs||" $src/configure.ac && ./configure \ --enable-xinput \ + --disable-build-docs \ $CONFIGURE_ARGS && - make && make DESTDIR=$DESTDIR install + make && + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib + mkdir -p \ + $fs/usr/lib \ + $fs/usr/share/licenses cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt }