reenable mng plugin

disable exif to xmp conversion to fix loading of some jpeg images
This commit is contained in:
giovanni 2012-07-16 09:42:24 +00:00
parent 9f2d3a75c2
commit e3bd3ae709
4 changed files with 40 additions and 3 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.80 2012/06/15 08:32:16 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.81 2012/07/16 09:42:24 giovanni Exp $
COMMENT= GNU Image Manipulation Program
DISTNAME= gimp-2.8.0
REVISION= 0
REVISION= 1
SHARED_LIBS+= gimp-2.0 272.0 # 800.0
SHARED_LIBS+= gimpbase-2.0 272.0 # 800.0

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-plug-ins_common_Makefile_in,v 1.1 2012/07/16 09:42:24 giovanni Exp $
--- plug-ins/common/Makefile.in.orig Wed May 2 10:56:41 2012
+++ plug-ins/common/Makefile.in Mon Jul 16 09:41:22 2012
@@ -111,11 +111,11 @@ libexec_PROGRAMS = alien-map$(EXEEXT) align-layers$(EX
whirl-pinch$(EXEEXT) wind$(EXEEXT)
EXTRA_PROGRAMS = file-aa$(EXEEXT) file-jp2-load$(EXEEXT) \
file-mng$(EXEEXT) file-pdf-load$(EXEEXT) \
- file-pdf-save$(EXEEXT) file-png$(EXEEXT) file-ps$(EXEEXT) \
+ file-pdf-save$(EXEEXT) file-png$(EXEEXT) \
file-psp$(EXEEXT) file-svg$(EXEEXT) file-tiff-load$(EXEEXT) \
file-tiff-save$(EXEEXT) file-wmf$(EXEEXT) file-xmc$(EXEEXT) \
file-xpm$(EXEEXT) lcms$(EXEEXT) mail$(EXEEXT) \
- screenshot$(EXEEXT) web-page$(EXEEXT)
+ screenshot$(EXEEXT)
subdir = plug-ins/common
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-plug-ins_file-jpeg_gimpexif_c,v 1.1 2012/07/16 09:42:24 giovanni Exp $
--- plug-ins/file-jpeg/gimpexif.c.orig Mon Jul 16 10:59:57 2012
+++ plug-ins/file-jpeg/gimpexif.c Mon Jul 16 11:00:21 2012
@@ -66,6 +66,7 @@ void gimp_metadata_store_exif (gint32 image_ID,
gimp_image_attach_parasite (image_ID, parasite);
gimp_parasite_free (parasite);
}
+/*
return_vals = gimp_run_procedure ("plug-in-metadata-decode-exif",
&nreturn_vals,
GIMP_PDB_IMAGE, image_ID,
@@ -74,6 +75,7 @@ void gimp_metadata_store_exif (gint32 image_ID,
GIMP_PDB_END);
if (return_vals[0].data.d_status != GIMP_PDB_SUCCESS)
g_warning ("JPEG Exif -> XMP Merge failed");
+*/
free (exif_buf);
}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.31 2012/06/15 08:32:16 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.32 2012/07/16 09:42:24 giovanni Exp $
@pkgpath ${BASE_PKGPATH},altivec
%%SHARED%%
bin/gimp
@ -328,6 +328,7 @@ lib/gimp/2.0/plug-ins/colorxhtml.py
@bin lib/gimp/2.0/plug-ins/file-ico
@bin lib/gimp/2.0/plug-ins/file-jp2-load
@bin lib/gimp/2.0/plug-ins/file-jpeg
@bin lib/gimp/2.0/plug-ins/file-mng
lib/gimp/2.0/plug-ins/file-openraster.py
@bin lib/gimp/2.0/plug-ins/file-pat
@bin lib/gimp/2.0/plug-ins/file-pcx