upg dbus
This commit is contained in:
parent
be9b4adc84
commit
a23e84d3c2
3 changed files with 82 additions and 67 deletions
|
@ -5,34 +5,32 @@
|
|||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgbase=dbus
|
||||
#pkgbase=dbus
|
||||
pkgname=(dbus) # dbus-docs)
|
||||
pkgver=1.14.6
|
||||
pkgrel=01
|
||||
pkgdesc="Freedesktop.org message bus system"
|
||||
pkgrel=02
|
||||
pkgdesc="unFreedesktop.org message bus system w/o systemd"
|
||||
url="https://wiki.freedesktop.org/www/Software/dbus/"
|
||||
arch=(x86_64)
|
||||
depends=(expat audit)
|
||||
makedepends=(xmlto docbook-xsl python yelp-tools doxygen git autoconf-archive automake)
|
||||
makedepends=(autoconf-archive docbook-xsl doxygen git python xmlto yelp-tools)
|
||||
#options=(debug) ## uncomment this to have the dbus-debug pkg produced
|
||||
source=("git+https://gitlab.freedesktop.org/dbus/dbus.git?signed#tag=dbus-$pkgver"
|
||||
# no-fatal-warnings.patch
|
||||
no-fatal-warnings.diff
|
||||
dbus.sysusers
|
||||
dbus.tmpfiles)
|
||||
|
||||
prepare() {
|
||||
cd $pkgbase
|
||||
cd $pkgname
|
||||
|
||||
# Allow us to enable checks without them being fatal
|
||||
# patch -Np2 -i ../no-fatal-warnings.patch
|
||||
git apply -3 ../no-fatal-warnings.diff
|
||||
# git apply -3 ../no-fatal-warnings.diff
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd dbus
|
||||
cd $pkgname
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
|
@ -43,14 +41,14 @@ build() {
|
|||
--with-dbus-user=dbus \
|
||||
--with-system-pid-file=/run/dbus/pid \
|
||||
--with-system-socket=/run/dbus/system_bus_socket \
|
||||
--without-systemdsystemunitdir \
|
||||
--with-systemdsystemunitdir=no \
|
||||
--enable-inotify \
|
||||
--enable-libaudit \
|
||||
--disable-systemd \
|
||||
--disable-user-session \
|
||||
--enable-xml-docs \
|
||||
--enable-doxygen-docs \
|
||||
--enable-ducktype-docs \
|
||||
--disable-xml-docs \
|
||||
--disable-doxygen-docs \
|
||||
--disable-ducktype-docs \
|
||||
--disable-static \
|
||||
--disable-asserts \
|
||||
--disable-x11-autolaunch \
|
||||
|
@ -63,7 +61,7 @@ check() {
|
|||
make -C dbus -j1 check
|
||||
}
|
||||
|
||||
package_dbus() {
|
||||
package() {
|
||||
depends+=(libaudit.so)
|
||||
provides=(libdbus libdbus-1.so)
|
||||
conflicts=(libdbus)
|
||||
|
@ -88,27 +86,18 @@ package_dbus() {
|
|||
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 dbus/COPYING
|
||||
}
|
||||
|
||||
# Uncomment the following section to have dbus-docs produced, otherwise
|
||||
# get the one from Arch and disregard anything about systemd functionality
|
||||
#
|
||||
#package_dbus-docs() {
|
||||
# pkgdesc+=" (documentation)"
|
||||
# depends=()
|
||||
#
|
||||
# mv doc/* "$pkgdir"
|
||||
#
|
||||
# install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 dbus/COPYING
|
||||
#}
|
||||
#
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
arch=(x86_64)
|
||||
|
||||
license=(GPL custom)
|
||||
|
||||
validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90') # Simon McVittie <simon.mcvittie@collabora.co.uk>
|
||||
|
||||
sha256sums=(SKIP
|
||||
c10395be67e1127a58d7173b587fbbf16f8a8b271c41293558fcf9e27c185478 # no-fatal-warnings.diff
|
||||
9bc34a20595df8869d43a8d9af74cbded999c9a004ec12ff8ce07d58d81018d8 # dbus.sysusers
|
||||
965cef20cce35819e89c65f06a931a38bea2119b0ae9c259b5d7f9cfc3edd6d7) # dbus.tmpfiles
|
||||
|
||||
## 26b4167d607b6584a92b79eaf71a430fca98e8eb9a0ae8de613eace9f7b89295 dbus-1.14.6-02-x86_64.pkg.tar.lz
|
||||
|
||||
|
||||
|
|
|
@ -4,53 +4,73 @@
|
|||
# Contributor: Link Dupont <link@subpop.net>
|
||||
|
||||
pkgbase=dbus
|
||||
pkgname=(dbus dbus-docs)
|
||||
pkgname=(
|
||||
dbus
|
||||
dbus-docs
|
||||
)
|
||||
pkgver=1.14.6
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Freedesktop.org message bus system"
|
||||
url="https://wiki.freedesktop.org/www/Software/dbus/"
|
||||
arch=(x86_64)
|
||||
license=(GPL custom)
|
||||
depends=(systemd-libs expat audit)
|
||||
makedepends=(systemd xmlto docbook-xsl python yelp-tools doxygen git autoconf-archive)
|
||||
source=("git+https://gitlab.freedesktop.org/dbus/dbus.git?signed#tag=dbus-$pkgver"
|
||||
dbus-reload.hook no-fatal-warnings.diff)
|
||||
sha256sums=('SKIP'
|
||||
'd636205622d0ee3b0734360225739ef0c7ad2468a09489e6ef773d88252960f3'
|
||||
'c10395be67e1127a58d7173b587fbbf16f8a8b271c41293558fcf9e27c185478')
|
||||
license=(
|
||||
GPL
|
||||
custom
|
||||
)
|
||||
depends=(
|
||||
audit
|
||||
expat
|
||||
systemd-libs
|
||||
)
|
||||
makedepends=(
|
||||
autoconf-archive
|
||||
docbook-xsl
|
||||
doxygen
|
||||
git
|
||||
python
|
||||
systemd
|
||||
xmlto
|
||||
yelp-tools
|
||||
)
|
||||
source=(
|
||||
"git+https://gitlab.freedesktop.org/dbus/dbus.git?signed#tag=dbus-$pkgver"
|
||||
dbus-reload.hook
|
||||
)
|
||||
b2sums=('SKIP'
|
||||
'05ab81bf72e7cf45ad943f5b84eaecef4f06bed94979c579a3e23134cbabd7ea6f65fa9ac252f8b43ceb4a3295e0d2325f06560a044fe7ddf125fc30dfc2b7e2')
|
||||
validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90') # Simon McVittie <simon.mcvittie@collabora.co.uk>
|
||||
|
||||
prepare() {
|
||||
cd dbus
|
||||
|
||||
# Allow us to enable checks without them being fatal
|
||||
git apply -3 ../no-fatal-warnings.diff
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd dbus
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--libexecdir=/usr/lib/dbus-1.0 \
|
||||
--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-libaudit \
|
||||
--enable-systemd \
|
||||
--enable-user-session \
|
||||
--enable-xml-docs \
|
||||
--enable-doxygen-docs \
|
||||
--enable-ducktype-docs \
|
||||
--disable-static \
|
||||
local configure_options=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--localstatedir=/var
|
||||
--libexecdir=/usr/lib/dbus-1.0
|
||||
--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-libaudit
|
||||
--enable-systemd
|
||||
--enable-user-session
|
||||
--enable-xml-docs
|
||||
--enable-doxygen-docs
|
||||
--enable-ducktype-docs
|
||||
--disable-static
|
||||
--without-x
|
||||
)
|
||||
|
||||
cd dbus
|
||||
./configure "${configure_options[@]}"
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -59,8 +79,14 @@ check() {
|
|||
}
|
||||
|
||||
package_dbus() {
|
||||
depends+=(libsystemd.so libaudit.so)
|
||||
provides=(libdbus libdbus-1.so)
|
||||
depends+=(
|
||||
libaudit.so
|
||||
libsystemd.so
|
||||
)
|
||||
provides=(
|
||||
libdbus
|
||||
libdbus-1.so
|
||||
)
|
||||
conflicts=(libdbus)
|
||||
replaces=(libdbus)
|
||||
|
||||
|
@ -82,7 +108,7 @@ package_dbus() {
|
|||
}
|
||||
|
||||
package_dbus-docs() {
|
||||
pkgdesc+=" (documentation)"
|
||||
pkgdesc+=" - Documentation"
|
||||
depends=()
|
||||
|
||||
mv doc/* "$pkgdir"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
|
||||
real 1m23.901s
|
||||
user 1m11.422s
|
||||
sys 0m10.355s
|
||||
real 2m2.980s
|
||||
user 1m18.705s
|
||||
sys 0m11.720s
|
||||
|
||||
|
|
Loading…
Reference in a new issue