Commit Graph
504 Commits
Author SHA1 Message Date
Mike Brady 2edc6a04c3 bump version number 2023-09-19 12:00:43 +01:00
Mike Brady e6a2a42961 update/correct configure.ac version info 2023-09-17 15:22:15 +01:00
sternenseemann 9f8b360c63 configure.ac: check $AR for ar to use
Resolves #1705. Tested against https://github.com/NixOS/nixpkgs/pull/242350.
2023-07-09 21:16:09 +02:00
Mike Brady eef6198639 Bump configure.ac version number... 2023-06-05 14:42:34 +01:00
Mike Brady 7911445adb actually make is 4.2 2023-05-20 18:09:51 +01:00
Mike Brady 25ac1017d1 merge 4.2 updates from the branch 2023-05-20 17:48:01 +01:00
Markus Reiter 7f05e61327 Simplify libplist check. 2023-05-08 04:12:42 +02:00
Markus Reiter bd848a7548 Fix compilation with libplist 2.3.0. 2023-05-08 03:58:32 +02:00
Mike Brady a732f5d306 4.4.1 2022-12-05 13:11:40 +00:00
Mike Brady acdae45549 4.1.1 almost... 2022-12-05 10:25:48 +00:00
Mike Brady 885377ca75 Add a configuration check for the xxd program when building for AirPlay 2. 2022-12-01 15:47:55 +00:00
Mike Brady f1f59099e5 Try AC_CHECK_LIB is PKG_CHECK_MODULES can't find libavcodec 2022-10-31 09:42:49 +00:00
Mike Brady 4165538eb7 4.1 release 2022-10-28 16:31:18 +01:00
Mike Brady d6e73f5d42 Bump version 2022-10-26 14:11:52 +01:00
Mike Brady 0156e38529 Bump internal version to match rc status 2022-10-24 10:00:40 +01:00
Mike Brady 9bb015cebc version 4.1-rc3 2022-10-17 13:15:02 +01:00
Mike Brady 253e149a89 Merge branch 'development'
Updates from the development branch.
2022-10-17 09:14:43 +01:00
Mike Brady 86a52964f9 Don't automatically try to build the man file -- assume it's already there. Add a separate Makefile for the man directory. Only generate the man file (not the html file) by default. Specify the man file in this directory for installation during installation of shairport sync 2022-10-10 22:39:15 +01:00
Mike Brady de217191e0 Only attempt to build the HTML version of the man page if xsltproc is installed. 2022-10-10 21:20:32 +01:00
Mike Brady e7c6c4b206 Adjust version number and remove references to the development branch. 2022-10-09 10:12:08 +01:00
Mike Brady 0cc97d5099 Start using libgcrypt again, as there appears to be a memory leak in openssl when used in the pair_ap library. 2022-10-07 16:17:42 +01:00
Mike Brady 30aaabc47e Remove the need for the gcrypt library; use openssl instead, as it's mandatory elsewhere in Shairport Sync. 2022-09-26 17:42:13 +01:00
Mike Brady fd880056fb Squashed commit of the following:
Add three parameters to the backend play() function call -- (1) a flag indicating whether the samples are timed or not. If timed, (2) the timestamp and (3) the local time at which the first frame should be heard.
    Update missing pipewire library message.
    Makefile.am fix.
    Update the SHM version and fix the SHM name so that it works with FreeBSD.
    Remove redundant (?) AC_HEADER_STDC check.
    Fix compilation and installation under FreeBSD -- changes to allow building in a separate directory broke the FreeBSD build process.
    Add AC_CHECK_LIB for gcrypt in case PKG_CHECK_MODULES fails to find it.
    Find gcrypt using pkg-config
    Add code to detect when the RTSP channel goes idle for a period, and use it to reset clocks and timings, etc. so that SPS resumes correctly where the source has gone to sleep while playing a realtime stream and has subsequently woken up.
    Don't exit if a UDP Clock Control packet is empty. Also check minimum packet size.
    Remove some very experimental code which may cause memory and port leaks.
    Strip file path from the filename used in debug messages, information messages, warnings and fatal error messages.
    BB fix to Makefile.am -- overwriting the DBUS stuff with MPRIS definitions, duh.
    Fix some problems building on FreeBSD and tidy up the use of the "sed" editor.
    Fix some problems building on picore.
    Fix an uninitialised variable
    start using the "nqptp" SMI
