Git Product home page Git Product logo

Comments (3)

dg0yt avatar dg0yt commented on June 15, 2024 1

Try #38272.

from vcpkg.

a3emdot avatar a3emdot commented on June 15, 2024

@dg0yt
I did some clean builds but only on my Fedora 38 Linux.

I checked the following variants with your change:

./vcpkg install 'gdk-pixbuf'
./vcpkg install 'gdk-pixbuf[jpeg]'
./vcpkg install 'gdk-pixbuf[tiff]'
./vcpkg install 'gdk-pixbuf[jpeg,tiff]'
./vcpkg install 'gdk-pixbuf[png]'
./vcpkg install 'gdk-pixbuf[png,jpeg]'
./vcpkg install 'gdk-pixbuf[png,tiff]'
./vcpkg install 'gdk-pixbuf[png,jpeg,tiff]'

./vcpkg install 'gdk-pixbuf[core]'
./vcpkg install 'gdk-pixbuf[core,jpeg]'
./vcpkg install 'gdk-pixbuf[core,tiff]' (*)
./vcpkg install 'gdk-pixbuf[core,jpeg,tiff]'
./vcpkg install 'gdk-pixbuf[core,png]'
./vcpkg install 'gdk-pixbuf[core,png,jpeg]'
./vcpkg install 'gdk-pixbuf[core,png,tiff]' (*)
./vcpkg install 'gdk-pixbuf[core,png,jpeg,tiff]'

The two variants marked with an asterisk will still install 'libjpeg'

./vcpkg install 'gdk-pixbuf[core,tiff]' (*)
./vcpkg install 'gdk-pixbuf[core,png,tiff]' (*)

Is this intended? It should be possible to disable 'jpeg' when building with 'tiff'
This is suggested when checking the 'libtiff' upstream configure script.

I wonder if the only solution for these cases is to add an additional 'tiff[core]' to the 'gdk-pixbuf' install commands, which indeed works.

FYI. I didn't check the 'windows' builds

  • ae3mdot

P.S.
The 'only' viable option for the comment button below is 'close with comment' ??

from vcpkg.

dg0yt avatar dg0yt commented on June 15, 2024

The two variants marked with an asterisk will still install 'libjpeg'

./vcpkg install 'gdk-pixbuf[core,tiff]' (*)
./vcpkg install 'gdk-pixbuf[core,png,tiff]' (*)

Is this intended? It should be possible to disable 'jpeg' when building with 'tiff'

Yes. You only ask for gdk-pixbuf without direct jpeg capabilities, and you get it.

However, tiff has a [jpeg] feature which is on by default. To disable the use of JPEG compression inside TIFF files, you would need to use:

./vcpkg install 'gdk-pixbuf[core,tiff]' 'tiff[core,<your-desired-features>]'
./vcpkg install 'gdk-pixbuf[core,png,tiff]' 'tiff[core,<your-desired-features>]'

This is suggested when checking the 'libtiff' upstream configure script.

There is not much relevance in the upstream configure script. We build with CMake.
https://gitlab.com/libtiff/libtiff/-/blob/master/cmake/JPEGCodec.cmake?ref_type=heads

And libtiff without jpeg would be quite incomplete. There is some "old" JPEG support which is off by default in both buildsystems IIUC.

from vcpkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.