From 85f583d6872fb4634e375baf4a763cbb95e92c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki-Chudyk?= Date: Fri, 12 Aug 2016 12:35:50 +0200 Subject: [PATCH 1/5] Add omnisharp support on Fedora --- common/configure_fresh_system | 4 ++-- fedora/configure_fresh_system | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/common/configure_fresh_system b/common/configure_fresh_system index fc818a8c..fadb79a2 100755 --- a/common/configure_fresh_system +++ b/common/configure_fresh_system @@ -109,9 +109,9 @@ if [[ -z $NOVIM ]]; then cd "$DIR/.vim/bundle/YouCompleteMe/" git submodule update --init --recursive if [[ -z $NORUST ]]; then - ./install.py --racer-completer --clang-completer + ./install.py --system-boost --clang-completer --omnisharp-completer else - ./install.py --clang-completer + ./install.py --system-boost --racer-completer --clang-completer --omnisharp-completer fi fi diff --git a/fedora/configure_fresh_system b/fedora/configure_fresh_system index 7ae12880..a1c087e7 100755 --- a/fedora/configure_fresh_system +++ b/fedora/configure_fresh_system @@ -4,11 +4,13 @@ set -e #software and shell sudo dnf -y upgrade --best --allowerasing -sudo dnf -y --best --allowerasing install vim tmux atop zsh thunderbird thunderbird-enigmail thunderbird-lightning firefox aria2 gajim lm_sensors freecad python3-pip qt5-qtbase-devel qt5-qtwebkit-devel meld whois curl pv tor torsocks nodejs terminator gsmartcontrol python-pip mercurial python-devel libxslt-devel libjpeg-turbo-devel conky conky-manager redshift redshift-gtk cmake gtk2-devel intltool gparted wine solaar glances the_silver_searcher dkms kernel-devel gimp transmission-gtk git xz util-linux-user powertop dnf-automatic kdiff3 +sudo dnf -y --best --allowerasing install vim tmux atop zsh thunderbird thunderbird-enigmail thunderbird-lightning firefox aria2 gajim lm_sensors freecad python3-pip qt5-qtbase-devel qt5-qtwebkit-devel meld whois curl pv tor torsocks nodejs terminator gsmartcontrol python-pip mercurial python-devel libxslt-devel libjpeg-turbo-devel conky conky-manager redshift redshift-gtk cmake gtk2-devel intltool gparted wine solaar glances the_silver_searcher dkms kernel-devel gimp transmission-gtk git xz util-linux-user powertop dnf-automatic kdiff3 yum-utils FEDORA_VERSION=`rpm -E %fedora` +sudo rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" +sudo yum-config-manager --add-repo http://download.mono-project.com/repo/centos/ sudo dnf -y install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$FEDORA_VERSION.noarch.rpm sudo dnf -y install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$FEDORA_VERSION.noarch.rpm -sudo dnf -y --best --allowerasing install vlc splix gutenprint-cups cups-bjnp keepass mplayer golang ncurses-compat-libs kicad retext +sudo dnf -y --best --allowerasing install vlc splix gutenprint-cups cups-bjnp mono-devel keepass mplayer golang ncurses-compat-libs kicad retext sudo dnf -y groupinstall "C Development Tools and Libraries" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" From 41c922138d289335cf53c5f912dff19e9939611c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki-Chudyk?= Date: Fri, 12 Aug 2016 13:06:39 +0200 Subject: [PATCH 2/5] do not use system boost libraries to compile YCM --- common/configure_fresh_system | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/configure_fresh_system b/common/configure_fresh_system index fadb79a2..7b5f90f0 100755 --- a/common/configure_fresh_system +++ b/common/configure_fresh_system @@ -109,9 +109,9 @@ if [[ -z $NOVIM ]]; then cd "$DIR/.vim/bundle/YouCompleteMe/" git submodule update --init --recursive if [[ -z $NORUST ]]; then - ./install.py --system-boost --clang-completer --omnisharp-completer + ./install.py --clang-completer --omnisharp-completer else - ./install.py --system-boost --racer-completer --clang-completer --omnisharp-completer + ./install.py --racer-completer --clang-completer --omnisharp-completer fi fi From 0458ee8c6dd1b884a9cbb0e99bbc290a713dbae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki-Chudyk?= Date: Fri, 12 Aug 2016 13:44:42 +0200 Subject: [PATCH 3/5] add mono to default debian installation --- debian/configure_fresh_system | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/configure_fresh_system b/debian/configure_fresh_system index 60820f23..34dd9c19 100755 --- a/debian/configure_fresh_system +++ b/debian/configure_fresh_system @@ -19,6 +19,12 @@ if [[ -z $NO_SYSTEMCTL ]]; then sudo systemctl start tor fi +# mono +sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF +echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list +echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list +sudo apt-get update +sudo apt-get install mono-devel mono-complete # install vim from sources VIM_BUILD_DIR=/tmp cd "$VIM_BUILD_DIR" From bbc78968f67004b304f5911191ac7c2b1d19e2df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki-Chudyk?= Date: Fri, 12 Aug 2016 13:58:50 +0200 Subject: [PATCH 4/5] install mono noninteractively on debian --- debian/configure_fresh_system | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/configure_fresh_system b/debian/configure_fresh_system index 34dd9c19..23023f61 100755 --- a/debian/configure_fresh_system +++ b/debian/configure_fresh_system @@ -24,7 +24,7 @@ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328 echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list sudo apt-get update -sudo apt-get install mono-devel mono-complete +sudo apt-get -y install mono-devel mono-complete # install vim from sources VIM_BUILD_DIR=/tmp cd "$VIM_BUILD_DIR" From a9496aaba5bfd006c59d07bf2a322954a6255e30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki-Chudyk?= Date: Fri, 12 Aug 2016 14:51:35 +0200 Subject: [PATCH 5/5] install mono on ubuntu xenial and trusty --- ubuntu/configure_fresh_system | 5 +++++ ubuntu/trusty/configure_fresh_system | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ubuntu/configure_fresh_system b/ubuntu/configure_fresh_system index 39f64cdd..8ab84e07 100755 --- a/ubuntu/configure_fresh_system +++ b/ubuntu/configure_fresh_system @@ -20,6 +20,11 @@ if [[ -z $NO_SYSTEMCTL ]]; then sudo systemctl start tor fi +sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF +echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list +sudo apt-get update +sudo apt-get -y install mono-devel mono-complete + DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$DIR/../" DIR="$DIR" $DIR/common/configure_fresh_system diff --git a/ubuntu/trusty/configure_fresh_system b/ubuntu/trusty/configure_fresh_system index dd337830..886b5f9f 100755 --- a/ubuntu/trusty/configure_fresh_system +++ b/ubuntu/trusty/configure_fresh_system @@ -20,6 +20,12 @@ if [[ -z $NO_SYSTEMCTL ]]; then sudo systemctl start tor fi +sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF +echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list +echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list +sudo apt-get update +sudo apt-get -y install mono-devel mono-complete + DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$DIR/../../" export NO_GO=true