Skip to content

Conversation

@featheredtoast
Copy link
Member

jhead from apt pulls in a ton of packages, and optipng isn't used

…optipng

jhead from apt pulls in a ton of packages, and optipng isn't used
@tgxworld
Copy link
Contributor

tgxworld commented Nov 7, 2024

How much do we save by compiling jhead ourselves?

@featheredtoast
Copy link
Member Author

This change is 8MB compressed. It'd be very nice to have a github action be able to report this for us at some point.

@featheredtoast
Copy link
Member Author

main: 648.38MB
compiling jhead ourselves: 640.2MB
compiling jhead ourselves + dropping optipng: 640.14MB


# Install other deps
apt -y -q install advancecomp jhead jpegoptim libjpeg-turbo-progs optipng
apt -y -q install advancecomp jpegoptim libjpeg-turbo-progs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really related to this PR but I did wonder why we are installing various jpeg packages in the install-oxipng script which I would think should only deal with oxipng.

@featheredtoast featheredtoast merged commit 3792f71 into main Nov 8, 2024
4 of 5 checks passed
@featheredtoast featheredtoast deleted the drop-jhead-dependencies-optipng branch November 8, 2024 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants