mirror of https://github.com/GNOME/gimp.git
plug-ins: check that the installed RawTherapee is at least version 5.2
This commit is contained in:
parent
619a05a688
commit
38be044bba
|
@ -109,14 +109,13 @@ init (void)
|
|||
NULL,
|
||||
NULL))
|
||||
{
|
||||
char *rtversion = NULL;
|
||||
int rtmajor = 0, rtminor = 0;
|
||||
|
||||
if (sscanf (rawtherapee_stdout,
|
||||
"RawTherapee, version %ms",
|
||||
&rtversion) == 1)
|
||||
"RawTherapee, version %d.%d",
|
||||
&rtmajor, &rtminor) == 2 && rtmajor >= 5 && rtminor >= 2)
|
||||
{
|
||||
have_rawtherapee = TRUE;
|
||||
free (rtversion);
|
||||
}
|
||||
|
||||
g_free (rawtherapee_stdout);
|
||||
|
|
Loading…
Reference in New Issue