image_optim_pack 0.12.2.20260219 → 0.12.2.20260327

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: caf7032160854b4f97b289be0b7cd59dfa72cadd269a858b57f969aeef3d6209
4
- data.tar.gz: 6f5fe5a619c56d524bf050e075af48aec0efdc99124f87257ed338cf1d8b0f06
3
+ metadata.gz: a6530f4763c3cc74aa66367abef6f0a2258a018f6b16fef628cda069d37ae6e9
4
+ data.tar.gz: 5abc4a356dd549a7ade77d7fda1f60680d4be032634ce59f0a88872b0ca542cb
5
5
  SHA512:
6
- metadata.gz: 14aa9b7bf86e37660f9639d585070c336c2230611ce42c5250d110eaf845e7fc84c8892905ed0905065be1eb9bd0155bacfd01c5cad45d7cbd15cee3780693a7
7
- data.tar.gz: ab902b572e13be0415648c9fb13b53d3dc78e4882d205eca3845b1cadb8c524e9fa04bed0b53c839de12883016b43e3087b6c10a6dc766f21a0f57b07b78df85
6
+ metadata.gz: 232fedaec2336e2536b906656ad1e42eb24a3237f53b323070133a33a1bdb5b5c0847bec6d59d3d08f5b988d6800520eef629c1cf17f90e76a222427ded05de6
7
+ data.tar.gz: 5c31298e32a795f02997c9de0c1f6cbd8b5e228f369908655fbb500619632b7b4885df4719bf3bc3cf5666b5428a80f2cab1b2d9912bc0157ca57a54bc9c4949
@@ -13,7 +13,7 @@ jobs:
13
13
  - run: make download download-dependencies
14
14
  - run: rm -r vendor
15
15
  - run: make all
16
- - uses: actions/upload-artifact@v6
16
+ - uses: actions/upload-artifact@v7
17
17
  with:
18
18
  name: on-linux
19
19
  path: vendor/
@@ -27,7 +27,7 @@ jobs:
27
27
  - run: rm -r vendor
28
28
  - run: make all ARCH=x86_64
29
29
  - run: make all ARCH=arm64
30
- - uses: actions/upload-artifact@v6
30
+ - uses: actions/upload-artifact@v7
31
31
  with:
32
32
  name: on-darwin-x86_64
33
33
  path: vendor/
@@ -41,7 +41,7 @@ jobs:
41
41
  - run: rm -r vendor
42
42
  - run: make all ARCH=arm64
43
43
  - run: make all test ARCH=x86_64
44
- - uses: actions/upload-artifact@v6
44
+ - uses: actions/upload-artifact@v7
45
45
  with:
46
46
  name: on-darwin-arm64
47
47
  path: vendor/
@@ -14,7 +14,7 @@ jobs:
14
14
  fail-fast: false
15
15
  steps:
16
16
  - uses: actions/checkout@v6
17
- - uses: docker/login-action@v3
17
+ - uses: docker/login-action@v4
18
18
  with:
19
19
  registry: ghcr.io
20
20
  username: ${{ github.actor }}
data/CHANGELOG.markdown CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## unreleased
4
4
 
5
+ ## v0.12.2.20260327 (2026-03-27)
6
+
7
+ * libpng 1.6.56 [@toy](https://github.com/toy)
8
+
9
+ ## v0.12.2.20260306 (2026-03-06)
10
+
11
+ * jhead 3.08 [@toy](https://github.com/toy)
12
+
5
13
  ## v0.12.2.20260219 (2026-02-19)
6
14
 
7
15
  * libz 1.3.2 [@toy](https://github.com/toy)
data/Makefile CHANGED
@@ -9,13 +9,13 @@ print-variables :
9
9
 
10
10
  ADVANCECOMP_VER := 2.6
11
11
  GIFSICLE_VER := 1.96
12
- JHEAD_VER := 3.04
12
+ JHEAD_VER := 3.08
13
13
  JPEGARCHIVE_VER := 2.2.0
14
14
  JPEGOPTIM_VER := 1.5.6
15
15
  LIBJPEG_VER := 9f
16
16
  LIBLCMS2_VER := 2.17
17
17
  LIBMOZJPEG_VER := 4.1.5
18
- LIBPNG_VER := 1.6.55
18
+ LIBPNG_VER := 1.6.56
19
19
  LIBZ_VER := 1.3.2
20
20
  OPTIPNG_VER := 7.9.1
21
21
  OXIPNG_VER := 10.1.0
@@ -112,7 +112,7 @@ endef
112
112
 
113
113
  $(eval $(call archive-dl,ADVANCECOMP, https://github.com/amadvance/advancecomp/releases/download/v[VER]/advancecomp-[VER].tar.gz))
114
114
  $(eval $(call archive-dl,GIFSICLE, https://www.lcdf.org/gifsicle/gifsicle-[VER].tar.gz))
115
- $(eval $(call archive-dl,JHEAD, https://www.sentex.ca/~mwandel/jhead/jhead-[VER].tar.gz))
115
+ $(eval $(call archive-dl,JHEAD, https://github.com/Matthias-Wandel/jhead/archive/[VER].tar.gz))
116
116
  $(eval $(call archive-dl,JPEGARCHIVE, https://github.com/danielgtaylor/jpeg-archive/archive/v[VER].tar.gz))
117
117
  $(eval $(call archive-dl,JPEGOPTIM, https://github.com/tjko/jpegoptim/archive/v[VER].tar.gz))
118
118
  $(eval $(call archive-dl,LIBJPEG, https://www.ijg.org/files/jpegsrc.v[VER].tar.gz))
@@ -121,7 +121,7 @@ $(eval $(call archive-dl,LIBMOZJPEG, https://github.com/mozilla/mozjpeg/archive
121
121
  $(eval $(call archive-dl,LIBPNG, https://prdownloads.sourceforge.net/libpng/libpng-[VER].tar.gz?download))
122
122
  $(eval $(call archive-dl,LIBZ, https://github.com/madler/zlib/archive/v[VER].tar.gz))
123
123
  $(eval $(call archive-dl,OPTIPNG, https://prdownloads.sourceforge.net/optipng/optipng-[VER].tar.gz?download))
124
- $(eval $(call archive-dl,OXIPNG, https://github.com/oxipng/oxipng/archive/refs/tags/v[VER].tar.gz))
124
+ $(eval $(call archive-dl,OXIPNG, https://github.com/oxipng/oxipng/archive/v[VER].tar.gz))
125
125
  $(eval $(call archive-dl,PNGCRUSH, https://prdownloads.sourceforge.net/pmt/pngcrush-[VER]-nolib.tar.gz?download))
126
126
  $(eval $(call archive-dl,PNGOUT_LINUX,https://www.jonof.id.au/files/kenutils/pngout-[VER]-linux.tar.gz,,--retry-on-http-error=415))
127
127
  $(eval $(call archive-dl,PNGOUT_LINUX_STATIC,https://www.jonof.id.au/files/kenutils/pngout-[VER]-linux-static.tar.gz,,--retry-on-http-error=415))
data/README.markdown CHANGED
@@ -21,7 +21,7 @@ A test application with latest `image_optim` and `image_optim_pack` is available
21
21
  * contains parts of [7z](https://7-zip.org) by Igor Pavlov with modifications by Andrea Mazzoleni ([license](acknowledgements/7z.txt))
22
22
  * and [zopfli](https://code.google.com/p/zopfli/) by Lode Vandevenne and Jyrki Alakuijala ([license](acknowledgements/zopfli.txt), [contributors](acknowledgements/zopfli-contributors.txt))
23
23
  * [gifsicle](https://lcdf.org/gifsicle/) by Eddie Kohler ([GNU GPLv2](acknowledgements/gifsicle.txt))
24
- * [jhead](https://www.sentex.ca/~mwandel/jhead/) by Matthias Wandel ([public domain](acknowledgements/jhead.txt))
24
+ * [jhead](https://github.com/Matthias-Wandel/jhead) by Matthias Wandel ([public domain](acknowledgements/jhead.txt))
25
25
  * [jpeg-recompress](https://github.com/danielgtaylor/jpeg-archive) by Daniel G. Taylor ([license](acknowledgements/jpeg-archive.txt))
26
26
  * includes [Image Quality Assessment (IQA)](http://tdistler.com/iqa/) by Tom Distler ([license](acknowledgements/iqa.txt))
27
27
  * includes [SmallFry](https://github.com/dwbuiten/smallfry) by Derek Buitenhuis ([license](acknowledgements/smallfry.txt))
data/checksums.mk CHANGED
@@ -1,12 +1,12 @@
1
1
  ADVANCECOMP_SHA256 := b07d77735540409771cbe1b6df165b5151c11bb9c3d8f01290be0ec88ec3498f
2
2
  GIFSICLE_SHA256 := fd23d279681a6dfe3c15264e33f344045b3ba473da4d19f49e67a50994b077fb
3
- JHEAD_SHA256 := ef89bbcf4f6c25ed88088cf242a47a6aedfff4f08cc7dc205bf3e2c0f10a03c9
3
+ JHEAD_SHA256 := 999a81b489c7b2a7264118f194359ecf4c1b714996a2790ff6d5d2f3940f1e9f
4
4
  JPEGARCHIVE_SHA256 := 3da16a5abbddd925dee0379aa51d9fe0cba33da0b5703be27c13a2dda3d7ed75
5
5
  JPEGOPTIM_SHA256 := 661a808dfffa933d78c6beb47a2937d572b9f03e94cbaaab3d4c0d72f410e9be
6
6
  LIBJPEG_SHA256 := 04705c110cb2469caa79fb71fba3d7bf834914706e9641a4589485c1f832565b
7
7
  LIBLCMS2_SHA256 := d11af569e42a1baa1650d20ad61d12e41af4fead4aa7964a01f93b08b53ab074
8
8
  LIBMOZJPEG_SHA256 := 9fcbb7171f6ac383f5b391175d6fb3acde5e64c4c4727274eade84ed0998fcc1
9
- LIBPNG_SHA256 := 4b0abab6d219e95690ebe4db7fc9aa95f4006c83baaa022373c0c8442271283d
9
+ LIBPNG_SHA256 := 8f91e941a07fb1069ebb3855278f82a849e6af14ca05821e14ec3d5348697ea5
10
10
  LIBZ_SHA256 := b99a0b86c0ba9360ec7e78c4f1e43b1cbdf1e6936c8fa0f6835c0cd694a495a1
11
11
  OPTIPNG_SHA256 := c2579be58c2c66dae9d63154edcb3d427fef64cb00ec0aff079c9d156ec46f29
12
12
  OXIPNG_SHA256 := 6c5e1d021a844ba730193943ab63ad99e7d9f1089c36f3db59014517ea99cf99
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'image_optim_pack'
5
- s.version = '0.12.2.20260219'
5
+ s.version = '0.12.2.20260327'
6
6
  s.summary = %q{Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegtran, optipng, oxipng, pngcrush, pngout, pngquant}
7
7
  s.homepage = "https://github.com/toy/#{s.name}"
8
8
  s.authors = ['Ivan Kuchin']
data/script/livecheck CHANGED
@@ -19,9 +19,9 @@ CONFIG = {
19
19
  info_url: 'https://www.lcdf.org/gifsicle/changes.html',
20
20
  },
21
21
  jhead: {
22
- url: 'https://www.sentex.ca/~mwandel/jhead/',
23
- regexp: /jhead-(\d+(?:\.\d+)*)/,
24
- info_url: 'https://www.sentex.ca/~mwandel/jhead/changes.txt',
22
+ url: 'https://github.com/Matthias-Wandel/jhead/tags.atom',
23
+ regexp: %r{<id>tag:github.com,2008:Repository/\d+/(\d+(?:\.\d+)*)</id>},
24
+ info_url: 'https://github.com/Matthias-Wandel/jhead',
25
25
  },
26
26
  jpegoptim: {
27
27
  url: 'https://github.com/tjko/jpegoptim/tags.atom',
data/script/run CHANGED
@@ -70,9 +70,9 @@ container_build() {
70
70
  workdir=/pack
71
71
 
72
72
  if [[ -z "$NO_UP" ]]; then
73
- used_image=$("$container_tool" inspect --format='{{.Config.Image}}' "$container_name")
73
+ used_image=$("$container_tool" inspect --format='{{.Config.Image}}' "$container_name" 2>/dev/null || true)
74
74
 
75
- if [[ "$used_image" != "$image" ]]; then
75
+ if [[ -n "$used_image" && "$used_image" != "$image" ]]; then
76
76
  echo "Container is using $used_image instead of $image, recreating"
77
77
  "$container_tool" rm "$container_name"
78
78
  fi
@@ -112,11 +112,12 @@ container_build() {
112
112
  echo \"Skipping updates\"
113
113
  exit 0
114
114
  fi
115
- touch \"\$UPDATED_FILE\"
116
115
 
117
116
  apt-get update
118
117
  apt-get -y dist-upgrade
119
118
  rustup update
119
+
120
+ touch \"\$UPDATED_FILE\"
120
121
  "
121
122
  fi
122
123
 
@@ -135,4 +136,5 @@ container_build() {
135
136
  [[ -n "$NO_HALT" ]] || "$container_tool" container stop "$container_name"
136
137
  }
137
138
 
139
+ export DOCKER_CLI_HINTS='do people really like SPAM?'
138
140
  container_build linux-x86_64 rust:slim-bullseye
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image_optim_pack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2.20260219
4
+ version: 0.12.2.20260327
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Kuchin
@@ -203,7 +203,7 @@ licenses:
203
203
  metadata:
204
204
  bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
205
205
  changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
206
- documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.12.2.20260219
206
+ documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.12.2.20260327
207
207
  source_code_uri: https://github.com/toy/image_optim_pack
208
208
  rdoc_options: []
209
209
  require_paths: