Help installing Plugins

  • Follow


Can someone help me and instruct me how to install the gimp plug in "refocus
it 2.0.0" .  I am a windows xp user and have installed the latest version of
GIMP and GTK+2 and would like to try
this plugin but can't for the life of me figure out what I have to do. I
wonder if the plugin I downloaded is compatible with all platforms of
gimp??? Can anyone offer me some insight?
Thanks
gb
gimp novice


0
Reply gb 7/30/2004 11:16:08 PM

"gb" <g@dallas.net> wrote in message
news:YEAOc.360$Je5.153@nwrddc03.gnilink.net...
> Can someone help me and instruct me how to install the gimp plug in
"refocus
> it 2.0.0" .  I am a windows xp user and have installed the latest version
of
> GIMP and GTK+2 and would like to try
> this plugin but can't for the life of me figure out what I have to do. I
> wonder if the plugin I downloaded is compatible with all platforms of
> gimp??? Can anyone offer me some insight?
> Thanks
> gb
> gimp novice
>

Hi

All you need to do is copy the "refocus.exe" file into your GIMP plug-ins
folder.  If you followed the default installation of GIMP it may well be
something like:

C:\Program Files\GIMP-2.0\lib\gimp\2.0\plug-ins

HTH

kline


0
Reply kline 7/31/2004 12:25:26 PM


gb wrote:
> Can someone help me and instruct me how to install the gimp plug in "refocus
> it 2.0.0" .  I am a windows xp user and have installed the latest version of
> GIMP and GTK+2 and would like to try
> this plugin but can't for the life of me figure out what I have to do. I
> wonder if the plugin I downloaded is compatible with all platforms of
> gimp??? Can anyone offer me some insight?
> Thanks
> gb
> gimp novice
> 
> 

I'm having trouble too.  I can run it from gimp 1.2, but it 
crashes with 2.0 (SuSE Linux 9.0).

The error message is:


GLib-ERROR **: gmem.c:140: failed to allocate 1072693248 bytes
aborting...

(gimp2:18785): Gimp-Plug-In-WARNING **: gimp2: 
plug_in_flush(): error: Broken pipe

Also, uptdating gtk, glib, etc. seems to have made my system 
a bit strange.  I don't get menu bars highlighted in 2.0 any 
more, and I get these messages constantly (and in some other 
gtk apps):

(gimp2:18097): Gtk-WARNING **: Unable to locate theme engine 
in module_path: "qtpixmap",

Any idea what's going on?
-- 
Jim Sabatke
Hire Me!! - See my resume at http://my.execpc.com/~jsabatke

Do not meddle in the affairs of Dragons, for you are crunchy 
and good with ketchup.

NOTE: Please do not email me any attachments with Microsoft 
extensions.  They
are deleted on my ISP's server before I ever see them, and 
no bounce message
is sent.
0
Reply Jim 7/31/2004 9:49:02 PM

Hi,

In article <YEAOc.360$Je5.153@nwrddc03.gnilink.net>, gb wrote:
> Can someone help me and instruct me how to install the gimp plug in "refocus
> it 2.0.0" .  I am a windows xp user and have installed the latest version of
> GIMP and GTK+2 and would like to try
> this plugin but can't for the life of me figure out what I have to do. I
> wonder if the plugin I downloaded is compatible with all platforms of
> gimp??? Can anyone offer me some insight?

You will need to compile the plug-in for the GIMP 2.0. This involves 
downloading the refocus plug-in, and in the main durectory running 
../configure
make
then copying refocus.exe into the GIMP plug-ins directory. For the 
compilation to work, the GIMP's development tools should be installed (this
is roughly equvalent to installing an "SDK" - this includes the GIMP header
files, and a utility called gimptool which helps with plug-in installation.

You also need a build environment (with GTK+ headers installed, and with a
C compiler and other build tools). 

The alternative is to ask someone you know builds the GIMP on Windows 
(Tor, Michael, Jernej) to build the plug-in for you, and give Ernst a 
binary copy of the plug-in that can then be installed as-is, so that he 
can put it alongside the sources. 

Cheers,
Dave.

Alternatively, 

Alternatively, you 
0
Reply Dave 8/2/2004 7:03:29 AM

