Skip to content

Commit 1781461

Browse files
committed
Merged branch 'master' from opentoonz (v1.4)
2 parents d2335ad + 65089ae commit 1781461

File tree

299 files changed

+8703
-4856
lines changed

Some content is hidden

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

299 files changed

+8703
-4856
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 1.3.0.{build}
1+
version: 1.4.0.{build}
22
pull_requests:
33
do_not_increment_build_number: true
44
skip_tags: true

ci-scripts/linux/travis-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sudo add-apt-repository --yes ppa:beineri/opt-qt597-trusty
22
sudo add-apt-repository --yes ppa:achadwick/mypaint-testing
33
sudo apt-get update
4-
sudo apt-get install -y liblzo2-dev liblz4-dev libfreetype6-dev libpng-dev libegl1-mesa-dev libgles2-mesa-dev libsdl2-dev libglew-dev freeglut3-dev qt59script libsuperlu3-dev qt59svg qt59tools qt59multimedia wget libusb-1.0-0-dev libboost-all-dev liblzma-dev libjson-c-dev libmypaint-dev
4+
sudo apt-get install -y liblzo2-dev liblz4-dev libfreetype6-dev libpng-dev libegl1-mesa-dev libgles2-mesa-dev libglew-dev freeglut3-dev qt59script libsuperlu3-dev qt59svg qt59tools qt59multimedia wget libusb-1.0-0-dev libboost-all-dev liblzma-dev libjson-c-dev libmypaint-dev
55

66
# someone forgot to include liblz4.pc with the package, use the version from xenial, as it only depends on libc
77
wget http://mirrors.kernel.org/ubuntu/pool/main/l/lz4/liblz4-1_0.0~r131-2ubuntu2_amd64.deb -O liblz4.deb

doc/how_to_build_linux.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Building OpenToonz from source requires the following dependencies:
88
- CMake (3.4.1 or newer).
99
- Qt5 (5.9 or newer)
1010
- Boost (1.55 or newer)
11-
- SDL2
1211
- LibPNG
1312
- SuperLU
1413
- Lzo2
@@ -18,7 +17,7 @@ Building OpenToonz from source requires the following dependencies:
1817
### Installing Dependencies on Debian / Ubuntu
1918

2019
```
21-
$ 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 libsuperlu-dev liblz4-dev libusb-1.0-0-dev liblzo2-dev libpng-dev libjpeg-dev libglew-dev freeglut3-dev libsdl2-dev libfreetype6-dev libjson-c-dev qtwayland5
20+
$ 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 libsuperlu-dev liblz4-dev libusb-1.0-0-dev liblzo2-dev libpng-dev libjpeg-dev libglew-dev freeglut3-dev libfreetype6-dev libjson-c-dev qtwayland5
2221
```
2322

2423
For newest versions of OS you may install libmypaint from repository and don't need to build it from source:
@@ -34,7 +33,7 @@ Notes:
3433
(it may include some useless packages)
3534

3635
```
37-
$ sudo dnf install gcc gcc-c++ automake git cmake boost boost-devel SuperLU SuperLU-devel lz4-devel lzma libusb-devel lzo-devel libjpeg-turbo-devel libGLEW glew-devel freeglut-devel freeglut SDL2 SDL2-devel freetype-devel libpng-devel qt5-qtbase-devel qt5-qtsvg qt5-qtsvg-devel qt5-qtscript qt5-qtscript-devel qt5-qttools qt5-qttools-devel qt5-qtmultimedia-devel blas blas-devel json-c-devel libtool intltool make
36+
$ sudo dnf install gcc gcc-c++ automake git cmake boost boost-devel SuperLU SuperLU-devel lz4-devel lzma libusb-devel lzo-devel libjpeg-turbo-devel libGLEW glew-devel freeglut-devel freeglut freetype-devel libpng-devel qt5-qtbase-devel qt5-qtsvg qt5-qtsvg-devel qt5-qtscript qt5-qtscript-devel qt5-qttools qt5-qttools-devel qt5-qtmultimedia-devel blas blas-devel json-c-devel libtool intltool make
3837
```
3938

4039
For newest versions of OS you may install libmypaint from repository and don't need to build it from source:
@@ -47,7 +46,7 @@ $ sudo dnf install libmypaint-devel
4746
### Installing Dependencies on ArchLinux
4847

