Changeset 4ac44b2


Ignore:
Timestamp:
Jun 24, 2010, 1:48:08 AM (14 years ago)
Author:
Jessica B. Hamrick <jhamrick@…>
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)
Message:
  • More useful things in the README
  • Change perms to listen from everywhere
  • Conflict with pulseaudio, recommend removing bluez-alsa
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • README

    rc6f9cbe r4ac44b2  
    2323Questions or comments should be directed at gutenbach@mit.edu
    2424
     25NOTES:
     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
    2544TODO:
    2645- include mixer and channel in debconf, or even better, move it to
    2746  gutenbach-remctl and implement debconf in that package
     47
    2848- the filter should die and send an error message if it can't find the
    2949  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
    3156- finish the move to CUPS!
    3257    * the CUPS daemon processes do not inherit groups from the lp user (so, for example,
  • debian/control

    rabc5705 r4ac44b2  
    1111Depends: ${shlibs:Depends}, ${misc:Depends}, mplayer, libimage-exiftool-perl, lprng | debathena-lprng, sysv-rc, adduser, debathena-zephyr-config, libzephyr3-krb, alsa-base
    1212Conflicts: pulseaudio
     13Provides: pulseaudio
    1314Description: Server for playing music files from a remote machine
    1415 Allows remote machines to play music files on this machine
  • debian/inst/cups-set-perms

    r5bb5b34 r4ac44b2  
    77    printername="$(cat /usr/lib/gutenbach/config/printername)"
    88
    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
    1024# Begin configurations for gutenbach
    1125
     
    1630
    1731Group audio
     32Listen *
    1833
    1934# End configurations for gutenbach
  • debian/lib/gutenbach

    r5bb5b34 r4ac44b2  
    299299  if ($pid) { #parent
    300300    # Check if there were any errors
     301   
    301302    if ($_ = <MP3STATUS>) {
    302303      print ZEPHYR "Playback completed with the following errors:\n";
    303       print ZEPHYR $_;
    304304      while (<MP3STATUS>) {
    305305        print ZEPHYR $_;
     
    319319    open(STDIN, "/dev/null");
    320320
    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);
    322322    #print STDERR "About to exec: ", Dumper([@args]);
    323323    exec(@args) ||
  • debian/rm/cups-revert-perms

    r53e9374 r4ac44b2  
    22
    33echo "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
     4conffile="/etc/cups/cupsd.conf"
    65
    7 sed '/# Begin configurations for gutenbach/,/# End configurations for gutenbach/ d' < /etc/cups/cupsd.conf.bak > /etc/cups/cupsd.conf
     6mv "$conffile" "$conffile.bak"
     7touch "$conffile"
     8sed '/# Begin configurations for gutenbach/,/# End configurations for gutenbach/ d' < "$conffile.bak" > "$conffile"
    89
    9 rm /etc/cups/cupsd.conf.bak
     10mv "$conffile" "$conffile.bak"
     11touch "$conffile"
     12while 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
     19done < "$conffile.bak"
     20
     21rm "$conffile.bak"
Note: See TracChangeset for help on using the changeset viewer.