projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout libavcodec-extra-52 pour support AAC et Handbrake
[hvlinux.git]
/
ubuntu
/
ubuntu-cfg.sh
diff --git
a/ubuntu/ubuntu-cfg.sh
b/ubuntu/ubuntu-cfg.sh
index
29be224
..
805b5a1
100755
(executable)
--- a/
ubuntu/ubuntu-cfg.sh
+++ b/
ubuntu/ubuntu-cfg.sh
@@
-1,18
+1,16
@@
-#!/bin/sh
+#!/bin/
ba
sh
set -o errexit
set -o errexit
+source ./config.def
+
# Liste des items:
# 1. Désactiver touch CAPS LOCK
# Liste des items:
# 1. Désactiver touch CAPS LOCK
-USE_OPENOFFICE=1
-#INSTALL_WMAKER=1
-#INSTALL_MUSIC_STUDIO=1
-#INSTALL_DEV_TOOLS=1
-
GST=gstreamer0.10
APT="sudo apt-get --yes --force-yes"
AGI="${APT} install"
GST=gstreamer0.10
APT="sudo apt-get --yes --force-yes"
AGI="${APT} install"
+AGINR="${AGI} --no-install-recommends"
ubuntu_cleanup()
{
ubuntu_cleanup()
{
@@
-22,6
+20,12
@@
ubuntu_cleanup()
${APT} autoclean
}
${APT} autoclean
}
+hv_add_repo()
+{
+ sudo add-apt-repository ${1}
+ ${APT} update
+}
+
if [ "`id -u`" -eq 0 ]; then
echo "You must NOT be the super-user to execute this script"
exit 1
if [ "`id -u`" -eq 0 ]; then
echo "You must NOT be the super-user to execute this script"
exit 1
@@
-38,7
+42,7
@@
if dpkg --list | grep "bluez-gstreamer" 1> /dev/null 2>&1; then
${APT} remove --purge bluetooth bluez bluez-gstreamer bluez-alsa bluez-cups
fi
${APT} remove --purge bluetooth bluez bluez-gstreamer bluez-alsa bluez-cups
fi
-if [ "x${
USE
_OPENOFFICE}" != "x1" ]; then
+if [ "x${
INSTALL
_OPENOFFICE}" != "x1" ]; then
if dpkg --list | grep "openoffice" 1> /dev/null 2>&1; then
${APT} remove --purge openoffice*
fi
if dpkg --list | grep "openoffice" 1> /dev/null 2>&1; then
${APT} remove --purge openoffice*
fi
@@
-49,7
+53,11
@@
if dpkg --list | grep "samba-common" 1> /dev/null 2>&1; then
fi
if dpkg --list | grep "evolution-exchange" 1> /dev/null 2>&1; then
fi
if dpkg --list | grep "evolution-exchange" 1> /dev/null 2>&1; then
- ${APT} remove --purge evolution
+ ${APT} remove --purge evolution evolution-plugins evolution-webcal evolution-data-server evolution-indicator evolution-common
+fi
+
+if dpkg --list | grep "empathy-common" 1> /dev/null 2>&1; then
+ ${APT} remove --purge empathy*
fi
if dpkg --list | grep "pppconfig" 1> /dev/null 2>&1; then
fi
if dpkg --list | grep "pppconfig" 1> /dev/null 2>&1; then
@@
-178,7
+186,8
@@
sudo update-grub
${AGI} emacs
${AGI} reiserfsprogs gparted
${AGI} emacs
${AGI} reiserfsprogs gparted
-${AGI} smartmontools gddrescue
+${AGI} gddrescue
+${AGINR} smartmontools
# Connection serveurs NFS
${AGI} nfs-common portmap
# Connection serveurs NFS
${AGI} nfs-common portmap
@@
-188,6
+197,9
@@
${AGI} subversion
# Development
if [ "x${INSTALL_DEV_TOOLS}" = "x1" ]; then
${AGI} git
# Development
if [ "x${INSTALL_DEV_TOOLS}" = "x1" ]; then
${AGI} git
+ # Set global configuration options to ~/.gitconfig
+ git config --global core.editor emacs
+ git config --global color.ui true
${AGI} build-essential texinfo gettext gawk bison flex
${AGI} autoconf autoconf-doc autotools-dev libtool
${AGI} manpages manpages-dev manpages-posix manpages-posix-dev
${AGI} build-essential texinfo gettext gawk bison flex
${AGI} autoconf autoconf-doc autotools-dev libtool
${AGI} manpages manpages-dev manpages-posix manpages-posix-dev
@@
-204,14
+216,12
@@
if [ "x${INSTALL_DEV_TOOLS}" = "x1" ]; then
${AGI} dh-make lintian dupload
fi
${AGI} dh-make lintian dupload
fi
-if [ "x${USE_OPENOFFICE}" = "x1" ]; then
- ${AGI} abiword gnumeric gnumeric-plugins-extra
-fi
+${AGI} abiword gnumeric gnumeric-plugins-extra
${AGI} texlive texlive-latex-recommended texlive-latex-extra texlive-humanities
# Jackd
if [ "x${INSTALL_MUSIC_STUDIO}" = "x1" ]; then
${AGI} texlive texlive-latex-recommended texlive-latex-extra texlive-humanities
# Jackd
if [ "x${INSTALL_MUSIC_STUDIO}" = "x1" ]; then
- ${AGI} jackd patchage
+ ${AGI
NR
} jackd patchage
sudo sed -i -e 's!^\(@audio\s*-\s*rtprio\s*\).*!\199!' \
/etc/security/limits.d/audio.conf
${AGI} pulseaudio-module-jack
sudo sed -i -e 's!^\(@audio\s*-\s*rtprio\s*\).*!\199!' \
/etc/security/limits.d/audio.conf
${AGI} pulseaudio-module-jack
@@
-242,6
+252,9
@@
if [ ! -h /usr/lib/libdvdcss.so.2 ]; then
fi
${AGI} ffmpeg
${AGI} ${GST}-ffmpeg ${GST}-plugins-bad ${GST}-plugins-ugly ${GST}-fluendo-mp3
fi
${AGI} ffmpeg
${AGI} ${GST}-ffmpeg ${GST}-plugins-bad ${GST}-plugins-ugly ${GST}-fluendo-mp3
+${AGI} libavcodec-extra-52
+hv_add_repo "ppa:stebbins/handbrake-snapshots"
+${AGI} handbrake-cli
${AGI} mozilla-plugin-gnash # Requires "mysql-common"
if [ -h /dev/cdrom ]; then # Don't install on machines without CD/DVD-ROM
${AGI} vlc mozilla-plugin-vlc
${AGI} mozilla-plugin-gnash # Requires "mysql-common"
if [ -h /dev/cdrom ]; then # Don't install on machines without CD/DVD-ROM
${AGI} vlc mozilla-plugin-vlc
@@
-271,6
+284,10
@@
if [ -f ${HOME}/.sylpheed-2.0/folderlist.xml ]; then
${HOME}/.sylpheed-2.0/folderlist.xml
fi
${HOME}/.sylpheed-2.0/folderlist.xml
fi
+# Chromium
+hv_add_repo "ppa:chromium-daily/ppa"
+${AGI} chromium-browser
+
if [ "x${INSTALL_WMAKER}" = "x1" ]; then
${AGI} wmaker
if [ -d ${HOME}/GNUstep/Library/WindowMaker ]; then
if [ "x${INSTALL_WMAKER}" = "x1" ]; then
${AGI} wmaker
if [ -d ${HOME}/GNUstep/Library/WindowMaker ]; then