diff --git a/configure.ac b/configure.ac index 96578a322a..4be87d186d 100644 --- a/configure.ac +++ b/configure.ac @@ -1448,7 +1448,7 @@ AC_SUBST(GIMP_COMMAND) # The list of MIME types that are supported by plug-ins that are compiled # unconditionally: -MIME_TYPES="image/bmp;image/g3fax;image/gif;image/x-fits;image/x-pcx;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-psd;image/x-sgi;image/x-tga;image/x-xbitmap;image/x-xwindowdump;image/x-xcf;image/x-compressed-xcf;image/x-gimp-gbr;image/x-gimp-pat;image/x-gimp-gih" +MIME_TYPES="image/bmp;image/g3fax;image/gif;image/x-fits;image/x-pcx;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-psd;image/x-sgi;image/x-tga;image/x-xbitmap;image/x-xwindowdump;image/x-xcf;image/x-compressed-xcf;image/x-gimp-gbr;image/x-gimp-pat;image/x-gimp-gih;image/x-sun-raster" ################# # Bundle packages diff --git a/meson.build b/meson.build index 4650bedb00..b2332fb356 100644 --- a/meson.build +++ b/meson.build @@ -640,6 +640,7 @@ MIMEtypes = [ 'image/x-portable-pixmap', 'image/x-psd', 'image/x-sgi', + 'image/x-sun-raster', 'image/x-tga', 'image/x-xbitmap', 'image/x-xcf', diff --git a/plug-ins/common/file-sunras.c b/plug-ins/common/file-sunras.c index 8e88a2a1a3..30f3a3d2bc 100644 --- a/plug-ins/common/file-sunras.c +++ b/plug-ins/common/file-sunras.c @@ -282,7 +282,7 @@ sunras_create_procedure (GimpPlugIn *plug_in, gimp_file_procedure_set_mime_types (GIMP_FILE_PROCEDURE (procedure), "image/x-sun-raster"); gimp_file_procedure_set_extensions (GIMP_FILE_PROCEDURE (procedure), - "im1,im8,im24,im32,rs,ras"); + "im1,im8,im24,im32,rs,ras,sun"); gimp_file_procedure_set_magics (GIMP_FILE_PROCEDURE (procedure), "0,long,0x59a66a95"); } @@ -311,7 +311,7 @@ sunras_create_procedure (GimpPlugIn *plug_in, gimp_file_procedure_set_mime_types (GIMP_FILE_PROCEDURE (procedure), "image/x-sun-raster"); gimp_file_procedure_set_extensions (GIMP_FILE_PROCEDURE (procedure), - "im1,im8,im24,im32,rs,ras"); + "im1,im8,im24,im32,rs,ras,sun"); GIMP_PROC_ARG_BOOLEAN (procedure, "rle", "RLE",