Package Details: shairport-git r475.d679d19-1

Git Clone URL: https://aur.archlinux.org/shairport-git.git (read-only)
Package Base: shairport-git
Description: Emulates an AirPort Express for the purpose of streaming music from iTunes and compatible iPods and iPhones
Upstream URL: http://github.com/abrasive/shairport
Licenses: GPL
Submitter: fstern
Maintainer: anatolik
Last Packager: anatolik
Votes: 30
Popularity: 0.000135
First Submitted: 2011-05-27 22:25
Last Updated: 2015-06-17 15:52

Latest Comments

anatolik commented on 2014-12-23 17:54

The upstream maintainer marked this project as dead.

I added package for shairport-sync https://aur.archlinux.org/packages/shairport-sync/ that suppose to be replacement for this package.

Thanks pepijndevos!

pepijndevos commented on 2014-12-10 10:44

It seems Shairport is no longer maintained.
Judging from the network graph, shairport-sync is the most active fork.
Maybe this package should switch, or a new package should be created?

anatolik commented on 2014-12-04 14:42

pkg-config should never be in dependencies.

Make sure that you have base-devel installed https://wiki.archlinux.org/index.php/Arch_User_Repository#Getting_started

mildred commented on 2014-12-04 12:48

You should add pkg-config to the build dependencies

Da_Coynul commented on 2014-09-01 19:08

anatolik - I am going to retract my earlier comment about bracketing $SHAIRPORT_ARGS. I made some changes to /etc/conf.d/shairport and it is now working as expected. Sorry for any confusion this may have caused.

anatolik commented on 2014-09-01 18:19

Da_Coynul: interesting point. Could you please post your /etc/conf.d/shairport? Also I think upstream is better place to report the issue.

Anyway here is what documentation says http://www.freedesktop.org/software/systemd/man/systemd.service.html

"""Basic environment variable substitution is supported. Use "${FOO}" as part of a word, or as a word of its own, on the command line, in which case it will be replaced by the value of the environment variable including all whitespace it contains, resulting in a single argument. Use "$FOO" as a separate word on the command line, in which case it will be replaced by the value of the environment variable split at whitespace, resulting in zero or more arguments. To pass a literal dollar sign, use "$$". Variables whose value is not known at expansion time are treated as empty strings. Note that the first argument (i.e. the program to execute) may not be a variable."""

Da_Coynul commented on 2014-09-01 18:07

For anyone having trouble with the systemd service: I had to change $SHAIRPORT_ARGS to ${SHAIRPORT_ARGS} in /usr/lib/systemd/system/shairport.service to get it to work. I am not sure if this is relevant but I use pulseaudio and have '-o pulse' after the other options in SHAIRPORT_ARGS in /etc/conf.d/shairport.

anatolik commented on 2014-06-23 22:49

Yeah, I left the comment about 'weird' path. Please speak-up as well.

Both Arch and Fedora prefer /usr/bin, not sure why he changed the path to /usr/local/bin

anatolik commented on 2014-06-23 22:48

Fixed

lonaowna commented on 2014-06-23 22:40

And it also looks like the ExecStart path broke.. not sure if this is intended.

https://github.com/abrasive/shairport/commit/b55e75a4114a375f2392cea2b50d0865aec0121b

lonaowna commented on 2014-06-23 22:21

Thanks for your work on cleaning up this package, Anatol!

The location of the systemd service file has seemed to have changed, it is now "scripts/systemd/shairport.service" instead of "scripts/shairport.service".

anatolik commented on 2014-06-18 22:06

This is de-facto VCS package. To conform the VCS packages you need to:
- name it shairport-git
- provide meaningful pkgver(), consult wiki for this

anatolik commented on 2014-06-18 22:04

It seems the package is abandoned. I am going to merge it to 'shareport' package.

anatolik commented on 2014-06-18 22:04

Upstream already has systemd scripts, and 'shairport' install it. No need for a separate AUR package. I am going to merge it to 'shairport'.

dauerbaustelle commented on 2014-04-08 10:09

pkg-config dependency is missing (@beedaan)

levifig commented on 2014-03-19 03:37

New git repo: https://github.com/abrasive/shairport

beedaan commented on 2014-03-11 01:15

I am having trouble building on a Raspberry Pi (ARM architecture). I run `makepkg -s` and get the following result

Makefile:2: config.mk does not exist, configuring.
sh ./configure
Configuring Shairport
OpenSSL or its dev package not found
Required package not found, cannot continue
make: *** No rule to make target 'config.mk'. Stop.
==> ERROR: A failure occurred in build().
Aborting...

It says OpenSSL is not installed, though I can confirm it is. I am thinking it is not ARM architecture?

RadioGnome1971 commented on 2014-01-09 20:33

I admit I used a very minimal install to build, but I had to install git to be able to build this.
Am new to Arch, but found some PKGBUILD scripts solving this with something like
makedepends=('git')

kingcody commented on 2013-11-11 04:39