"Dave Neary" <david@localhost.localdomain> wrote in message
news:slrncgrpro.k8i.david@localhost.localdomain...
> Hi,
>
> In article <YEAOc.360$Je5.153@nwrddc03.gnilink.net>, gb wrote:
> > Can someone help me and instruct me how to install the gimp plug in
"refocus
> > it 2.0.0" .  I am a windows xp user and have installed the latest
version of
> > GIMP and GTK+2 and would like to try
> > this plugin but can't for the life of me figure out what I have to do. I
> > wonder if the plugin I downloaded is compatible with all platforms of
> > gimp??? Can anyone offer me some insight?
>
> You will need to compile the plug-in for the GIMP 2.0. This involves
> downloading the refocus plug-in, and in the main durectory running
> ./configure
> make
> then copying refocus.exe into the GIMP plug-ins directory. For the
> compilation to work, the GIMP's development tools should be installed
(this
> is roughly equvalent to installing an "SDK" - this includes the GIMP
header
> files, and a utility called gimptool which helps with plug-in
installation.
>
> You also need a build environment (with GTK+ headers installed, and with a
> C compiler and other build tools).
>
> The alternative is to ask someone you know builds the GIMP on Windows
> (Tor, Michael, Jernej) to build the plug-in for you, and give Ernst a
> binary copy of the plug-in that can then be installed as-is, so that he
> can put it alongside the sources.
>
> Cheers,
> Dave.
>

The refocus plug-in has already lt for windows, by Jean-Loius Hamel- I'm
currently using it on my xp pc.
dowload it from here
http://perso.club-internet.fr/jlhamel/FILES/refocus_win_gimp2.zip

kline


0
Reply kline 8/2/2004 7:31:46 PM

"has already been built" even!

k
> >
>
> The refocus plug-in has already lt for windows, by Jean-Loius Hamel- I'm
> currently using it on my xp pc.
> dowload it from here
> http://perso.club-internet.fr/jlhamel/FILES/refocus_win_gimp2.zip
>
> kline
>
>


0
Reply kline 8/2/2004 7:35:07 PM

gb wrote:
> Can someone help me and instruct me how to install the gimp plug in "refocus
> it 2.0.0" .  I am a windows xp user and have installed the latest version of
> GIMP and GTK+2 and would like to try
> this plugin but can't for the life of me figure out what I have to do. I
> wonder if the plugin I downloaded is compatible with all platforms of
> gimp??? Can anyone offer me some insight?
> Thanks
> gb
> gimp novice
> 
> 

Is there any way to run refocus in a debug mode to find out 
why it crashes gimp2?  I'm running SuSE Linux 9.0.

It compiles fine.  It links the gtk2 libs.  It only runs 
under gimp 1.2.

-- 
Jim Sabatke
Hire Me!! - See my resume at http://my.execpc.com/~jsabatke

Do not meddle in the affairs of Dragons, for you are crunchy 
and good with ketchup.

NOTE: Please do not email me any attachments with Microsoft 
extensions.  They
are deleted on my ISP's server before I ever see them, and 
no bounce message
is sent.
0
Reply Jim 8/3/2004 12:04:09 AM

Jim Sabatke wrote:

> gb wrote:
>> Can someone help me and instruct me how to install the gimp plug in
>> "refocus
>> it 2.0.0" .  I am a windows xp user and have installed the latest version
>> of GIMP and GTK+2 and would like to try
>> this plugin but can't for the life of me figure out what I have to do. I
>> wonder if the plugin I downloaded is compatible with all platforms of
>> gimp??? Can anyone offer me some insight?
>> Thanks
>> gb
>> gimp novice
>> 
>> 
> 
> I'm having trouble too.  I can run it from gimp 1.2, but it
> crashes with 2.0 (SuSE Linux 9.0).
> 
> The error message is:
> 
> 
> GLib-ERROR **: gmem.c:140: failed to allocate 1072693248 bytes
> aborting...

[snip]

It looks like an incompatability. Do a search with Yast (install software) for
any and all glib and gtk files, including any dev. stuff and install it, then
do an update via YOU and see if that takes care of it.

Fred

-- 
"Running Windows on a Pentium is like getting a Porsche but only being
able to drive it in reverse with the handbrake on."
0
Reply Fred 8/3/2004 4:41:20 AM

Hi,

In article <10gtlhs1fh7ac14@corp.supernews.com>, Jim Sabatke wrote:
> Is there any way to run refocus in a debug mode to find out 
> why it crashes gimp2?  I'm running SuSE Linux 9.0.
> 
> It compiles fine.  It links the gtk2 libs.  It only runs 
> under gimp 1.2.

If it runs under gimp1.2, then it definitely won't work with the GIMP 2.x.

Are you sure that the plug-in crashes the GIMP? Or does the plug-in just 
not work?

The libgimp API changed a bit in the meantime, and every plug-in requires 
some porting before it is usable with the GIMP 2.0.x or newer. You could 
try contacting Ernst, but I seem to recall a refocus plug-in for 2.0 
floating around somewhere...

To run a plug-in in debug mode, you should set the environment variable
GIMP_PLUGIN_DEBUG to "refocus" like this:

$ export GIMP_PLUGIN_DEBUG=refocus
$ gimp-2.0

You can specify which hook functions in the plug-in get trapped. There are 
4 hook functions available, usually only init and run are defined. To only 
interrupt the plug-in in the 'init' function, for example, you would set
GIMP_PLUGIN_DEBUG to refocus,init - by default a plug-in will only interrupt
on the run function.

With the above, you see something like this:
$ export GIMP_PLUGIN_DEBUG=refocus
$ gimp-2.0 
<do stuff, and then when you run refocus, you see this>
(refocus:1324): LibGimp-DEBUG: Waiting for debugger...

Now in another terminal run

$ gdb ~/.gimp-2.0/plug-ins/refocus 1324

and you will attach to the running process, and you can single-step 
through the process to your hearts content.

Cheers,
Dave.

0
Reply Dave 8/3/2004 10:40:21 AM

8 Replies
195 Views

(page loaded in 0.121 seconds)

4/27/2013 10:14:41 PM


Reply: