- **UVtoolsCmd:**
  - **print-properties:**
    - (Change) `-b`, `--base` option to `-a`, `-all` to indicate all properties and sub-properties, now defaults to only show base properties
    - (Add) `-r`, `--range` option to prints only the matching layer(s) index(es) in a range
    - (Add) `-i`, `--indexes` option to prints only the matching layer(s) index(es)
  - (Add) Command: `set-properties <input-file> <property=value> Set properties in a file or to it layers with new values`
  - (Add) Command: `print-issues <input-file> Detect and print issues in a file`
  - (Add) New option to the `run` command: `-p, --property <property=value>  Set a property with a new value (Compatible with operations only)`
  - (Remove) Command: `print-layers` as it has been moved to `print-properties`, use `-r :` to obtain same result as default on `print-layers`
- **Issues:**
  - (Fix) Issues groups with only one issue was displaying the wrong area value
  - (Fix) Volume incorrectly calculated, resulting in a high value for group of issues
  - (Fix) Incorrect calculation of the bounding rectangle for a group of issues
- **Repair layers:**
  - (Add) Switch to opt between "Re-detect the selected issues before repair" and "Use and repair the previous detected issues" (Default)
  - (Improvement) Do not allow to run the tool if there are no detected issues when the option "Use and repair the previous detected issues" is selected
- (Improvement) Linux: Recompile libcvextern.so on a older system to be able to run on both older and newest system (#603)
- (Upgrade) .NET from 6.0.10 to 6.0.11
This commit is contained in:
Tiago Conceição
2022-11-10 04:09:00 +00:00
parent 051f11bb6e
commit 8e4995a6a5
103 changed files with 1202 additions and 496 deletions
+11 -8
View File
@@ -30,23 +30,26 @@ if [ "${OSTYPE:0:6}" == "darwin" ]; then
#brew analytics off
#brew install git cmake mono-libgdiplus
#brew install --cask dotnet
elif testcmd apt-get; then
elif testcmd apt; then
osVariant="debian"
apt update
apt install -y libdc1394-22 libopenexr24
apt install -y libdc1394-25 libopenexr25
apt install -y libjpeg-dev libpng-dev libgeotiff-dev libgeotiff5 libavcodec-dev libavformat-dev libswscale-dev libtbb-dev libgl1-mesa-dev libgdiplus
#apt install -y libdc1394-22 libopenexr24
#apt install -y libdc1394-25 libopenexr25
#apt install -y libjpeg-dev libpng-dev libgeotiff-dev libgeotiff5 libavcodec-dev libavformat-dev libswscale-dev libtbb-dev libgl1-mesa-dev libgdiplus
apt install -y libjpeg-dev libpng-dev libgeotiff-dev libgeotiff5 libtbb-dev libgdiplus
# mini only requires: libgdiplus libgeotiff-dev libgeotiff5
elif testcmd pacman; then
osVariant="arch"
pacman -Syu
pacman -S openjpeg2 libjpeg-turbo libpng libgeotiff libdc1394 ffmpeg openexr tbb libgdiplus
#pacman -S openjpeg2 libjpeg-turbo libpng libgeotiff libdc1394 ffmpeg openexr tbb libgdiplus
pacman -S libpng openjpeg2 libjpeg-turbo libgeotiff tbb libgdiplus
elif testcmd dnf; then
osVariant="rhel"
dnf update -y
dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
dnf install -y https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
dnf install -y libjpeg-devel libjpeg-turbo-devel libpng-devel libgeotiff-devel libdc1394-devel ffmpeg-devel tbb-devel mesa-libGL libgdiplus
#dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
#dnf install -y https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
#dnf install -y libjpeg-devel libjpeg-turbo-devel libpng-devel libgeotiff-devel libdc1394-devel ffmpeg-devel tbb-devel mesa-libGL libgdiplus
dnf install -y libjpeg-devel libjpeg-turbo-devel libpng-devel libgeotiff-devel tbb-devel libgdiplus
else
echo "Error: Base operative system / package manager not identified, nothing was installed"
exit -1
+8 -5
View File
@@ -195,7 +195,7 @@ fi
#############
echo "- Detected: $osVariant $arch"
requiredlddversion="2.32"
requiredlddversion="2.31"
lddversion="$(ldd --version | awk '/ldd/{print $NF}')"
@@ -205,16 +205,19 @@ if [ $(version $lddversion) -lt $(version $requiredlddversion) ]; then
echo "Error: Unable to auto install the latest version."
echo "ldd version: $lddversion detected, but requires at least version $requiredlddversion."
echo "Solutions:"
echo "- Manually download and run older version: https://github.com/sn4k3/UVtools/releases/tag/v3.7.2"
echo "- Upgrade your system to the most recent version"
echo "- Try to upgrade glibc to at least $requiredlddversion (Search about this as it can break your system)"
echo "##########################################################"
exit -1
fi
if [ -z "$(ldconfig -p | grep libpng)" -o -z "$(ldconfig -p | grep libgdiplus)" -o -z "$(ldconfig -p | grep libgeotiff)" -o -z "$(ldconfig -p | grep libavcodec)" ]; then
echo "- Missing dependencies found, installing..."
sudo bash -c "$(curl -fsSL $dependencies_url)"
if testcmd ldconfig; then
if [ -z "$(ldconfig -p | grep libpng)" -o -z "$(ldconfig -p | grep libgdiplus)" -o -z "$(ldconfig -p | grep libgeotiff)" ]; then
echo "- Missing dependencies found, installing..."
sudo bash -c "$(curl -fsSL $dependencies_url)"
fi
else
echo "Unable to detect for missing dependencies, ldconfig not found, however installation will continue."
fi
echo "- Detecting download"