无法在 Gimp 2.10.6 中安装美化插件

无法在 Gimp 2.10.6 中安装美化插件

我使用 ubuntu 18.04.1,并使用此 PPA 安装了 GIMP 2.10.6: https://launchpad.net/~otto-kesselgulasch/+archive/ubuntu/gimp 我尝试过用多种方式安装 beautify,使用 git 并下载包,但总是得到相同的输出......失败了。

我从这里下载美化...https://github.com/hejiann/beautify 我将其放在我的主文件夹中,它被命名为 beautify-master 我将其打开到终端并尝试制作,但尽管我拥有最新版本的 libgimp2.0-dev,但“libgimp2.0 已经是最新版本 (2.10.6+om-0ubu18.04.2~ppa)”。我收到此输出...

~/beautify-master$ make
gcc `gimptool-2.0 --cflags` -c beautify.c -o beautify.o
Package gegl-0.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gegl-0.4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gegl-0.4', required by 'gimp-2.0', not found
No output from 'pkg-config --cflags gimpui-2.0'
beautify.c:18:10: fatal error: libgimp/gimp.h: No such file or directory
#include < libgimp/gimp.h>
^~~~~~~~~~~~~~~~ 

compilation terminated.
Makefile:77: recipe for target 'beautify.o' failed
make: *** [beautify.o] Error 1

我也尝试将文件夹移动到我的 gimp 插件文件夹并尝试安装它,但根本没有起作用

我希望有人能告诉我我做错了什么...提前谢谢...

答案1

根据packages.ubuntu.com您需要安装一个包libgimp/gimp.h

sudo apt-get install libgimp2.0-dev

如果这还不够,那么请在软件和更新 ( software-properties-gtk) 中启用源代码存储库,并使用以下命令安装 GIMP 的构建依赖项:

sudo apt-get build-dep gimp

然后编译插件。

答案2

我还没有安装 libgegl-dev 但是我已经安装了,然后我使用了你的两个命令,最后能够使用这个来编译它......

git clone https://github.com/hejiann/beautify.git

cd beautify

make

make userinstall

然后我编译了纹理......

$ cd /tmp/

$ wget https://github.com/hejiann/beautify/wiki/textures/rip-border-textures-0.5.1.tar.bz

$ wget https://github.com/hejiann/beautify/wiki/textures/texture-border-textures-0.5.1.tar.bz

然后你应该打开你的 gimp,进入编辑,然后进入首选项,然后进入文件夹,然后进入插件文件夹,记下你的第一个输入...在我的情况下是 /home/18/.config/gimp/2.10/plug-ins 然后...

cd /home/18/.config/gimp/2.10/plug-ins

tar xvf /tmp/rip-border-textures-0.5.1.tar.bz

tar xvf /tmp/texture-border-textures-0.5.1.tar.bz

我刚刚安装了美化插件,还安装了纹理和边框......

非常感谢你,诺伯特......你让我今天过得很开心......

相关内容