GTK_LIBS and GLIB_LIBS should be listed before optional libs, to make sure
2006-12-11 Manish Singh <yosh@gimp.org> * plug-ins/common/mkgen.pl: GTK_LIBS and GLIB_LIBS should be listed before optional libs, to make sure any -L args from pkg-config take. * plug-ins/common/Makefile.am: regenerated.
This commit is contained in:

committed by
Manish Singh

parent
2a20c9f2de
commit
046be921e8
@ -1,3 +1,11 @@
|
|||||||
|
2006-12-11 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* plug-ins/common/mkgen.pl: GTK_LIBS and GLIB_LIBS should be
|
||||||
|
listed before optional libs, to make sure any -L args from pkg-config
|
||||||
|
take.
|
||||||
|
|
||||||
|
* plug-ins/common/Makefile.am: regenerated.
|
||||||
|
|
||||||
2006-12-11 Sven Neumann <sven@gimp.org>
|
2006-12-11 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* app/display/gimpdisplayshell-progress.c
|
* app/display/gimpdisplayshell-progress.c
|
||||||
|
@ -269,8 +269,8 @@ aa_LDADD = \
|
|||||||
$(libgimpconfig) \
|
$(libgimpconfig) \
|
||||||
$(libgimpcolor) \
|
$(libgimpcolor) \
|
||||||
$(libgimpbase) \
|
$(libgimpbase) \
|
||||||
$(LIBAA) \
|
|
||||||
$(GTK_LIBS) \
|
$(GTK_LIBS) \
|
||||||
|
$(LIBAA) \
|
||||||
$(RT_LIBS) \
|
$(RT_LIBS) \
|
||||||
$(INTLLIBS)
|
$(INTLLIBS)
|
||||||
|
|
||||||
@ -1271,8 +1271,8 @@ lcms_LDADD = \
|
|||||||
$(libgimpconfig) \
|
$(libgimpconfig) \
|
||||||
$(libgimpcolor) \
|
$(libgimpcolor) \
|
||||||
$(libgimpbase) \
|
$(libgimpbase) \
|
||||||
$(LIBLCMS) \
|
|
||||||
$(GTK_LIBS) \
|
$(GTK_LIBS) \
|
||||||
|
$(LIBLCMS) \
|
||||||
$(RT_LIBS) \
|
$(RT_LIBS) \
|
||||||
$(INTLLIBS)
|
$(INTLLIBS)
|
||||||
|
|
||||||
@ -1320,8 +1320,8 @@ mail_LDADD = \
|
|||||||
$(libgimpconfig) \
|
$(libgimpconfig) \
|
||||||
$(libgimpcolor) \
|
$(libgimpcolor) \
|
||||||
$(libgimpbase) \
|
$(libgimpbase) \
|
||||||
$(LIBMAIL) \
|
|
||||||
$(GTK_LIBS) \
|
$(GTK_LIBS) \
|
||||||
|
$(LIBMAIL) \
|
||||||
$(RT_LIBS) \
|
$(RT_LIBS) \
|
||||||
$(INTLLIBS)
|
$(INTLLIBS)
|
||||||
|
|
||||||
@ -1385,8 +1385,8 @@ mng_LDADD = \
|
|||||||
$(libgimpconfig) \
|
$(libgimpconfig) \
|
||||||
$(libgimpcolor) \
|
$(libgimpcolor) \
|
||||||
$(libgimpbase) \
|
$(libgimpbase) \
|
||||||
$(LIBMNG) \
|
|
||||||
$(GTK_LIBS) \
|
$(GTK_LIBS) \
|
||||||
|
$(LIBMNG) \
|
||||||
$(RT_LIBS) \
|
$(RT_LIBS) \
|
||||||
$(INTLLIBS)
|
$(INTLLIBS)
|
||||||
|
|
||||||
@ -1657,8 +1657,8 @@ png_LDADD = \
|
|||||||
$(libgimpconfig) \
|
$(libgimpconfig) \
|
||||||
$(libgimpcolor) \
|
$(libgimpcolor) \
|
||||||
$(libgimpbase) \
|
$(libgimpbase) \
|
||||||
$(LIBPNG) \
|
|
||||||
$(GTK_LIBS) \
|
$(GTK_LIBS) \
|
||||||
|
$(LIBPNG) \
|
||||||
$(RT_LIBS) \
|
$(RT_LIBS) \
|
||||||
$(INTLLIBS)
|
$(INTLLIBS)
|
||||||
|
|
||||||
@ -1708,8 +1708,8 @@ poppler_LDADD = \
|
|||||||
$(libgimpconfig) \
|
$(libgimpconfig) \
|
||||||
$(libgimpcolor) \
|
$(libgimpcolor) \
|
||||||
$(libgimpbase) \
|
$(libgimpbase) \
|
||||||
$(LIBPOPPLER) \
|
|
||||||
$(GTK_LIBS) \
|
$(GTK_LIBS) \
|
||||||
|
$(LIBPOPPLER) \
|
||||||
$(RT_LIBS) \
|
$(RT_LIBS) \
|
||||||
$(INTLLIBS)
|
$(INTLLIBS)
|
||||||
|
|
||||||
@ -1786,8 +1786,8 @@ psp_LDADD = \
|
|||||||
$(libgimpconfig) \
|
$(libgimpconfig) \
|
||||||
$(libgimpcolor) \
|
$(libgimpcolor) \
|
||||||
$(libgimpbase) \
|
$(libgimpbase) \
|
||||||
$(LIBZ) \
|
|
||||||
$(GTK_LIBS) \
|
$(GTK_LIBS) \
|
||||||
|
$(LIBZ) \
|
||||||
$(RT_LIBS) \
|
$(RT_LIBS) \
|
||||||
$(INTLLIBS)
|
$(INTLLIBS)
|
||||||
|
|
||||||
@ -1928,8 +1928,8 @@ screenshot_LDADD = \
|
|||||||
$(libgimpconfig) \
|
$(libgimpconfig) \
|
||||||
$(libgimpcolor) \
|
$(libgimpcolor) \
|
||||||
$(libgimpbase) \
|
$(libgimpbase) \
|
||||||
$(LIBSCREENSHOT) \
|
|
||||||
$(GTK_LIBS) \
|
$(GTK_LIBS) \
|
||||||
|
$(LIBSCREENSHOT) \
|
||||||
$(RT_LIBS) \
|
$(RT_LIBS) \
|
||||||
$(INTLLIBS)
|
$(INTLLIBS)
|
||||||
|
|
||||||
@ -2170,8 +2170,8 @@ svg_LDADD = \
|
|||||||
$(libgimpconfig) \
|
$(libgimpconfig) \
|
||||||
$(libgimpcolor) \
|
$(libgimpcolor) \
|
||||||
$(libgimpbase) \
|
$(libgimpbase) \
|
||||||
$(LIBSVG) \
|
|
||||||
$(GTK_LIBS) \
|
$(GTK_LIBS) \
|
||||||
|
$(LIBSVG) \
|
||||||
$(RT_LIBS) \
|
$(RT_LIBS) \
|
||||||
$(INTLLIBS)
|
$(INTLLIBS)
|
||||||
|
|
||||||
@ -2219,8 +2219,8 @@ tiff_LDADD = \
|
|||||||
$(libgimpconfig) \
|
$(libgimpconfig) \
|
||||||
$(libgimpcolor) \
|
$(libgimpcolor) \
|
||||||
$(libgimpbase) \
|
$(libgimpbase) \
|
||||||
$(LIBTIFF) \
|
|
||||||
$(GTK_LIBS) \
|
$(GTK_LIBS) \
|
||||||
|
$(LIBTIFF) \
|
||||||
$(RT_LIBS) \
|
$(RT_LIBS) \
|
||||||
$(INTLLIBS)
|
$(INTLLIBS)
|
||||||
|
|
||||||
@ -2437,8 +2437,8 @@ wmf_LDADD = \
|
|||||||
$(libgimpconfig) \
|
$(libgimpconfig) \
|
||||||
$(libgimpcolor) \
|
$(libgimpcolor) \
|
||||||
$(libgimpbase) \
|
$(libgimpbase) \
|
||||||
$(LIBWMF) \
|
|
||||||
$(GTK_LIBS) \
|
$(GTK_LIBS) \
|
||||||
|
$(LIBWMF) \
|
||||||
$(RT_LIBS) \
|
$(RT_LIBS) \
|
||||||
$(INTLLIBS)
|
$(INTLLIBS)
|
||||||
|
|
||||||
@ -2470,8 +2470,8 @@ xpm_LDADD = \
|
|||||||
$(libgimpconfig) \
|
$(libgimpconfig) \
|
||||||
$(libgimpcolor) \
|
$(libgimpcolor) \
|
||||||
$(libgimpbase) \
|
$(libgimpbase) \
|
||||||
$(LIBXPM) \
|
|
||||||
$(GTK_LIBS) \
|
$(GTK_LIBS) \
|
||||||
|
$(LIBXPM) \
|
||||||
$(RT_LIBS) \
|
$(RT_LIBS) \
|
||||||
$(INTLLIBS)
|
$(INTLLIBS)
|
||||||
|
|
||||||
|
@ -120,6 +120,13 @@ foreach (sort keys %plugins) {
|
|||||||
$libgimp .= "\t\\\n\t\$(libgimpcolor)";
|
$libgimp .= "\t\\\n\t\$(libgimpcolor)";
|
||||||
$libgimp .= "\t\t\\\n\t\$(libgimpbase)";
|
$libgimp .= "\t\t\\\n\t\$(libgimpbase)";
|
||||||
|
|
||||||
|
my $glib;
|
||||||
|
if (exists $plugins{$_}->{ui}) {
|
||||||
|
$glib = "\$(GTK_LIBS)"
|
||||||
|
} else {
|
||||||
|
$glib = "\$(GLIB_LIBS)"
|
||||||
|
}
|
||||||
|
|
||||||
my $optlib = "";
|
my $optlib = "";
|
||||||
if (exists $plugins{$_}->{optional}) {
|
if (exists $plugins{$_}->{optional}) {
|
||||||
my $name = exists $plugins{$_}->{libopt} ? $plugins{$_}->{libopt} : $_;
|
my $name = exists $plugins{$_}->{libopt} ? $plugins{$_}->{libopt} : $_;
|
||||||
@ -137,11 +144,6 @@ EOT
|
|||||||
}
|
}
|
||||||
|
|
||||||
my $deplib = "\$(RT_LIBS)\t\t\\\n\t\$(INTLLIBS)";
|
my $deplib = "\$(RT_LIBS)\t\t\\\n\t\$(INTLLIBS)";
|
||||||
if (exists $plugins{$_}->{ui}) {
|
|
||||||
$deplib = "\$(GTK_LIBS)\t\t\\\n\t$deplib";
|
|
||||||
} else {
|
|
||||||
$deplib = "\$(GLIB_LIBS)\t\t\\\n\t$deplib";
|
|
||||||
}
|
|
||||||
if (exists $plugins{$_}->{libdep}) {
|
if (exists $plugins{$_}->{libdep}) {
|
||||||
my @lib = split(/:/, $plugins{$_}->{libdep});
|
my @lib = split(/:/, $plugins{$_}->{libdep});
|
||||||
foreach $lib (@lib) {
|
foreach $lib (@lib) {
|
||||||
@ -155,7 +157,8 @@ ${makename}_SOURCES = \\
|
|||||||
$_.c
|
$_.c
|
||||||
|
|
||||||
${makename}_LDADD = \\
|
${makename}_LDADD = \\
|
||||||
$libgimp \\$optlib
|
$libgimp \\
|
||||||
|
$glib \\$optlib
|
||||||
$deplib
|
$deplib
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user