Commit Graph

43 Commits

Author SHA1 Message Date
Dev 5c6b5938c1 FreeBSD install script can now run as root without sudo installed. Also easier to pick a custom user/group name and relocate the configuration directory. 2022-08-07 16:40:05 -07:00
ejurgensen 94156d7cd7 [docs] Remove JRE from FreeBSD install script
Not required since we don't use antlr3 any more
2022-05-30 17:22:03 +02:00
ejurgensen ab81de9f7b [docs] Add bison and flex requirement to installation docs 2022-01-29 17:46:40 +01:00
ejurgensen 3a93dc5da8 [daap/rsp/smartpl] Drop ANTLR parsers
Replacing the antlr parsers solves multiple issues:

- Build warnings (issue #307)
- Build hacks: "-Xconversiontimeout 30000" and other Makefile magic
- Incorrect parsing of daap queries with sql wildcards (like 'tag:*tes%t_ng*')
- Infinite recursion/memory/CPU (issue #570 and #1248)
- systemd service file workarounds due to memory/CPU issue
- ANTLR3 being replaced with ANTLR4 (that doesn't support C file generation)
- Runtime dependency on antlr library
- Difficult installs of ANTLR3 on some systems (special install script)
2022-01-29 17:46:40 +01:00
ejurgensen c464f01d58 [docs] Update FreeBSD script to not install systemd files 2021-09-02 00:21:05 +02:00
ejurgensen a18c73d732 [docs] Update FreeBSD install scripts
- Add required protobuf-c package
- Remove version numbers so we don't need to keep them updated
2021-09-01 17:11:01 +02:00
ejurgensen 90ae602bd5 [docs] Name change forked-daapd -> owntone in FreeBSD scripts 2021-04-24 23:54:20 +02:00
ejurgensen c7faefe1f8 [docs] Change git links: owntone/forked-daapd -> owntone/owntone-server 2021-04-01 22:09:26 +02:00
ejurgensen daa0652e7b [docs] Rename repo: ejurgensen -> owntone 2021-03-30 23:39:07 +02:00
ejurgensen f1c41e113d [docs] Add libcurl dependency 2021-03-12 19:14:29 +01:00
ejurgensen 498ce9f9c7 Modify antlr install script so it can run without prompts
Useful for automated actions, e.g. Github workflow
2020-05-23 17:35:53 +02:00
ejurgensen 565f0b07bd [docs] Update to reflect player web interface and libwebsockets dependency 2018-06-05 23:04:34 +02:00
ejurgensen b1c9518a78 [-] Make json-c a required library
Already kind of was required, as it was required by Spotify, Chromecast and the web api
2018-02-22 21:49:11 +01:00
ejurgensen 0876897e7c [scripts] Drop FreeBSD 10.1 install script (replaced by 11.0) 2017-06-30 20:30:15 +02:00
ejurgensen 7496bf5bcc [scripts] Add install script for FreeBSD 11.0 2017-06-30 20:27:48 +02:00
ejurgensen beafa84dd3 [scripts] Update pairing helper to only write pin 2017-06-14 23:54:16 +02:00
sshambar 297de6d86c [osx] Added INSTALL instructions for macports (#344)
Also fixed antlr3_install.sh to handle missing /usr/local/bin
2017-01-23 22:13:50 +01:00
Scott Shambarger 07c40a27ea [scripts] Update antlr35_install to support non-sudo install, more options.
Added support for using curl in addition to wget. Added support for compiling
as non-root, and installing later as root w/o sudo.  Added GNU Make check.
Made all downloads and urls vars at top of script.  Added usage.
Allow cancelling downloads, or using exiting downloaded files (offline).
Allow setting any install prefix. Auto-detect if on 64bit OS.
Better handling of various errors.
2017-01-21 15:37:24 -05:00
Scott Shambarger 37b1678103 [scripts] Minor updates to pairinghelper.sh option parsing 2017-01-21 15:36:42 -05:00
Scott Shambarger 2cf2eb32aa [scripts] Updated pairinghelper.sh to handle repeated attempts at pairing
Added Usage help, allow a custom config-file, provide better feedback
with unable to read logs or write to media directory.  Fixed log parsing
to only look for pairing success or failure after most recent remote
discovery to allow repeated pairing attempts (possibly with different
remotes).  Better timeout handling, especially as FreeBSD has a delay
in processing the pairing file.
2017-01-21 13:10:59 -05:00
ejurgensen ca6836f638 [scripts] Add missing linker flags to FreeBSD install script 2017-01-12 22:44:08 +01:00
ejurgensen 12580866cc [scripts] Add alsa-lib to freebsd install script 2016-08-25 21:27:17 +02:00
ejurgensen bf27a879df [filescanner] Use libinotify for FreeBSD (should fix issue #245)
Filescanner was broken in FreeBSD. Besides fixing this, using
libinotify instead of kqueue directly should make the code easier
to maintain, since it will be less divergent.

This commit includes these changes:
- Add libinotify to FreeBSD install scripts
- Fix reading multiple events from inotify fd (possible bug in Linux too)
- Deferred scanning since FreeBSD doesn't have IN_CLOSE_WRITE
- Configure search for inotify library
- Removal of kqueue stuff
2016-04-12 22:11:56 +02:00
ejurgensen 19b69a4f67 [scripts] Typo in commit e2ec5d9, now really use "install -m 755" in
FreeBSD install script
2016-02-06 23:17:58 +01:00
ejurgensen e2ec5d9422 [scripts] Use "install -m 755" in FreeBSD install script 2016-02-06 11:08:05 +01:00
Janus e7c9cad9a6 Fix paringhelper.sh to operate correctly for device names with apostrophe
Before the fix, a log entry for ‘Foo’s iPhone’ would be parsed as
originating from the device “Foo”. I have changed the matching to
include the parenthesis opening after the closing single quote.
2015-11-14 21:50:09 +01:00
James Le Cuirot 5fe4f67d20
Update ANTLR script to 3.5.2
This is beneficial because 3.4 is broken under Java 8. It appears that
the C library didn't change in 3.5 so the 3.4 tarball is still used
for that part.
2015-10-06 22:09:18 +01:00
ejurgensen 832fc95a22 Modify scripts so they install antlr wrapper with mode 755 2015-03-18 20:38:01 +01:00
ejurgensen 044d25dbf1 Use printf instead of "echo -e" in pairinghelper.sh
- should work across platforms
2015-02-27 23:01:15 +01:00
protree 5cea89a8d4 Fix Wrong Remote Name
Name of remote in pair.remote was "-e $remote"

Log: [2015-02-26 21:00:16] [  LOG]   remote: Remote '-e remoteXX' not known from mDNS, ignoring

Removing "-e" option works as expected.
2015-02-26 21:03:21 +01:00
protree 30b4d24afc Allow spaces in Library Path
Changed Parsing of Library Path to allow spaces in Library Path
2015-02-26 20:52:49 +01:00
ejurgensen 763e042325 Revert "Use CPATH/LIBRARY_PATH instead of CFLAGS/LDFLAGS"
This reverts commit 6382b11904.
2015-02-19 19:28:42 +01:00
ejurgensen 6382b11904 Use CPATH/LIBRARY_PATH instead of CFLAGS/LDFLAGS 2015-02-17 22:57:30 +01:00
ejurgensen 2bf730fbce Remove some CFLAGS that are not necessary 2015-02-17 22:43:08 +01:00
ejurgensen a1cc34b13f Use "install" in scripts (instead of mv) 2015-02-15 00:12:16 +01:00
ejurgensen 3dc64eb6f7 Add selection of 64 bit build of libantlr3c in script 2015-02-14 23:52:56 +01:00
ejurgensen 3d4405a87b Pairing helper improvements 2015-02-14 23:10:58 +01:00
ejurgensen 74a13990c1 Enable script 2015-02-14 22:57:42 +01:00
ejurgensen 08c744d4b8 Add antlr 3.4 build and install helper script 2015-02-14 21:02:55 +01:00
ejurgensen 64ca694189 Adjustments to FreeBSD install and start scripts 2015-02-14 21:02:25 +01:00
ejurgensen d449d44cf8 Add a basic helper script for pairing 2015-02-12 22:58:54 +01:00
ejurgensen 7c8bdc895e FreeBSD install script fixup 2015-02-12 22:50:04 +01:00
ejurgensen 3cd7b27bac Remove FreeBSD/OSS4 hacks and add FreeBSD 10.1 install and startup helper scripts (issue #94) 2015-02-11 22:59:57 +01:00