Post Reply 

Help with which gimp-devel-tools package to choose

Aug 14, 2012, 22:07
Post: #1
Help with which gimp-devel-tools package to choose
Hi to all. I would like to install the "GIMP Beautify plug-ins" re: the information found at this site: https://github.com/hejiann/beautify/blob/master/README but I am lost as to which package I need to install. Presently I am running GIMP on Ubuntu 10.04 Lucid, can some please advise me on which package I need to download & install.
Find all posts by this user
Quote this message in a reply
Aug 15, 2012, 14:35
Post: #2
RE: Help with which gimp-devel-tools package to choose
Not so straight forward. The package you want is libgimp2.0-dev

I am using LM debian and Gimp 2.8 but not a million miles from Ubuntu 10 which I think has Gimp 6.8.x, same procedure though.

Fire up synaptic (if you don't use synaptic, struggle along with the 'buntu package installer)
You might need more than this but the minimum is

gcc
git
libgimp2.0-dev

looks like this http://i.imgur.com/WrEQt.jpg

Using git - start a terminal and run git clone git://github.com/hejiann/beautify.git this downloads all the files you need into a local folder ~/beautify

rich@linuxmintdeb:~$ git clone git://github.com/hejiann/beautify.git Cloning into 'beautify'...
remote: Counting objects: 1233, done.
remote: Compressing objects: 100% (704/704), done.
remote: Total 1233 (delta 656), reused 1100 (delta 523)
Receiving objects: 100% (1233/1233), 23.88 MiB | 556 KiB/s, done.
Resolving deltas: 100% (656/656), done.

Next change to the beautify folder

rich@linuxmintdeb:~$ cd beautify/

a listing looks like this

rich@linuxmintdeb:~/beautify$ ls
beautify.c images skin-whitening-effect.c
beautify-effect.c MAINTAINERS skin-whitening-effect.h
beautify-effect.h Makefile skin-whitening-images.list
beautify-textures.list README text-font.c
border.c simple-border.c textures
border-textures.list simple-border-textures.list
curves skin-whitening.c

Now start compiling with make

rich@linuxmintdeb:~/beautify$ make
gcc `gimptool-2.0 --cflags` -c beautify.c -o beautify.o
gdk-pixbuf-csource --raw --build-list `cat beautify-textures.list` > beautify-textures.h
gcc `gimptool-2.0 --cflags` -c beautify-effect.c -o beautify-effect.o
gcc -o beautify beautify.o beautify-effect.o `gimptool-2.0 --libs` -lm
---snipped a few lines for brevity----
gcc `gimptool-2.0 --cflags` -c border.c -o border.o
gcc -o border border.o `gimptool-2.0 --libs` -lm

The next is normally a "make install" to put it into your local plug-in folder or "sudo make install" for global. This fails here
Seem that the Makefile is set up for 64bit but give it a try anyway.

rich@linuxmintdeb:~/beautify$ sudo make install
[sudo] password for rich:
# need fix: --install-admin-bin has issue in x86_64,
# it install the plug-in into /usr/lib/gimp/2.0/plug-ins/
# but the correct directory is /usr/lib64/gimp/2.0/plug-ins/
---snip---
ln: failed to create symbolic link `/usr/lib64/gimp/2.0/plug-ins/beautify': No such file or directory
make: *** [install] Error 1
rich@linuxmintdeb:~/beautify$


No Problem. Providing it has compiled without error, copy the 4 compiled plugins
beautify, border, simple-border & skin-whitening from the beautify folder to your local ./gimp-2.6/plug-ins folder
like this http://i.imgur.com/pv6yX.jpg

running it looks like this http://www.imageno.com/8jhk78cxec7spic.html
and it is very slow to load. Best of luck

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Aug 15, 2012, 18:15
Post: #3
RE: Help with which gimp-devel-tools package to choose
(Aug 15, 2012 14:35)rich2005 Wrote:  Not so straight forward. The package you want is libgimp2.0-dev

I am using LM debian and Gimp 2.8 but not a million miles from Ubuntu 10 which I think has Gimp 6.8.x, same procedure though.

Fire up synaptic (if you don't use synaptic, struggle along with the 'buntu package installer)
You might need more than this but the minimum is

gcc
git
libgimp2.0-dev

looks like this http://i.imgur.com/WrEQt.jpg

Using git - start a terminal and run git clone git://github.com/hejiann/beautify.git this downloads all the files you need into a local folder ~/beautify

rich@linuxmintdeb:~$ git clone git://github.com/hejiann/beautify.git Cloning into 'beautify'...
remote: Counting objects: 1233, done.
remote: Compressing objects: 100% (704/704), done.
remote: Total 1233 (delta 656), reused 1100 (delta 523)
Receiving objects: 100% (1233/1233), 23.88 MiB | 556 KiB/s, done.
Resolving deltas: 100% (656/656), done.

Next change to the beautify folder

rich@linuxmintdeb:~$ cd beautify/

a listing looks like this

rich@linuxmintdeb:~/beautify$ ls
beautify.c images skin-whitening-effect.c
beautify-effect.c MAINTAINERS skin-whitening-effect.h
beautify-effect.h Makefile skin-whitening-images.list
beautify-textures.list README text-font.c
border.c simple-border.c textures
border-textures.list simple-border-textures.list
curves skin-whitening.c

Now start compiling with make

rich@linuxmintdeb:~/beautify$ make
gcc `gimptool-2.0 --cflags` -c beautify.c -o beautify.o
gdk-pixbuf-csource --raw --build-list `cat beautify-textures.list` > beautify-textures.h
gcc `gimptool-2.0 --cflags` -c beautify-effect.c -o beautify-effect.o
gcc -o beautify beautify.o beautify-effect.o `gimptool-2.0 --libs` -lm
---snipped a few lines for brevity----
gcc `gimptool-2.0 --cflags` -c border.c -o border.o
gcc -o border border.o `gimptool-2.0 --libs` -lm

The next is normally a "make install" to put it into your local plug-in folder or "sudo make install" for global. This fails here
Seem that the Makefile is set up for 64bit but give it a try anyway.

rich@linuxmintdeb:~/beautify$ sudo make install
[sudo] password for rich:
# need fix: --install-admin-bin has issue in x86_64,
# it install the plug-in into /usr/lib/gimp/2.0/plug-ins/
# but the correct directory is /usr/lib64/gimp/2.0/plug-ins/
---snip---
ln: failed to create symbolic link `/usr/lib64/gimp/2.0/plug-ins/beautify': No such file or directory
make: *** [install] Error 1
rich@linuxmintdeb:~/beautify$


