Changeset 955

Show
Ignore:
Timestamp:
09/05/08 11:09:14 (3 months ago)
Author:
mariodebian
Message:

initramfs-tools-tcos (0.89.6)

  • xmlrpc/sh/rtp-controller.sh, hooks-addons/21pulseaudio:
    • Copy and create links of sox libs
    • Copy libasound2-plugins of pulseaudio and create /etc/asound.conf
  • bin/tcos-buildchroot:
    • Add libasound2-plugins to base packages
  • bin/configurexorg:
    • touch mysettings.conf (newer tftp don't create if no exists)
  • debian/control:
    • Add libsox-fmt-all and libasound2-plugins to tcos-core Depends
Location:
trunk/initramfs-tools-tcos
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/initramfs-tools-tcos/bin/configurexorg

    r774 r955  
    5555  debug "downloading file /tcos/conf/${MYIP}.conf" 
    5656  download_file /tcos/conf/${MYIP}.conf /conf/mysettings.conf 
     57  # new versions of tftp don't create file 
     58  touch /conf/mysettings.conf 
    5759  . /conf/mysettings.conf 
    5860} 
  • trunk/initramfs-tools-tcos/bin/tcos-buildchroot

    r928 r955  
    5050TCOS_PACKAGES="tcos-keyring initramfs-tools-tcos tcos-usplash tinylogin ltspfs-client lp-server xvnc4viewer esound" 
    5151TCOS_PACKAGES="${TCOS_PACKAGES} iftop strace twm x11vnc scrot cdparanoia dropbear console-data discover" 
    52 TCOS_PACKAGES="${TCOS_PACKAGES} busybox rdesktop pulseaudio pulseaudio-module-x11 pulseaudio-utils" 
     52TCOS_PACKAGES="${TCOS_PACKAGES} busybox rdesktop pulseaudio pulseaudio-module-x11 pulseaudio-utils libasound2-plugins" 
    5353 
    5454# apt options (force-yes) 
  • trunk/initramfs-tools-tcos/debian/changelog

    r947 r955  
     1initramfs-tools-tcos (0.89.6) unstable; urgency=low 
     2 
     3  * xmlrpc/sh/rtp-controller.sh, hooks-addons/21pulseaudio: 
     4    - Copy and create links of sox libs 
     5    - Copy libasound2-plugins of pulseaudio and create /etc/asound.conf 
     6  * bin/tcos-buildchroot: 
     7    - Add libasound2-plugins to base packages 
     8  * bin/configurexorg: 
     9    - touch mysettings.conf (newer tftp don't create if no exists) 
     10  * debian/control: 
     11    - Add libsox-fmt-all and libasound2-plugins to tcos-core Depends 
     12 
     13 -- Mario Izquierdo (mariodebian) <mariodebian@gmail.com>  Fri, 05 Sep 2008 11:08:42 +0200 
     14 
    115initramfs-tools-tcos (0.89.5) unstable; urgency=low 
    216 
  • trunk/initramfs-tools-tcos/debian/control

    r928 r955  
    3333Architecture: any 
    3434Depends: busybox, xterm, x11vnc, xvnc4viewer | xvncviewer, vlc, dosfstools, cdparanoia,  
    35          scrot, eject, netpipes, libnotify-bin, python, python-utmp, rtptools, stunnel4, openssl, iproute, 
     35         scrot, eject, netpipes, libnotify-bin, python, python-utmp, rtptools, libsox-fmt-all, libasound2-plugins, 
     36         stunnel4, openssl, iproute, 
    3637         python-dbus | python2.4-dbus, ${misc:Depends}, ${shlibs:Depends} 
    3738Conflicts: tcosmonitor (<< 0.1.23.2), initramfs-tools-tcos (<< 0.87.0) 
  • trunk/initramfs-tools-tcos/hooks-addons/21pulseaudio

    r926 r955  
    9090 cpifexists /etc/pulse/daemon.conf     /etc/pulse/ 
    9191 
     92 cat << EOF >> ${DESTDIR}/etc/asound.conf 
     93pcm.!default { 
     94    type pulse 
     95} 
     96ctl.!default { 
     97    type pulse 
     98} 
     99EOF 
     100 
     101  mkdir -p ${DESTDIR}/usr/lib/alsa-lib/ 
     102  cpifexists /usr/lib/alsa-lib/libasound_module_pcm_pulse.so    /usr/lib/alsa-lib/ 
     103  cpifexists /usr/lib/alsa-lib/libasound_module_ctl_pulse.so    /usr/lib/alsa-lib/ 
     104  cpifexists /usr/lib/alsa-lib/libasound_module_pcm_alsa_dsp.so /usr/lib/alsa-lib/ 
     105 
     106  mkdir -p ${DESTDIR}/usr/lib/sox/ 
     107  for lib in $(find /usr/lib/sox/ -type f| grep -v -e mp3 -e flac -e sd2 -e fap -e vorbis -e mat5 -e wavpack -e ffmpeg -e mat4 -e pvf); do 
     108     cpifexists $lib  /usr/lib/sox/ 
     109  done 
     110 
     111 
     112 
    92113 cat << EOF >> ${DESTDIR}/sbin/startpulseaudio 
    93114#!/bin/sh 
     
    97118. /conf/tcos.conf 
    98119. /conf/tcos-run-functions 
     120 
    99121 
    100122# check lib link 
  • trunk/initramfs-tools-tcos/xmlrpc/sh/rtp-controller.sh

    r733 r955  
    3030  STANDALONE=0 
    3131  export XAUTHORITY=/root/.Xauthority 
     32  if [ -d /usr/lib/sox ]  && [ ! -f /tmp/sox.libs ]; then 
     33    # update sox libs 
     34    for lib in $(/usr/lib/sox/ -type f); do 
     35      ln -s $lib $(echo $lib | awk -F"\.so" '{print $1".so"}')    >> /tmp/sox.libs 2>&1 
     36      ln -s $lib $(echo $lib | awk -F"\.so" '{print $1".so.0"}')  >> /tmp/sox.libs 2>&1 
     37    done 
     38  fi 
     39 
    3240else 
    3341  STANDALONE=1 
     
    3745  DBUS_HANDLER="/usr/lib/tcos/tcos-dbus-helper --username=${STANDALONE_USER} " 
    3846fi 
     47 
    3948 
    4049