https://github.com/mrousavy/gimp-rpc
A GIMP plugin to display Discord Rich Presence made with C
https://github.com/mrousavy/gimp-rpc
addon c discord extension gimp plugin presence rich rpc
Last synced: about 1 month ago
JSON representation
A GIMP plugin to display Discord Rich Presence made with C
- Host: GitHub
- URL: https://github.com/mrousavy/gimp-rpc
- Owner: mrousavy
- License: mit
- Created: 2019-03-25T12:45:55.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-29T16:22:10.000Z (about 5 years ago)
- Last Synced: 2025-03-21T16:21:19.429Z (2 months ago)
- Topics: addon, c, discord, extension, gimp, plugin, presence, rich, rpc
- Language: C
- Size: 568 KB
- Stars: 14
- Watchers: 4
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
| README.md |
|:---|
![]()
gimp-rpc
### Features
![]()
* Displays GIMP name and icon
* Displays currently selected tool
* Displays currently opened file
* Displays elapsed time in file### Install
```sh
git clone https://github.com/mrousavy/gimp-rpc.git
gimptool-2.0 --install-admin gimp-rpc/plugin.c
```> (Installer script coming soon)
Contribute
1. Clone `gimp-rpc`
```sh
git clone https://github.com/mrousavy/gimp-rpc.git
cd gimp-rpc
git submodule update --init --recursive
```2. Build libraries
* `gimp`
```sh
cd gimp
export INSTALL_PREFIX=$HOME/dev/gimp-prefix/
export SRC_DIR=/vol/scratch/gimp-beta/src
mkdir -p $INSTALL_PREFIX
mkdir -p $SRC_DIR
export PATH=$INSTALL_PREFIX/bin:$PATH
export PKG_CONFIG_PATH=$INSTALL_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=$INSTALL_PREFIX/lib:$LD_LIBRARY_PATH
./configure --prefix=$INSTALL_PREFIX
./autogen.sh --prefix=$INSTALL_PREFIX --disable-gtk-doc
make
make install
```* `discord-rpc`
```sh
cd discord-rpc
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=
cmake --build . --config Release --target install
```3. Make changes to `gimp-rpc`
The main plugin logic is programmed in the `plugin.c` file. Change as desired.
4. Build `gimp-rpc`
```sh
gimptool-2.0 --install-admin plugin.c
```
Credits