Commit Graph

22 Commits

Author SHA1 Message Date
Navidem 291956b501
Set flags to use old pass manger (#7828)
* Set flags to use old pass manger

* nit

* Add comment to Dockerfile

* More informative comment

* nit
2022-06-09 19:39:25 +10:00
John Cupitt 04d3cac6a8
libvips: add pdfium to build (#7336)
* libvips: add pdfium to build

Many Rails users will shortly be switching to libvips pdfium load for
PDF rendering. pdfium is well tested and doesn't need fuzzing itself,
but we do need to fuzz the code that links libvips to pdfium.

This PR adds pdfium nightly builds to the libvips fuzzer.

* fix pdfium download

* ooop missing RUN

* fix pdfium install

* Fix PDFium link

* layout

Co-authored-by: Kleis Auke Wolthuizen <github@kleisauke.nl>
2022-02-28 18:27:06 +00:00
Kleis Auke Wolthuizen 6b61960015
libvips: migrate build to Meson (#7317)
- Remove unused dependencies.
- Prefer .git URLs in git clone invocations.
- Use the --static flag of pkg-config for all invocations.
- Remove suspicious LDFLAGS environment variable.
- Disable NLS in libexif.
- Make libc++ a private dependency of libheif and libjxl.
- Build libspng with Meson.
- Ninja does not require a -j flag.
- Re-order linker flags.
2022-02-23 10:24:37 +00:00
Lovell Fuller 12e04eae08
libvips: add gflags dependency for libjxl (#7084) 2022-01-01 17:51:12 +00:00
Kleis Auke Wolthuizen 68ec050a01
[libvips] Upgrade to Ubuntu 20.04 (#6345)
- Use libbrotli from system.
- Build libjxl without sjpeg support.
- Link fuzzers against libmount and libblkid (needed by libgio).
- Sort and remove duplicated apt-get packages.
2021-08-28 18:19:31 +00:00
jonathanmetzman 03d18372d5
Reland [Ubuntu upgrade] Fix projects so they don't break with upgrade (#6313)
This reverts commit 878c32419c.

Related: #6180
2021-08-26 09:53:49 -07:00
Oliver Chang 878c32419c
Revert "[Ubuntu upgrade] Fix projects so they don't break with upgrade. (#6304)" (#6306)
This reverts commit 5549d804b3.
2021-08-26 15:42:34 +10:00
jonathanmetzman 5549d804b3
[Ubuntu upgrade] Fix projects so they don't break with upgrade. (#6304)
Fix projects so they don't break with upgrade.
These fixes are likely not backwards compatible and will fail on
Ubuntu 16.04.
Related: #6180
2021-08-25 22:14:52 -07:00
jonathanmetzman bf1275f005
[Ubuntu upgrade] Pin projects to Xenial where fuzzer build fails. (#6293)
This does not include coverage build failures.
Related: #6180.
2021-08-24 15:24:25 -07:00
Lovell Fuller 12453df2aa
libvips: add imagequant and cgif dependencies (#6241)
Build libvips without test and tools subdirs as these are
not directly fuzz tested.
2021-08-18 12:56:41 +01:00
Kleis Auke Wolthuizen dc4297c38d
libvips: remove libjxl patch merged upstream (#5847)
+ update libjxl's git location.
2021-05-26 21:37:43 +01:00
Kleis Auke Wolthuizen 4256f45a32
[libvips] build against lcms/libspng, fix AVIF/JXL fuzzer (#5707)
* libvips: add lcms and libspng as dependencies

* libvips: fix AVIF fuzzer

- Ensure libheif is able to detect the headers provided by libaom.
- Disable the build of dynamic modules.

* libvips: fix JXL fuzzer
2021-05-04 11:36:19 +01:00
Lovell Fuller 4295227ccb
libvips: add libjxl (JPEG-XL) as a dependency (#5673) 2021-04-27 20:00:49 +01:00
Lovell Fuller 82558b71bf
libvips: remove no-longer-used giflib dependency (#5590) 2021-04-08 15:52:13 +01:00
Lovell Fuller 45bbb247f4
libvips: ensure linker is aware of selinux/resolv deps (#5318) 2021-03-08 19:37:11 +00:00
Lovell Fuller e25d79502e
libvips: add libheif and libaom as dependencies (#4463)
Allows fuzz testing of AVIF/HEIF inputs
2020-09-21 08:17:58 -07:00
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
Lovell Fuller 3c28d2a860
Upgrade lcamtuf.coredump.cx to HTTPS, as it has been (#3527)
accepting only HTTPS connections since approx 14th March.

This allows the builds for guetzli, libjpeg-turbo,
libtiff and libvips to succeed again.
2020-03-20 07:50:16 -07:00
John Cupitt 95548b2613 fix link failure with libtiff (#3050)
* fix link failure with libtiff

The fuzz targets were failing to link with:

```
Step #4: /work/lib/libtiff.a(tif_lzma.o): In function `TIFFInitLZMA':
Step #4: /src/libtiff/libtiff/tif_lzma.c:465: undefined reference to
`lzma_lzma_preset'
```

It looks like it's become necessary to explicitly link -llzma, see:

4159bda6db

oss-fuzz issue:

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18928#c4

Thanks to @lovell.

* pin libtiff to 4.1.0

It seems there's an issue with git master libtiff -- it fails to link on
systems without lzma installed.

For now, pin to 4.1.0, the current stable version.

* explicitly disable lzma

lzma detection in libtiff seems to be broken as of 20 nov. Disable
explicitly.
2019-11-20 06:58:35 -08:00
Oscar Mira 54bf518a18 [libvips] Revert "Build with ImageMagick support (#2669)" (#2682)
This reverts commit 68fb445db1.
2019-08-11 07:38:01 -07:00
Oscar Mira 68fb445db1 [libvips] Build with ImageMagick support (#2669) 2019-08-08 10:14:34 -07:00
Oscar Mira 8c85836a29 [libvips] Add project (#2641)
* [libvips] Add project

* [libvips] Use CXX for linking to fix UBSAN build
2019-08-01 07:16:18 -07:00