Commit Graph

139 Commits

Author SHA1 Message Date
John Cupitt 98bceec23f small dzsave cleanups
- rename compression_level as deflate_level to match libgsf convention
- use libgsf enums for GSF_ZIP_STORED, etc.
- configure-time checks for zip64 and deflate-level
- off-topic: rename NEED_TYPE_INIT as HAVE_TYPE_INIT for consistency
2016-06-09 09:36:37 +01:00
Felix Bünemann 8b598d5b77 Run python tests without make install
In order to do this, we need to add some stub gi module init files which
allow us to extend the gi overrides path.
2016-06-02 23:10:14 +02:00
Felix Bünemann ffa4f6b720 Lower librsvg version requirement to 2.34
This is the first version that works properly with gtk3. Lowering the
requirement enables SVG support on older Linux distributions like
Ubuntu Precise LTS or Debian Wheezy.
2016-05-27 00:55:32 +02:00
John Cupitt 91aa288a44 break up acinclude.m4
it's now in a more maintainable set of .m4 files in m4-safe
2016-05-18 10:41:05 +01:00
Felix Bünemann c5dfc1f840 Fix VIPS_LIBDIR being "NONE" without --prefix
If the --prefix switch is not given to configure, the prefix variable is
NONE, so we need to the the default value from ac_default_prefix first.
2016-05-18 04:28:59 +02:00
Felix Bünemann dcbd8397a5 Warn if the gi module could not be loaded 2016-05-18 04:28:58 +02:00
Felix Bünemann e24334beb2 Disable vips7 SWIG bindings for python3
because they cause a compile error (see issue #334).
2016-05-18 04:28:58 +02:00
Felix Bünemann 6956bcf8a4 Fix several problems with gi path warnings
* Do not warn when the prefix appears to be a homebrew cellar.
* Fix configure errors when python is not detected
* Fix configure errors when pygobject is installed in prefix but
  not present in the python `sys.path`.
* Use the actual overrides path, instead of the gi module path.
2016-05-18 04:28:58 +02:00
Felix Bünemann f0a5ac5bbc Vendor python.m4 to fix wrong multiarch exec paths
The python.m4 that ships with automake hardcodes the library path for
platfrom dependent files to `lib`, which is wrong for multiarch systems.

Instead we import the `m4/python.m4` from pygobject, which does not have
this problem and also ensures we have the same behavior as pygobject
which we are depending on for pyvips8.

Due to this change some minor changes to how the `bootstrap.sh` script
clean up the `m4` folder where needed.

The python search order has been modified to prefer the default python
over python2 over python3.
2016-05-18 04:28:58 +02:00
John Cupitt 77c9616952 oh argh last change 2016-05-17 13:56:16 +01:00
John Cupitt 9057328208 reword config messages 2016-05-17 13:55:37 +01:00
John Cupitt 8b592585d7 try to py install help
at the end of configure, vips now tries to suggest typelib and overrides
install hints
2016-05-17 10:52:11 +01:00
John Cupitt 8ed8515c49 Merge pull request #439 from felixbuenemann/fix-minimum-required-poppler-version
Fix poppler version requirement, add loader check
2016-05-09 10:17:16 +01:00
John Cupitt d307e38863 add FIND_LIBWEBP
some platforms are missing a .pc file for libwebp ... add a FIND_LIBWEBP
macro as a fallback

see https://github.com/jcupitt/libvips/issues/440
2016-05-09 09:51:05 +01:00
Felix Bünemann bec6b174c9 Fix poppler version requirement, add loader check
This fixes the poppler-glib version requirement to version 0.16, which
is the lowest version that compiles and works properly with pdfload.

Also added a check for pdfload and enabled testing on Travis CI.
2016-05-09 00:16:48 +02:00
John Cupitt 48ef215479 tiny fixups for the webp commit
just small formatting changes, plus an unneeded var

see

	https://github.com/jcupitt/libvips/pull/430
2016-05-02 09:55:16 +01:00
John Cupitt c88b94cb29 Merge pull request #430 from felixbuenemann/use-webp-advanced-encoding-api
Use WebP Advanced Encoding API and make it tunable
2016-05-01 19:51:12 +01:00
John Cupitt 73080bb4a5 try to improve mozjpeg test
save LIBS around test, test for ABI not header

see https://github.com/jcupitt/libvips/issues/431
2016-04-26 10:41:04 +01:00
John Cupitt d11a7960b7 add support for giflib5
gifload.c now works with giflib5, and well as giflib4 ... forced by
ubuntu's switch to giflib5 in 16.04

see https://github.com/jcupitt/libvips/issues/407
2016-04-25 09:29:25 +01:00
Felix Bünemann 874cc8b31b Restore webpsave libwebp-0.1.3 compatility
* Add configure check for libwebp >= 0.1.3
* Add custom memory writer using GNOME memory allocation
* Add various ABI checks and warnings for unsupported features:
** smart_subsample and near_lossless require 0.5.0
** lossless requires at least 0.1.99
2016-04-24 18:28:53 +02:00
John Cupitt 23eaf93867 fix build with graphicsmagick
GM is still using the old page interface of subimage/subrange, IM has
deprecated that in favour of scene/number_scenes

we were accidentally just supporting the new IM system ... this change
adds support for GM as well, plus a configure test to pick one

see https://github.com/jcupitt/libvips/issues/423
2016-04-18 15:21:11 +01:00
John Cupitt 3517037f1e try and only look for giflib4
see https://github.com/jcupitt/libvips/issues/407
2016-04-18 12:34:40 +01:00
John Cupitt 78c8a8f99f Merge pull request #421 from bgilbert/poppler-version
Fix required poppler-glib version in AC_MSG_WARN()
2016-04-15 08:45:50 +01:00
John Cupitt 1e44ab5d39 version bump for 8.3.1 2016-04-15 08:42:36 +01:00
Benjamin Gilbert 2025b36958 fix required poppler-glib version in AC_MSG_WARN() 2016-04-14 17:38:54 -04:00
John Cupitt 6368ab0649 add switches to disable rad, analyze and ppm
vips has built-in support for rad, analyze and ppm ... add configure
switches to disable these readers

useful to reduce the attack surface in some applications
2016-03-12 16:48:27 +00:00
John Cupitt d79407f285 almost there
not unpacking correctly though
2016-02-11 08:35:29 +00:00
John Cupitt 153886d2eb add svgload
load from bubffer is not working though, strange ... it seems to be
generating a 16-biit image?
2016-02-09 11:01:12 +00:00
John Cupitt 8da4e706dd start adding poppler support 2016-02-07 23:33:43 +00:00
John Cupitt 67f3ecfd8d wire up to resize / similarity
still need tests
2016-01-29 15:23:00 +00:00
John Cupitt 65930cf866 version bump 2016-01-26 16:45:56 +00:00
John Cupitt 52384606dd bump version for new C++ patch 2016-01-12 17:12:46 +00:00
John Cupitt e6cbdbb516 add a stub for compat
see https://github.com/jcupitt/libvips/issues/361
2016-01-01 10:58:53 +00:00
John Cupitt a57cccbf0f fix with orc-0.4.11 2015-12-08 15:33:57 +00:00
John Cupitt 40173838d1 use atan2 and hypot more
might be a little quicker
2015-11-19 14:34:03 +00:00
John Cupitt b853012787 add memory.h to Python API
this makes the memory high water visible to Python, handy for testing
2015-11-04 10:09:06 +00:00
John Cupitt 4d95f4512c Merge branch '8.1'
Conflicts:
	ChangeLog
	configure.ac
	doc/libvips-docs.xml
2015-10-13 14:47:37 +01:00
John Cupitt 2b2ac1b077 rename vips-8.0 as vips-8.1
also bump configure version

thanks Danilo!
2015-10-13 08:55:54 +01:00
John Cupitt 3e16302701 bump version to 8.2 for the next cycle 2015-10-07 14:55:28 +01:00
John Cupitt 7aebe94b9e remove odd/even debug rule
we had debugging auto-enable in odd minor releases, get rid of this
2015-07-10 13:41:12 +01:00
John Cupitt 90a47b0cad start 8.1 2015-05-07 18:15:07 +01:00
John Cupitt 8ba680605a soname bump, test suite improvements
test suite now tests load from buffer and save to buffer

test suite adapts for differences in newer libMagick

bump soname for safety
2015-05-05 09:40:29 +01:00
John Cupitt dbdcf91171 remove some stray decls
see https://github.com/jcupitt/libvips/issues/288

version bump as well
2015-05-04 19:41:08 +01:00
John Cupitt 6c6d0d6b78 fix some compiler warnings 2015-04-25 17:39:16 +01:00
John Cupitt d484161c05 bump libtool version number 2015-04-24 14:07:35 +01:00
Lovell Fuller 00e27def8e Expose new/forthcoming features of mozjpeg/libjpeg-turbo
Runtime detection via JPEG extension parameters
Compile-time detection via J_BOOLEAN_PARAM of jpeglib.h
2015-04-14 20:24:31 +01:00
John Cupitt 8f7c2c7110 sort out alpha going to and from 16-bit
rewritten sRGB <-> scRGB so that 16-bit alpha is scaled to float 8
2015-02-12 17:50:38 +00:00
John Cupitt 244ab301f7 start final push for vips 8 2015-02-11 17:01:02 +00:00
John Cupitt 346a9e70c0 remove --disable-cxx flag
it was getting too hard to support :( automake now generates libtool
lines before configure runs, so it can't know we don't want a C++ link

see https://github.com/jcupitt/libvips/issues/231
2015-02-07 10:37:13 +00:00
John Cupitt 3d902d2feb improvements to python configure 2015-02-06 14:54:52 +00:00