image_optim_pack 0.8.0.20220131-x86-linux → 0.8.0.20220418-x86-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1003a08d7e342e13a323ce17811611cb052a461f0bb0e1437035064306d9eafb
4
- data.tar.gz: d4a65d16182e435a6c4d950c8f511b0978a0ca928604fcd62ac307f7b6a54473
3
+ metadata.gz: 6e0aa7a816a27ad7c3204962f607f1c45fd71b0bfda4aa2d4d9a64e0dbc0a878
4
+ data.tar.gz: 588e59f6fdc3ccb93104d1b06f4ade76ec2f7b123c09b8edeebec0506fa637cd
5
5
  SHA512:
6
- metadata.gz: 50168e5e878eb16cb4ec1f34441799525453b8b302286df2d74bbabdcca844fe9aff8b2d1f26def9fd5338afc98f50213aa6a9d0bfabe74916808e30c7cfa2a6
7
- data.tar.gz: 9af4bae51808bdf5515e2b854f311e0f798836fff90ac7e43748d8ab8e7e6d2ff78873051f301d0c84e280c57094303dd74a83df584b0ec8d57c88080e1dc781
6
+ metadata.gz: a2c1507032407d5db7ff43ded333ec26e6fa21780258deeaeedcb2e06fcc7403f92c26f44add28a19f70619e62a2f0810ec98767cb8e44763722bc6e97681e5a
7
+ data.tar.gz: fa3935b6a7fda799684ad9309900f2f0982cc1b2066c78fc2a79115fdb66fae9aec0eb1b76459e3b676d938a79dedc60ec9dc3906579da6343cecb1493589695
@@ -0,0 +1,16 @@
1
+ name: docker-build
2
+ on:
3
+ push:
4
+ tags:
5
+ - '*'
6
+ jobs:
7
+ docker-build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v2
11
+ - uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
12
+ with:
13
+ registry: ghcr.io
14
+ username: ${{ github.actor }}
15
+ password: ${{ secrets.GITHUB_TOKEN }}
16
+ - run: make docker-push
data/CHANGELOG.markdown CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## unreleased
4
4
 
