Browse Source

Merge branch 'feature/systemd_user_units' of github:dvzrv/jack2 into feature/systemd_user_units

* 'feature/systemd_user_units' of github:dvzrv/jack2:
  systemd/example.conf: Fixing typo and adding further explanation and pointers to relevant documentation.
  .travis.yml: Switching last build plan (old clang) to use xenial... oversaw that one.
  .travis.yml: Switching to xenial for all other Linux based builds, too.
  systemd/wscript: Making sure to strip trailing new lines from systemd user unit dir.
  .ci/install-deps.sh: Install legacy development packages.
  .ci/install-deps.sh: Testing xenial image (trusty is mega dead) to hopefully get a working systemd development package with headers to be picked up during configure.
tags/v1.9.13
David Runge 6 years ago
parent
commit
228fda5857
4 changed files with 18 additions and 16 deletions
  1. +1
    -4
      .ci/install-deps.sh
  2. +6
    -6
      .travis.yml
  3. +9
    -4
      systemd/example.conf
  4. +2
    -2
      systemd/wscript

+ 1
- 4
.ci/install-deps.sh View File

@@ -36,10 +36,7 @@ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
libdb-dev \
systemd-services \
systemd \
libsystemd-journal-dev \
libsystemd-login-dev \
libsystemd-id128-dev \
libsystemd-daemon-dev \
libsystemd-dev \
libpam-systemd \
libdbus-1-dev \
libeigen3-dev \


+ 6
- 6
.travis.yml View File

@@ -12,7 +12,7 @@ matrix:
- ubuntu-toolchain-r-test
install:
- gcc-8
dist: trusty
dist: xenial
env:
- MATRIX_EVAL="CC=gcc-8 CXX=g++-8"
compiler: gcc
@@ -24,7 +24,7 @@ matrix:
- ubuntu-toolchain-r-test
install:
- gcc-7
dist: trusty
dist: xenial
env:
- MATRIX_EVAL="CC=gcc-7 CXX=g++-7"
compiler: gcc
@@ -36,17 +36,17 @@ matrix:
- ubuntu-toolchain-r-test
install:
- gcc-6
dist: trusty
dist: xenial
env:
- MATRIX_EVAL="CC=gcc-6 CXX=g++-6"
compiler: gcc
# linux with gcc default (4.8)
- os: linux
dist: trusty
dist: xenial
compiler: gcc
# linux with clang default (3.5)
- os: linux
dist: trusty
dist: xenial
compiler: clang
# linux with clang 3.8
- os: linux
@@ -56,7 +56,7 @@ matrix:
- ubuntu-toolchain-r-test
install:
- clang-3.8
dist: trusty
dist: xenial
env:
- MATRIX_EVAL="CC=clang-3.8 CXX=clang++-3.8"
compiler: clang


+ 9
- 4
systemd/example.conf View File

@@ -1,14 +1,19 @@
# Configuration profile for the templated systemd user unit jack@.service
# A (modified) copy of this configuration can be used to start jackd staticly
# for a user, which has the upside, that other systemd user units can depend on
# it.
# it.
#
# The systemd user service expects the configuration profiles to be located
# below /etc/jack or the user's $XDG_CONFIG_HOME and can then be started using
# ssystemctl (i.e. `systemctl --user start jack@example`).
# systemctl (i.e. `systemctl --user start jack@example`).
#
# For further details regarding the various options and drivers, see `man 1
# jackd`.
# Please note, that setups can be very diverse and therefore this approach
# might or might not suit your requirements. However, it attempts to be as
# versatile as possible.
#
# For further details regarding the various options and drivers used by JACK,
# see `man 1 jackd` and for information on systemd's unit configuration see
# `man 5 systemd.unit`, `man 5 systemd.service` and `man 5 systemd.exec`.
#

# The name of the JACK server


+ 2
- 2
systemd/wscript View File

@@ -14,8 +14,8 @@ def set_systemd_user_unit_dir(conf):
if not systemd_user_unit_dir:
conf.env['SYSTEMD_USER_UNIT_DIR'] = None
else:
systemd_user_unit_dir.strip()
conf.env['SYSTEMD_USER_UNIT_DIR'] = systemd_user_unit_dir
conf.env['SYSTEMD_USER_UNIT_DIR'] = \
systemd_user_unit_dir.replace("\n", "")


def configure(conf):


Loading…
Cancel
Save