No Problem. Providing it has compiled without error, copy the 4 compiled plugins
beautify, border, simple-border & skin-whitening from the beautify folder to your local ./gimp-2.6/plug-ins folder
like this http://i.imgur.com/pv6yX.jpg

running it looks like this http://www.imageno.com/8jhk78cxec7spic.html
and it is very slow to load. Best of luck

Thank you very much for your prompt response. I do have Synaptic Package Manager & I have also located gcc, git & libgimp 2.0 dev. However can you please confirm do I have to go through the process which starts after the following: "Using git - start a terminal and run git clone git://github.com/hejiann/beautify.git this downloads all the files you need into a local folder ~/beautify" or will the Synaptic Manager take care of every thing. It was really a good idea to seek advise of those who are more knowledgeable & comfortable on such matters. Much appreciated, thanks again.
Find all posts by this user
Quote this message in a reply
Aug 15, 2012, 18:32
Post: #4
RE: Help with which gimp-devel-tools package to choose
Ops! I think my above question may be a rhetorical one as the information you have provided, I believe refers to the dev package required. I stand corrected.
Find all posts by this user
Quote this message in a reply
Aug 16, 2012, 08:51
Post: #5
RE: Help with which gimp-devel-tools package to choose
Appologies, should really be in the plugins section but..
I don't compile that much, most of the applications I want/use are available as packages and I also begrudge the space all the devel packages occupy.

Gimptool is one of those nice & easy things however and I have found that the plugins it compiles are often "portable"

Could be that Beautify is one of those. Compiled in 32 bit LinuxMint debian & Gimp 2.8.0 it is working in 32 bit PCLinuxOS & Gimp 2.6.12 PCLOS comes from a very different background than the debian based distros. (RedHat -> Mandrake -> PCLOS)
screenshot in PCLOS http://i.imgur.com/bRzEd.jpg

For anyone who wants to give it a try, it is here
https://rapidshare.com/files/3649405475/...lin_32.zip
Linux only, four quite big plugins, the zip is 28 MB. They go in your local plugins folder, make sure they are executable.
Usual rules, might/might-not work, can't see it working in a 64bit system, all you can do is try & if not working, all it has cost is a little of your time.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Aug 17, 2012, 04:35
Post: #6
RE: Help with which gimp-devel-tools package to choose
Hi, right you are when you say that this is not straight forward & of course particularly to newbies like me living on the edge. I have achieved a degree of success & was able to download all the "beautify" files to a local folder etc. However I have run into a bit of a snag maybe it's my interpretation of " Next change to the beautify folder" but is it a change to the beautify folder contained in the local folder or is it an inclusion of the command eg. rich@linuxmintdeb:~$ cd beautify/ at a terminal. I have tried running the command at a terminal to no avail. Please accept my apologies if I belabor the point or sound like a nag, as this is not my intension but I am simply playing it safe by not just putting things anywhere. Also can you direct me to where I can read up & educate myself on doing this sort of thing. BTW I am runnin GIMP 2.6 on 64 bit.
Find all posts by this user
Quote this message in a reply
Aug 17, 2012, 08:07 (This post was last modified: Aug 17, 2012 08:15 by rich2005.)
Post: #7
RE: Help with which gimp-devel-tools package to choose
You are on the correct track, even if you don't get there you always learn something by trying.

You have crossed the first hurdle by using git to download the source.

