wok-next diff dbus/receipt @ rev 20132
Patch midori for new vala.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 31 15:24:24 2017 +0200 (2017-10-31) |
parents | 6d2b71cbba60 |
children | 0e7893ac206d |
line diff
1.1 --- a/dbus/receipt Tue Sep 19 02:54:15 2017 +0300 1.2 +++ b/dbus/receipt Tue Oct 31 15:24:24 2017 +0200 1.3 @@ -1,19 +1,21 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="dbus" 1.7 -VERSION="1.10.14" 1.8 +VERSION="1.10.22" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="D-Bus, a message bus system" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 WEB_SITE="https://www.freedesktop.org/wiki/Software/dbus/" 1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/dbus.html" 1.15 HOST_ARCH="i486 arm" 1.16 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 WGET_URL="https://dbus.freedesktop.org/releases/dbus/$TARBALL" 1.19 1.20 -BUILD_DEPENDS="expat-dev xorg-libX11-dev" 1.21 -SPLIT="dbus-helper dbus dbus-dev" 1.22 +BUILD_DEPENDS="expat-dev xorg-libX11-dev glib-dev xorg-libICE-dev \ 1.23 +xorg-libSM-dev libxslt xmlto libxml2-tools docbook-xsl" 1.24 +SPLIT="dbus-helper dbus-introspect dbus dbus-dev" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 @@ -22,19 +24,23 @@ 1.29 --sysconfdir=/etc \ 1.30 --localstatedir=/var \ 1.31 --disable-doxygen-docs \ 1.32 - --disable-xml-docs \ 1.33 --disable-static \ 1.34 + --docdir=/usr/share/doc/dbus-$VERSION \ 1.35 + --with-console-auth-dir=/run/console/ \ 1.36 + --with-system-pid-file=/run/dbus/pid \ 1.37 + --with-system-socket=/run/dbus/system_bus_socket \ 1.38 --disable-systemd \ 1.39 --without-systemdsystemunitdir \ 1.40 - --with-console-auth-dir=/run/console/ \ 1.41 - --docdir=/usr/share/doc/dbus-$VERSION \ 1.42 $CONFIGURE_ARGS && 1.43 - make && make -j1 install 1.44 -# --without-console-auth-dir \ 1.45 + make && make -j1 install || return 1 1.46 1.47 # Init script 1.48 cp -a $stuff/etc $install 1.49 chown -R root.root $install/etc 1.50 + 1.51 + # docbook stuff 1.52 + mkdir -p $install/usr/share/xml/docbook/stylesheet/dbus 1.53 + cp doc/introspect.* $install/usr/share/xml/docbook/stylesheet/dbus 1.54 } 1.55 1.56 # Rules to gen a SliTaz package suitable for Tazpkg. 1.57 @@ -46,6 +52,11 @@ 1.58 CAT="x-window|dbus-daemon-launch-helper" 1.59 DEPENDS="dbus expat" 1.60 ;; 1.61 + dbus-introspect) 1.62 + copy introspect.* 1.63 + CAT="development|introspect DTD & XSL" 1.64 + DEPENDS="libxml2-tools" 1.65 + ;; 1.66 dbus) 1.67 copy @std 1.68 remove_already_packed 1.69 @@ -99,3 +110,16 @@ 1.70 chown root:messagebus $i 1.71 chmod 4750 $i 1.72 } 1.73 + 1.74 +post_install_dbus_introspect() { 1.75 + U="http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" 1.76 + F="file:///usr/share/xml/docbook/stylesheet/dbus/introspect.dtd" 1.77 + 1.78 + # Create a /etc/xml/catalog file 1.79 + mkdir -p "$1/etc/xml" 1.80 + [ ! -f "$1/etc/xml/catalog" ] && 1.81 + chroot "$1/" xmlcatalog --noout --create /etc/xml/catalog 1.82 + 1.83 + chroot "$1/" xmlcatalog --noout --add "rewriteSystem" "$U" "$F" /etc/xml/catalog 1.84 + chroot "$1/" xmlcatalog --noout --add "rewriteURI" "$U" "$F" /etc/xml/catalog 1.85 +}