Remove remnant of Autotools (#2950)

* Remove `glib-mkenums` autotools templates and generated files

Meson uses the `enumtypes.c.in` and `enumtypes.h.in` in
`libvips/include/vips` and doesn't use the pre-generated
files.

* Remove man files for no longer existing tools

+ update the `meson.build`.

* Remove Autotools section in `.gitignore`

* Remove `po/messages` left-over

* Remove `g-ir-scanner` entry point

No longer needed by Meson.

* Remove `glib-genmarshal` generated files

Meson doesn't use these pre-generated files.

* Remove Autotools specific Git attributes

* Remove no longer existing tools in `.gitignore`

* Remove Make specific things in `.gitignore`

* Rename COPYING to LICENSE

* Remove no longer needed `.gitignore` sections

Meson only supports out-of-tree builds. This assumes that the
build directory is ignored.

* Remove no longer needed `.editorconfig` sections
This commit is contained in:
Kleis Auke Wolthuizen 2022-07-27 11:56:56 +02:00 committed by GitHub
parent 95970d0f40
commit 057703938e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 1 additions and 1988 deletions

View File

@ -13,11 +13,3 @@ indent_size = 8
[*.py]
indent_style = space
indent_size = 4
[Makefile.am]
indent_style = tab
indent_size = 8
[configure.ac]
indent_style = space
indent_size = 2

5
.gitattributes vendored
View File

@ -1,5 +1,2 @@
# Shell scripts and Automake sources can't have CRLF line endings
configure.ac eol=lf
Makefile.am eol=lf
*.m4 eol=lf
# Shell scripts sources can't have CRLF line endings
*.sh eol=lf

114
.gitignore vendored
View File

@ -25,120 +25,6 @@ __pycache__/
.pytest_cache/
### End of Python
### Autotools
# https://www.gnu.org/software/automake/
.deps/
.libs/
*.log
*.trs
.dirstamp
Makefile.in
py-compile
test-driver
# https://www.gnu.org/software/autoconf/
autom4te.cache/
aclocal.m4
compile
config.guess
config.h
config.h.*
config.log
config.status
config.sub
configure
depcomp
install-sh
missing
stamp-h1
# https://www.gnu.org/software/libtool/
libtool
ltmain.sh
# https://www.gnu.org/software/m4/
m4/glib-gettext.m4
m4/gtk-doc.m4
m4/intltool.m4
m4/introspection.m4
m4/libtool.m4
m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
m4/pkg.m4
# Generated files
Makefile
libvips/include/vips/version.h
test/variables.sh
### End of Autotools
### gettext
po/Makefile.in.in
po/*.pot
po/POTFILES
po/de.gmo
po/en_GB.gmo
po/malkovich.gmo
### End of gettext
### Tools
tools/batch_crop
tools/batch_image_convert
tools/batch_rubber_sheet
tools/light_correct
tools/shrink_width
tools/vips
tools/vipsedit
tools/vipsheader
tools/vipsthumbnail
fuzz/*_fuzzer
### End of Tools
### GTK-Doc
doc/html-build.stamp
doc/html.stamp
doc/html/
doc/libvips-decl-list.txt
doc/libvips-decl.txt
doc/libvips-docs.sgml
doc/libvips-docs.xml
doc/libvips-overrides.txt
doc/libvips-sections.txt
doc/libvips-undeclared.txt
doc/libvips-undocumented.txt
doc/libvips-unused.txt
doc/libvips.actions
doc/libvips.args
doc/libvips.hierarchy
doc/libvips.interfaces
doc/libvips.prerequisites
doc/libvips.signals
doc/libvips.types
doc/scan-build.stamp
doc/setup-build.stamp
doc/sgml-build.stamp
doc/sgml.stamp
doc/tmpl-build.stamp
doc/tmpl.stamp
doc/tmpl/
doc/xml/
gtk-doc.make
libvips-scan
### End of GTK-Doc
### GObject introspection
libvips/introspect
Vips-8.0.gir
Vips-8.0.typelib
### End of GObject introspection
### pkg-config
# Generated files
*.pc
### End of pkg-config
### VIM
# Temporary files
*~

View File

View File

@ -1,23 +0,0 @@
/*** BEGIN file-header ***/
#ifndef VIPS_ENUM_TYPES_H
#define VIPS_ENUM_TYPES_H
G_BEGIN_DECLS
/*** END file-header ***/
/*** BEGIN file-production ***/
/* enumerations from "@basename@" */
/*** END file-production ***/
/*** BEGIN value-header ***/
VIPS_API
GType @enum_name@_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
/*** END value-header ***/
/*** BEGIN file-tail ***/
G_END_DECLS
#endif /*VIPS_ENUM_TYPES_H*/
/*** END file-tail ***/

View File

@ -1,174 +0,0 @@
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
#ifndef VIPS_ENUM_TYPES_H
#define VIPS_ENUM_TYPES_H
G_BEGIN_DECLS
/* enumerations from "arithmetic.h" */
VIPS_API
GType vips_operation_math_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_OPERATION_MATH (vips_operation_math_get_type())
VIPS_API
GType vips_operation_math2_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_OPERATION_MATH2 (vips_operation_math2_get_type())
VIPS_API
GType vips_operation_round_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_OPERATION_ROUND (vips_operation_round_get_type())
VIPS_API
GType vips_operation_relational_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_OPERATION_RELATIONAL (vips_operation_relational_get_type())
VIPS_API
GType vips_operation_boolean_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_OPERATION_BOOLEAN (vips_operation_boolean_get_type())
VIPS_API
GType vips_operation_complex_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_OPERATION_COMPLEX (vips_operation_complex_get_type())
VIPS_API
GType vips_operation_complex2_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_OPERATION_COMPLEX2 (vips_operation_complex2_get_type())
VIPS_API
GType vips_operation_complexget_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_OPERATION_COMPLEXGET (vips_operation_complexget_get_type())
/* enumerations from "basic.h" */
VIPS_API
GType vips_precision_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_PRECISION (vips_precision_get_type())
/* enumerations from "colour.h" */
VIPS_API
GType vips_intent_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_INTENT (vips_intent_get_type())
VIPS_API
GType vips_pcs_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_PCS (vips_pcs_get_type())
/* enumerations from "conversion.h" */
VIPS_API
GType vips_extend_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_EXTEND (vips_extend_get_type())
VIPS_API
GType vips_compass_direction_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_COMPASS_DIRECTION (vips_compass_direction_get_type())
VIPS_API
GType vips_direction_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_DIRECTION (vips_direction_get_type())
VIPS_API
GType vips_align_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_ALIGN (vips_align_get_type())
VIPS_API
GType vips_angle_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_ANGLE (vips_angle_get_type())
VIPS_API
GType vips_angle45_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_ANGLE45 (vips_angle45_get_type())
VIPS_API
GType vips_interesting_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_INTERESTING (vips_interesting_get_type())
VIPS_API
GType vips_blend_mode_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_BLEND_MODE (vips_blend_mode_get_type())
/* enumerations from "convolution.h" */
VIPS_API
GType vips_combine_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_COMBINE (vips_combine_get_type())
/* enumerations from "draw.h" */
VIPS_API
GType vips_combine_mode_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_COMBINE_MODE (vips_combine_mode_get_type())
/* enumerations from "foreign.h" */
VIPS_API
GType vips_foreign_flags_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_FOREIGN_FLAGS (vips_foreign_flags_get_type())
VIPS_API
GType vips_fail_on_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_FAIL_ON (vips_fail_on_get_type())
VIPS_API
GType vips_saveable_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_SAVEABLE (vips_saveable_get_type())
VIPS_API
GType vips_foreign_subsample_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_FOREIGN_SUBSAMPLE (vips_foreign_subsample_get_type())
VIPS_API
GType vips_foreign_jpeg_subsample_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_FOREIGN_JPEG_SUBSAMPLE (vips_foreign_jpeg_subsample_get_type())
VIPS_API
GType vips_foreign_webp_preset_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_FOREIGN_WEBP_PRESET (vips_foreign_webp_preset_get_type())
VIPS_API
GType vips_foreign_tiff_compression_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_FOREIGN_TIFF_COMPRESSION (vips_foreign_tiff_compression_get_type())
VIPS_API
GType vips_foreign_tiff_predictor_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_FOREIGN_TIFF_PREDICTOR (vips_foreign_tiff_predictor_get_type())
VIPS_API
GType vips_foreign_tiff_resunit_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_FOREIGN_TIFF_RESUNIT (vips_foreign_tiff_resunit_get_type())
VIPS_API
GType vips_foreign_png_filter_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_FOREIGN_PNG_FILTER (vips_foreign_png_filter_get_type())
VIPS_API
GType vips_foreign_ppm_format_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_FOREIGN_PPM_FORMAT (vips_foreign_ppm_format_get_type())
VIPS_API
GType vips_foreign_dz_layout_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_FOREIGN_DZ_LAYOUT (vips_foreign_dz_layout_get_type())
VIPS_API
GType vips_foreign_dz_depth_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_FOREIGN_DZ_DEPTH (vips_foreign_dz_depth_get_type())
VIPS_API
GType vips_foreign_dz_container_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_FOREIGN_DZ_CONTAINER (vips_foreign_dz_container_get_type())
VIPS_API
GType vips_foreign_heif_compression_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_FOREIGN_HEIF_COMPRESSION (vips_foreign_heif_compression_get_type())
/* enumerations from "image.h" */
VIPS_API
GType vips_demand_style_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_DEMAND_STYLE (vips_demand_style_get_type())
VIPS_API
GType vips_image_type_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_IMAGE_TYPE (vips_image_type_get_type())
VIPS_API
GType vips_interpretation_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_INTERPRETATION (vips_interpretation_get_type())
VIPS_API
GType vips_band_format_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_BAND_FORMAT (vips_band_format_get_type())
VIPS_API
GType vips_coding_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_CODING (vips_coding_get_type())
VIPS_API
GType vips_access_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_ACCESS (vips_access_get_type())
/* enumerations from "morphology.h" */
VIPS_API
GType vips_operation_morphology_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_OPERATION_MORPHOLOGY (vips_operation_morphology_get_type())
/* enumerations from "object.h" */
VIPS_API
GType vips_argument_flags_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_ARGUMENT_FLAGS (vips_argument_flags_get_type())
/* enumerations from "operation.h" */
VIPS_API
GType vips_operation_flags_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_OPERATION_FLAGS (vips_operation_flags_get_type())
/* enumerations from "region.h" */
VIPS_API
GType vips_region_shrink_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_REGION_SHRINK (vips_region_shrink_get_type())
/* enumerations from "resample.h" */
VIPS_API
GType vips_kernel_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_KERNEL (vips_kernel_get_type())
VIPS_API
GType vips_size_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_SIZE (vips_size_get_type())
/* enumerations from "util.h" */
VIPS_API
GType vips_token_get_type (void) G_GNUC_CONST;
#define VIPS_TYPE_TOKEN (vips_token_get_type())
G_END_DECLS
#endif /*VIPS_ENUM_TYPES_H*/
/* Generated data ends here */

View File

@ -1,119 +0,0 @@
/* Entry point for g-ir-scanner ... this program is used during build time
* only.
*
* 19/12/14
* - quick hack
*/
/*
This file is part of VIPS.
VIPS is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA
*/
/*
These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
*/
/*
#define DEBUG
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /*HAVE_CONFIG_H*/
#include <glib/gi18n.h>
#include <locale.h>
#include <vips/vips.h>
#include <girepository.h>
static char *main_option_introspect_dump = NULL;
static GOptionEntry main_option[] = {
{ "introspect-dump", 'i', 0,
G_OPTION_ARG_STRING, &main_option_introspect_dump,
N_( "dump introspection data" ), NULL },
{ NULL }
};
int
main( int argc, char *argv[] )
{
GOptionContext *context;
GOptionGroup *main_group;
GError *error = NULL;
if( VIPS_INIT( argv[0] ) )
vips_error_exit( "unable to start VIPS" );
#ifdef ENABLE_NLS
textdomain( GETTEXT_PACKAGE );
#endif /* ENABLE_NLS */
setlocale( LC_ALL, "" );
context = g_option_context_new( _( "- introspect" ) );
main_group = g_option_group_new( NULL, NULL, NULL, NULL, NULL );
g_option_group_add_entries( main_group, main_option );
vips_add_option_entries( main_group );
g_option_group_set_translation_domain( main_group, GETTEXT_PACKAGE );
g_option_context_set_main_group( context, main_group );
if( !g_option_context_parse( context, &argc, &argv, &error ) ) {
if( error ) {
fprintf( stderr, "%s\n", error->message );
g_error_free( error );
}
vips_error_exit( "try \"%s --help\"", g_get_prgname() );
}
g_option_context_free( context );
#ifdef DEBUG
/* For debugging it's handy to have a copy of the input file.
*/
if( main_option_introspect_dump ) {
char **args;
char *cmd;
args = g_strsplit( main_option_introspect_dump, ",", 2 );
cmd = g_strdup_printf( "cp %s ~/functions.txt", args[0]);
printf( "introspect: running '%s'\n", cmd );
system( cmd );
g_free( cmd );
}
#endif /*DEBUG*/
if( main_option_introspect_dump &&
!g_irepository_dump( main_option_introspect_dump, &error ) ) {
if( error ) {
fprintf( stderr, "%s\n", error->message );
g_error_free( error );
}
vips_error_exit( "unable to dump introspection" );
}
vips_shutdown();
return( 0 );
}

View File

@ -1,39 +0,0 @@
/*** BEGIN file-header ***/
/* auto-generated enums for vips introspection */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /*HAVE_CONFIG_H*/
#include <vips/vips.h>
/*** END file-header ***/
/*** BEGIN file-production ***/
/* enumerations from "@basename@" */
/*** END file-production ***/
/*** BEGIN value-header ***/
GType
@enum_name@_get_type( void )
{
static gsize gtype_id = 0;
if( g_once_init_enter ( &gtype_id ) ) {
static const G@Type@Value values[] = {
/*** END value-header ***/
/*** BEGIN value-production ***/
{@VALUENAME@, "@VALUENAME@", "@valuenick@"},
/*** END value-production ***/
/*** BEGIN value-tail ***/
{0, NULL, NULL}
};
GType new_type =
g_@type@_register_static( g_intern_static_string( "@EnumName@" ), values );
g_once_init_leave( &gtype_id, new_type );
}
return( (GType) gtype_id );
}
/*** END value-tail ***/

File diff suppressed because it is too large Load Diff

View File

@ -1,169 +0,0 @@
#include "vipsmarshal.h"
/* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
#include <glib-object.h>
#ifdef G_ENABLE_DEBUG
#define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
#define g_marshal_value_peek_char(v) g_value_get_schar (v)
#define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
#define g_marshal_value_peek_int(v) g_value_get_int (v)
#define g_marshal_value_peek_uint(v) g_value_get_uint (v)
#define g_marshal_value_peek_long(v) g_value_get_long (v)
#define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
#define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
#define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
#define g_marshal_value_peek_enum(v) g_value_get_enum (v)
#define g_marshal_value_peek_flags(v) g_value_get_flags (v)
#define g_marshal_value_peek_float(v) g_value_get_float (v)
#define g_marshal_value_peek_double(v) g_value_get_double (v)
#define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
#define g_marshal_value_peek_param(v) g_value_get_param (v)
#define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
#define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
#define g_marshal_value_peek_object(v) g_value_get_object (v)
#define g_marshal_value_peek_variant(v) g_value_get_variant (v)
#else /* !G_ENABLE_DEBUG */
/* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
* Do not access GValues directly in your code. Instead, use the
* g_value_get_*() functions
*/
#define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
#define g_marshal_value_peek_char(v) (v)->data[0].v_int
#define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
#define g_marshal_value_peek_int(v) (v)->data[0].v_int
#define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
#define g_marshal_value_peek_long(v) (v)->data[0].v_long
#define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
#define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
#define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
#define g_marshal_value_peek_enum(v) (v)->data[0].v_long
#define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
#define g_marshal_value_peek_float(v) (v)->data[0].v_float
#define g_marshal_value_peek_double(v) (v)->data[0].v_double
#define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
#define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
#define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
#define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
#define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
#define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
#endif /* !G_ENABLE_DEBUG */
/* INT: VOID (vipsmarshal.list:25) */
void
vips_INT__VOID (GClosure *closure,
GValue *return_value,
guint n_param_values,
const GValue *param_values,
gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef gint (*GMarshalFunc_INT__VOID) (gpointer data1,
gpointer data2);
GCClosure *cc = (GCClosure *) closure;
gpointer data1, data2;
GMarshalFunc_INT__VOID callback;
gint v_return;
g_return_if_fail (return_value != NULL);
g_return_if_fail (n_param_values == 1);
if (G_CCLOSURE_SWAP_DATA (closure))
{
data1 = closure->data;
data2 = g_value_peek_pointer (param_values + 0);
}
else
{
data1 = g_value_peek_pointer (param_values + 0);
data2 = closure->data;
}
callback = (GMarshalFunc_INT__VOID) (marshal_data ? marshal_data : cc->callback);
v_return = callback (data1,
data2);
g_value_set_int (return_value, v_return);
}
/* INT64: INT64, INT (vipsmarshal.list:26) */
void
vips_INT64__INT64_INT (GClosure *closure,
GValue *return_value,
guint n_param_values,
const GValue *param_values,
gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef gint64 (*GMarshalFunc_INT64__INT64_INT) (gpointer data1,
gint64 arg1,
gint arg2,
gpointer data2);
GCClosure *cc = (GCClosure *) closure;
gpointer data1, data2;
GMarshalFunc_INT64__INT64_INT callback;
gint64 v_return;
g_return_if_fail (return_value != NULL);
g_return_if_fail (n_param_values == 3);
if (G_CCLOSURE_SWAP_DATA (closure))
{
data1 = closure->data;
data2 = g_value_peek_pointer (param_values + 0);
}
else
{
data1 = g_value_peek_pointer (param_values + 0);
data2 = closure->data;
}
callback = (GMarshalFunc_INT64__INT64_INT) (marshal_data ? marshal_data : cc->callback);
v_return = callback (data1,
g_marshal_value_peek_int64 (param_values + 1),
g_marshal_value_peek_int (param_values + 2),
data2);
g_value_set_int64 (return_value, v_return);
}
/* INT64: POINTER, INT64 (vipsmarshal.list:27) */
void
vips_INT64__POINTER_INT64 (GClosure *closure,
GValue *return_value,
guint n_param_values,
const GValue *param_values,
gpointer invocation_hint G_GNUC_UNUSED,
gpointer marshal_data)
{
typedef gint64 (*GMarshalFunc_INT64__POINTER_INT64) (gpointer data1,
gpointer arg1,
gint64 arg2,
gpointer data2);
GCClosure *cc = (GCClosure *) closure;
gpointer data1, data2;
GMarshalFunc_INT64__POINTER_INT64 callback;
gint64 v_return;
g_return_if_fail (return_value != NULL);
g_return_if_fail (n_param_values == 3);
if (G_CCLOSURE_SWAP_DATA (closure))
{
data1 = closure->data;
data2 = g_value_peek_pointer (param_values + 0);
}
else
{
data1 = g_value_peek_pointer (param_values + 0);
data2 = closure->data;
}
callback = (GMarshalFunc_INT64__POINTER_INT64) (marshal_data ? marshal_data : cc->callback);
v_return = callback (data1,
g_marshal_value_peek_pointer (param_values + 1),
g_marshal_value_peek_int64 (param_values + 2),
data2);
g_value_set_int64 (return_value, v_return);
}

View File

@ -1,39 +0,0 @@
/* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
#ifndef __VIPS_MARSHAL_H__
#define __VIPS_MARSHAL_H__
#include <glib-object.h>
G_BEGIN_DECLS
/* INT: VOID (vipsmarshal.list:25) */
extern
void vips_INT__VOID (GClosure *closure,
GValue *return_value,
guint n_param_values,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data);
/* INT64: INT64, INT (vipsmarshal.list:26) */
extern
void vips_INT64__INT64_INT (GClosure *closure,
GValue *return_value,
guint n_param_values,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data);
/* INT64: POINTER, INT64 (vipsmarshal.list:27) */
extern
void vips_INT64__POINTER_INT64 (GClosure *closure,
GValue *return_value,
guint n_param_values,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data);
G_END_DECLS
#endif /* __VIPS_MARSHAL_H__ */

View File

@ -1,22 +0,0 @@
.TH BATCH_CROP 1 "2 Feb 2002"
.SH NAME
batch_crop \- crop a set of images
.SH SYNOPSIS
.B batch_crop left top width height image1 image2 ...
.SH DESCRIPTION
The area defined by the rectangle left, top, width, height is cropped out of
each of the images and saved in a file of the same name, but prefixed by
"crop_".
For example:
batch_crop 10 10 100 100 fred.jpg jim.png
will make two images, crop_fred.jpg and crop_jim.png, each of 100 by 100
pixels, taken from the corresponding input images.
.SH RETURN VALUE
returns 0 on success and non-zero on error.
.SH SEE ALSO
vipsheader(1), im_vips2tiff(3), im_vips2jpeg(3), im_vips2png(3), im_vips2ppm(3)

View File

@ -1,29 +0,0 @@
.TH BATCH_IMAGE_CONVERT 1 "2 Feb 2002"
.SH NAME
batch_image_convert \- use VIPS to convert a set of images to a new type
.SH SYNOPSIS
.B batch_image_convert type image1 image2 ...
.SH DESCRIPTION
The first argument is the name of an image type, subsequent arguments are
the names of files to be converted to that type. VIPS can usually read almost
any image type, but it can only write VIPS, PNG, TIFF, PPM/PGM/PBM and JPEG.
You can specify conversion parameters in the type name.
For example:
batch_image_convert tiff fred.jpg jim.png
will convert
.B fred.jpg
and
.B jim.png
to TIFF format.
batch_image_convert jpeg:95 jim.png
will write jim.jpeg with a 95% quality factor.
.SH RETURN VALUE
returns 0 on success and non-zero on error.
.SH SEE ALSO
vipsheader(1), im_vips2tiff(3), im_vips2jpeg(3), im_vips2png(3), im_vips2ppm(3)

View File

@ -1,30 +0,0 @@
.TH BATCH_RUBBER_SHEET 1 "2 Feb 2002"
.SH NAME
batch_rubber_sheet \- warp a set of images with a rubber-sheet transformation
.SH SYNOPSIS
.B batch_rubber_sheet matrix image1 image2 ...
.SH DESCRIPTION
The first argument specifies a file containing the transformation, subsequent
arguments are image files to be transformed. The transformed image is written
to a new file, named as the old file, but with "rsc_" prepended to the file
name.
For example:
batch_rubber_sheet lens.mat fred.jpg jim.png
will read a transform from the file
.B lens.mat
and apply it to
.B fred.jpg
and
.B jim.png,
writing files
.B rsc_fred.jpg
and
.B rsc_jim.png.
.SH RETURN VALUE
returns 0 on success and non-zero on error.
.SH SEE ALSO
The "Image=>Rubber" menu in nip.

View File

@ -1,39 +0,0 @@
.TH LIGHT_CORRECT 1 "14 Oct 1996"
.SH NAME
light_correct \- correct illumination errors on set of images
.SH SYNOPSIS
.B light_correct grey image1 image2 image3 ...
.SH DESCRIPTION
The first argument should be an image of a piece of grey card, subsequent
arguments should be images taken with the same lighting set-up which need
correcting. The corrected images are written to files prefixed with "ic_".
For example, suppose you have a directory with the following files in:
example% ls
dat1.1.v dat1.2.v dat2.1.v dat2.2.v dat3.1.v dat3.2.v
dat4.1.v dat4.2.v grey.v
then run light_correct like this:
example% light_correct grey.v dat*.v
to generate this:
example% ls
dat1.1.v dat1.2.v dat2.1.v dat2.2.v dat3.1.v dat3.2.v
dat4.1.v dat4.2.v grey.v
ic_dat1.1.v ic_dat1.2.v ic_dat2.1.v ic_dat2.2.v ic_dat3.1.v
ic_dat3.2.v ic_dat4.1.v ic_dat4.2.v
light_correct works by smoothing out the grey card image, finding
grey-mean/pixel for each point, and then multiplying the result by all the
following images. It also removes any .desc files it generates, to avoid
problems with im_global_balance(3).
.SH RETURN VALUE
returns 0 on success and non-zero on error.
.SH SEE ALSO
vipsheader(1), vips(1)
.SH COPYRIGHT
The National Gallery and Birkbeck College, 1989-1996.

View File

@ -1,10 +1,6 @@
install_man(
'batch_crop.1',
'batch_image_convert.1',
'batch_rubber_sheet.1',
'vipsedit.1',
'vipsheader.1',
'light_correct.1',
'vips.1',
'vipsprofile.1',
'vipsthumbnail.1'

Binary file not shown.