image_optim_pack 0.12.2.20260212 → 0.12.2.20260306

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: 7e5963e5621d68ef9c32ae3e1b3829f6b71b7ac8a3e6a2aae9dd29148b2dfb1e
4
- data.tar.gz: 5e5a1207ddfac35fdfdaf0d2e4f113b7062c664ee8dd8c1f20bfbb4eadf3ac22
3
+ metadata.gz: 10ed2744653e3a4ad8061214d6203882f7c1d1a4c79313302388e98c01a4e2ba
4
+ data.tar.gz: 827fc522c73bed1c36fe7a128aef82c2e64365f46bf3992018cb2ac80268b6f2
5
5
  SHA512:
6
- metadata.gz: 66c683664bef0fc5a6c13d5c03da5b9818b06d91f8d6f31bb0a22bbab390063348f2bff80b2db718809604e5d0331c1247ef95daad8425959ac7da292918d423
7
- data.tar.gz: 21b964fd45f3adfe8e7dbd749777ea14b3bc42b0bea4988a1b61789a8a701813f9392165d9509a99fa8c39abdf6b160865002a8602ab5b0a82fea0063b40a779
6
+ metadata.gz: 4282a0d924804f22907c81ab92e1d559f64948a2856b8bf39090fd079dae545ff5dc96e9fb69a8e0e525173136cc954fedad19ea2becb24fd16d402b089c47df
7
+ data.tar.gz: da4bc2eaa083816e720e0db9711c571e1e1f146e2de5056bed1e6733d35c2c8e04ea1f0ec27a40d2b55f77338991ffa2fce44e2c502559cfabe1ba9e62a886ac
@@ -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/
data/CHANGELOG.markdown CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## unreleased
4
4
 
5
+ ## v0.12.2.20260306 (2026-03-06)
6
+
7
+ * jhead 3.08 [@toy](https://github.com/toy)
8
+
9
+ ## v0.12.2.20260219 (2026-02-19)
10
+
11
+ * libz 1.3.2 [@toy](https://github.com/toy)
12
+
5
13
  ## v0.12.2.20260212 (2026-02-12)
6
14
 
7
15
  * libpng 1.6.55 [@toy](https://github.com/toy)
data/Makefile CHANGED
@@ -9,14 +9,14 @@ 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
18
  LIBPNG_VER := 1.6.55
19
- LIBZ_VER := 1.3.1.2
19
+ LIBZ_VER := 1.3.2
20
20
  OPTIPNG_VER := 7.9.1
21
21
  OXIPNG_VER := 10.1.0
22
22
  PNGCRUSH_VER := 1.8.13
@@ -97,6 +97,7 @@ endef
97
97
  # $1 - name of archive
98
98
  # $2 - url of archive with [VER] for replace with version
99
99
  # $3 - extension to use
100
+ # $4 - extra arguments to wget
100
101
  define archive-dl
101
102
  $(call archive,$1,$3)
102
103
  # download archive from url
@@ -104,14 +105,14 @@ $$($1_ARC) :
104
105
  mkdir -p $(DL_DIR)
105
106
  test -w $(DL_DIR)
106
107
  tmpfile=`mktemp "$$@.XXXXXXXXXX"` && \
107
- wget -O "$$$$tmpfile" --no-use-server-timestamps "$(subst [VER],$($1_VER),$(strip $2))" && \
108
+ wget -O "$$$$tmpfile" --no-use-server-timestamps $4 "$(subst [VER],$($1_VER),$(strip $2))" && \
108
109
  chmod 644 "$$$$tmpfile" && \
109
110
  mv "$$$$tmpfile" "$$@"
110
111
  endef
111
112
 
112
113
  $(eval $(call archive-dl,ADVANCECOMP, https://github.com/amadvance/advancecomp/releases/download/v[VER]/advancecomp-[VER].tar.gz))
113
114
  $(eval $(call archive-dl,GIFSICLE, https://www.lcdf.org/gifsicle/gifsicle-[VER].tar.gz))
114
- $(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))
115
116
  $(eval $(call archive-dl,JPEGARCHIVE, https://github.com/danielgtaylor/jpeg-archive/archive/v[VER].tar.gz))
116
117
  $(eval $(call archive-dl,JPEGOPTIM, https://github.com/tjko/jpegoptim/archive/v[VER].tar.gz))
117
118
  $(eval $(call archive-dl,LIBJPEG, https://www.ijg.org/files/jpegsrc.v[VER].tar.gz))
@@ -120,11 +121,11 @@ $(eval $(call archive-dl,LIBMOZJPEG, https://github.com/mozilla/mozjpeg/archive
120
121
  $(eval $(call archive-dl,LIBPNG, https://prdownloads.sourceforge.net/libpng/libpng-[VER].tar.gz?download))
121
122
  $(eval $(call archive-dl,LIBZ, https://github.com/madler/zlib/archive/v[VER].tar.gz))
122
123
  $(eval $(call archive-dl,OPTIPNG, https://prdownloads.sourceforge.net/optipng/optipng-[VER].tar.gz?download))
123
- $(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))
124
125
  $(eval $(call archive-dl,PNGCRUSH, https://prdownloads.sourceforge.net/pmt/pngcrush-[VER]-nolib.tar.gz?download))
125
- $(eval $(call archive-dl,PNGOUT_LINUX,https://www.jonof.id.au/files/kenutils/pngout-[VER]-linux.tar.gz))
126
- $(eval $(call archive-dl,PNGOUT_LINUX_STATIC,https://www.jonof.id.au/files/kenutils/pngout-[VER]-linux-static.tar.gz))
127
- $(eval $(call archive-dl,PNGOUT_DARWIN,https://www.jonof.id.au/files/kenutils/pngout-[VER]-mac.zip,zip))
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
+ $(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))
128
+ $(eval $(call archive-dl,PNGOUT_DARWIN,https://www.jonof.id.au/files/kenutils/pngout-[VER]-mac.zip,zip,--retry-on-http-error=415))
128
129
  $(eval $(call archive-dl,PNGQUANT, https://crates.io/api/v1/crates/pngquant/[VER]/download))
129
130
 
130
131
  download : $(foreach archive,$(ARCHIVES),$($(archive)_ARC))
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,13 +1,13 @@
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
9
  LIBPNG_SHA256 := 4b0abab6d219e95690ebe4db7fc9aa95f4006c83baaa022373c0c8442271283d
10
- LIBZ_SHA256 := fbf1c8476136693e6c3f1fa26e6d8c4f2c8b5a5c44340c04df349dad02eed09e
10
+ LIBZ_SHA256 := b99a0b86c0ba9360ec7e78c4f1e43b1cbdf1e6936c8fa0f6835c0cd694a495a1
11
11
  OPTIPNG_SHA256 := c2579be58c2c66dae9d63154edcb3d427fef64cb00ec0aff079c9d156ec46f29
12
12
  OXIPNG_SHA256 := 6c5e1d021a844ba730193943ab63ad99e7d9f1089c36f3db59014517ea99cf99
13
13
  PNGCRUSH_SHA256 := fed0aaf5c098aa8c7f78c75365cd18d7341417326ecbdba547876b7b4f3df4be
@@ -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.20260212'
5
+ s.version = '0.12.2.20260306'
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
@@ -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
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.20260212
4
+ version: 0.12.2.20260306
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.20260212
206
+ documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.12.2.20260306
207
207
  source_code_uri: https://github.com/toy/image_optim_pack
208
208
  rdoc_options: []
209
209
  require_paths: