image_optim_pack 0.10.1-x86_64-darwin → 0.10.1.20240317-x86_64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/check.yml +2 -1
- data/.github/workflows/docker-build.yml +1 -1
- data/.github/workflows/livecheck.yml +1 -1
- data/.github/workflows/rubocop.yml +1 -1
- data/CHANGELOG.markdown +6 -0
- data/LICENSE.txt +1 -1
- data/Makefile +5 -3
- data/README.markdown +1 -1
- data/Vagrantfile +2 -2
- data/checksums.mk +3 -3
- data/image_optim_pack.gemspec +1 -1
- data/patches/pngcrush.patch +15 -0
- data/script/run +2 -2
- data/vendor/darwin-x86_64/advpng +0 -0
- data/vendor/darwin-x86_64/gifsicle +0 -0
- data/vendor/darwin-x86_64/jpegoptim +0 -0
- data/vendor/darwin-x86_64/jpegtran +0 -0
- data/vendor/darwin-x86_64/libjpeg.dylib +0 -0
- data/vendor/darwin-x86_64/libpng.dylib +0 -0
- data/vendor/darwin-x86_64/optipng +0 -0
- data/vendor/darwin-x86_64/pngcrush +0 -0
- data/vendor/darwin-x86_64/pngquant +0 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01d8667dbc1dcd30cb68ff1b7ac65eed2a06469ebd31ed3d2bb21e59871c92ff
|
4
|
+
data.tar.gz: bdf4005c0b367d3f848e3309056ab94da060b7618a9d8b6b83bb18b4389b909e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48bf33a79aced3505477b280c3fd7b3ce0363051c69153e1ee667a204aec86ce95b5f6774317c3bbffff0b3f041dd9edb66335cb085b6c7f366985d86bcfabce
|
7
|
+
data.tar.gz: 3a5685761146e9d6b0e58dad374bc8137f1df636b445e4733ff40ea7e4149646a0975899c52bd77494acfb9671f110412677385ed1d70a301bf99ac79f9832f3
|
data/.github/workflows/check.yml
CHANGED
@@ -18,11 +18,12 @@ jobs:
|
|
18
18
|
- '3.0'
|
19
19
|
- '3.1'
|
20
20
|
- '3.2'
|
21
|
+
- '3.3'
|
21
22
|
- jruby-9.3
|
22
23
|
- jruby-9.4
|
23
24
|
fail-fast: false
|
24
25
|
steps:
|
25
|
-
- uses: actions/checkout@
|
26
|
+
- uses: actions/checkout@v4
|
26
27
|
- uses: ruby/setup-ruby@v1
|
27
28
|
with:
|
28
29
|
ruby-version: "${{ matrix.ruby }}"
|
@@ -14,7 +14,7 @@ jobs:
|
|
14
14
|
- DOCKER_FILE=Dockerfile.debian DOCKER_TAG_SUFFIX=-debian
|
15
15
|
fail-fast: false
|
16
16
|
steps:
|
17
|
-
- uses: actions/checkout@
|
17
|
+
- uses: actions/checkout@v4
|
18
18
|
- uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
19
19
|
with:
|
20
20
|
registry: ghcr.io
|
data/CHANGELOG.markdown
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
## unreleased
|
4
4
|
|
5
|
+
## v0.10.1.20240317 (2024-03-17)
|
6
|
+
|
7
|
+
* gifsicle 1.95 [@toy](https://github.com/toy)
|
8
|
+
* libpng 1.6.43, patching pngcrush to be compatible [@toy](https://github.com/toy)
|
9
|
+
* libjpeg 9f [@toy](https://github.com/toy)
|
10
|
+
|
5
11
|
## v0.10.1 (2023-12-05)
|
6
12
|
|
7
13
|
* liblcms 2.16 [@toy](https://github.com/toy)
|
data/LICENSE.txt
CHANGED
data/Makefile
CHANGED
@@ -3,14 +3,14 @@ all :
|
|
3
3
|
# ====== VERSIONS ======
|
4
4
|
|
5
5
|
ADVANCECOMP_VER := 2.6
|
6
|
-
GIFSICLE_VER := 1.
|
6
|
+
GIFSICLE_VER := 1.95
|
7
7
|
JHEAD_VER := 3.04
|
8
8
|
JPEGARCHIVE_VER := 2.2.0
|
9
9
|
JPEGOPTIM_VER := 1.5.5
|
10
|
-
LIBJPEG_VER :=
|
10
|
+
LIBJPEG_VER := 9f
|
11
11
|
LIBLCMS_VER := 2.16
|
12
12
|
LIBMOZJPEG_VER := 4.1.5
|
13
|
-
LIBPNG_VER := 1.6.
|
13
|
+
LIBPNG_VER := 1.6.43
|
14
14
|
LIBZ_VER := 1.2.11
|
15
15
|
OPTIPNG_VER := 0.7.8
|
16
16
|
OXIPNG_VER := 9.0.0
|
@@ -43,6 +43,7 @@ BUILD_ROOT_DIR := $(CURDIR)/build
|
|
43
43
|
BUILD_DIR := $(BUILD_ROOT_DIR)/$(OS)-$(ARCH)
|
44
44
|
OUTPUT_ROOT_DIR := $(CURDIR)/vendor
|
45
45
|
OUTPUT_DIR := $(OUTPUT_ROOT_DIR)/$(OS)-$(ARCH)
|
46
|
+
PATCHES_DIR := $(CURDIR)/patches
|
46
47
|
|
47
48
|
ANSI_RED=\033[31m
|
48
49
|
ANSI_GREEN=\033[32m
|
@@ -495,6 +496,7 @@ $(OXIPNG_TARGET) :
|
|
495
496
|
$(eval $(call depend,PNGCRUSH,LIBPNG LIBZ))
|
496
497
|
$(PNGCRUSH_TARGET) :
|
497
498
|
cd $(DIR) && rm -f png.h pngconf.h
|
499
|
+
cd $(DIR) && patch < $(PATCHES_DIR)/pngcrush.patch
|
498
500
|
cd $(DIR) && $(MAKE) pngcrush \
|
499
501
|
CC="$(CC)" \
|
500
502
|
LD="$(CC)" \
|
data/README.markdown
CHANGED
data/Vagrantfile
CHANGED
@@ -27,13 +27,13 @@ Vagrant.configure('2') do |config|
|
|
27
27
|
set -ex
|
28
28
|
|
29
29
|
apt-get update
|
30
|
-
apt-get -y install rsync ntpdate make wget gcc g++ chrpath perl pkg-config autoconf automake libtool nasm cmake cargo
|
30
|
+
apt-get -y install rsync ntpdate make wget gcc g++ chrpath perl pkg-config autoconf automake libtool nasm cmake cargo patch
|
31
31
|
apt-get -y remove unattended-upgrades
|
32
32
|
else
|
33
33
|
set -ex
|
34
34
|
|
35
35
|
yum -y install epel-release
|
36
|
-
yum -y install rsync ntpdate make wget gcc gcc-c++ chrpath perl pkg-config autoconf automake libtool nasm cmake cargo
|
36
|
+
yum -y install rsync ntpdate make wget gcc gcc-c++ chrpath perl pkg-config autoconf automake libtool nasm cmake cargo patch
|
37
37
|
fi
|
38
38
|
|
39
39
|
mkdir -p /vagrant
|
data/checksums.mk
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
ADVANCECOMP_SHA256 := b07d77735540409771cbe1b6df165b5151c11bb9c3d8f01290be0ec88ec3498f
|
2
|
-
GIFSICLE_SHA256 :=
|
2
|
+
GIFSICLE_SHA256 := b2711647009fd2a13130f3be160532ed46538e762bfc0f020dea50618a7dc950
|
3
3
|
JHEAD_SHA256 := ef89bbcf4f6c25ed88088cf242a47a6aedfff4f08cc7dc205bf3e2c0f10a03c9
|
4
4
|
JPEGARCHIVE_SHA256 := 3da16a5abbddd925dee0379aa51d9fe0cba33da0b5703be27c13a2dda3d7ed75
|
5
5
|
JPEGOPTIM_SHA256 := 90a309d1c092de358bb411d702281ac3039b489d03adb0bc3c4ef04cf0067d38
|
6
|
-
LIBJPEG_SHA256 :=
|
6
|
+
LIBJPEG_SHA256 := 04705c110cb2469caa79fb71fba3d7bf834914706e9641a4589485c1f832565b
|
7
7
|
LIBLCMS_SHA256 := d873d34ad8b9b4cea010631f1a6228d2087475e4dc5e763eb81acc23d9d45a51
|
8
8
|
LIBMOZJPEG_SHA256 := 9fcbb7171f6ac383f5b391175d6fb3acde5e64c4c4727274eade84ed0998fcc1
|
9
|
-
LIBPNG_SHA256 :=
|
9
|
+
LIBPNG_SHA256 := e804e465d4b109b5ad285a8fb71f0dd3f74f0068f91ce3cdfde618180c174925
|
10
10
|
LIBZ_SHA256 := c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
|
11
11
|
OPTIPNG_SHA256 := 25a3bd68481f21502ccaa0f4c13f84dcf6b20338e4c4e8c51f2cefbd8513398c
|
12
12
|
OXIPNG_SHA256 := 534fa8f349f52b01c2ee4332cef25ce1311edca04209ac6d972e38b171550a1b
|
data/image_optim_pack.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'image_optim_pack'
|
5
|
-
s.version = '0.10.1'
|
5
|
+
s.version = '0.10.1.20240317'
|
6
6
|
s.summary = %q{Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegtran, optipng, pngcrush, pngquant}
|
7
7
|
s.homepage = "https://github.com/toy/#{s.name}"
|
8
8
|
s.authors = ['Ivan Kuchin']
|
@@ -0,0 +1,15 @@
|
|
1
|
+
diff --git a/pngcrush.c b/pngcrush.c
|
2
|
+
index d0c387e..ed27eff 100644
|
3
|
+
--- a/pngcrush.c
|
4
|
+
+++ b/pngcrush.c
|
5
|
+
@@ -5520,8 +5520,10 @@ int main(int argc, char *argv[])
|
6
|
+
* they were already checked in the pngcrush_measure_idat
|
7
|
+
* function
|
8
|
+
*/
|
9
|
+
+# ifdef PNG_IGNORE_ADLER32
|
10
|
+
png_set_option(read_ptr, PNG_IGNORE_ADLER32,
|
11
|
+
PNG_OPTION_ON);
|
12
|
+
+# endif
|
13
|
+
png_set_crc_action(read_ptr, PNG_CRC_QUIET_USE,
|
14
|
+
PNG_CRC_QUIET_USE);
|
15
|
+
}
|
data/script/run
CHANGED
@@ -44,7 +44,7 @@ for arch in x86_64; do
|
|
44
44
|
mkdir -p '$build_dir'
|
45
45
|
cd '$build_dir'
|
46
46
|
|
47
|
-
ln -nsf '$PWD/Makefile' '$PWD/checksums.mk' '$PWD/download' .
|
47
|
+
ln -nsf '$PWD/Makefile' '$PWD/checksums.mk' '$PWD/download' '$PWD/patches' .
|
48
48
|
rsync -aR --del '$PWD/./vendor/$platform' .
|
49
49
|
|
50
50
|
make $MAKE_TASK ARCH=$arch
|
@@ -67,7 +67,7 @@ for vm in $(perl -pe "s/.*?'(.+?-.+?)'\s+=>\s+'.+?\/.+?'.*|.*/\$1/" Vagrantfile
|
|
67
67
|
|
68
68
|
# rsync needed files to the box
|
69
69
|
mkdir -p "vendor/$vm"
|
70
|
-
rsync -e "ssh -F $ssh_config" -aR --del Makefile checksums.mk download "vendor/$vm" "$vm:/vagrant"
|
70
|
+
rsync -e "ssh -F $ssh_config" -aR --del Makefile checksums.mk download patches "vendor/$vm" "$vm:/vagrant"
|
71
71
|
|
72
72
|
# sync time and run make
|
73
73
|
ssh -F "$ssh_config" "$vm" "
|
data/vendor/darwin-x86_64/advpng
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: image_optim_pack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.1
|
4
|
+
version: 0.10.1.20240317
|
5
5
|
platform: x86_64-darwin
|
6
6
|
authors:
|
7
7
|
- Ivan Kuchin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: image_optim
|
@@ -152,6 +152,7 @@ files:
|
|
152
152
|
- image_optim_pack.gemspec
|
153
153
|
- lib/image_optim/pack.rb
|
154
154
|
- lib/image_optim_pack.rb
|
155
|
+
- patches/pngcrush.patch
|
155
156
|
- script/extract
|
156
157
|
- script/livecheck
|
157
158
|
- script/platform_downloads
|
@@ -180,7 +181,7 @@ licenses:
|
|
180
181
|
metadata:
|
181
182
|
bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
|
182
183
|
changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
|
183
|
-
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.10.1
|
184
|
+
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.10.1.20240317
|
184
185
|
source_code_uri: https://github.com/toy/image_optim_pack
|
185
186
|
post_install_message:
|
186
187
|
rdoc_options: []
|
@@ -197,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
198
|
- !ruby/object:Gem::Version
|
198
199
|
version: '0'
|
199
200
|
requirements: []
|
200
|
-
rubygems_version: 3.
|
201
|
+
rubygems_version: 3.5.5
|
201
202
|
signing_key:
|
202
203
|
specification_version: 4
|
203
204
|
summary: 'Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress,
|