Commit Graph

169 Commits

Author SHA1 Message Date
John Cupitt
5d61bd4982 Merge branch 'master' into add-webp-metadata 2017-01-04 16:13:39 +00:00
John Cupitt
c1ca76f6a2 Merge branch '8.4' 2016-12-09 15:46:02 +00:00
John Cupitt
4f85a5d7cd lower libgsf requirement to 1.14.26
1.14.16 seems to more or less work, and is the most recent version on
centos

see https://github.com/jcupitt/libvips/issues/528
2016-12-08 13:54:05 +00:00
John Cupitt
96ef05a9d1 fix a crash in arg handling on Windows
we were not updating argc in vips.c after all calls to
g_option_context_parse_strv() on Windows, leading to a crash in some cases

see https://github.com/jcupitt/libvips/issues/553
2016-11-11 10:14:03 +00:00
John Cupitt
5cc9229882 bump min libwebpmux version
0.3 can't read 0.5 libwebp files argh
2016-11-10 09:20:54 +00:00
John Cupitt
3d459a82c1 don't write webp metadata we can't read back
stops tests failing
2016-11-08 17:08:41 +00:00
John Cupitt
93ea3f8e89 testing 2016-11-07 10:01:59 +00:00
John Cupitt
ccee816bef bump min pygobject version
apparently 3.12 is no longer enough :(

see

https://github.com/jcupitt/libvips/issues/199
2016-10-24 17:57:21 +01:00
John Cupitt
75dee18848 Merge branch '8.4' 2016-10-18 14:23:22 +01:00
John Cupitt
d785e56372 fix error detection from DGifCloseFile()
we were not testing the return from `DGifCloseFile()` against `GIF_ERROR`,
causing spurious error reports

see https://github.com/jcupitt/libvips/issues/541
2016-10-18 14:09:18 +01:00
John Cupitt
c5c3d48da7 version bump for new cycle 2016-10-13 11:43:46 +01:00
John Cupitt
246089dc82 bump version 2016-09-27 11:23:57 +01:00
John Cupitt
1cc3b2bd5d final tweaks for 8.4 release 2016-09-23 12:26:12 +01:00
John Cupitt
48edc5fec1 iupdate libtool version number 2016-09-14 14:02:56 +01:00
John Cupitt
57e1423d57 Merge branch 'master' into windows-unicode 2016-09-05 13:12:06 +01:00
John Cupitt
5376a93866 Merge branch '8.3' 2016-08-19 16:22:09 +01:00
John Cupitt
314042ea9d better gif transparency handling
we were testing (x == 1), we should have tested (x & 0x1), thanks
diegocsandrim

see https://github.com/jcupitt/libvips/issues/502
2016-08-19 16:11:45 +01:00
John Cupitt
feca00958c seems to be sort-of working! 2016-08-16 18:33:48 +01:00
John Cupitt
eb49347abb start adding better filename handling 2016-08-16 16:22:38 +01:00
John Cupitt
039997780b bump API version for new function
thanks Benjamin
2016-08-05 08:52:50 +01:00
John Cupitt
40f01fdb2b Merge branch 'master' into add-magick7 2016-08-04 14:15:46 +01:00
John Cupitt
b0e3035590 small cleanups to svgz support 2016-08-01 14:28:35 +01:00
John Cupitt
fe615af233 Merge branch 'add-svgload-svgz-detection' of https://github.com/felixbuenemann/libvips into felixbuenemann-add-svgload-svgz-detection 2016-08-01 12:09:35 +01:00
John Cupitt
b5781a5760 Merge branch '8.3' 2016-07-30 10:57:40 +01:00
John Cupitt
88148318eb fix performance regression
the extra check on bandfmt in sizeof() in 8.3.2 was causing some performance
problems ... move the check to file read, so we only do it once
per image, not once per pixel or scanline

thanks Lovell!
2016-07-30 10:51:54 +01:00
John Cupitt
12a32b23f1 Merge branch 'master' into add-magick7 2016-07-25 12:40:43 +01:00
John Cupitt
23d9bad581 doc improvements 2016-07-13 09:24:41 +01:00
John Cupitt
40f8a8af85 add autoconf stuff
todo:

- copypaste magick2vips into magick7load

- move to magick7 API

- test with magick6 and GM too, of course

see https://github.com/jcupitt/libvips/issues/480
2016-07-08 10:45:29 +01:00
Felix Bünemann
5ab0001ec6 Add configure check for zlib with inflateInit2
and replace old unused and poorly named FIND_ZIP. The new code prefers
pkgconfig and only falls back to manual detection if needed.

This also prioritizes detected zlib flags and includes to be preferred
over the ones that are added by pkgconfig for libpng, tifflib etc. which
would otherwise have caused the system default zlib to be used.
2016-06-27 03:03:45 +02:00
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
John Cupitt
7ec63c4451 more vips image read fixing
thanks AFL!
2016-05-18 09:00:30 +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