From: Mike Brady Date: Thu, 21 Feb 2019 13:20:31 +0000 (+0000) Subject: Update CYGWIN.md X-Git-Tag: 3.3RC0~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ea68614945d6412a4f46bf210e82c9facc63dd6;p=thirdparty%2Fshairport-sync.git Update CYGWIN.md --- diff --git a/CYGWIN.md b/CYGWIN.md index a177ead5..143624ce 100644 --- a/CYGWIN.md +++ b/CYGWIN.md @@ -1,28 +1,29 @@ -Installing to Cygwin +Installing to Cygwin V2 ---- -This is based on installing onto a fresh default installation of Cygwin 2.4.1 (64-bit installation) running in Windows 10 -inside VMWare Fusion on a Mac. - -Note: to enable Cygwin to resolve domain names, it was found necessary to go to Windows `Control Panel` > `Network and Internet` > `Network Connections` > -`Ethernet0` > `Properties` > `Internet Protocol Version 4 (TCP/IPv4)` > `Properties`, select `Use the following DNS server addresses` -and enter valid DNS server addresses, e.g. `8.8.8.8`. - -* Use `Cygwin Setup` to install the following packages: - * `pkg-config` - * `autoconf` - * `automake` - * `clang` - * `libdaemon-devel` - * `popt-devel` - * `make` - * `libao-devel` - * `openssl-devel` - * `libtool` - * `git` - * `wget` for convenience, - * `flex` for compiling `libconfig` - * `bison` for compiling `libconfig` +This is based on installing onto a fresh default installation of Cygwin 2.895 (64-bit installation) running in Windows 10 +inside VMWare Fusion on a Mac. + +The end result is Cygwin Shairport Sync, an AirPlay facility for Windows. + +Setting up Windows +==== +Set up Windows 10 and install all updates. Next, you must install the `Bonjour Service`, available from Apple in an installer called "Bonjour Print Services for Windows v2.0.2". + +* Download and run `Bonjour Print Services for Windows v2.0.2` +* After accepting conditions, the installer will do a preliminary installion of the Bonjour Service and will then pause, inviting you to install Bonjour Print Services. You can decline to do this, as the Bonjour Service will have been installed. + +Setting up Cygwin +==== +* Download the Cygwin installer from the [official website](https://cygwin.com/install.html). Save the installer in the Downloads folder. + +* Open a Window Command Prompt and enter the following (long!) command: +``` +Downloads\setup-x86_64.exe -P cygrunsrv,dbus,avahi,avahi-tools,gnome-keyring,libavahi-client-devel,libglib2.0-devel,openssl,pkg-config,autoconf,automake,clang,libdaemon-devel,popt-devel,make,libao-devel,openssl-devel,libtool,git,wget,flex,bison +``` +This will do a complete installation of Cygwin and all necessary packages. +* Set up the D-Bus and Avahi Services: + * Download, configure, compile and install `libconfig`: ``` @@ -39,8 +40,7 @@ $ cd .. $ git clone https://github.com/mikebrady/shairport-sync.git $ cd shairport-sync $ autoreconf -fi -$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --with-ao --with-ssl=openssl --with-tinysvcmdns +$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --with-ao --with-ssl=openssl --with-avahi --with-dbus-interface --sysconfdir=/etc $ make -$ make install ``` * That's it. There should be a `shairport-sync.exe` file in your directory.