4948
```
50-
$ sudo pacman -S base-devel git cmake boost boost-libs qt5-base qt5-svg qt5-script qt5-tools qt5-multimedia lz4 libusb lzo libjpeg-turbo glew freeglut sdl2 freetype2
49+
$ sudo pacman -S base-devel git cmake boost boost-libs qt5-base qt5-svg qt5-script qt5-tools qt5-multimedia lz4 libusb lzo libjpeg-turbo glew freeglut freetype2
5150
$ sudo pacman -S blas cblas
5251
```
5352
From AUR, using eg. yaourt:
@@ -61,7 +60,7 @@ Notes:
6160
### Installing Dependencies on openSUSE
6261

6362
```
64-
$ zypper in boost-devel cmake freeglut-devel freetype2-devel gcc-c++ glew-devel libQt5OpenGL-devel libSDL2-devel libjpeg-devel liblz4-devel libpng16-compat-devel libqt5-linguist-devel libqt5-qtbase-devel libqt5-qtmultimedia-devel libqt5-qtscript-devel libqt5-qtsvg-devel libtiff-devel libusb-devel lzo-devel openblas-devel pkgconfig sed superlu-devel zlib-devel json-c-devel
63+
$ zypper in boost-devel cmake freeglut-devel freetype2-devel gcc-c++ glew-devel libQt5OpenGL-devel libjpeg-devel liblz4-devel libpng16-compat-devel libqt5-linguist-devel libqt5-qtbase-devel libqt5-qtmultimedia-devel libqt5-qtscript-devel libqt5-qtsvg-devel libtiff-devel libusb-devel lzo-devel openblas-devel pkgconfig sed superlu-devel zlib-devel json-c-devel
6564
```
6665

6766
For newest versions of OS you may install libmypaint from repository and don't need to build it from source:

doc/how_to_stylesheet.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Stylesheets are written with [LESS](http://lesscss.org/), which is a dynamic pre
44
ℹ️ [LESS Functions](http://lesscss.org/functions/)
55

66
## Recommended Setup
7+
8+
### Windows
79
Although any LESS compiler will work fine, here is a recommended setup.
810

911
- Install [Visual Studio Code](https://code.visualstudio.com/) by Microsoft.
@@ -20,9 +22,27 @@ A `settings.json` file is already included to ensure developers work to the same
2022
"out": false
2123
}
2224
```
25+
2326
ℹ️ [How to Change Settings in Visual Studio Code](https://code.visualstudio.com/docs/getstarted/settings).
2427

28+
### Linux
29+
30+
On Linux you will need a command-line compiler `lessc`.
31+
32+
Ubuntu:
33+
34+
$ apt install node-less
35+
36+
Fedora:
37+
38+
$ dnf install nodejs-less
39+
40+
41+
2542
## How To Compile
43+
44+
### Windows
45+
2646
Easy LESS uses a compile on save feature, so the theme files must be saved to generate an output.
2747

2848
```
@@ -32,6 +52,15 @@ themes/Dark.less
3252
themes/Light.less
3353
```
3454

55+
### Linux
56+
From opentoonz source directory root execute the following commands:
57+
```
58+
$ lessc -x stuff/config/qss/Default/less/Default.less stuff/config/qss/Default/Default.qss
59+
$ lessc -x stuff/config/qss/Default/less/themes/Blue.less stuff/config/qss/Blue/Blue.qss
60+
$ lessc -x stuff/config/qss/Default/less/themes/Dark.less stuff/config/qss/Dark/Dark.qss
61+
$ lessc -x stuff/config/qss/Default/less/themes/Light.less stuff/config/qss/Light/Light.qss
62+
```
63+
3564
## How They Work
3665
The stylesheets are designed into a component, wire-frame and palette structure similar to web design that exploits the cascade of the LESS language to generate multiple theme colors from a single layout. This method was used to prevent duplication.
3766

@@ -131,4 +160,4 @@ It's possible to create custom themes.
131160

132161
**Layouts:** The core wire-frame, every window, widget and control is designed here.
133162

134-
**Themes:** Alternate theme colors that inherit the Default theme, it is only necessary to override variable values unique to the theme.
163+
**Themes:** Alternate theme colors that inherit the Default theme, it is only necessary to override variable values unique to the theme.
1.03 KB
Binary file not shown.
286 Bytes
Binary file not shown.

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

5.36 KB
Binary file not shown.
641 Bytes
Binary file not shown.
231 Bytes
Binary file not shown.
519 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)