[gimp/wip/Jehan/issue-3265-png-gama-chunk: 2/2] plug-ins: fix plugin-defs for file-heif.




commit b92ca163c334fc6e031705af5dd56e34917e623b
Author: Jehan <jehan girinstud io>
Date:   Sun Jan 17 19:06:33 2021 +0100

    plug-ins: fix plugin-defs for file-heif.
    
    Commit 01e1587ec1 had directly generated the Makefile.am, which was
    wrong. This file is generated by plugin-defs.pl. Add the proper
    dependencies for file-heif and regenerate the Makefile.am.

 plug-ins/common/Makefile.am    | 4 ++--
 plug-ins/common/plugin-defs.pl | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/common/Makefile.am b/plug-ins/common/Makefile.am
index b479e720d0..05964bae82 100644
--- a/plug-ins/common/Makefile.am
+++ b/plug-ins/common/Makefile.am
@@ -774,12 +774,12 @@ file_heif_LDADD = \
        $(libgimpcolor)         \
        $(libgimpbase)          \
        $(GTK_LIBS)             \
-       $(GEXIV2_LIBS)          \
        $(GEGL_LIBS)            \
        $(LIBHEIF_LIBS)         \
+       $(LCMS_LIBS)            \
+       $(GEXIV2_LIBS)          \
        $(RT_LIBS)              \
        $(INTLLIBS)             \
-       $(LCMS_LIBS)            \
        $(file_heif_RC)
 
 file_html_table_SOURCES = \
diff --git a/plug-ins/common/plugin-defs.pl b/plug-ins/common/plugin-defs.pl
index 10298f1710..f1999a32df 100644
--- a/plug-ins/common/plugin-defs.pl
+++ b/plug-ins/common/plugin-defs.pl
@@ -29,7 +29,7 @@
     'file-gih' => { ui => 1, gegl => 1 },
     'file-glob' => {},
     'file-header' => { ui => 1, gegl => 1 },
-    'file-heif' => { ui => 1, optional => 1, gegl => 1, libs => 'LIBHEIF_LIBS', cflags => 'LIBHEIF_CFLAGS' },
+    'file-heif' => { ui => 1, optional => 1, gegl => 1, libdep => 'GEXIV2:LCMS', libs => 'LIBHEIF_LIBS', 
cflags => 'LIBHEIF_CFLAGS' },
     'file-html-table' => { ui => 1, gegl => 1 },
     'file-jp2-load' => { ui => 1, optional => 1, gegl => 1, libs => 'OPENJPEG_LIBS', cflags => 
'OPENJPEG_CFLAGS' },
     'file-mng' => { ui => 1, gegl => 1, optional => 1, libs => 'MNG_LIBS', cflags => 'MNG_CFLAGS' },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]