2022-09-12 15:19:52 +01:00
Mike Brady 6767bde989 Add AC_CHECK_LIB for gcrypt in case PKG_CHECK_MODULES fails to find it. 2022-09-07 13:49:16 +01:00
Mike Brady 7cbf302666 Use pkg-config to find gcrypt and remove a few commented-out lines. 2022-09-05 21:09:08 +01:00
Mike Brady 3419f09049 Merge branch 'autoconf-build-dir' of https://github.com/lrusak/shairport-sync into lrusak-autoconf-build-dir 2022-08-15 08:52:20 +01:00
Mike Brady 074457c857 Add conditional test for Darwin. 2022-08-08 12:17:20 +01:00
Lukas Rusak 40e28ba2c7 Makefile.am: allow building from separate build directory 2022-07-28 20:34:10 -07:00
Mike Brady 38bbad6f63 Remove the requirement for Avahi in the systemd startup file unless Avahi is included in the build. 2022-04-05 07:22:34 +01:00
Mike Brady 5a23ff5224 slightly simplify function generate_preliminary_string. 2021-12-16 09:47:50 +00:00
Mike Brady 5aa3324d3d Merge "openbsd corrections #1357" after resolving one conflict. 2021-12-09 14:16:37 +00:00
Anton Lindqvist 7693b4ae1b configure: openbsd is supported 2021-12-05 08:52:22 +01:00
Anton Lindqvist 5aeb4ab9ed configure: fix handling of non linux operating systems
The OS whitelist conditional is malformed due to missing test(1) commands
causing the following error to be emitted during configure while using something
other than Linux:

	../configure[3340]: xopenbsd: not found

Instead, favor a switch statement which makes the line a bit shorter as well.

Also, the AC_MSG_ERROR argument must be wrapped in brackets due to presence of a
comma. Otherwise, the tail will be interpreted as an additional argument.
2021-12-05 08:52:21 +01:00
Mike Brady b3526c5472 Use PKG_CHECK_MODULES to find libavcodec, to make it work with Fedora 35 (?) 2021-12-01 17:58:22 +00:00
fwcd 9065ebc6f0 Try finding libplist as libplist-2.0 on Linux too 2021-11-24 16:22:23 +01:00
Fabrice Fontaine 424cc39824 configure.ac: fix build with automake 1.16.5
Fix the following build failure with convolution raised since automake
1.16.5 and
https://git.savannah.gnu.org/cgit/automake.git/commit/?id=f4a3a70f69e1dbccb6578f39ef47835098a04624:

configure.ac:305: error: AM_INIT_AUTOMAKE expanded multiple times
/home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:6: the top level
/home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:305: the top level

Fixes:
 - http://autobuild.buildroot.org/results/464148bdccb705d8992dc860262bfdeb01b7e2a1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2021-10-15 08:20:12 +02:00
Mike Brady 37faed13af Is sufficiently different from 4.0-dev... 2021-09-27 19:37:09 +01:00
Fabrice Fontaine 246f26afe4 configure.ac: find sndfile through pkg-config
Find sndfile through pkg-config to retrieve sndfile dependencies such as
flac and avoid the following static build failure:

/tmp/instance-3/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /tmp/instance-3/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libsndfile.a(libsndfile_la-flac.o): in function `flac_byterate':
flac.c:(.text+0xfc): undefined reference to `FLAC__StreamDecoderErrorStatusString'

Fixes:
 - http://autobuild.buildroot.org/results/92ed30a6855ca11800b779718822bcba4a69c9a3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2021-08-06 11:41:49 +02:00
Mike BradyandGitHub 8c9f438bda Merge pull request #1177 from lrusak/pipewire
pipewire: add initial support
2021-07-22 16:35:10 +01:00
Mike Brady d4a625cf9c Check that a git archive actually exists as well as the git app being installed. 2021-07-06 19:24:51 +01:00
Mike Brady 5850696ac0 Switch over to AC_CHECK_LIB from PKG_CHECK_MODULES for checking for libgcrypt. 2021-06-29 10:55:21 +01:00
Mike Brady 1a21a1aaae Switch to libgcrypt for the pairing library for compatibility with Ubuntu on an M1. 2021-06-29 10:23:56 +01:00
Mike Brady e925e196c8 Changes to allow it to compile in FreeBSD and fix a few issues that were picked up by clang 10. 2021-06-22 13:49:11 +01:00
Mike Brady c37ee4542d Add code to skip packets of buffered audio that are late or too early. 2021-06-09 19:35:08 +01:00
Mike Brady aa8d251aef Check for a version of libplist that is recent enough. 2021-06-08 14:14:23 +01:00
Mike Brady 2203d6a335 Start using automatic git-based versioning 2021-05-14 22:49:17 +01:00
Mike Brady 056b37020c Was 4.0d4 with some extras. Moving to git-based semantic versioning. 2021-05-14 14:23:10 +01:00
Mike Brady c8e45b3206 Bump for changes to missing clock and flushing. 2021-05-13 21:16:58 +01:00
Mike BradyandGitHub e270f8a9a5 Update configure.ac
Bumped for an update to `pair_ap`.
2021-05-08 15:29:54 +01:00
Mike Brady fd4cc98aba Slightly better timing. Bumped version for ejurgensen's new pair_ap work. 2021-05-05 18:33:21 +01:00