Commit acfc8cd3 authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] dbus: update to 1.12.18

parent 49ff48dc
Pipeline #6710 skipped
# COntributions from Arch:
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Link Dupont <link@subpop.net>
pkgbase=dbus
pkgname=(dbus dbus-docs)
pkgver=1.12.12
pkgrel=2
pkgver=1.12.18
pkgrel=1
pkgdesc="Freedesktop.org message bus system"
url="http://www.freedesktop.org/Software/dbus"
arch=('x86_64')
url="https://wiki.freedesktop.org/www/Software/dbus/"
arch=(x86_64)
license=(GPL custom)
depends=(libsystemd expat audit)
depends=(systemd-libs expat audit)
makedepends=(systemd xmlto docbook-xsl python3 doxygen git autoconf-archive graphviz)
_commit=d4f8423bbff9b3c5fca2d8009c28d1cff4652788 # tags/dbus-1.12.12^0
source=("git+https://gitlab.freedesktop.org/dbus/dbus.git#commit=$_commit")
sha256sums=('SKIP')
validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90' # Simon McVittie <simon.mcvittie@collabora.co.uk>
'3C8672A0F49637FE064AC30F52A43A1E4B77B059') # Simon McVittie <simon.mcvittie@collabora.co.uk>
pkgver() {
cd dbus
git describe --tags | sed 's/^dbus-//;s/-/+/g'
}
source=("git+https://gitlab.freedesktop.org/dbus/dbus.git?signed#tag=dbus-$pkgver"
dbus-reload.hook)
sha256sums=('SKIP'
'd636205622d0ee3b0734360225739ef0c7ad2468a09489e6ef773d88252960f3')
validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90') # Simon McVittie <simon.mcvittie@collabora.co.uk>
prepare() {
cd dbus
# Reduce docs size
printf '%s\n' >>Doxyfile.in \
HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes
NOCONFIGURE=1 ./autogen.sh
}
......@@ -36,32 +31,45 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
runstatedir=/run \
--libexecdir=/usr/lib/dbus-1.0 \
--with-system-socket=/run/dbus/system_bus_socket \
--with-dbus-session-bus-connect-address=unix:runtime=yes \
runstatedir=/run \
--with-console-auth-dir=/run/console/ \
--with-dbus-user=dbus \
--with-system-pid-file=/run/dbus/pid \
--with-system-socket=/run/dbus/system_bus_socket \
--with-systemdsystemunitdir=/usr/lib/systemd/system \
--enable-inotify \
--enable-systemd \
--enable-user-session \
--disable-static \
--disable-verbose-mode \
--disable-asserts \
--disable-checks \
--without-x
make
}
check() {
make -C dbus check
}
package_dbus() {
provides=(libdbus dbus-core)
conflicts=(libdbus dbus-core)
replaces=(libdbus dbus-core)
depends+=(libsystemd.so libaudit.so)
provides=(libdbus libdbus-1.so)
conflicts=(libdbus)
replaces=(libdbus)
DESTDIR="$pkgdir" make -C dbus install
rm -r "$pkgdir/var/run"
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 dbus/COPYING
rm -r "$pkgdir"/{etc,var}
# We have a pre-assigned uid (81)
echo 'u dbus 81 "System Message Bus"' |
install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/dbus.conf"
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 dbus/COPYING
# Split docs
mv "$pkgdir/usr/share/doc" "$srcdir"
}
......@@ -71,6 +79,5 @@ package_dbus-docs() {
depends=()
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 dbus/COPYING
mv doc "$pkgdir/usr/share"
}
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = etc/dbus-1/system.d/*.conf
Target = usr/share/dbus-1/system.d/*.conf
Target = usr/share/dbus-1/system-services/*.service
[Action]
Description = Reloading system bus configuration...
When = PostTransaction
Exec = /usr/share/libalpm/scripts/systemd-hook reload dbus
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment