PDA

View Full Version : Save for Web GIMP plugin Linux installation



Bucic
November 2nd, 2011, 11:36 PM
http://registry.gimp.org/node/33

I was trying to follow the following instructions


1. Unzip the .tar.gz in ~/.gimp-2.6/plug-ins/
2. $ sudo apt-get install libgimp2.0-dev (if not installed packs for compile)
3. $ cd ~/.gimp-2.7/plug-ins/gimp-save-for-web-0.29.3/
4. $ ./configure make
5. $ sudo make install
6. Restart Gimp
7. A new option is created at File>Save for web
-- Sergio Laprea sergio [at] klosma.net

The first time I got Intltool not found so I've installed it like this http://www.linuxfromscratch.org/blfs/view/cvs/general/intltool.html
The second time I tried to issue the ./configure make command I got


.
.
.
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed... ca es fr ja it ko pt_BR ru sk sv
checking for bind_textdomain_codeset... (cached) yes
checking if GTK+ is version 2.7.0 or newer... yes
checking if GIMP is version 2.3.0 or newer... yes
checking build system type... Invalid configuration `make': machine `make' not recognized
configure: error: /bin/bash ./config.sub make failed


EDIT:
The proper procedure is:

1. Unzip the .tar.gz in ~/.gimp-2.6/plug-ins/
2. $ sudo apt-get install libgimp2.0-dev (if not installed packs for compile)
3. $ cd ~/.gimp-2.7/plug-ins/gimp-save-for-web-0.29.3/
4. $ ./configure
5 $ make
6. $ sudo make install
7. Restart Gimp
8. A new option is created at File>Save for web
-- Sergio Laprea sergio [at] klosma.net
If you get an error Intltool not found or similar, install it as per http://www.linuxfromscratch.org/blfs/view/cvs/general/intltool.html

hailtothethief
November 3rd, 2011, 12:20 AM
try


./configure
make

as two separate commands ;)

robert shearer
November 3rd, 2011, 12:51 AM
Why are you trying to build it when it is available through the Ubuntu repos...?


sudo apt-get install gimp-plugin-registry

This has, amongst several other nifty plugins, the 'save for web' plugin.

Just install, restart Gimp and find it in the drop-downs from the 'File' menu.

prokoudine
November 3rd, 2011, 03:58 AM
The second time I tried to issue the ./configure make command I

If you really, REALLY want to install anything from source code, use 'sudo apt-get build-dep PACKAGE' command. In this case it would be 'sudo apt-get build-dep gimp'. But as already pointed out by Robert Shearer, the plug-in is in PPA.

Bucic
November 4th, 2011, 12:11 AM
try


./configure
make

as two separate commands ;)
It worked! Thanks! :D
The procedure in the original post revised.

Bucic
November 4th, 2011, 12:15 AM
Why are you trying to build it when it is available through the Ubuntu repos...?


sudo apt-get install gimp-plugin-registry

This has, amongst several other nifty plugins, the 'save for web' plugin.

Just install, restart Gimp and find it in the drop-downs from the 'File' menu.
The plugin registry from the software center wouldn't install as I use GIMP 2.7 beta.



If you really, REALLY want to install anything from source code, use 'sudo apt-get build-dep PACKAGE' command. In this case it would be 'sudo apt-get build-dep gim'.
Would that single command replace the whole procedure of building from source?

SeijiSensei
November 4th, 2011, 02:43 AM
Would that single command replace the whole procedure of building from source?

No, the build-dep option downloads and installs any needed libraries or header files on which the compilation depends. After running 'sudo apt-get build-dep packagename' you still need to run ./configure and make, but you shouldn't see errors for missing dependencies.

Bucic
November 5th, 2011, 12:46 AM
No, the build-dep option downloads and installs any needed libraries or header files on which the compilation depends. After running 'sudo apt-get build-dep packagename' you still need to run ./configure and make, but you shouldn't see errors for missing dependencies.
Extremely useful, thanks! Sorry for not digging deeper into building from source but I thought I was getting some kind of package-specific error.

BTW, too bad no one will port the far superrior RIOT plugin http://luci.criosweb.ro/riot/

Bucic
April 15th, 2012, 07:41 PM
Have anyone managed to install Save for Web plugin for GIMP 2.8 RC1 (or later) on Ubuntu 11.10 or, preferably, 12.04?

briggsosaurus
April 22nd, 2012, 12:48 AM
Why are you trying to build it when it is available through the Ubuntu repos...?


sudo apt-get install gimp-plugin-registry

This has, amongst several other nifty plugins, the 'save for web' plugin.

Just install, restart Gimp and find it in the drop-downs from the 'File' menu.

WORKED PERFECTLY thank you robert shearer just typed that one command in and restarted gimp and it worked! thank you

robert shearer
April 24th, 2012, 11:24 AM
WORKED PERFECTLY thank you robert shearer just typed that one command in and restarted gimp and it worked! thank you

Good work following the command. Now take a look at all the other super-uber-goober effects that you got with that plugin.....
Like FXFoundry>Photo>Effects
Explore and have fun :-)