Skip to content

Update libpng from 1.6.35 to 1.6.37 #899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2019
Merged

Conversation

patrikjuvonen
Copy link
Contributor

@patrikjuvonen patrikjuvonen commented Apr 27, 2019

Summary

Validation

To help validate the integrity of the update I have created the following bash script that diffs between my PR branch and the official package provided from the libpng sourceforge.

#!/bin/bash

LIBPNG_UPDATE_VERSION=1.6.37
LIBPNG_PATH_NAME=libpng-$LIBPNG_UPDATE_VERSION

GIT_REPO_BRANCH=vendor/libpng-$LIBPNG_UPDATE_VERSION
GIT_REPO_URL=git@github.com:multitheftauto/mtasa-blue.git
GIT_DEST_DIR=mtasa-blue
GIT_REPO_LIBPNG_PATH=$GIT_DEST_DIR/vendor/libpng/

echo 1. Download and extract $LIBPNG_PATH_NAME...
curl -L https://downloads.sourceforge.net/project/libpng/libpng16/$LIBPNG_UPDATE_VERSION/$LIBPNG_PATH_NAME.tar.xz | tar -xJ

echo 2. Clone the vendor update branch $GIT_REPO_BRANCH from $GIT_REPO_URL into $GIT_DEST_DIR...
git clone --depth 1 -b $GIT_REPO_BRANCH $GIT_REPO_URL $GIT_DEST_DIR

echo 3. Start checking integrity...
diff -r $GIT_REPO_LIBPNG_PATH $LIBPNG_PATH_NAME

echo 4. Completed.

* Changes in 1.6.37 (https://sourceforge.net/projects/libpng/files/libpng16/1.6.37/)
  * Fixed a memory leak in the ARM NEON implementation of png_do_expand_palette.
  * Fixed a memory leak in pngtest.c.
  * Changed the license of contrib/pngminus to MIT; refresh makefile and docs. (Contributed by Willem van Schaik)
  * Fixed a typo in the libpng license v2. (Contributed by Miguel Ojeda)
  * Added makefiles for AddressSanitizer-enabled builds.
  * Cleaned up various makefiles.

* Changes in 1.6.36 (https://sourceforge.net/projects/libpng/files/libpng16/1.6.36/)
  * Optimized png_do_expand_palette for ARM processors. Improved performance by around 10-22% on a recent ARM
  * Chromebook. (Contributed by Richard Townsend, ARM Holdings)
  * Fixed manipulation of machine-specific optimization options. (Contributed by Vicki Pfau)
  * Used memcpy instead of manual pointer arithmetic on Intel SSE2. (Contributed by Samuel Williams)
  * Fixed build errors with MSVC on ARM64. (Contributed by Zhijie Liang)
  * Fixed detection of libm in CMakeLists. (Contributed by Cameron Cawley)
  * Fixed incorrect creation of pkg-config file in CMakeLists. (Contributed by Kyle Bentley)
  * Fixed the CMake build on Windows MSYS by avoiding symlinks.
  * Fixed a build warning on OpenBSD. (Contributed by Theo Buehler)
  * Fixed various typos in comments. (Contributed by "luz.paz")
  * Raised the minimum required CMake version from 3.0.2 to 3.1.
  * Removed yet more of the vestigial support for pre-ANSI C compilers.
  * Removed ancient makefiles for ancient systems that have been broken across all previous libpng-1.6.x versions.
  * Removed the Y2K compliance statement and the export control information.
  * Applied various code style and documentation fixes.
@patrikjuvonen patrikjuvonen added the enhancement New feature or request label Apr 27, 2019
@patrikjuvonen patrikjuvonen added this to the 1.5.7 milestone Apr 27, 2019
@patrikjuvonen patrikjuvonen self-assigned this Apr 27, 2019
Copy link
Contributor

@qaisjp qaisjp left a comment

Choose a reason for hiding this comment

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

Verified :shipit:

@patrikjuvonen patrikjuvonen merged commit d02a9ff into master Apr 28, 2019
@qaisjp qaisjp deleted the vendor/libpng-1.6.37 branch April 28, 2019 15:36
@patrikjuvonen patrikjuvonen added the upstream Related to vendor library label Aug 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request upstream Related to vendor library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants