summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromega <marco.biasco@gmail.com>2009-05-22 16:26:15 +0200
committeromega <marco.biasco@gmail.com>2009-05-22 16:26:15 +0200
commitce449c9b9b193ad86378ed2ea920442ba0351a5c (patch)
tree3cda93b66c9c9beef66ab50bfd30a76cb6c8208e
parent931dd1355c4382ce4966f306d73311af6b3fe589 (diff)
downloadscripts-ce449c9b9b193ad86378ed2ea920442ba0351a5c.tar.gz
scripts-ce449c9b9b193ad86378ed2ea920442ba0351a5c.tar.bz2
Fixed dep + initial support for Ubuntu Karmic
-rwxr-xr-xgit-compiz12
-rw-r--r--git-compiz.dep2
2 files changed, 9 insertions, 5 deletions
diff --git a/git-compiz b/git-compiz
index 4f65dd1..c8d50b6 100755
--- a/git-compiz
+++ b/git-compiz
@@ -138,17 +138,19 @@ case `lsb_release -cs` in
;;
jaunty) sudo aptitude update && sudo aptitude -y install $jaunty_check_dep
;;
+ karmic) sudo aptitude update && sudo aptitude -y install $karmic_check_dep
+ ;;
Werewolf|Sulphur|Cambridge|Leonidas) su -c "yum update && yum -y install $fedora_check_dep"
;;
*)
if [ -f /etc/SuSE-release ]; then
- su -c "zypper ref && zypper in $suse_dep"
+ su -c "zypper ref && zypper in $suse_check_dep"
elif [ -f /etc/slackware-version ]; then
- su -c "slapt-get update && slapt-get install $slackware_dep"
+ su -c "slapt-get update && slapt-get install $slackware_check_dep"
elif [ -f /etc/arch-release ]; then
- su -c "pacman -Sy $arch_dep"
+ su -c "pacman -Sy $arch_check_dep"
elif [ -f /etc/mandriva-release ]; then
- su -c "urpmi.update -a && urpmi $mandriva_dep"
+ su -c "urpmi.update -a && urpmi $mandriva_check_dep"
else
echo $ERROR_CHECK_DEP_1
fi
@@ -161,7 +163,7 @@ esac
purge_compiz()
{
case `lsb_release -cs` in
- hardy|intrepid|jaunty) sudo aptitude purge $ubuntu_purge
+ hardy|intrepid|jaunty|karmic) sudo aptitude purge $ubuntu_purge
;;
*)
;;
diff --git a/git-compiz.dep b/git-compiz.dep
index 6fae59f..d4d1348 100644
--- a/git-compiz.dep
+++ b/git-compiz.dep
@@ -16,6 +16,8 @@ intrepid_check_dep="subversion git-core automake intltool libtool libfuse-dev py
jaunty_check_dep="subversion git-core automake intltool libtool libfuse-dev python-pyrex libxslt1-dev build-essential comerr-dev debhelper diffstat dpkg-dev enscript g++ g++-4.2 gawk hspell html2text intltool-debian libacl1-dev libart-2.0-dev libasound2-dev libaspell-dev libatk1.0-dev libattr1-dev libaudio-dev libaudiofile-dev libavahi-client-dev libavahi-common-dev libavahi-compat-libdnssd1 libavahi-glib-dev libbonobo2-dev libbonoboui2-dev libbz2-dev libcairo2-dev libcroco3-dev libcupsys2-dev libdbus-1-dev libdbus-glib-1-dev libesd0-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgconf2-dev libgcrypt11-dev libgl1-mesa-dev libglade2-dev libglib2.0-dev libglu1-mesa-dev libgnome-desktop-dev libgnome-keyring-dev libgnome-window-settings-dev libgnome2-dev libgnomecanvas2-dev libgnomeui-dev libgnomevfs2-dev libgnutls-dev libgpg-error-dev libgsf-1-dev libgtk2.0-dev libice-dev libidl-dev libidn11-dev libjasper-dev libjpeg62-dev liblcms1-dev liblua50 liblua50-dev liblualib50 liblualib50-dev liblzo-dev libmetacity-dev libmng-dev libogg-dev libopenexr-dev liborbit2-dev libpango1.0-dev libpcre3 libpcre3-dev libpcrecpp0 libpng12-dev libpopt-dev librsvg2-dev libsasl2-dev libselinux1-dev libsepol1-dev libsm-dev libssl-dev libstartup-notification0-dev libstdc++6-4.2-dev libtasn1-3-dev libtiff4-dev libtiffxx0c2 libvorbis-dev libwnck-dev libx11-dev libxau-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxmu-dev libxmu-headers libxrandr-dev libxrender-dev libxres-dev libxt-dev lua50 mesa-common-dev po-debconf poster psutils quilt x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-resource-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev python-all-dev xsltproc libxss1 libxss-dev x11proto-scrnsaver-dev coreutils librsvg2-common libnotify1 libnotify-dev libx11-xcb1 libx11-xcb-dev mesa-utils libcv1 libcv-dev libcvaux1 libcvaux-dev libhighgui1 libhighgui-dev libxtst-dev libprotobuf3 libprotobuf-dev protobuf-compiler cmake python-lxml"
+karmic_check_dep="subversion git-core automake intltool libtool libfuse-dev python-pyrex libxslt1-dev build-essential comerr-dev debhelper diffstat dpkg-dev enscript g++ g++-4.2 gawk hspell html2text intltool-debian libacl1-dev libart-2.0-dev libasound2-dev libaspell-dev libatk1.0-dev libattr1-dev libaudio-dev libaudiofile-dev libavahi-client-dev libavahi-common-dev libavahi-compat-libdnssd1 libavahi-glib-dev libbonobo2-dev libbonoboui2-dev libbz2-dev libcairo2-dev libcroco3-dev libcupsys2-dev libdbus-1-dev libdbus-glib-1-dev libesd0-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgconf2-dev libgcrypt11-dev libgl1-mesa-dev libglade2-dev libglib2.0-dev libglu1-mesa-dev libgnome-desktop-dev libgnome-keyring-dev libgnome-window-settings-dev libgnome2-dev libgnomecanvas2-dev libgnomeui-dev libgnomevfs2-dev libgnutls-dev libgpg-error-dev libgsf-1-dev libgtk2.0-dev libice-dev libidl-dev libidn11-dev libjasper-dev libjpeg62-dev liblcms1-dev liblua50 liblua50-dev liblualib50 liblualib50-dev liblzo-dev libmetacity-dev libmng-dev libogg-dev libopenexr-dev liborbit2-dev libpango1.0-dev libpcre3 libpcre3-dev libpcrecpp0 libpng12-dev libpopt-dev librsvg2-dev libsasl2-dev libselinux1-dev libsepol1-dev libsm-dev libssl-dev libstartup-notification0-dev libstdc++6-4.2-dev libtasn1-3-dev libtiff4-dev libtiffxx0c2 libvorbis-dev libwnck-dev libx11-dev libxau-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxmu-dev libxmu-headers libxrandr-dev libxrender-dev libxres-dev libxt-dev lua50 mesa-common-dev po-debconf poster psutils quilt x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-resource-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev python-all-dev xsltproc libxss1 libxss-dev x11proto-scrnsaver-dev coreutils librsvg2-common libnotify1 libnotify-dev libx11-xcb1 libx11-xcb-dev mesa-utils libcv1 libcv-dev libcvaux1 libcvaux-dev libhighgui1 libhighgui-dev libxtst-dev libprotobuf3 libprotobuf-dev protobuf-compiler cmake python-lxml"
+
suse_check_dep="subversion Mesa-devel freeglut-devel fuse-devel gcc-c++ intltool librsvg-devel libwnck-devel pango-devel perl-XML-Parser update-desktop-files xorg-x11-devel pyrex autoconf automake libxslt-devel pkg-config libxslt startup-notification-devel bzip2 mDNSResponder-lib cairo-devel dbus-1-devel libjpeg-devel glibc-devel libnotify-devel cmake glib2-devel gtk2-devel libxml2-devel python-setuptools python-devel python-gtk gconf2-devel metacity metacity-devel gnome-control-center-devel gnome-control-center gnome-desktop-devel libxml2-python kdebase3-devel kdelibs3-devel kde4-kwin kdebase4-workspace-devel libkde4-devel protobuf protobuf-devel python-lxml"
fedora_check_dep="subversion automake intltool libxcb xcb-proto libxcb-devel libX11 git-core libtool python Pyrex python-devel perl gettext desktop-file-utils libX11-devel libdrm-devel libwnck-devel libXfixes-devel libXrandr-devel libXrender-devel gcc-c++ libXres-devel libXtst-devel libXcomposite-devel libXdamage-devel libXext-devel libXt-devel libXmu-devel libICE-devel libSM-devel dbus-devel qt-devel gnome-desktop-devel control-center-devel GConf2-devel librsvg2-devel fuse-devel metacity-devel mesa-libGLU-devel kdebase-workspace-devel dbus-qt-devel libxslt-devel pkgconfig util-linux cairo-devel pango-devel libjpeg-devel gtk2-devel kdebase3-devel protobuf protobuf-devel cmake python-lxml"