# `cudatext-gtk` package for Void Linux

This package provides CudaText (GTK variant), the multi-caret, multi-platform, extensible and infinitely customizable text editor. It is similar to Sublime in many ways and can utilize (some of?) Sublime's plugins. It's configuration options are impressive, huhdreds of options. You can customize it to suit every bit of behavior you want out of it. If you want a FOSS alternative to Sublime, this is it. I use it daily and love it.

The template file is prepared for use with [xbps-src](https://wiki.voidlinux.org/Xbps-src) in Void Linux.


## Installation
```
sudo xbps-install xtools
git clone https://github.com/void-linux/void-packages
cd void-packages
./xbps-src binary-bootstrap
# Do the above once if not done already.
# Copy this `cudatext-gtk` folder under `srcpkgs` folder, then...
./xbps-src pkg cudatext-gtk
xi cudatext-gtk
```

## Troubleshooting

If build fails for some reason, delete lazarus .xbps and .sig files from `hostdir/repocache-x86_64/`. Then build lazarus from source: `./xbps-src pkg lazarus`. Afterwards, run `./xbps-src pkg cudatext-gtk` to build the package. This is probably because some other package has been updated and the lazarus package was built against its previous version, not the new one.


**Help from:**

- [Wiki on installing BGRA Bitmap on Linux](https://wiki.lazarus.freepascal.org/BGRA_Installation_on_Linux)
- [CudaText - Free Pascal wiki](https://wiki.freepascal.org/CudaText#How_to_compile_CudaText)
- [CudaText_up project](https://github.com/Alexey-T/CudaText_up)
