Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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!

share|improve this question
    
possible duplicate of Is it possible to view WebP images in nautilus / photo program? –  rds Oct 18 '13 at 12:56
    
You need to run sudo apt-get install libgimp2.0-dev; that should make compilation possible. My answer for this question might be helpful. –  user76204 Nov 8 '13 at 17:55
    
The latest version of the source is available here: registry.gimp.org/node/25874 I believe gimp 2.6 may be required –  Elder Geek Jun 19 '14 at 17:54

1 Answer 1

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!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.