meta: add libpng to list of native package dependencies

This commit is contained in:
Lephenixnoir 2023-09-09 19:07:41 +02:00
parent b8295f8c40
commit 931bc2099c
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -48,13 +48,13 @@ Once you have GiteaPC, you can install the fxSDK with it. There are some more sy
```bash
# For users of WSL on Microsoft Windows:
% sudo apt install cmake python3-pil libusb-1.0-0-dev libsdl2-dev
% sudo apt install cmake python3-pil libusb-1.0-0-dev libsdl2-dev libpng-dev
# For users of Debian, Ubuntu, and other Debian-based:
% sudo apt install cmake python3-pil libusb-1.0-0-dev libsdl2-dev libudisks2-dev libglib2.0-dev
% sudo apt install cmake python3-pil libusb-1.0-0-dev libsdl2-dev libudisks2-dev libglib2.0-dev libpng-dev
# For users of Arch Linux, Manjaro, and other Arch-based:
% sudo pacman -S cmake python-pillow libusb sdl2 udisks2
% sudo pacman -S cmake python-pillow libusb sdl2 udisks2 libpng
```
* CMake: This is the canonical build system for fxSDK tools and add-ins.
@ -64,9 +64,7 @@ Once you have GiteaPC, you can install the fxSDK with it. There are some more sy
* UDisks2: This is used in fxlink to copy files to the calculator on the command-line. (optional)
* GLib: This is needed to communicate with UDisks2 on the DBus interface. (optional)
If you use WSL on Windows then USB communication is not possible so some dependencies are useless; use `Lephenixnoir/fxsdk:noudisks2` instead of `Lephenixnoir/fxsdk` below.
Similarly, on Linux you can skip UDisks2/GLib if it doesn't fit your system; in this case write `Lephenixnoir/fxsdk:noudisks2` instead of `Lephenixnoir/fxsdk` below.
On Linux you can skip UDisks2/GLib if it doesn't fit your system; in this case write `Lephenixnoir/fxsdk:noudisks2` instead of `Lephenixnoir/fxsdk` below.
First use GiteaPC to install to install the [command-line fxSDK tools](https://gitea.planet-casio.com/Lephenixnoir/fxsdk) and a cross-compiler ([binutils](https://gitea.planet-casio.com/Lephenixnoir/sh-elf-binutils/src/branch/dev) then [GCC](https://gitea.planet-casio.com/Lephenixnoir/sh-elf-gcc)). This will take quite long, usually about 30 minutes to build binutils and GCC.