9

how to install gimp webp plugin? I found out that we can do it using with gimp-plugin-registry, but donno how. I have install gimp-plugin-registry extension for gimp from ubuntu software center, now what should i do?

I also found out that we can put plugins in /usr/lib/gimp/2.0/plug-ins/, so i tried to compile the gimp webp plugin src. I installed libwebp-dev and ran make in plugin source folder. It says

Package gtk+-2.0 was not found in the pkg-config search path.

so i decided to install libgtk package but i found both libgtk2.0-dev and libgtk-3-dev. Is libgtk-3-dev is latest release of the libgtk2.0-dev? If so is it ok if I installed the later one?

I want to know at least how to install the plugin with gimp-plugin-registry and i will be more happy if i can do it by compiling src.

----------EDIT----------

I've installed libgtk-3-dev and ran make and it threw same error, I carried on with libgtk2.0-dev, Now it throws Package gimp-2.0 was not found in the pkg-config search path. There is no gimp-dev in repositories! I got stuck!

3

1 Answer 1

9

Note: the WebP plugin is going to be included in the next version of the Gimp (version 2.8+) as a built-in plugin (later, this plugin was shipped in GIMP 2.9 branch, and received multiple improvements). The PPA can still be used to enable WebP support in the meantime.

I have updated the packages available in the WebP PPA to the latest Ubuntu releases. After adding the PPA, you can use the plugin simply by installing the gimp-webp package.

I also migrated the plugin over to CMake, so building the plugin is a lot easier now:

  1. Install the following packages:

     sudo apt-get install build-essential git cmake libgimp2.0-dev libwebp-dev
    
  2. Checkout the source code:

     git clone https://github.com/nathan-osman/gimp-webp
    
  3. cd to the new directory and create a build/ directory:

     cd gimp-webp
     mkdir build
     cd build
    
  4. Build the plugin:

     cmake ..
     make
    
  5. Install the plugin:

     sudo make install
    

That's it!

4
  • The indicated PPA doesn't work for Xenial 16.04. Error message: E: The repository 'http://ppa.launchpad.net/george-edison55/webp/ubuntu xenial Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. Aug 29, 2016 at 12:32
  • 1
    @PaddyLandau I'll issue a build for Xenial. Aug 29, 2016 at 17:33
  • The Xenial build works. Thank you for being so quick! Aug 29, 2016 at 19:47
  • Hi @NathanOsman I couldn't find the bionic release on the repository, it's dismissed?
    – funder7
    Jul 21, 2020 at 19:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .