Skip to content

Commit d38cead

Browse files
committed
Merged branch 'master' from opentoonz with conflicts resolved
2 parents 52efe36 + 99d36d5 commit d38cead

File tree

1,239 files changed

+179962
-110508
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,239 files changed

+179962
-110508
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Thumbs.db
1313

1414
# bundled thirdparty libraries
1515
/thirdparty/boost
16+
/thirdparty/libjpeg-turbo64
1617
/thirdparty/lzo
1718
/thirdparty/tiff-4.0.3
1819
/thirdparty/LibJPEG/jpeg-9

appveyor.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,30 @@ version: 1.4.0.{build}
22
pull_requests:
33
do_not_increment_build_number: true
44
skip_tags: true
5-
image: Visual Studio 2015
5+
image: Visual Studio 2019
66
configuration:
77
- Debug
88
- Release
99
platform: x64
1010
clone_depth: 1
11-
# C:\Qt\5.9 is mapped to C:\Qt\5.9.n for backward compatibility
11+
cache: c:\tools\vcpkg\installed
1212
install:
1313
- cmd: >-
1414
choco install opencv
15-
16-
cd thirdparty
1715
18-
copy /Y LibJPEG\jpeg-9\jconfig.vc LibJPEG\jpeg-9\jconfig.h
16+
cd thirdparty
1917
2018
copy /Y tiff-4.0.3\libtiff\tif_config.vc.h tiff-4.0.3\libtiff\tif_config.h
2119
2220
copy /Y tiff-4.0.3\libtiff\tiffconf.vc.h tiff-4.0.3\libtiff\tiffconf.h
2321
2422
copy /Y libpng-1.6.21\scripts\pnglibconf.h.prebuilt libpng-1.6.21\pnglibconf.h
2523
26-
2724
cd ../toonz
2825
2926
mkdir %PLATFORM% && cd %PLATFORM%
3027
31-
cmake ..\sources -G "Visual Studio 14 2015 Win64" -DQT_PATH="C:\Qt\5.9\msvc2015_64" -DBOOST_ROOT="C:\Libraries\boost_1_60_0" -DOpenCV_DIR="C:\Tools\opencv\build"
28+
cmake ..\sources -G "Visual Studio 16 2019" -Ax64 -DQT_PATH="C:\Qt\5.15.2\msvc2019_64" -DBOOST_ROOT="C:\Libraries\boost_1_73_0" -DOpenCV_DIR="C:\Tools\opencv\build"
3229
build:
3330
project: $(APPVEYOR_BUILD_FOLDER)\toonz\$(PLATFORM)\ALL_BUILD.vcxproj
3431
parallel: true
@@ -39,7 +36,7 @@ after_build:
3936
4037
move %CONFIGURATION%\*.* %CONFIGURATION%\OpenToonz
4138
42-
C:\Qt\5.9\msvc2015_64\bin\windeployqt.exe %CONFIGURATION%\OpenToonz\OpenToonz.exe
39+
C:\Qt\5.15.2\msvc2019_64\bin\windeployqt.exe %CONFIGURATION%\OpenToonz\OpenToonz.exe
4340
4441
copy /Y ..\..\thirdparty\glut\3.7.6\lib\glut64.dll %CONFIGURATION%\OpenToonz
4542
@@ -53,9 +50,7 @@ after_build:
5350
5451
copy /Y ..\..\thirdparty\libmypaint\dist\64\libmypaint-1-4-0.dll %CONFIGURATION%\OpenToonz
5552
56-
copy /Y ..\..\thirdparty\libjpeg-turbo64\dist\turbojpeg.dll %CONFIGURATION%\OpenToonz
57-
58-
copy /Y "C:\Tools\opencv\build\x64\vc14\bin\opencv_world412.dll" %CONFIGURATION%\OpenToonz
53+
copy /Y "C:\Tools\opencv\build\x64\vc15\bin\opencv_world412.dll" %CONFIGURATION%\OpenToonz
5954
6055
mkdir "%CONFIGURATION%\OpenToonz stuff"
6156

doc/how_to_build_linux.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,8 @@ Building OpenToonz from source requires the following dependencies:
1919
### Installing Dependencies on Debian / Ubuntu 16.04 (Xenial)
2020

2121
```
22-
$ sudo apt-get install build-essential git cmake freeglut3-dev libboost-all-dev libegl1-mesa-dev libfreetype6-dev libgles2-mesa-dev libglew-dev libglib2.0-dev libjpeg-dev libjpeg-turbo8-dev libjson-c-dev liblz4-dev liblzma-dev liblzo2-dev libpng-dev libsuperlu-dev libusb-1.0-0-dev pkg-config qt5-default qtbase5-dev libqt5svg5-dev qtscript5-dev qttools5-dev qttools5-dev-tools libqt5opengl5-dev qtmultimedia5-dev qtwayland5 libqt5multimedia5-plugins
23-
```
24-
25-
Find a PPA respository for Qt 5.9 or later and install the following:
26-
```
27-
$ sudo apt-get install -y qt59multimedia qt59script qt59serialport qt59svg qt59tools
22+
$sudo apt-get install build-essential git cmake pkg-config libboost-all-dev qt5-default qtbase5-dev libqt5svg5-dev qtscript5-dev qttools5-dev qttools5-dev-tools libqt5opengl5-dev qtmultimedia5-dev libqt5multimedia5-plugins libqt5serialport5-dev libsuperlu-dev
23+
liblz4-dev libusb-1.0-0-dev liblzo2-dev libpng-dev libjpeg-dev libglew-dev freeglut3-dev libfreetype6-dev libjson-c-dev qtwayland5 libmypaint-dev libopencv-dev libturbojpeg-dev
2824
```
2925

