libvips/libvips/iofuncs/Makefile.am

86 lines
2.1 KiB
Makefile
Raw Normal View History

2009-08-16 17:00:08 +02:00
noinst_LTLIBRARIES = libiofuncs.la
libiofuncs_la_SOURCES = \
ginputsource.c \
sourceginput.c \
experiment with renaming stream rename as VipsConnection, VipsSource, VipsTarget etc. see https://github.com/libvips/libvips/issues/1494#issuecomment-569498619 renamed with this script: ``` set -e edit() { sed -i -E "$1" rename } for i in $*; do cp $i rename edit s/VIPS_STREAMOU/VIPS_TARGET_CUSTOM/g edit s/VIPS_STREAMO/VIPS_TARGET/g edit s/VIPS_STREAMIU/VIPS_SOURCE_CUSTOM/g edit s/VIPS_STREAMI/VIPS_SOURCE/g edit s/VIPS_STREAM/VIPS_CONNECTION/g edit s/vips_streamou/vips_target_custom/g edit s/vips_streamo/vips_target/g edit s/vips_streamiu/vips_source_custom/g edit s/vips_streami/vips_source/g edit s/vips_stream/vips_connection/g edit s/VipsStreamou/VipsTargetCustom/g edit s/VipsStreamo/VipsTarget/g edit s/VipsStreamiu/VipsSourceCustom/g edit s/VipsStreami/VipsSource/g edit s/VipsStream/VipsConnection/g # eg. VIPS_TYPE_STREAM or VIPS_IS_STREAM edit "s/VIPS_([A-Z]+)_STREAMOU/VIPS_\1_TARGET_CUSTOM/g" edit "s/VIPS_([A-Z]+)_STREAMO/VIPS_\1_TARGET/g" edit "s/VIPS_([A-Z]+)_STREAMIU/VIPS_\1_SOURCE_CUSTOM/g" edit "s/VIPS_([A-Z]+)_STREAMI/VIPS_\1_SOURCE/g" edit "s/VIPS_([A-Z]+)_STREAM/VIPS_\1_CONNECTION/g" edit s/streamou/target_custom/g edit s/streamo/target/g edit s/streamiu/source_custom/g edit s/streami/source/g # various identifiers which also change edit s/is_a_stream/is_a_source/g edit s/find_load_stream/find_load_source/g edit s/find_save_stream/find_save_target/g edit s/new_from_stream/new_from_source/g edit s/write_to_stream/write_to_target/g edit s/vips_thumbnail_stream/vips_thumbnail_source/g # eg. vips_webpload_stream edit "s/vips_([a-z]+)load_stream/vips_\1load_source/g" # eg. vips_webpsave_stream edit "s/vips_([a-z]+)save_stream/vips_\1save_target/g" mv rename $i done ```
2019-12-29 22:40:21 +01:00
connection.c \
source.c \
sourcecustom.c \
experiment with renaming stream rename as VipsConnection, VipsSource, VipsTarget etc. see https://github.com/libvips/libvips/issues/1494#issuecomment-569498619 renamed with this script: ``` set -e edit() { sed -i -E "$1" rename } for i in $*; do cp $i rename edit s/VIPS_STREAMOU/VIPS_TARGET_CUSTOM/g edit s/VIPS_STREAMO/VIPS_TARGET/g edit s/VIPS_STREAMIU/VIPS_SOURCE_CUSTOM/g edit s/VIPS_STREAMI/VIPS_SOURCE/g edit s/VIPS_STREAM/VIPS_CONNECTION/g edit s/vips_streamou/vips_target_custom/g edit s/vips_streamo/vips_target/g edit s/vips_streamiu/vips_source_custom/g edit s/vips_streami/vips_source/g edit s/vips_stream/vips_connection/g edit s/VipsStreamou/VipsTargetCustom/g edit s/VipsStreamo/VipsTarget/g edit s/VipsStreamiu/VipsSourceCustom/g edit s/VipsStreami/VipsSource/g edit s/VipsStream/VipsConnection/g # eg. VIPS_TYPE_STREAM or VIPS_IS_STREAM edit "s/VIPS_([A-Z]+)_STREAMOU/VIPS_\1_TARGET_CUSTOM/g" edit "s/VIPS_([A-Z]+)_STREAMO/VIPS_\1_TARGET/g" edit "s/VIPS_([A-Z]+)_STREAMIU/VIPS_\1_SOURCE_CUSTOM/g" edit "s/VIPS_([A-Z]+)_STREAMI/VIPS_\1_SOURCE/g" edit "s/VIPS_([A-Z]+)_STREAM/VIPS_\1_CONNECTION/g" edit s/streamou/target_custom/g edit s/streamo/target/g edit s/streamiu/source_custom/g edit s/streami/source/g # various identifiers which also change edit s/is_a_stream/is_a_source/g edit s/find_load_stream/find_load_source/g edit s/find_save_stream/find_save_target/g edit s/new_from_stream/new_from_source/g edit s/write_to_stream/write_to_target/g edit s/vips_thumbnail_stream/vips_thumbnail_source/g # eg. vips_webpload_stream edit "s/vips_([a-z]+)load_stream/vips_\1load_source/g" # eg. vips_webpsave_stream edit "s/vips_([a-z]+)save_stream/vips_\1save_target/g" mv rename $i done ```
2019-12-29 22:40:21 +01:00
target.c \
targetcustom.c \
2019-12-30 17:57:19 +01:00
sbuf.c \
dbuf.c \
2017-01-12 10:15:10 +01:00
reorder.c \
vipsmarshal.h \
vipsmarshal.c \
type.c \
gate.c \
enumtypes.c \
2009-08-16 17:00:08 +02:00
object.c \
error.c \
image.c \
vips.c \
generate.c \
2011-03-25 13:07:10 +01:00
mapfile.c \
cache.c \
sink.h \
sink.c \
2010-04-16 23:21:15 +02:00
sinkmemory.c \
sinkdisc.c \
sinkscreen.c \
2009-08-16 17:00:08 +02:00
memory.c \
2009-10-01 20:05:55 +02:00
header.c \
operation.c \
2009-08-16 17:00:08 +02:00
region.c \
rect.c \
semaphore.c \
2010-03-21 00:56:35 +01:00
threadpool.c \
2009-08-16 17:00:08 +02:00
util.c \
init.c \
2009-08-16 17:00:08 +02:00
buf.c \
window.c \
2010-11-01 18:46:47 +01:00
vector.c \
system.c \
buffer.c
2009-08-16 17:00:08 +02:00
vipsmarshal.h: vipsmarshal.list
glib-genmarshal --prefix=vips --header vipsmarshal.list > vipsmarshal.h
vipsmarshal.c: vipsmarshal.list
echo "#include \"vipsmarshal.h\"" > vipsmarshal.c
glib-genmarshal --prefix=vips --body vipsmarshal.list >> vipsmarshal.c
EXTRA_DIST = \
enumtemplate \
meson.build \
vipsmarshal.c \
vipsmarshal.h \
vipsmarshal.list
2011-07-26 17:40:26 +02:00
2013-01-23 11:17:51 +01:00
AM_CPPFLAGS = -I${top_srcdir}/libvips/include @VIPS_CFLAGS@ @VIPS_INCLUDES@
# the headers we scan for enums etc.
# keep in sync with ../include/vips/Makefile.am
2012-03-07 13:25:14 +01:00
# we need absolute filenames here since this list appears in the header dir as
# well
vips_scan_headers = \
${top_srcdir}/libvips/include/vips/resample.h \
${top_srcdir}/libvips/include/vips/memory.h \
2014-09-06 00:18:16 +02:00
${top_srcdir}/libvips/include/vips/create.h \
2011-11-29 12:43:08 +01:00
${top_srcdir}/libvips/include/vips/foreign.h \
${top_srcdir}/libvips/include/vips/conversion.h \
2011-11-04 18:55:06 +01:00
${top_srcdir}/libvips/include/vips/arithmetic.h \
${top_srcdir}/libvips/include/vips/util.h \
${top_srcdir}/libvips/include/vips/image.h \
2012-09-25 23:06:24 +02:00
${top_srcdir}/libvips/include/vips/colour.h \
2013-10-01 15:26:13 +02:00
${top_srcdir}/libvips/include/vips/operation.h \
${top_srcdir}/libvips/include/vips/convolution.h \
${top_srcdir}/libvips/include/vips/morphology.h \
2014-03-28 14:55:56 +01:00
${top_srcdir}/libvips/include/vips/draw.h \
${top_srcdir}/libvips/include/vips/basic.h \
2018-03-27 22:35:49 +02:00
${top_srcdir}/libvips/include/vips/object.h \
${top_srcdir}/libvips/include/vips/region.h
enumtypes.c: $(vips_scan_headers) Makefile.am
2020-07-06 20:45:17 +02:00
glib-mkenums --template ${top_srcdir}/libvips/iofuncs/enumtemplate $(vips_scan_headers) > enumtypes.c