As a skeleton without the screenshots.

Open a terminal, it should be in your home folder.
Change to the beautify folder using the cd command.
cd beautify
Now you can start the compiling with the command make
make
If all goes well you get a lot of output and it ends back at the command prompt without errors.
If you do get errors have a good look at them, it usually means that there is a dev package missing. If that happens try and determine the missing package, install it, run make again.
The next step is the command sudo make install
sudo make install
it asks for your password
enter your password
This should copy the plugins to the global plugins folder /usr/lib/gimp/2.0/plug-ins/

That bit failed here, so all I did then was copy the successfully compiled plugins from the beautify folder to the local .gimp-2.6/plug-ins folder. They were already set as executable, but worth checking anyway.
Sorry I do not have a 64 bit installation to experiment on.

There is a listing of the basic command line here
http://www.linuxnewbieguide.org/content/...y-commands
some of the other sections might also be useful.

Edit: nobody tried my compiled plugins? zero downloads? That was a waste of time.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Aug 17, 2012, 12:54
Post: #8
RE: Help with which gimp-devel-tools package to choose
You are quite a teacher. I will be applying your latest input when I get home. Thanks. BTW don't beat yourself up about your complied plugins not being tried as yet. I don't think your efforts was a was of time as there are plenty of laggers out there, some rather risk averse ones. They may be waiting for someone else to try the plugings & report before they take the leap. Have a good day I will keep you informed of my progress. Have a good day.
Find all posts by this user
Quote this message in a reply
Aug 17, 2012, 16:29
Post: #9
RE: Help with which gimp-devel-tools package to choose
Totally off topic

I hope it all goes well.
I have twice compiled Gimp, first time in LinuxMint 64 bit (a Gimp 2.7 - system no longer exists) then in PCLOS 32bit (Gimp 2.8) Both times long and "interesting". Worth trying just for the learning experience.

Never very worried if anyone picks up from my rapidshare account, but some strange stats for gimp-ish number of downloads
A 'torn paper brush' - 164 - (you can make one yourself but this was scanned from would you believe "torn paper")
The old gimp 2.4 winprint plugin at 98 downloads (incredible - someone must still be using - why?)
gimp-refocus-it - 105 (look in your disto & repository)
a resurgence on the engineering patterns at 64 downloads - (these do come from a CAD app)

Amazing what peeps will download.

best of luck and keep trying

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Aug 18, 2012, 16:32
Post: #10
RE: Help with which gimp-devel-tools package to choose
Thank you very much rich2005 for taking me by the hand. It was a bit demanding but I have managed to install the "Beautfy Pluging" but most important of all I learnt quite a bit of new things. BTW "Beautify does not appear under tool as is mentioned in the tutorials provided on the Beautfy site but is found under Filters. I wonder if the error is mine? Meantime I am trying to figure out how to change the effect opacity as I am eager to try this plugin. Have a good day.
Find all posts by this user
Quote this message in a reply
Aug 22, 2012, 16:20
Post: #11
RE: Help with which gimp-devel-tools package to choose
Hi folks, now that the "Beautfy Plugin has been installed I have developed a taste for more & have discovered the "BIMP" at the following site: http://www.alessandrofrancesconi.it/projects/bimp/ . & is attempting to install. However being the newbie that I am I keep getting lost. I have also done some reading on the "git" command if it can be called such. Please advise are the processes for the installation of "Beautfy & BIMP similar or different? If they are, can you please explain & direct me to the necessary information. Your contribution is most appreciated.
Find all posts by this user
Quote this message in a reply
Aug 22, 2012, 18:16
Post: #12
RE: Help with which gimp-devel-tools package to choose
I've been using this since it came out, and it is not difficult. (famous last words)
Basically the same as the beautify plugin. Do a
git clone https://github.com/alessandrofrancesconi...n-bimp.git
and procede from there with make then make install.

Do read the README ( your earlier post about the change in menu location of the beautify plugin was explained in its readme)

In this case it says you need
the libpcre3-dev package,
also ignore all the warnings
& don't use sudo for make install.

The compilation process looks like this screenshot.

http://i.imgur.com/d3sPH.jpg

In use all sorts of things you can do with it, as well as some presets, you can call gimp procedures (the ones it supports) which can be useful. The menu entry is under 'File'

more screenshots http://i.imgur.com/BrNwH.jpg

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  How do I cut out the middle of the canvas in GIMP? telden 6 2,902 Nov 27, 2017 06:08
Last Post: ythgilb
  Need Help about Gimp opening a whole lot files AlexWorX 1 138 Nov 17, 2017 19:44
Last Post: rich2005
  How do I open multiple images in Gimp? Pnem42 1 132 Nov 9, 2017 05:23
Last Post: paynekj
  Drawing tablet changes tools when I try to draw ralphwolf 1 149 Oct 19, 2017 19:42
Last Post: ythgilb
  Gimp prints multi page documents on one page samksharma 1 162 Oct 17, 2017 04:49
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS