![]() This is the script that returned in command prompt: You can see details and join yourself by visiting is my first time compiling code and I followed all of the instructions in the video that I watched. I’m trying on Kev Quirk’s “100 Days To Offload” idea. ![]() (The skia build tree is 3.6G and the aseprite build tree is 2.4G.) If this turns out to be something I use frequently, it’ll be easily worth $15, and having Steam on this machine is heavier than I want, but lighter than carrying around a large pile of dependencies used to build this. This was all good to learn, but if I’m still using this by the time an update I want to use comes out, and that update includes Fedora support as the FAQ promises, I plan to just suck it up, install Steam on my laptop, and buy it on Steam. With that, I have aseprite installed in $HOME/.local/bin, which is on my path by default. DSKIA_LIBRARY_DIR=$HOME/scratch/skia/out/Release-圆4 \ USE_SHARED_FREETYPE is required on this system because the system-wide freetype library does not match the one in Aseprite and skia was built using it. The following is what I used, derived from what they list for Ubuntu/Debian: sudo dnf install freeglut-devel fontconfig-devel freetype-devel giflib-devel mesa-libGL-devel mesa-libGLU-devel harfbuzz-devel libicu-devel libjpeg-turbo-devel libpng-devel libwebp-develĪseprite uses submodules heavily, so be sure to clone with -recursive. Install the required headers and libraries from the system repositoriesĮven though skia mentions Fedora support, they don’t list the OS packages needed to build it. Since I’m not building this for distribution ( Aseprite’s license would not allow that anyway!) the build goes quicker if I just use the versions supplied by my distribution. Note that there are options to use some of the bundled libraries by supplying different arguments here. bin/gn gen out/Release-圆4 -args="is_debug=false is_official_build=true" Note: These selections were made based on my desire to just use Skia to build Aseprite read their build documentation if you want to use it for some other purpose. Clone the repositoryīe sure to get aseprite’s fork of skia and use the aseprite-m81 branch! git clone -b aseprite-m81 Running the remaining tools from the activated prompt will cause #/usr/bin/env python to find a python 2 interpreter. ![]() Then set up a virtualenv for Skia and activate it: virtualenv -p python2 $HOME/venv-skia Make sure virtualenv-python3 is installed from the system repository if it isn’t already. The work-around for that is a virtualenv. But some of the scripts in this build system rely on the shebang #!/usr/bin/env python while only being compatible with python 2. For most tools, you can just explicitly invoke python 2 and it’s a non-issue. Because that has been deprecated, Fedora has (and others have or will soon) switched /usr/bin/python to python 3. Skia’s build system relies heavily on python 2. Most of the non-bundled dependencies other than skia are packaged by Fedora: sudo dnf install -y gcc-c++ cmake ninja-build libX11-devel libXcursor-devel libXi-devel mesa-libGL-devel fontconfig-devel There seem to be no Fedora packages for Skia, and none of the usual suspects are publishing them, so the usual shortcut of grabbing the spec file for upstream, changing package names, and using it with the fork doesn’t apply. (I will offer some variant of this as a PR to the project if they are interested.)Īseprite depends on their own fork of Skia, a cross-platform graphics library maintained by Google. Here’s what I’ve worked out based on the other platforms. The instructions for building on Linux have a few gaps, especially for non-Debian. deb files for Ubuntu similar to the trial option.įortunately they develop it in the open, and my handiness with build tools far exceeds my handiness with paint programs. At a glance, the non-steam store options all look to be selling. There don’t seem to be any trial options on the steam store, and they don’t offer a version on their site for Fedora. ![]() I’d definitely like to try it out before paying for it, though. At $15, Aseprite feels like a bargain if it’s something I will really use. Piksel looks nice and is free, but it seems intended to be run in the browser with some online account, and I’d prefer to avoid another one of those right at this moment. Probably the two that get the most nice mentions are Piksel and Aseprite. People say nice things about several pixel-oriented paint programs. Since I’m trying my hand at some game projects, I need to edit sprites. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |