From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Thu, 22 Jul 2021 16:33:31 +0000 (+0100) Subject: Bring over some updates that were applied to the master branch. X-Git-Tag: 4.1-dev~4^2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f9c17690f53019d4d985449fe17d4564002e346;p=thirdparty%2Fshairport-sync.git Bring over some updates that were applied to the master branch. --- 6f9c17690f53019d4d985449fe17d4564002e346 diff --cc BUILDFORAP1.md index 6941e564,85a24451..847346ba --- a/BUILDFORAP1.md +++ b/BUILDFORAP1.md @@@ -17,9 -17,9 +17,9 @@@ If you are using WiFi, you should turn ``` # iwconfig wlan0 power off ``` - WiFi Power Management will put the WiFi system in low-power mode when the WiFi system considered inactive, and in this mode it may not respond to events initiated from the network, such as AirPlay requests. Hence, WiFi Power Management should be turned off. (See [TROUBLESHOOTING.md](https://github.com/mikebrady/shairport-sync/blob/master/TROUBLESHOOTING.md#wifi-adapter-running-in-power-saving--low-power-mode) for more details.) + WiFi Power Management will put the WiFi system in low-power mode when the WiFi system is considered inactive, and in this mode it may not respond to events initiated from the network, such as AirPlay requests. Hence, WiFi Power Management should be turned off. (See [TROUBLESHOOTING.md](https://github.com/mikebrady/shairport-sync/blob/master/TROUBLESHOOTING.md#wifi-adapter-running-in-power-saving--low-power-mode) for more details.) -Reboot the Pi. +Reboot the computer. ### Remove Old Copies Before you begin building Shairport Sync, it's best to search for and remove any existing copies of the application, called `shairport-sync`. Use the command `$ which shairport-sync` to find them. For example, if `shairport-sync` has been installed previously, this might happen: diff --cc FEDORA.md index cf8cbc50,7690dbd6..f105ddbe --- a/FEDORA.md +++ b/FEDORA.md @@@ -1,6 -1,9 +1,9 @@@ -Fedora Installation Guide +Fedora Installation Guide [Needs updating for Airplay 2] ----- - + Update everything... + ``` + # yum update + ``` Install the toolchain and pre-requisites, if necessary: ``` # yum install make automake gcc gcc-c++ kernel-devel diff --cc OPENBSD.md index 6b18f979,16465e6b..c046390d --- a/OPENBSD.md +++ b/OPENBSD.md @@@ -1,6 -1,6 +1,6 @@@ -Shairport Sync on OpenBSD +Shairport Sync on OpenBSD [AirPlay 2 Not Supported] ---- - This is an initial note about installing Shairport Sync on OpenBSD. Shairport Sync compiles and runs natively on OpenBSD using the `sndio` back end. + This is a note about installing Shairport Sync on OpenBSD. Shairport Sync compiles and runs natively on OpenBSD using the `sndio` back end. For general information on `sndio` please follow [this link](http://www.sndio.org). Unlike FreeBSD, it seems that OpenBSD does not use the directory `/usr/local/etc` as a system configuration directory ("`sysconfdir`") but follows the same practice as Linux in using `/etc` as the default `sysconfdir`. diff --cc UPDATING.md index 73e18fb0,69885285..cbfdc635 --- a/UPDATING.md +++ b/UPDATING.md @@@ -1,6 -1,6 +1,8 @@@ -### Updating Shairport Sync -This guide is for building and updating an installation of Shairport Sync. If you wish to build an installation of Shairport Sync to replace an installation that came from a package, this doesn't really apply – instead, please follow the guide at [INSTALL.md](https://github.com/mikebrady/shairport-sync/blob/master/INSTALL.md). +### Updating Shairport Sync [Needs updating for Airplay 2] - This guide is for updating an installation of Shairport Sync. If you installed Shairport Sync from a package, most of these instructions don't apply – please go to the section at the end called "Post Update Tasks" ++This guide is for building and updating an installation of Shairport Sync. ++ ++If you updated Shairport Sync from a package, most of these instructions don't apply – please go to the section at the end called "Post Update Tasks". If you wish to build an installation of Shairport Sync to replace an installation that came from a package, instructions don't apply either – instead, please follow the guide at [INSTALL.md](https://github.com/mikebrady/shairport-sync/blob/master/INSTALL.md). To do an update, you basically have to go through the whole process of building Shairport Sync again, but a few steps are shorter because you've done them before; you won't have to reinstall the build tools or libraries needed, and you won't have to define the user and group or reconfigure the settings in the configuration file. diff --cc audio_alsa.c index ed4f3c88,b464279c..4aa6ee9b --- a/audio_alsa.c +++ b/audio_alsa.c @@@ -1,7 -1,7 +1,7 @@@ /* * libalsa output driver. This file is part of Shairport. * Copyright (c) Muffinman, Skaman 2013 -- * Copyright (c) Mike Brady 2014 -- 2019 ++ * Copyright (c) Mike Brady 2014 -- 2021 * All rights reserved. * * Permission is hereby granted, free of charge, to any person