3026
Find a PPA repository for MyPaint 1.3 and install the following:
@@ -39,6 +35,7 @@ $ sudo apt-get install -y libopencv-dev
3935

4036
Notes:
4137
* It's possible we also need `libgsl2` (or maybe `libopenblas-dev`)
38+
* We may also need `libegl1-mesa-dev libgles2-mesa-dev libglib2.0-dev liblzma-dev`
4239
* For Qt, MyPaint and OpenCV, you can alternatively build and install from source.
4340

4441
### Installing Dependencies on Fedora

doc/how_to_build_win.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This software can be built using Visual Studio 2015 or above and Qt 5.9 (later Q
1818
### Qt
1919
- https://www.qt.io/download-open-source/
2020
- Qt is a cross-platform GUI framework.
21-
- Install Qt 5.9 (64-bit version, tested up to 5.9.9) with the [Qt Online Installer for Windows](http://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe).
21+
- Install Qt 5.9 or higher (64-bit version, tested up to 5.9.9) with the [Qt Online Installer for Windows](http://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe).
2222

2323
### boost
2424
- Boost 1.55.0 or later is required (tested up to 1.61.0).
@@ -27,6 +27,15 @@ This software can be built using Visual Studio 2015 or above and Qt 5.9 (later Q
2727
- Install the following patch (Make the changes listed in the patch file), if you use Boost 1.55.0 with Visual Studio 2013.
2828
- https://svn.boost.org/trac/boost/attachment/ticket/9369/vc12_fix_has_member_function_callable_with.patch
2929

30+
### OpenCV
31+
- v4.1.0 and later
32+
- https://opencv.org/
33+
- On configuring with CMake or in the environmental variables, specify `OpenCV_DIR` to the `build` folder in the install folder of OpenCV (like `C:/opencv/build`).
34+
35+
### libjpeg-turbo
36+
- https://www.libjpeg-turbo.org/
37+
- Copy the lib and include folders from libjpeg-turbo64 into `$opentoonz/thirdparty/libjpeg-turbo64`.
38+
3039
## Acquiring the Source Code
3140
- Note: You can also perform these next commands with Github for Desktop client.
3241
- Clone the base repository.
@@ -67,21 +76,15 @@ Rename the following files:
6776
- Compile the build.
6877
- The output will be in the corresponding folder in `$opentoonz/toonz/build/`
6978

70-
## Building with extended stop motion support for webcams and Canon DSLR cameras.
71-
You will need three additional libraries.
72-
- [OpenCV](https://opencv.org/) (v4.1.0 and later)
73-
- [libjpeg-turbo](https://www.libjpeg-turbo.org/)
74-
- The Canon SDK. This requires applying for the Canon developer program and downloading the SDK.
79+
## Building with Canon DSLR camera support
80+
You will need the Canon SDK. This requires applying for the Canon developer program and downloading the SDK.
7581

76-
Copy the following folders into the `$opentoonz/thirdparty` folder.
77-
- Copy the Header and library folders from the Canon SDK to `$opentoonz/thirdparty/canon`
78-
- Make sure that the library is the one from the EDSDK_64 folder.
79-
- Copy the lib and include folders from libjpeg-turbo64 into `$opentoonz/thirdparty/libjpeg-turbo64`.
82+
- Copy the Header and library folders from the Canon SDK to `$opentoonz/thirdparty/canon`
83+
- Make sure that the library is the one from the EDSDK_64 folder.
8084

81-
Check the checkbox in CMake to build with stop motion support.
82-
On configuring with CMake or in the environmental variables, specify `OpenCV_DIR` to the `build` folder in the install folder of OpenCV (like `C:/opencv/build`).
85+
Check the `WITH_CANON` checkbox in CMake to build with Canon DSLR camera support.
8386

84-
To run the program with stop motion support, you will need to copy the .dll files from opencv2, libjpeg-turbo and the Canon SDK into the folder where your project is built.
87+
To run the program with Canon DSLR camera support, you will need to copy the .dll files from the Canon SDK into the folder where your project is built.
8588

8689
## Running the Program
8790
### Setting Up the Program's Path
@@ -118,6 +121,8 @@ To run the program with stop motion support, you will need to copy the .dll file
118121
3. Copy the following files to the same folder as `OpenToonz.exe`
119122
- `$opentoonz/thirdparty/glut/3.7.6/lib/glut64.dll`
120123
- `$opentoonz/thirdparty/glew/glew-1.9.0/bin/64bit/glew32.dll`
124+
- `turbojpeg.dll` from libjpeg-turbo package
125+
- `opencv_world***.dll` from OpenCV package
121126

122127
4. Copy the `srv` folder from the previous OpenToonz installation to the same folder as `OpenToonz.exe`
123128
- If there is no `srv` folder, OpenToonz can still be used. However, various file formats such as `mov` cannot be used.

stuff/config/loc/Español/image.qm

10 Bytes
Binary file not shown.
1.21 KB
Binary file not shown.

stuff/config/loc/Español/toonz.qm

12.4 KB
Binary file not shown.
239 Bytes
Binary file not shown.
2.61 KB
Binary file not shown.
10 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)