Age | Commit message (Collapse) | Author |
|
The old name `art-inkscape` is a bit too strict.
|
|
The new format is now `icon-{format}-{name}`. This makes it consistent
with the nesting in the build folder.
|
|
Adding new icons now only requires adding an SVG file to the icons
directory. The icon name does not have to be added to the CMakeLists.txt
file.
|
|
ImageMagick version 7 deprecated the `convert` command. Using it will
trigger warnings on distributions with a recent version of it like e.g.
Arch Linux.
On other distributions (e.g. Debian) the new `magick` command is not
available since ImageMagick version 6 is currently used.
CMake can handle this by choosing `magick` if present and `convert` if
not. This is done by this commit.
|
|
This is intended to be used for website favicons. This commit embeds the
image only in one size while the ico format can handle multiple of them.
|
|
The intended hierarchy for the build tree is:
1. Art type (icon or something different)
2. File type (pdf, svg, png)
3. Dimensions (based on pixels or mm) [not yet implemented]
|
|
There was some code duplication which is now removed.
|
|
This is done because of three reasons:
- CMake code is simplified
- `ImageMagick` dependency is not needed anymore
- PNG in contrast to JPEG only uses lossless compression [1]
- PNG in contrast to JPEG can store transparent pixels [1]
- build time is reduced (not yet relevant but will be)
[1]: https://www.adobe.com/creativecloud/file-types/image/comparison/jpeg-vs-png.html
|
|
This repository mixes art and code. Since it is hard to find a suitable
license for both dual-licensing is an obvious choice to fix that
problem.
|
|
|
|
|
|
|
|
This commit avoids that Inkscape calls are repeated if the output file
was already built and is up to date.
|
|
Inkscape provides also SVG output. While the source file is also an SVG
the output SVG file e.g. has a correct docname in the file matching the
file name.
This also adds a CMake target for the output SVG.
|
|
|
|
This adds a workaround for the Inkscape call to allow calling multiple
instances of Inkscape in parallel.
[1]: https://gitlab.com/inkscape/inkscape/-/issues/4716
|
|
|
|
This specifies the minimal CMake version and defines the project name.
Furthermore C and CXX language support is disabled since this is not
needed here.
|
|
This is just a minimal starting point especially targeted at writing a
build system for this project.
|
|
The main content of this repository is art. The creative commons
licenses are well suited for that purpose.
|