Changeset 4ac44b2
- Timestamp:
- Jun 24, 2010, 1:48:08 AM (14 years ago)
- Branches:
- master, debian, mac, no-cups, nodebathena, web
- Children:
- 1e04f22
- Parents:
- c6f9cbe
- git-author:
- Jessica B. Hamrick <jhamrick@…> (05/13/10 17:30:51)
- git-committer:
- Jessica B. Hamrick <jhamrick@…> (06/24/10 01:48:08)
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
README
rc6f9cbe r4ac44b2 23 23 Questions or comments should be directed at gutenbach@mit.edu 24 24 25 NOTES: 26 27 - If you keep getting zephyrs with the following errors: 28 29 Playback completed with the following errors: 30 bt_audio_service_open: connect() failed: Connection refused (111) 31 bt_audio_service_open: connect() failed: Connection refused (111) 32 bt_audio_service_open: connect() failed: Connection refused (111) 33 34 This is because you have alsa configured for bluetooth, but bluetooth is not 35 enabled. You should either enable bluetooth, or uninstall the bluez-alsa 36 package. 37 38 - To print to a machine without keytabs, you need to do: 39 40 lpr -Pprintername -Hhostname $file 41 42 The old `lpr -Pprintername@hostname $file` syntax will no longer work. 43 25 44 TODO: 26 45 - include mixer and channel in debconf, or even better, move it to 27 46 gutenbach-remctl and implement debconf in that package 47 28 48 - the filter should die and send an error message if it can't find the 29 49 config file, not use defaults 30 - this should really not conflict with pulse 50 51 - this should really not conflict with pulse (the biggest problem at the moment is that 52 pulse will spew a bunch of errors like "Home directory /var/spool/cups/tmp not ours." I 53 can't figure out how to get rid of them, but they're really annoying. As long as pulse 54 is in system mode, things seem to work otherwise.) 55 31 56 - finish the move to CUPS! 32 57 * the CUPS daemon processes do not inherit groups from the lp user (so, for example, -
debian/control
rabc5705 r4ac44b2 11 11 Depends: ${shlibs:Depends}, ${misc:Depends}, mplayer, libimage-exiftool-perl, lprng | debathena-lprng, sysv-rc, adduser, debathena-zephyr-config, libzephyr3-krb, alsa-base 12 12 Conflicts: pulseaudio 13 Provides: pulseaudio 13 14 Description: Server for playing music files from a remote machine 14 15 Allows remote machines to play music files on this machine -
debian/inst/cups-set-perms
r5bb5b34 r4ac44b2 7 7 printername="$(cat /usr/lib/gutenbach/config/printername)" 8 8 9 cat >> /etc/cups/cupsd.conf <<EOF 9 conffile="/etc/cups/cupsd.conf" 10 mv "$conffile" "$conffile.bak" 11 touch "$conffile" 12 13 while read line; do 14 listen_localhost=$(echo "$line" | grep '^Listen localhost' || true) 15 if [ -n "$listen_localhost" ]; then 16 echo "#GUTENBACH$line" >> "$conffile" 17 else 18 echo "$line" >> "$conffile" 19 fi 20 done < "$conffile.bak" 21 rm "$conffile.bak" 22 23 cat >> "$conffile" <<EOF 10 24 # Begin configurations for gutenbach 11 25 … … 16 30 17 31 Group audio 32 Listen * 18 33 19 34 # End configurations for gutenbach -
debian/lib/gutenbach
r5bb5b34 r4ac44b2 299 299 if ($pid) { #parent 300 300 # Check if there were any errors 301 301 302 if ($_ = <MP3STATUS>) { 302 303 print ZEPHYR "Playback completed with the following errors:\n"; 303 print ZEPHYR $_;304 304 while (<MP3STATUS>) { 305 305 print ZEPHYR $_; … … 319 319 open(STDIN, "/dev/null"); 320 320 321 my @args = (qw|/usr/bin/mplayer -vo fbdev2 -zoom -x 1024 -y 768 -framedrop -nolirc - ao alsa -cache 512-really-quiet |, $filepath);321 my @args = (qw|/usr/bin/mplayer -vo fbdev2 -zoom -x 1024 -y 768 -framedrop -nolirc -cache 512 -ao alsa -really-quiet |, $filepath); 322 322 #print STDERR "About to exec: ", Dumper([@args]); 323 323 exec(@args) || -
debian/rm/cups-revert-perms
r53e9374 r4ac44b2 2 2 3 3 echo "Reverting changes to /etc/cups/cupsd.conf..." >&2 4 mv /etc/cups/cupsd.conf /etc/cups/cupsd.conf.bak 5 touch /etc/cups/cupsd.conf 4 conffile="/etc/cups/cupsd.conf" 6 5 7 sed '/# Begin configurations for gutenbach/,/# End configurations for gutenbach/ d' < /etc/cups/cupsd.conf.bak > /etc/cups/cupsd.conf 6 mv "$conffile" "$conffile.bak" 7 touch "$conffile" 8 sed '/# Begin configurations for gutenbach/,/# End configurations for gutenbach/ d' < "$conffile.bak" > "$conffile" 8 9 9 rm /etc/cups/cupsd.conf.bak 10 mv "$conffile" "$conffile.bak" 11 touch "$conffile" 12 while read line; do 13 listen_localhost=$(echo "$line" | grep '^#GUTENBACH' || true) 14 if [ -n "$listen_localhost" ]; then 15 echo "$(echo $line | sed s/#GUTENBACH//)" >> "$conffile" 16 else 17 echo "$line" >> "$conffile" 18 fi 19 done < "$conffile.bak" 20 21 rm "$conffile.bak"
Note: See TracChangeset
for help on using the changeset viewer.