Updated to point to mainline abrasive/shairport

*NOTE*
shairport@.service has been removed in favor of a unified config file.

shairport.service now uses /etc/conf.d/shairport as the config file.
The post install script will set the AP_NAME to your hostname on install.
However you are free to change the config file to your liking.

jrussell commented on 2013-11-02 14:48

Got issues here:

russell-server% sudo systemctl status shairport.service
shairport.service - Shairport AirTunes receiver
Loaded: loaded (/usr/lib/systemd/system/shairport.service; enabled)
Active: failed (Result: start-limit) since Sat 2013-11-02 16:47:26 SAST; 29s ago

Nov 02 16:47:26 russell-server systemd[1]: Stopping Shairport AirTunes receiver...
Nov 02 16:47:26 russell-server systemd[1]: Starting Shairport AirTunes receiver...
Nov 02 16:47:26 russell-server systemd[1]: Failed to load environment files: No such file or directory
Nov 02 16:47:26 russell-server systemd[1]: shairport.service failed to run 'start' task: No such file or directory
Nov 02 16:47:26 russell-server systemd[1]: Failed to start Shairport AirTunes receiver.
Nov 02 16:47:26 russell-server systemd[1]: Unit shairport.service entered failed state.
Nov 02 16:47:26 russell-server systemd[1]: shairport.service holdoff time over, scheduling restart.
Nov 02 16:47:26 russell-server systemd[1]: Stopping Shairport AirTunes receiver...
Nov 02 16:47:26 russell-server systemd[1]: Starting Shairport AirTunes receiver...
Nov 02 16:47:26 russell-server systemd[1]: shairport.service start request repeated too quickly, refusing to start.
Nov 02 16:47:26 russell-server systemd[1]: Failed to start Shairport AirTunes receiver.
Nov 02 16:47:26 russell-server systemd[1]: Unit shairport.service entered failed state.
russell-server%

niQo commented on 2013-10-22 06:57

Switched to shairport 1.0 prerelease.

jhl commented on 2013-10-21 23:41

Thanks for the update! 1.0-dev has been promoted to the master branch and will stop being maintained, if you could kick the branch pointer over in the PKGBUILD that'd be great.

jhl commented on 2013-10-21 23:40

1.0 rewrite has been released and has massive improvements. Please use http://github.com/abrasive/shairport master branch rather than this ancient tarball.

kingcody commented on 2013-10-18 13:49

Hey guys, sorry for the delay; so many projects to work on...

I've gone through and rebased the PKGBUILD on http://github.com/abrasive/shairport 1.0-dev branch as per @jhl's comment.

Also, i've split the service file into two.
- shairport.service
- shairport@.service

*shairport.service sets the airport name to your machines hostname
*shairport@.service sets the airport name to the text between the '@' and the '.'

Let me know if anyone has any problems.
Thanks, Cody

beat commented on 2013-10-14 17:45

I've been using the 1.0-dev branch for some time now on my Raspberry with no issues at all. In fact, I had to migrate to the new version since the old one was no longer working on my Raspberry. The new version has no Perl dependencies.

I've created a PKGBUILD that can be found here: https://gist.github.com/andrebeat/6979211

As of now, it only supports systemd. Please test it and decide if you want to replace the current package.

Cheers!

kingcody commented on 2013-10-13 01:23

I'll check it out and update if no problems. Thanks for the heads up.

jhl commented on 2013-10-12 01:26

Please move to the 1.0-dev branch, it's massively improved. There's a PKGBUILD in the scripts/ directory too.

jhl commented on 2013-10-12 01:25

Please switch to the 1.0-dev branch, it's massively improved. There's a PKGBUILD in the scripts/ directory.

kingcody commented on 2013-06-09 11:59

I Updated the service file to default Airport name to Hostname.

systemctl enable|disable|start|stop|restart shairport.service

DonJaime commented on 2013-04-19 22:52

I got a lot of underruns and breaks in playback with this package on a Raspberry Pi, which didn't happen with the -git one. Maybe the upstream is showing its age.

DonJaime commented on 2013-04-19 22:26

I got a lot of underruns and breaks in playback with this package, which didn't happen with the -git one. Maybe the upstream is showing its age.

fruckiwacki commented on 2013-03-15 15:38

just compiled the originial PKGbuild again - no errors.

Where do you get the backslashes from? it checks out the source, compiles and installs service files from parent directory (../).

PKGBUILD states "../", not "..\".

fruckiwacki commented on 2013-03-15 15:38

just compiled the originial PKGBUILD again - no errors.

Where do you get the backslashes from? it checks out the source, compiles and then goes back into parent directory (../) to install the service files.

PKGBUILD states "../", not "..\".

fruckiwacki commented on 2013-03-15 15:37

just compiled the originial PKGbuild again - no errors.

Where do you get the backslashes from? it checks out the source, compiles and then goes back into parent directory (../) to install the service files.

PKGBUILD states "../", not "..\".

