Diff
checker
文本
文本
图像
文档
Excel
文件夹
Legal
Enterprise
桌面版
定价
登录
下载 Diffchecker 桌面版
比较文本
查找两个文本文件之间的差异
工具
历史
实时编辑器
隐藏空白更改
折叠未更改行
关闭换行
视图
拆分
统一
比对精度
智能
单词
字符
文本样式
更改外观
语法高亮
选择语法
忽略
文本转换
转到第一个差异
编辑输入
Diffchecker Desktop
运行Diffchecker最安全的方式。获取Diffchecker桌面应用:您的差异永远不会离开您的电脑!
获取桌面版
qbittorrent
创建于
7年前
差异永不过期
清除
导出
分享
解释
25 删除
行
总计
删除
字符
总计
删除
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
66 行
全部复制
3 添加
行
总计
添加
字符
总计
添加
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
48 行
全部复制
复制
已复制
复制
已复制
#!/bin/
ba
sh
#!/bin/
sh
set -e
set -e
复制
已复制
复制
已复制
apt update -y
apt install -y build-essential git perl python2.7
libboost-all-dev libboost-tools
-dev zlib1g-dev autoconf
libssl-dev
apt install -y build-essential git perl python2.7
python2.7
-dev zlib1g-dev autoconf
libicu-dev
libssl-dev
pkg-config
QBITTORRENT_TAG=v4_2_x
QBITTORRENT_TAG=v4_2_x
LIBTORRENT_TAG=RC_1_2
LIBTORRENT_TAG=RC_1_2
QT5_TAG=5.12
QT5_TAG=5.12
复制
已复制
复制
已复制
BOOST_VER=1.72.0
BOOST_BUILD_TAG=boost-$BOOST_VER
rm -rf work
rm -rf work
mkdir work
mkdir work
cd work
cd work
复制
已复制
复制
已复制
BOOST_FILE_NAME="boost_${BOOST_VER//./_}.tar.gz"
wget https://dl.bintray.com/boostorg/release/$BOOST_VER/source/$BOOST_FILE_NAME
tar xzvf $BOOST_FILE_NAME
cd boost_${BOOST_VER//./_}
./bootstrap.sh
./b2 link=static cxxflags=-std=c++14 install
cd ..
git clone https://github.com/boostorg/build.git --branch $BOOST_BUILD_TAG --single-branch --depth 1
cd build
./bootstrap.sh
./b2 cxxflags=-std=c++14 install
cd ..
git clone https://github.com/qt/qtbase.git --branch $QT5_TAG --single-branch --depth 1
git clone https://github.com/qt/qtbase.git --branch $QT5_TAG --single-branch --depth 1
cd qtbase
cd qtbase
./configure -static -openssl-linked -opensource \
./configure -static -openssl-linked -opensource \
-confirm-license -c++std 14 -no-opengl -no-dbus -no-widgets -no-gui -no-compile-examples \
-confirm-license -c++std 14 -no-opengl -no-dbus -no-widgets -no-gui -no-compile-examples \
-prefix `pwd`/../qt-qbittorrent
-prefix `pwd`/../qt-qbittorrent
make -j$(nproc)
make -j$(nproc)
make install
make install
cd ..
cd ..
PATH="`pwd`/qt-qbittorrent/bin:$PATH"
PATH="`pwd`/qt-qbittorrent/bin:$PATH"
git clone https://github.com/qt/qttools.git --branch $QT5_TAG --single-branch --depth 1
git clone https://github.com/qt/qttools.git --branch $QT5_TAG --single-branch --depth 1
cd qttools
cd qttools
qmake
qmake
make -j$(nproc)
make -j$(nproc)
make install
make install
cd ..
cd ..
git clone https://github.com/arvidn/libtorrent.git --branch $LIBTORRENT_TAG --single-branch --depth 1
git clone https://github.com/arvidn/libtorrent.git --branch $LIBTORRENT_TAG --single-branch --depth 1
cd libtorrent
cd libtorrent
复制
已复制
复制
已复制
b2 link=static variant=release boost-link=static dht=on encryption=on crypto=openssl i2p=on extensions=on
cxxflags=-std=c++14
b2 link=static variant=release boost-link=static dht=on encryption=on crypto=openssl i2p=on extensions=on
cd ..
cd ..
git clone https://github.com/qbittorrent/qBittorrent.git --branch $QBITTORRENT_TAG --single-branch --depth 1
git clone https://github.com/qbittorrent/qBittorrent.git --branch $QBITTORRENT_TAG --single-branch --depth 1
cd qBittorrent
cd qBittorrent
QT_QMAKE=`pwd`/../qt-qbittorrent/bin \
QT_QMAKE=`pwd`/../qt-qbittorrent/bin \
LDFLAGS="-l:libboost_system.a" \
LDFLAGS="-l:libboost_system.a" \
CXXFLAGS="-std=c++14" \
CXXFLAGS="-std=c++14" \
libtorrent_CFLAGS="-I`pwd`/../libtorrent/include" \
libtorrent_CFLAGS="-I`pwd`/../libtorrent/include" \
复制
已复制
复制
已复制
libtorrent_LIBS="-L`pwd`/../libtorrent/bin/gcc-
5.4
.0/release/
crypto-openssl/link-static/threading-multi -l:libtorrent.a" \
libtorrent_LIBS="-L`pwd`/../libtorrent/bin/gcc-
6.3
.0/release/
boost-link-static/
crypto-openssl/link-static/threading-multi -l:libtorrent.a" \
./configure --disable-gui --disable-qt-dbus
./configure --disable-gui --disable-qt-dbus
sed -i 's/-lboost_system//' conf.pri
sed -i 's/-lboost_system//' conf.pri
make -j$(nproc)
make -j$(nproc)
cd ../..
cd ../..
cp ./work/qBittorrent/src/qbittorrent-nox .
cp ./work/qBittorrent/src/qbittorrent-nox .
复制
已复制
复制
已复制
已保存差异
原始文本
打开文件
#!/bin/bash set -e apt update -y apt install -y build-essential git perl python2.7 python2.7-dev zlib1g-dev autoconf libicu-dev libssl-dev pkg-config QBITTORRENT_TAG=v4_2_x LIBTORRENT_TAG=RC_1_2 QT5_TAG=5.12 BOOST_VER=1.72.0 BOOST_BUILD_TAG=boost-$BOOST_VER rm -rf work mkdir work cd work BOOST_FILE_NAME="boost_${BOOST_VER//./_}.tar.gz" wget https://dl.bintray.com/boostorg/release/$BOOST_VER/source/$BOOST_FILE_NAME tar xzvf $BOOST_FILE_NAME cd boost_${BOOST_VER//./_} ./bootstrap.sh ./b2 link=static cxxflags=-std=c++14 install cd .. git clone https://github.com/boostorg/build.git --branch $BOOST_BUILD_TAG --single-branch --depth 1 cd build ./bootstrap.sh ./b2 cxxflags=-std=c++14 install cd .. git clone https://github.com/qt/qtbase.git --branch $QT5_TAG --single-branch --depth 1 cd qtbase ./configure -static -openssl-linked -opensource \ -confirm-license -c++std 14 -no-opengl -no-dbus -no-widgets -no-gui -no-compile-examples \ -prefix `pwd`/../qt-qbittorrent make -j$(nproc) make install cd .. PATH="`pwd`/qt-qbittorrent/bin:$PATH" git clone https://github.com/qt/qttools.git --branch $QT5_TAG --single-branch --depth 1 cd qttools qmake make -j$(nproc) make install cd .. git clone https://github.com/arvidn/libtorrent.git --branch $LIBTORRENT_TAG --single-branch --depth 1 cd libtorrent b2 link=static variant=release boost-link=static dht=on encryption=on crypto=openssl i2p=on extensions=on cxxflags=-std=c++14 cd .. git clone https://github.com/qbittorrent/qBittorrent.git --branch $QBITTORRENT_TAG --single-branch --depth 1 cd qBittorrent QT_QMAKE=`pwd`/../qt-qbittorrent/bin \ LDFLAGS="-l:libboost_system.a" \ CXXFLAGS="-std=c++14" \ libtorrent_CFLAGS="-I`pwd`/../libtorrent/include" \ libtorrent_LIBS="-L`pwd`/../libtorrent/bin/gcc-5.4.0/release/crypto-openssl/link-static/threading-multi -l:libtorrent.a" \ ./configure --disable-gui --disable-qt-dbus sed -i 's/-lboost_system//' conf.pri make -j$(nproc) cd ../.. cp ./work/qBittorrent/src/qbittorrent-nox .
更改后文本
打开文件
#!/bin/sh set -e apt install -y build-essential git perl python2.7 libboost-all-dev libboost-tools-dev zlib1g-dev autoconf libssl-dev QBITTORRENT_TAG=v4_2_x LIBTORRENT_TAG=RC_1_2 QT5_TAG=5.12 rm -rf work mkdir work cd work git clone https://github.com/qt/qtbase.git --branch $QT5_TAG --single-branch --depth 1 cd qtbase ./configure -static -openssl-linked -opensource \ -confirm-license -c++std 14 -no-opengl -no-dbus -no-widgets -no-gui -no-compile-examples \ -prefix `pwd`/../qt-qbittorrent make -j$(nproc) make install cd .. PATH="`pwd`/qt-qbittorrent/bin:$PATH" git clone https://github.com/qt/qttools.git --branch $QT5_TAG --single-branch --depth 1 cd qttools qmake make -j$(nproc) make install cd .. git clone https://github.com/arvidn/libtorrent.git --branch $LIBTORRENT_TAG --single-branch --depth 1 cd libtorrent b2 link=static variant=release boost-link=static dht=on encryption=on crypto=openssl i2p=on extensions=on cd .. git clone https://github.com/qbittorrent/qBittorrent.git --branch $QBITTORRENT_TAG --single-branch --depth 1 cd qBittorrent QT_QMAKE=`pwd`/../qt-qbittorrent/bin \ LDFLAGS="-l:libboost_system.a" \ CXXFLAGS="-std=c++14" \ libtorrent_CFLAGS="-I`pwd`/../libtorrent/include" \ libtorrent_LIBS="-L`pwd`/../libtorrent/bin/gcc-6.3.0/release/boost-link-static/crypto-openssl/link-static/threading-multi -l:libtorrent.a" \ ./configure --disable-gui --disable-qt-dbus sed -i 's/-lboost_system//' conf.pri make -j$(nproc) cd ../.. cp ./work/qBittorrent/src/qbittorrent-nox .
查找差异