5
+ ## v0.8.0.20220418 (2022-04-18)
6
+
7
+ * advancecomp 2.3 and jpegoptim 1.4.7 [@toy](https://github.com/toy)
8
+
5
9
  ## v0.8.0.20220131 (2022-01-31)
6
10
 
7
11
  * liblcms 2.13 [@toy](https://github.com/toy)
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM alpine:3.12 as base
1
+ FROM alpine as base
2
2
  ENV LD_LIBRARY_PATH=/usr/local/lib
3
3
  WORKDIR /tmp
4
4
 
@@ -85,7 +85,7 @@ ARG JPEGARCHIVE_SHA256
85
85
  COPY download/jpegarchive-$JPEGARCHIVE_VER.tar.gz download/
86
86
  RUN ./extract jpegarchive && \
87
87
  cd build/jpegarchive && \
88
- make install
88
+ CFLAGS=-fcommon make install
89
89
 
90
90
  FROM libjpeg as jpegoptim
91
91
  ARG JPEGOPTIM_VER
@@ -105,7 +105,7 @@ RUN ./extract optipng && \
105
105
  ./configure && \
106
106
  make install
107
107
 
108
- FROM rust:1.55-alpine3.13 as oxipng
108
+ FROM rust:1-alpine as oxipng
109
109
  RUN apk add --no-cache build-base
110
110
  COPY script/extract ./
111
111
  ARG OXIPNG_VER
data/Makefile CHANGED
@@ -2,11 +2,11 @@ all :
2
2
 
3
3
  # ====== VERSIONS ======
4
4
 
5
- ADVANCECOMP_VER := 2.1
5
+ ADVANCECOMP_VER := 2.3
6
6
  GIFSICLE_VER := 1.93
7
7
  JHEAD_VER := 3.04
8
8
  JPEGARCHIVE_VER := 2.2.0
9
- JPEGOPTIM_VER := 1.4.6
9
+ JPEGOPTIM_VER := 1.4.7
10
10
  LIBJPEG_VER := 9e
11
11
  LIBLCMS_VER := 2.13
12
12
  LIBMOZJPEG_VER := 4.0.3
@@ -78,6 +78,7 @@ $(call archive,$1)
78
78
  # download archive from url
79
79
  $$($1_TGZ) :
80
80
  mkdir -p $(DL_DIR)
81
+ test -w $(DL_DIR)
81
82
  while ! mkdir $$@.lock 2> /dev/null; do sleep 1; done
82
83
  wget -q -O $$@.tmp $(subst [VER],$($1_VER),$(strip $2))
83
84
  mv $$@.tmp $$@
@@ -88,7 +89,7 @@ $(eval $(call archive-dl,ADVANCECOMP, https://github.com/amadvance/advancecomp/r
88
89
  $(eval $(call archive-dl,GIFSICLE, https://www.lcdf.org/gifsicle/gifsicle-[VER].tar.gz))
89
90
  $(eval $(call archive-dl,JHEAD, https://www.sentex.ca/~mwandel/jhead/jhead-[VER].tar.gz))
90
91
  $(eval $(call archive-dl,JPEGARCHIVE, https://github.com/danielgtaylor/jpeg-archive/archive/v[VER].tar.gz))
91
- $(eval $(call archive-dl,JPEGOPTIM, https://www.kokkonen.net/tjko/src/jpegoptim-[VER].tar.gz))
92
+ $(eval $(call archive-dl,JPEGOPTIM, https://github.com/tjko/jpegoptim/archive/v[VER].tar.gz))
92
93
  $(eval $(call archive-dl,LIBJPEG, https://www.ijg.org/files/jpegsrc.v[VER].tar.gz))
93
94
  $(eval $(call archive-dl,LIBLCMS, https://prdownloads.sourceforge.net/lcms/lcms2-[VER].tar.gz?download))
94
95
  $(eval $(call archive-dl,LIBMOZJPEG, https://github.com/mozilla/mozjpeg/archive/v[VER].tar.gz))
@@ -266,15 +267,21 @@ DOCKER_TAG := $(shell date +%Y%m%d)
266
267
 
267
268
  docker-build : download
268
269
  @docker build \
270
+ --pull \
269
271
  $(foreach archive,$(ARCHIVES),--build-arg $(archive)_VER=$($(archive)_VER) --build-arg $(archive)_SHA256=$($(archive)_SHA256)) \
270
- -t $(DOCKER_IMAGE):$(DOCKER_TAG) \
271
272
  -t $(DOCKER_IMAGE):latest \
272
273
  .
273
274
  .PHONY : docker-build
274
275
 
275
- docker-push : docker-build
276
- @docker push $(DOCKER_IMAGE):$(DOCKER_TAG)
276
+ docker-tag : docker-build
277
+ @docker tag \
278
+ $(DOCKER_IMAGE):latest \
279
+ $(DOCKER_IMAGE):$(DOCKER_TAG)
280
+ .PHONY : docker-tag
281
+
282
+ docker-push : docker-tag
277
283
  @docker push $(DOCKER_IMAGE):latest
284
+ @docker push $(DOCKER_IMAGE):$(DOCKER_TAG)
278
285
  .PHONY : docker-push
279
286
 
280
287
  # ====== CLEAN ======
data/checksums.mk CHANGED
@@ -1,8 +1,8 @@
1
- ADVANCECOMP_SHA256 := 3ac0875e86a8517011976f04107186d5c60d434954078bc502ee731480933eb8
1
+ ADVANCECOMP_SHA256 := 811f661dfbbdddefdcb5eaf133e403ca2af99328b850b22c1249f7bebe657578
2
2
  GIFSICLE_SHA256 := 92f67079732bf4c1da087e6ae0905205846e5ac777ba5caa66d12a73aa943447
3
3
  JHEAD_SHA256 := ef89bbcf4f6c25ed88088cf242a47a6aedfff4f08cc7dc205bf3e2c0f10a03c9
4
4
  JPEGARCHIVE_SHA256 := 3da16a5abbddd925dee0379aa51d9fe0cba33da0b5703be27c13a2dda3d7ed75
5
- JPEGOPTIM_SHA256 := 88b1eb64c2a33a2f013f068df8b0331f42c019267401ae3fa28e3277403a5ab7
5
+ JPEGOPTIM_SHA256 := c52616f2fb8d481315871680f9943b0f58c553d1e0c49a6bd4691a3e66d7e6de
6
6
  LIBJPEG_SHA256 := 4077d6a6a75aeb01884f708919d25934c93305e49f7e3f36db9129320e6f4f3d
7
7
  LIBLCMS_SHA256 := 0c67a5cc144029cfa34647a52809ec399aae488db4258a6a66fba318474a070f
8
8
  LIBMOZJPEG_SHA256 := 4f22731db2afa14531a5bf2633d8af79ca5cb697a550f678bf43f24e5e409ef0
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'image_optim_pack'
5
- s.version = '0.8.0.20220131'
5
+ s.version = '0.8.0.20220418'
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']
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.8.0.20220131
4
+ version: 0.8.0.20220418
5
5
  platform: x86-linux
6
6
  authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-31 00:00:00.000000000 Z
11
+ date: 2022-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: image_optim
@@ -100,6 +100,7 @@ extra_rdoc_files: []
100
100
  files:
101
101
  - ".dockerignore"
102
102
  - ".github/workflows/check.yml"
103
+ - ".github/workflows/docker-build.yml"
103
104
  - ".github/workflows/rubocop.yml"
104
105
  - ".gitignore"
105
106
  - ".rubocop.yml"
@@ -176,7 +177,7 @@ licenses:
176
177
  metadata:
177
178
  bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
178
179
  changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
179
- documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.8.0.20220131
180
+ documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.8.0.20220418
180
181
  source_code_uri: https://github.com/toy/image_optim_pack
181
182
  post_install_message:
182
183
  rdoc_options: []
@@ -193,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
194
  - !ruby/object:Gem::Version
194
195
  version: '0'
195
196
  requirements: []
196
- rubygems_version: 3.3.5
197
+ rubygems_version: 3.3.11
197
198
  signing_key:
198
199
  specification_version: 4
199
200
  summary: 'Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress,