diff --git a/020_bluez-alsa.sh b/020_bluez-alsa.sh index 1014e8d..5880dc0 100755 --- a/020_bluez-alsa.sh +++ b/020_bluez-alsa.sh @@ -6,7 +6,9 @@ sudo apt-get -y install \ check \ bluez \ bluetooth \ - bluez-tools \ + bluez-tools + +sudo apt-get -y install \ libbluetooth-dev \ libbsd-dev \ libusb-dev \ @@ -18,7 +20,7 @@ sudo apt-get -y install \ libmpg123-dev \ libncurses-dev \ libfdk-aac-dev \ - libreadline-dev + libreadline-dev \ libsbc1 \ libfdk-aac-dev \ libsbc-dev \ @@ -108,6 +110,52 @@ echo ${PACKAGE}_${VERSION}_amd64.deb sudo dpkg -i ../${PACKAGE}_${VERSION}_amd64.deb + +sudo apt-get -y install \ + libbluetooth-dev \ + libbsd-dev \ + libusb-dev \ + libglib2.0-dev \ + libudev-dev \ + libdbus-1-dev \ + libical-dev \ + libmp3lame-dev \ + libmpg123-dev \ + libncurses-dev \ + libfdk-aac-dev \ + libreadline-dev \ + libsbc1 \ + libfdk-aac-dev \ + libsbc-dev \ + libasound2-dev \ + libortp-dev + +#------------------------------------------------------------------------------- +# grep bluealsa /etc/passwd +bluealsa:x:129:962:added by portage for bluez-alsa:/dev/null:/sbin/nologin +# grep bluealsa /etc/group +bluealsa:x:962: +#------------------------------------------------------------------------------- + +cat > /etc/init.d/bluealsa <<'EOF' +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +pidfile="/var/run/bluealsa.pid" +command="/usr/bin/bluealsa" +command_args="${BLUEALSA_CONF}" +command_background="true" + +depend() { + after bluetooth + need dbus localmount +} + +start_pre() { + checkpath -q -D -m 0770 -o :audio /var/run/bluealsa +} +EOF #------------------------------------------------------------------------------- ## When BlueALSA has been created, then you can start BlueALSA as background task: #bluealsa --disable-hfp & @@ -123,8 +171,8 @@ sudo dpkg -i ../${PACKAGE}_${VERSION}_amd64.deb # After that power off&on the bt-speaker device and the device will connect automatically as a trusted device. -# Before we try our first audio-command we had to export one thing to make BlueALSA mor system-friendly: -export LIBASOUND_THREAD_SAFE=0 +# Before we try our first audio-command we had to export one thing to make BlueALSA more system-friendly: +#export LIBASOUND_THREAD_SAFE=0 # autostart bluealsa #cat < /etc/rc.local diff --git a/020_vim.sh b/020_vim.sh index db45f7f..c4694ae 100755 --- a/020_vim.sh +++ b/020_vim.sh @@ -193,7 +193,7 @@ Plugin 'bps/vim-textobj-python' Plugin 'tpope/vim-vinegar' Plugin 'vim-scripts/taglist.vim' Plugin 'majutsushi/tagbar' -Plugin 'scrooloose/nerdtree' +Plugin 'preservim/nerdtree' Plugin 'jistr/vim-nerdtree-tabs' Plugin 'severin-lemaignan/vim-minimap' @@ -222,6 +222,9 @@ Plugin 'vim-syntastic/syntastic' Plugin 'preservim/nerdcommenter' Plugin 'sbdchd/neoformat' +" Rust +Plugin 'rust-lang/rust.vim' + Plugin 'luochen1990/rainbow' let g:rainbow_active = 1 "0 if you want to enable it later via :RainbowToggle diff --git a/020_zsh.sh b/020_zsh.sh index 83d2e2b..726c0e2 100755 --- a/020_zsh.sh +++ b/020_zsh.sh @@ -369,3 +369,5 @@ EOF chown -R root.root /usr/local/share/zsh/site-functions chmod -R 755 /usr/local/share/zsh/site-functions + +zgen update