Skip to content

Update AccountsService from 0.6.13 to 0.6.45 #563

Merged
merged 4 commits into from
Jan 18, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 28 additions & 6 deletions accountsservice.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION accountsservice-0.6.13-1
# BEE_VERSION accountsservice-0.6.45-0

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)
Expand All @@ -9,13 +9,13 @@
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.

SRCURL[0]="http://www.freedesktop.org/software/accountsservice/accountsservice-${PKGVERSION}.tar.xz"
SRCURL[0]="https://www.freedesktop.org/software/accountsservice/accountsservice-${PKGVERSION}.tar.xz"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
## The sources will be patched in the order of the array.

PATCHURL+=(/src/mariux/patches/accountsservice-disable-userload.patch)
# PATCHURL+=()

###############################################################################
## Add filename patterns to the EXCLUDE array of files that should not
Expand Down Expand Up @@ -53,9 +53,10 @@ PATCHURL+=(/src/mariux/patches/accountsservice-disable-userload.patch)
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}
mee_configure() {
bee_configure \
--disable-static
}

#mee_build() {
# bee_build
Expand All @@ -66,6 +67,27 @@ PATCHURL+=(/src/mariux/patches/accountsservice-disable-userload.patch)
#}
## by default this may be 'make install DESTDIR="${D}"'

mee_install_post() {
mkdir -p ${D}/lib/systemd/system/
cat > ${D}/lib/systemd/system/accounts-daemon.service <<-EOF
[Unit]
Description=Accounts Service

[Service]
Type=dbus
BusName=org.freedesktop.Accounts
ExecStart=${LIBEXECDIR}/accounts-daemon
StandardOutput=syslog

[Install]
# We pull this in by graphical.target instead of waiting for the bus
# activation, to speed things up a little: gdm uses this anyway so it is nice
# if it is already around when gdm wants to use it and doesn't have to wait for
# it.
WantedBy=graphical.target
EOF
}

###############################################################################
##
## Additional hints:
Expand Down