mirror of https://github.com/GNOME/gimp.git
plug-ins: rename various '*-save.[ch]' files to '*-export.[ch]'.
Though it's not visible and could happily wait for after GIMP 3 release, this was annoying when grepping. Just did a quick cleanup. I also removed gimprc.common which is a forgotten remnant from the autotools build.
This commit is contained in:
parent
32d64ab1c9
commit
c65aca8b17
|
@ -1,6 +1,6 @@
|
|||
/* GIMP - The GNU Image Manipulation Program
|
||||
*
|
||||
* file-pdf-save.c - PDF file exporter, based on the cairo PDF surface
|
||||
* file-pdf-export.c - PDF file exporter, based on the cairo PDF surface
|
||||
*
|
||||
* Copyright (C) 2010 Barak Itkin <lightningismyname@gmail.com>
|
||||
*
|
|
@ -1,77 +0,0 @@
|
|||
align_layers_RC = align-layers.rc.o
|
||||
animation_optimize_RC = animation-optimize.rc.o
|
||||
animation_play_RC = animation-play.rc.o
|
||||
blinds_RC = blinds.rc.o
|
||||
border_average_RC = border-average.rc.o
|
||||
busy_dialog_RC = busy-dialog.rc.o
|
||||
checkerboard_RC = checkerboard.rc.o
|
||||
cml_explorer_RC = cml-explorer.rc.o
|
||||
colormap_remap_RC = colormap-remap.rc.o
|
||||
compose_RC = compose.rc.o
|
||||
contrast_retinex_RC = contrast-retinex.rc.o
|
||||
crop_zealous_RC = crop-zealous.rc.o
|
||||
curve_bend_RC = curve-bend.rc.o
|
||||
decompose_RC = decompose.rc.o
|
||||
depth_merge_RC = depth-merge.rc.o
|
||||
despeckle_RC = despeckle.rc.o
|
||||
destripe_RC = destripe.rc.o
|
||||
file_aa_RC = file-aa.rc.o
|
||||
file_cel_RC = file-cel.rc.o
|
||||
file_compressor_RC = file-compressor.rc.o
|
||||
file_csource_RC = file-csource.rc.o
|
||||
file_desktop_link_RC = file-desktop-link.rc.o
|
||||
file_dicom_RC = file-dicom.rc.o
|
||||
file_gbr_RC = file-gbr.rc.o
|
||||
file_gegl_RC = file-gegl.rc.o
|
||||
file_gif_load_RC = file-gif-load.rc.o
|
||||
file_gif_save_RC = file-gif-save.rc.o
|
||||
file_gih_RC = file-gih.rc.o
|
||||
file_glob_RC = file-glob.rc.o
|
||||
file_header_RC = file-header.rc.o
|
||||
file_heif_RC = file-heif.rc.o
|
||||
file_html_table_RC = file-html-table.rc.o
|
||||
file_jp2_load_RC = file-jp2-load.rc.o
|
||||
file_jpegxl_RC = file-jpegxl.rc.o
|
||||
file_mng_RC = file-mng.rc.o
|
||||
file_pat_RC = file-pat.rc.o
|
||||
file_pcx_RC = file-pcx.rc.o
|
||||
file_pdf_load_RC = file-pdf-load.rc.o
|
||||
file_pdf_save_RC = file-pdf-save.rc.o
|
||||
file_pix_RC = file-pix.rc.o
|
||||
file_png_RC = file-png.rc.o
|
||||
file_pnm_RC = file-pnm.rc.o
|
||||
file_ps_RC = file-ps.rc.o
|
||||
file_psp_RC = file-psp.rc.o
|
||||
file_raw_data_RC = file-raw-data.rc.o
|
||||
file_sunras_RC = file-sunras.rc.o
|
||||
file_svg_RC = file-svg.rc.o
|
||||
file_tga_RC = file-tga.rc.o
|
||||
file_wbmp_RC = file-wbmp.rc.o
|
||||
file_wmf_RC = file-wmf.rc.o
|
||||
file_xbm_RC = file-xbm.rc.o
|
||||
file_xmc_RC = file-xmc.rc.o
|
||||
file_xpm_RC = file-xpm.rc.o
|
||||
file_xwd_RC = file-xwd.rc.o
|
||||
film_RC = film.rc.o
|
||||
gradient_map_RC = gradient-map.rc.o
|
||||
grid_RC = grid.rc.o
|
||||
guillotine_RC = guillotine.rc.o
|
||||
hot_RC = hot.rc.o
|
||||
jigsaw_RC = jigsaw.rc.o
|
||||
mail_RC = mail.rc.o
|
||||
nl_filter_RC = nl-filter.rc.o
|
||||
plugin_browser_RC = plugin-browser.rc.o
|
||||
procedure_browser_RC = procedure-browser.rc.o
|
||||
qbist_RC = qbist.rc.o
|
||||
sample_colorize_RC = sample-colorize.rc.o
|
||||
smooth_palette_RC = smooth-palette.rc.o
|
||||
sparkle_RC = sparkle.rc.o
|
||||
sphere_designer_RC = sphere-designer.rc.o
|
||||
tile_RC = tile.rc.o
|
||||
tile_small_RC = tile-small.rc.o
|
||||
unit_editor_RC = unit-editor.rc.o
|
||||
van_gogh_lic_RC = van-gogh-lic.rc.o
|
||||
warp_RC = warp.rc.o
|
||||
wavelet_decompose_RC = wavelet-decompose.rc.o
|
||||
web_browser_RC = web-browser.rc.o
|
||||
web_page_RC = web-page.rc.o
|
|
@ -33,7 +33,7 @@ common_plugins_list = [
|
|||
{ 'name': 'file-gif-load',
|
||||
'deps': [ gtk3, gegl, gdk_pixbuf, cairo, ],
|
||||
},
|
||||
{ 'name': 'file-gif-save', },
|
||||
{ 'name': 'file-gif-export', },
|
||||
{ 'name': 'file-gih', },
|
||||
{ 'name': 'file-glob',
|
||||
'deps': [ gtk3, gegl, gdk_pixbuf, cairo, ],
|
||||
|
@ -123,7 +123,7 @@ if libmng.found()
|
|||
endif
|
||||
|
||||
if cairopdf.found()
|
||||
common_plugins_list += { 'name': 'file-pdf-save',
|
||||
common_plugins_list += { 'name': 'file-pdf-export',
|
||||
'deps': [ gtk3, gegl, gdk_pixbuf, poppler, cairo, cairopdf ],
|
||||
}
|
||||
endif
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include <libgimp/gimpui.h>
|
||||
|
||||
#include "bmp.h"
|
||||
#include "bmp-save.h"
|
||||
#include "bmp-export.h"
|
||||
|
||||
#include "libgimp/stdplugins-intl.h"
|
||||
|
|
@ -16,8 +16,8 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __BMP_SAVE_H__
|
||||
#define __BMP_SAVE_H__
|
||||
#ifndef __BMP_EXPORT_H__
|
||||
#define __BMP_EXPORT_H__
|
||||
|
||||
|
||||
GimpPDBStatusType export_image (GFile *file,
|
||||
|
@ -29,4 +29,4 @@ GimpPDBStatusType export_image (GFile *file,
|
|||
GError **error);
|
||||
|
||||
|
||||
#endif /* __BMP_SAVE_H__ */
|
||||
#endif /* __BMP_EXPORT_H__ */
|
|
@ -61,7 +61,7 @@
|
|||
|
||||
#include "bmp.h"
|
||||
#include "bmp-load.h"
|
||||
#include "bmp-save.h"
|
||||
#include "bmp-export.h"
|
||||
|
||||
#include "libgimp/stdplugins-intl.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ plugin_name = 'file-bmp'
|
|||
|
||||
plugin_sources = [
|
||||
'bmp-load.c',
|
||||
'bmp-save.c',
|
||||
'bmp-export.c',
|
||||
'bmp.c',
|
||||
]
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* GIMP - The GNU Image Manipulation Program
|
||||
* Copyright (C) 1995-1999 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* file-icns-save.c
|
||||
* file-icns-export.c
|
||||
* Copyright (C) 2004 Brion Vibber <brion@pobox.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
|
@ -31,7 +31,7 @@
|
|||
#include "file-icns.h"
|
||||
#include "file-icns-data.h"
|
||||
#include "file-icns-load.h"
|
||||
#include "file-icns-save.h"
|
||||
#include "file-icns-export.h"
|
||||
|
||||
#include "libgimp/stdplugins-intl.h"
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/* GIMP - The GNU Image Manipulation Program
|
||||
* Copyright (C) 1995-1999 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* file-icns-save.h
|
||||
* file-icns-export.h
|
||||
* Copyright (C) 2004 Brion Vibber <brion@pobox.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
|
@ -18,8 +18,8 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ICNS_SAVE_H__
|
||||
#define __ICNS_SAVE_H__
|
||||
#ifndef __ICNS_EXPORT_H__
|
||||
#define __ICNS_EXPORT_H__
|
||||
|
||||
|
||||
GimpPDBStatusType icns_save_image (GFile *file,
|
||||
|
@ -27,4 +27,4 @@ GimpPDBStatusType icns_save_image (GFile *file,
|
|||
gint32 run_mode,
|
||||
GError **error);
|
||||
|
||||
#endif /* __ICNS_SAVE_H__ */
|
||||
#endif /* __ICNS_EXPORT_H__ */
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include "file-icns.h"
|
||||
#include "file-icns-load.h"
|
||||
#include "file-icns-save.h"
|
||||
#include "file-icns-export.h"
|
||||
|
||||
#include "libgimp/stdplugins-intl.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ plugin_name = 'file-icns'
|
|||
plugin_sources = [
|
||||
'file-icns-data.c',
|
||||
'file-icns-load.c',
|
||||
'file-icns-save.c',
|
||||
'file-icns-export.c',
|
||||
'file-icns.c',
|
||||
]
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include "ico.h"
|
||||
#include "ico-dialog.h"
|
||||
#include "ico-save.h"
|
||||
#include "ico-export.h"
|
||||
|
||||
#include "libgimp/stdplugins-intl.h"
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#include "ico.h"
|
||||
#include "ico-load.h"
|
||||
#include "ico-save.h"
|
||||
#include "ico-export.h"
|
||||
#include "ico-dialog.h"
|
||||
|
||||
#include "libgimp/stdplugins-intl.h"
|
|
@ -18,8 +18,8 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __ICO_SAVE_H__
|
||||
#define __ICO_SAVE_H__
|
||||
#ifndef __ICO_EXPORT_H__
|
||||
#define __ICO_EXPORT_H__
|
||||
|
||||
|
||||
GimpPDBStatusType ico_export_image (GFile *file,
|
||||
|
@ -51,4 +51,4 @@ gboolean ico_cmap_contains_black (const guchar *cmap,
|
|||
gint num_colors);
|
||||
|
||||
|
||||
#endif /* __ICO_SAVE_H__ */
|
||||
#endif /* __ICO_EXPORT_H__ */
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include "ico.h"
|
||||
#include "ico-load.h"
|
||||
#include "ico-save.h"
|
||||
#include "ico-export.h"
|
||||
|
||||
#include "libgimp/stdplugins-intl.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ plugin_name = 'file-ico'
|
|||
plugin_sources = [
|
||||
'ico-dialog.c',
|
||||
'ico-load.c',
|
||||
'ico-save.c',
|
||||
'ico-export.c',
|
||||
'ico.c',
|
||||
]
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
#include "jpeg.h"
|
||||
#include "jpeg-icc.h"
|
||||
#include "jpeg-load.h"
|
||||
#include "jpeg-save.h"
|
||||
#include "jpeg-export.h"
|
||||
#include "jpeg-settings.h"
|
||||
|
||||
/* See bugs #63610 and #61088 for a discussion about the quality settings */
|
||||
|
@ -642,7 +642,7 @@ export_image (GFile *file,
|
|||
if (save_comment && comment && *comment)
|
||||
{
|
||||
#ifdef GIMP_UNSTABLE
|
||||
g_print ("jpeg-save: saving image comment (%d bytes)\n",
|
||||
g_print ("jpeg-export: saving image comment (%d bytes)\n",
|
||||
(int) strlen (comment));
|
||||
#endif
|
||||
jpeg_write_marker (&cinfo, JPEG_COM,
|
|
@ -15,8 +15,8 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __JPEG_SAVE_H__
|
||||
#define __JPEG_SAVE_H__
|
||||
#ifndef __JPEG_EXPORT_H__
|
||||
#define __JPEG_EXPORT_H__
|
||||
|
||||
|
||||
extern GimpImage *orig_image_global;
|
||||
|
@ -35,4 +35,4 @@ gboolean save_dialog (GimpProcedure *procedure,
|
|||
GimpDrawable *drawable,
|
||||
GimpImage *image);
|
||||
|
||||
#endif /* __JPEG_SAVE_H__ */
|
||||
#endif /* __JPEG_EXPORT_H__ */
|
|
@ -32,7 +32,7 @@
|
|||
#include "jpeg.h"
|
||||
#include "jpeg-settings.h"
|
||||
#include "jpeg-load.h"
|
||||
#include "jpeg-save.h"
|
||||
#include "jpeg-export.h"
|
||||
|
||||
|
||||
typedef struct _Jpeg Jpeg;
|
||||
|
|
|
@ -4,7 +4,7 @@ plugin_sources = [
|
|||
'jpeg-icc.c',
|
||||
'jpeg-load.c',
|
||||
'jpeg-quality.c',
|
||||
'jpeg-save.c',
|
||||
'jpeg-export.c',
|
||||
'jpeg-settings.c',
|
||||
'jpeg.c',
|
||||
]
|
||||
|
|
|
@ -4,7 +4,7 @@ plugin_sources = [
|
|||
'psd-image-res-load.c',
|
||||
'psd-layer-res-load.c',
|
||||
'psd-load.c',
|
||||
'psd-save.c',
|
||||
'psd-export.c',
|
||||
'psd-thumb-load.c',
|
||||
'psd-util.c',
|
||||
'psd.c',
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
|
||||
#include "psd.h"
|
||||
#include "psd-util.h"
|
||||
#include "psd-save.h"
|
||||
#include "psd-export.h"
|
||||
|
||||
#include "libgimp/stdplugins-intl.h"
|
||||
|
||||
|
@ -1119,7 +1119,7 @@ get_compress_channel_data (guchar *channel_data,
|
|||
return len;
|
||||
}
|
||||
|
||||
/* Ported /from plug-ins/file-tiff/file-tiff-save.c */
|
||||
/* Ported /from plug-ins/file-tiff/file-tiff-export.c */
|
||||
static void
|
||||
double_to_psd_fixed (gdouble value,
|
||||
gchar *target)
|
||||
|
@ -1143,7 +1143,7 @@ double_to_psd_fixed (gdouble value,
|
|||
target[3] = f & 0xFF;
|
||||
}
|
||||
|
||||
/* Ported from /plug-ins/file-tiff/file-tiff-save.c */
|
||||
/* Ported from /plug-ins/file-tiff/file-tiff-export.c */
|
||||
static void
|
||||
save_paths (GOutputStream *output,
|
||||
GimpImage *image)
|
||||
|
@ -1238,7 +1238,7 @@ save_paths (GOutputStream *output,
|
|||
num_points > 65535 ||
|
||||
num_points % 6)
|
||||
{
|
||||
g_printerr ("psd-save: unsupported stroke type: "
|
||||
g_printerr ("psd-export: unsupported stroke type: "
|
||||
"%d (%d points)\n", type, num_points);
|
||||
continue;
|
||||
}
|
|
@ -15,8 +15,8 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __PSD_SAVE_H__
|
||||
#define __PSD_SAVE_H__
|
||||
#ifndef __PSD_EXPORT_H__
|
||||
#define __PSD_EXPORT_H__
|
||||
|
||||
|
||||
gboolean export_image (GFile *file,
|
||||
|
@ -28,4 +28,4 @@ gboolean save_dialog (GimpImage *image,
|
|||
GimpProcedure *procedure,
|
||||
GObject *config);
|
||||
|
||||
#endif /* __PSD_SAVE_H__ */
|
||||
#endif /* __PSD_EXPORT_H__ */
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "psd.h"
|
||||
#include "psd-load.h"
|
||||
#include "psd-save.h"
|
||||
#include "psd-export.h"
|
||||
#include "psd-thumb-load.h"
|
||||
|
||||
#include "libgimp/stdplugins-intl.h"
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
#include "file-tiff.h"
|
||||
#include "file-tiff-io.h"
|
||||
#include "file-tiff-save.h"
|
||||
#include "file-tiff-export.h"
|
||||
|
||||
#include "libgimp/stdplugins-intl.h"
|
||||
|
||||
|
@ -196,7 +196,7 @@ save_paths (TIFF *tif,
|
|||
num_points > 65535 ||
|
||||
num_points % 6)
|
||||
{
|
||||
g_printerr ("tiff-save: unsupported stroke type: "
|
||||
g_printerr ("tiff-export: unsupported stroke type: "
|
||||
"%d (%d points)\n", type, num_points);
|
||||
continue;
|
||||
}
|
|
@ -19,8 +19,8 @@
|
|||
* pablo.dangelo@web.de -- 16 Jan 2004
|
||||
*/
|
||||
|
||||
#ifndef __FILE_TIFF_SAVE_H__
|
||||
#define __FILE_TIFF_SAVE_H__
|
||||
#ifndef __FILE_TIFF_EXPORT_H__
|
||||
#define __FILE_TIFF_EXPORT_H__
|
||||
|
||||
|
||||
gboolean export_image (GFile *file,
|
||||
|
@ -40,4 +40,4 @@ gboolean save_dialog (GimpImage *image,
|
|||
gboolean classic_tiff_failed);
|
||||
|
||||
|
||||
#endif /* __FILE_TIFF_SAVE_H__ */
|
||||
#endif /* __FILE_TIFF_EXPORT_H__ */
|
|
@ -52,7 +52,7 @@
|
|||
#include "file-tiff.h"
|
||||
#include "file-tiff-io.h"
|
||||
#include "file-tiff-load.h"
|
||||
#include "file-tiff-save.h"
|
||||
#include "file-tiff-export.h"
|
||||
|
||||
#include "libgimp/stdplugins-intl.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ plugin_name = 'file-tiff'
|
|||
|
||||
plugin_sources = [
|
||||
'file-tiff-io.c',
|
||||
'file-tiff-save.c',
|
||||
'file-tiff-export.c',
|
||||
'file-tiff.c',
|
||||
'file-tiff-load.c',
|
||||
]
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include <webp/encode.h>
|
||||
#include <webp/mux.h>
|
||||
|
||||
#include "file-webp-save.h"
|
||||
#include "file-webp-export.h"
|
||||
|
||||
#include "libgimp/stdplugins-intl.h"
|
||||
|
|
@ -19,8 +19,8 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __WEBP_SAVE_H__
|
||||
#define __WEBP_SAVE_H__
|
||||
#ifndef __WEBP_EXPORT_H__
|
||||
#define __WEBP_EXPORT_H__
|
||||
|
||||
|
||||
gboolean save_layer (GFile *file,
|
||||
|
@ -37,4 +37,4 @@ gboolean save_animation (GFile *file,
|
|||
GError **error);
|
||||
|
||||
|
||||
#endif /* __WEBP_SAVE_H__ */
|
||||
#endif /* __WEBP_EXPORT_H__ */
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "file-webp-dialog.h"
|
||||
#include "file-webp-load.h"
|
||||
#include "file-webp-save.h"
|
||||
#include "file-webp-export.h"
|
||||
#include "file-webp.h"
|
||||
|
||||
#include "libgimp/stdplugins-intl.h"
|
||||
|
|
|
@ -5,7 +5,7 @@ plugin_name = 'file-webp'
|
|||
plugin_sources = [
|
||||
'file-webp-dialog.c',
|
||||
'file-webp-load.c',
|
||||
'file-webp-save.c',
|
||||
'file-webp-export.c',
|
||||
'file-webp.c',
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue