54 lines
992 B
Markdown
54 lines
992 B
Markdown
# SuperNotepad
|
|
|
|
This is an attempt to create a basic notepad app using ChatGPT and C.
|
|
|
|
> [!NOTE]
|
|
> This code was generated using AI. Use at your own risk.
|
|
|
|

|
|
|
|
## Build Dependencies
|
|
|
|
### Debian/Ubuntu:
|
|
|
|
```
|
|
sudo apt install build-essential meson ninja-build pkg-config \
|
|
libgtk-3-dev libgtksourceview-4-dev
|
|
```
|
|
|
|
### Fedora:
|
|
|
|
```
|
|
sudo dnf install @development-tools meson ninja-build pkgconf-pkg-config \
|
|
gtk3-devel gtksourceview4-devel
|
|
```
|
|
|
|
### Arch/Manjaro:
|
|
|
|
```
|
|
sudo pacman -S --needed base-devel meson ninja pkgconf gtk3 gtksourceview4
|
|
```
|
|
|
|
### Windows:
|
|
|
|
Install MSYS2, then in MSYS2 MinGW 64-bit shell:
|
|
|
|
```
|
|
pacman -S --needed mingw-w64-x86_64-toolchain mingw-w64-x86_64-meson \
|
|
mingw-w64-x86_64-gtk3 mingw-w64-x86_64-gtksourceview4 pkgconf ninja
|
|
```
|
|
|
|
### macOS (Homebrew):
|
|
|
|
```
|
|
brew install meson ninja pkg-config gtk+3 gtksourceview4
|
|
```
|
|
|
|
## Build Instructions
|
|
|
|
```
|
|
meson setup build
|
|
meson compile -C build
|
|
./build/SuperNotepad
|
|
```
|