diff options
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Cargo.toml | 4 | ||||
-rwxr-xr-x | compile-all-targets.sh | 10 | ||||
-rw-r--r-- | website/docs/common-problems.md | 2 |
5 files changed, 13 insertions, 9 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3179785..9c03367 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +<a name="v1.7.5"></a> +### v1.7.5 - 2021-12-16 +- Make the "clipboard" feature non default again, as it proves to make compilation harder on some platform. I still distribute executables with this feature and you can still try the compilation with `cargo install broot --features "clipboard"` + <a name="v1.7.4"></a> ### v1.7.4 - 2021-12-01 - Fix 1 or 2 characters of the right ASCII column in hex view sometimes lost @@ -140,7 +140,7 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "broot" -version = "1.7.4" +version = "1.7.5" dependencies = [ "ahash 0.7.6", "ansi_colours", @@ -1,6 +1,6 @@ [package] name = "broot" -version = "1.7.4" +version = "1.7.5" authors = ["dystroy <denys.seguret@gmail.com>"] repository = "https://github.com/Canop/broot" documentation = "https://dystroy.org/broot" @@ -15,7 +15,7 @@ rust-version = "1.56" exclude = ["website", "broot*.zip"] [features] -default = ["clipboard"] +default = [] clipboard = ["terminal-clipboard"] [dependencies] diff --git a/compile-all-targets.sh b/compile-all-targets.sh index f657a00..583d6b0 100755 --- a/compile-all-targets.sh +++ b/compile-all-targets.sh @@ -20,7 +20,7 @@ echo " build cleaned" # build the linux version echo -e "${H2}Compiling the linux version${EH}" -cargo build --release +cargo build --release --features "clipboard" strip target/release/broot mkdir build/x86_64-linux/ cp target/release/broot build/x86_64-linux/ @@ -47,26 +47,26 @@ echo " Done" # build the windows version # use cargo cross echo -e "${H2}Compiling the Windows version${EH}" -cross build --target x86_64-pc-windows-gnu --release +cross build --target x86_64-pc-windows-gnu --release --features "clipboard" mkdir build/x86_64-pc-windows-gnu cp target/x86_64-pc-windows-gnu/release/broot.exe build/x86_64-pc-windows-gnu/ # build the Raspberry version # use cargo cross echo -e "${H2}Compiling the Raspberry version${EH}" -cross build --target armv7-unknown-linux-gnueabihf --release --no-default-features +cross build --target armv7-unknown-linux-gnueabihf --release mkdir build/armv7-unknown-linux-gnueabihf cp target/armv7-unknown-linux-gnueabihf/release/broot build/armv7-unknown-linux-gnueabihf/ # build the Android version # use cargo cross echo -e "${H2}Compiling the Android version${EH}" -cross build --target aarch64-linux-android --release +cross build --target aarch64-linux-android --release --features "clipboard" mkdir build/aarch64-linux-android cp target/aarch64-linux-android/release/broot build/aarch64-linux-android/ # build a musl version echo -e "${H2}Compiling the MUSL version${EH}" -cross build --release --target x86_64-unknown-linux-musl --no-default-features +cross build --release --target x86_64-unknown-linux-musl mkdir build/x86_64-unknown-linux-musl cp target/x86_64-unknown-linux-musl/release/broot build/x86_64-unknown-linux-musl diff --git a/website/docs/common-problems.md b/website/docs/common-problems.md index b3eb082..f9163e6 100644 --- a/website/docs/common-problems.md +++ b/website/docs/common-problems.md @@ -7,7 +7,7 @@ Please come to [miaou](https://miaou.dystroy.org/3490?broot) if something isn't The common causes are * an oudated Rust installation. If you're using [rustup](https://rustup.rs), do `rustup update`. -* some tools missing. On Debian like distributions, this can generally be solved with `sudo apt install build-essential` +* some tools missing. On Debian like distributions, this can generally be solved with `sudo apt install build-essential libxcb-shape0-dev and libxcb-xfixes0-dev` # Those aren't my colors |