| 1 |
mypaint-brushes - MyPaint brushes |
| 2 |
================================= |
| 3 |
|
| 4 |
Brushes used by MyPaint and other software using libmypaint. |
| 5 |
|
| 6 |
This data package is versionned. This are the brushes to be used by |
| 7 |
libmypaint 2.x, current development version which has no releases to the |
| 8 |
day of writing. |
| 9 |
If you want brushes for the libmypaint 1.x releases, do not install |
| 10 |
mypaint-brushes from master, but from "v1.3.x" branch (or last release |
| 11 |
tagged with a "v1.x" version). |
| 12 |
|
| 13 |
Building |
| 14 |
--------- |
| 15 |
|
| 16 |
mypaint-brushes package can be installed as a typical autotools build: |
| 17 |
|
| 18 |
> ./autogen.sh |
| 19 |
|
| 20 |
> ./configure && make && make install |
| 21 |
|
| 22 |
|
| 23 |
There are also historical scons scripts, but they work only with scons |
| 24 |
2.x (and in particular not newer scons 3, based on Python 3): |
| 25 |
|
| 26 |
> scons prefix=/your/application/install/prefix # Normal build |
| 27 |
|
| 28 |
> scons -h # Show build options |
| 29 |
|
| 30 |
Using the brushes with pkg-config |
| 31 |
--------------------------------- |
| 32 |
|
| 33 |
If your application needs libmypaint 2.x brushes, you can make the |
| 34 |
module "mypaint-brushes-2.0" a dependency with pkg-config. |
| 35 |
|
| 36 |
For a C/C++ program, the CFlags generated by pkg-config will define the |
| 37 |
macro MYPAINT_BRUSHES_DIR, usable in your code in order to get the path |
| 38 |
for all mypaint default brushes. |
| 39 |
|
| 40 |
For programs in other languages, you can use the variable `brushesdir` |
| 41 |
to get the same information with pkg-config and insert this value in |
| 42 |
your program in the relevant way. |
| 43 |
|
| 44 |
> pkg-config --variable=brushesdir mypaint-brushes-2.0 |
| 45 |
|
| 46 |
Licensing policy |
| 47 |
---------------- |
| 48 |
|
| 49 |
Only public domain (or [Creative Commons 1.0 |
| 50 |
Universal](https://creativecommons.org/publicdomain/zero/1.0/) is an |
| 51 |
acceptable license for the official `mypaint-brushes` package. |
| 52 |
|
| 53 |
Optionally you may use CC BY (or CC BY-SA) 4.0 for the visible parts |
| 54 |
(such as preview image) but keep the raw brush settings public domain. |
| 55 |
|
| 56 |
By contributing new brushes, you therefore agree for them to be |
| 57 |
relicensed Public Domain/CC0 1.0. If you want to propose someone else's |
| 58 |
brushes, whose copyright you do not own, and if the brushes were not |
| 59 |
already explicitly license CC0 1.0, you must first contact the original |
| 60 |
authors. |
| 61 |
|
| 62 |
The rest of this package (installation scripts, etc.) is license GPL-2+ |
| 63 |
(similarly to the MyPaint package). See `Licenses.dep5` for more |
| 64 |
accurate licensing and authorship information. |