Anonymous comment on 2013-01-25 22:13

There's an error in the PKGBUILD. The lines:

package() {
install -Dm644 ..\shairport.confd "${pkgdir}"/etc/conf.d/shairport
install -Dm755 ..\shairport.init "${pkgdir}"/etc/rc.d/shairport
install -Dm755 ..\shairport\@.service

are incorrect. The ..\ characters need to be removed otherwise it throws a package error. I'll post a correct PKGBUILD link for you. It was frustrating me to no end.

LINK: https://www.dropbox.com/s/g49kljuuuqg2vok/PKGBUILD

fruckiwacki commented on 2012-12-12 23:04

working great, thank you!

niQo commented on 2012-11-18 15:10

@ktemkin @frigaut: package updated with "-pthread" flag

ktemkin commented on 2012-10-14 20:51

@frigaut:

It looks like Shairport requires libpthread, but doesn't include the required linker flag in its makefile. If I'm not mistaken, GCC has a special "-pthread" flag which adds the appropriate linker flag, as well as any other flags which are appropriate for use with pthreads on your system.

You can add the -pthread compiler flag to the existing Makefile by adding the following line to the PKGBUILD's make() function:

#add -pthread to each "gcc" line in the makefile
sed -i '/gcc/ s/$/ -pthread/' Makefile

The whole build function is now:

build() {
cd "$srcdir/$pkgname-$pkgver"

#add -pthread to each "gcc" line in the makefile
sed -i '/gcc/ s/$/ -pthread/' Makefile

#then make
make || return 1
}

kingcody commented on 2012-10-12 11:29

This is a fork from fstren's package.

Contains systemd service script:
shairport@.service

## To enable shairport to start on boot with systemd ##
$ systemctl enable shairport\@YOUR_AP_NAME

## To start/stop service from command-line with systemd ##
$ systemctl start/stop shairport\@YOUR_AP_NAME

fstern commented on 2012-09-29 13:13

Fixed.

badboy commented on 2012-09-29 13:09

Dependency is their: http://aur.archlinux.org/packages.php?ID=63217

fstern commented on 2012-09-29 12:58

@badboy: Ok, I'll add the dependency then.

badboy commented on 2012-09-29 12:52

@elmurato, @fstern: I have a PKGBUILD for perl-net-sdp. I'll publish it and it should be a dependency then

elmurato commented on 2012-09-28 01:49

If you get the error message "Can't locate Net/SDP.pm in @inc" execute the following command as root and accept all defaults during configuration of cspan:

cpan install Net::SDP

@maintainer: Is there a possibility you fix this in the PKGBUILD?

pearswj commented on 2012-08-24 16:43

Builds fine on arm too! Can I suggest changing arch to 'any'?

frigaut commented on 2012-05-19 05:35

oh, and some more info:

503:~ $ gcc --version
gcc (GCC) 4.7.0 20120505 (prerelease)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

504:~ $ locate libthread
/lib/libthread_db-1.0.so
/lib/libthread_db.so.1
/usr/lib/libthread_db.so
/usr/lib/libthreadweaver.so
/usr/lib/libthreadweaver.so.4
/usr/lib/libthreadweaver.so.4.8.0
/usr/lib32/libthread_db-1.0.so
/usr/lib32/libthread_db.so
/usr/lib32/libthread_db.so.1
506:~ $ pacman -Qo /usr/lib/libthread_db.so
/usr/lib/libthread_db.so is owned by glibc 2.15-10
507:~ $

frigaut commented on 2012-05-19 05:33

==> Starting build()...
gcc hairtunes.c alac.c -lm `pkg-config --cflags --libs ao openssl` -o hairtunes
/usr/bin/ld: /tmp/cchqWAuF.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [hairtunes] Error 1
==> ERROR: A failure occurred in build().
Aborting...
The build failed.
503:~ $

doesn't look like a shairport build related issue, but here is what I got...
Does that look familiar to anyone?

net147 commented on 2012-01-22 12:17

Missing perl-http-message in depends array.

niQo commented on 2011-07-31 09:51

If you want to use latest git sources, you can use shairport-git package.

fstern commented on 2011-05-29 12:55

Changed giturl to the "official" url

fstern commented on 2011-05-27 22:33

Just using my fork of the source code until the pull request is through.

cryptix commented on 2011-05-08 12:24

Maybe we should move to albertz or another forked github repo.
jhl suggested this on his blog, too.

https://github.com/albertz/shairport

cryptix commented on 2011-05-08 12:19

@cecilyen: make sure /etc/rc.d/avahi-daemon is started

Anonymous comment on 2011-04-30 15:30

I installed every dependencies for the sharport on a latest ArchLinux machine. But, I got this error on the first run.
"Failed to create client object: Daemon not running
Avahi publishing failed! Do you have avahi-publish-service on your PATH? at ./shairport.pl line 65, <DATA> line 23."

I can see avahi-publish-service 0.6.30 in /usr/bin/