image_optim_pack 0.11.1-x86_64-linux → 0.11.1.20240914-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/docker-build.yml +1 -1
- data/.github/workflows/livecheck.yml +10 -15
- data/CHANGELOG.markdown +8 -0
- data/Makefile +5 -5
- data/checksums.mk +2 -2
- data/image_optim_pack.gemspec +1 -1
- data/script/livecheck +5 -3
- data/script/run +4 -4
- data/vendor/linux-x86_64/libpng.so +0 -0
- data/vendor/linux-x86_64/optipng +0 -0
- data/vendor/linux-x86_64/oxipng +0 -0
- data/vendor/linux-x86_64/pngcrush +0 -0
- data/vendor/linux-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: ee0dd8a856994a31d0bbff64cd8236e28445edd7bf7a65293ec481335961d529
|
4
|
+
data.tar.gz: 0e4f6d69650b0a9a194800e6d49c3e04d41f420fdb1c19e4345a646c4ae8ae7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98f173f6c8f97ab4187688c3736ca9ac5018fddb58ac0a5a8c37f7150ec81197b15b84b9f4d959337a6120fd4266ad97ac0a8cc2df693cc982b28650d0e526a8
|
7
|
+
data.tar.gz: cfd51247fda847ca9627fafb3f4b385c0d96b1d20887764a30da8c26daabbfd0ff168fe8ccd21921cff81b125e80bfadac7ce31f7084a4c12d4002449055dadc
|
@@ -19,22 +19,17 @@ jobs:
|
|
19
19
|
with:
|
20
20
|
ruby-version: '3'
|
21
21
|
bundler-cache: true
|
22
|
-
-
|
23
|
-
bundle exec script/livecheck || if (( $? == 1 )); then
|
24
|
-
exit 1
|
25
|
-
else
|
26
|
-
echo '::set-output name=RETRY::1'
|
27
|
-
fi
|
28
|
-
id: livecheck
|
29
|
-
- if: ${{ steps.livecheck.outputs.RETRY }}
|
30
|
-
env:
|
22
|
+
- env:
|
31
23
|
RETRY: ${{ inputs.retry }}
|
32
24
|
RETRIES: 10
|
33
25
|
GITHUB_TOKEN: ${{ secrets.RETRY_TOKEN }}
|
34
26
|
run: |
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
27
|
+
bundle exec script/livecheck || {
|
28
|
+
exit_code=$?
|
29
|
+
if (( $exit_code == 2 )) && (( ${RETRY:-0} < $RETRIES )); then
|
30
|
+
sleep 300
|
31
|
+
gh workflow run livecheck --repo $GITHUB_REPOSITORY --ref $GITHUB_REF_NAME -f retry=$(( $RETRY + 1 ))
|
32
|
+
else
|
33
|
+
exit $exit_code
|
34
|
+
fi
|
35
|
+
}
|
data/CHANGELOG.markdown
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
## unreleased
|
4
4
|
|
5
|
+
## v0.11.1.20240914 (2024-09-14)
|
6
|
+
|
7
|
+
* libpng 1.6.44 [@toy](https://github.com/toy)
|
8
|
+
|
9
|
+
## v0.11.1.20240713 (2024-07-13)
|
10
|
+
|
11
|
+
* oxipng 9.1.2 [@toy](https://github.com/toy)
|
12
|
+
|
5
13
|
## v0.11.1 (2024-05-09)
|
6
14
|
|
7
15
|
* Use oldest maintained debian buster instead of newest bookworm for building linux binaries [@toy](https://github.com/toy)
|
data/Makefile
CHANGED
@@ -10,10 +10,10 @@ JPEGOPTIM_VER := 1.5.5
|
|
10
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.44
|
14
14
|
LIBZ_VER := 1.2.11
|
15
15
|
OPTIPNG_VER := 0.7.8
|
16
|
-
OXIPNG_VER := 9.1.
|
16
|
+
OXIPNG_VER := 9.1.2
|
17
17
|
PNGCRUSH_VER := 1.8.13
|
18
18
|
PNGOUT_VER := 20200115
|
19
19
|
PNGOUT_LINUX_VER := $(PNGOUT_VER)
|
@@ -107,9 +107,9 @@ $(eval $(call archive-dl,LIBZ, https://prdownloads.sourceforge.net/libpng
|
|
107
107
|
$(eval $(call archive-dl,OPTIPNG, https://prdownloads.sourceforge.net/optipng/optipng-[VER].tar.gz?download))
|
108
108
|
$(eval $(call archive-dl,OXIPNG, https://github.com/shssoichiro/oxipng/archive/refs/tags/v[VER].tar.gz))
|
109
109
|
$(eval $(call archive-dl,PNGCRUSH, https://prdownloads.sourceforge.net/pmt/pngcrush-[VER]-nolib.tar.gz?download))
|
110
|
-
$(eval $(call archive-dl,PNGOUT_LINUX,
|
111
|
-
$(eval $(call archive-dl,PNGOUT_LINUX_STATIC,
|
112
|
-
$(eval $(call archive-dl,PNGOUT_DARWIN,
|
110
|
+
$(eval $(call archive-dl,PNGOUT_LINUX,https://www.jonof.id.au/files/kenutils/pngout-[VER]-linux.tar.gz))
|
111
|
+
$(eval $(call archive-dl,PNGOUT_LINUX_STATIC,https://www.jonof.id.au/files/kenutils/pngout-[VER]-linux-static.tar.gz))
|
112
|
+
$(eval $(call archive-dl,PNGOUT_DARWIN,https://www.jonof.id.au/files/kenutils/pngout-[VER]-macos.zip,zip))
|
113
113
|
$(eval $(call archive-dl,PNGQUANT, https://pngquant.org/pngquant-[VER]-src.tar.gz))
|
114
114
|
|
115
115
|
download : $(foreach archive,$(ARCHIVES),$($(archive)_ARC))
|
data/checksums.mk
CHANGED
@@ -6,10 +6,10 @@ JPEGOPTIM_SHA256 := 90a309d1c092de358bb411d702281ac3039b489d03adb0bc3c4ef04cf006
|
|
6
6
|
LIBJPEG_SHA256 := 04705c110cb2469caa79fb71fba3d7bf834914706e9641a4589485c1f832565b
|
7
7
|
LIBLCMS_SHA256 := d873d34ad8b9b4cea010631f1a6228d2087475e4dc5e763eb81acc23d9d45a51
|
8
8
|
LIBMOZJPEG_SHA256 := 9fcbb7171f6ac383f5b391175d6fb3acde5e64c4c4727274eade84ed0998fcc1
|
9
|
-
LIBPNG_SHA256 :=
|
9
|
+
LIBPNG_SHA256 := 8c25a7792099a0089fa1cc76c94260d0bb3f1ec52b93671b572f8bb61577b732
|
10
10
|
LIBZ_SHA256 := c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
|
11
11
|
OPTIPNG_SHA256 := 25a3bd68481f21502ccaa0f4c13f84dcf6b20338e4c4e8c51f2cefbd8513398c
|
12
|
-
OXIPNG_SHA256 :=
|
12
|
+
OXIPNG_SHA256 := 8eae13e5aa6f500b231b4d15b9fefdeb5f6cc566ddab959b9b7a03a00bb3a520
|
13
13
|
PNGCRUSH_SHA256 := fed0aaf5c098aa8c7f78c75365cd18d7341417326ecbdba547876b7b4f3df4be
|
14
14
|
PNGOUT_LINUX_SHA256 := ac38bba6f0de29033de866538c3afa64341319b695bbe388efbc5fd9e830e928
|
15
15
|
PNGOUT_LINUX_STATIC_SHA256 := 7a78ea475d65a00981bf418e5dfa3b34e42d6460fb992340802873bb14b08597
|
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.11.1'
|
5
|
+
s.version = '0.11.1.20240914'
|
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
@@ -11,7 +11,7 @@ CONFIG = {
|
|
11
11
|
advancecomp: {
|
12
12
|
url: 'https://github.com/amadvance/advancecomp/releases.atom',
|
13
13
|
regexp: %r{<id>tag:github.com,2008:Repository/\d+/\D+?(\d+(?:\.\d+)*)</id>},
|
14
|
-
info_url: '
|
14
|
+
info_url: 'https://www.advancemame.it/comp-history',
|
15
15
|
},
|
16
16
|
gifsicle: {
|
17
17
|
url: 'https://www.lcdf.org/gifsicle/',
|
@@ -74,9 +74,9 @@ CONFIG = {
|
|
74
74
|
info_url: 'https://pmt.sourceforge.io/pngcrush/ChangeLog.html',
|
75
75
|
},
|
76
76
|
pngout: {
|
77
|
-
url: '
|
77
|
+
url: 'https://www.jonof.id.au/kenutils.html',
|
78
78
|
regexp: %r{/files/kenutils/pngout-(\d{8})-linux.tar.gz},
|
79
|
-
info_url: '
|
79
|
+
info_url: 'https://www.jonof.id.au/kenutils.html#:~:text=Revision%20history',
|
80
80
|
},
|
81
81
|
pngquant: {
|
82
82
|
url: 'https://pngquant.org/releases.html',
|
@@ -84,6 +84,8 @@ CONFIG = {
|
|
84
84
|
},
|
85
85
|
}.freeze
|
86
86
|
|
87
|
+
Thread.report_on_exception = false
|
88
|
+
|
87
89
|
# Fetch and compare latest tool/library versions
|
88
90
|
class Livecheck
|
89
91
|
# Commands
|
data/script/run
CHANGED
@@ -89,8 +89,8 @@ container_build() {
|
|
89
89
|
"$container_tool" container start "$container_name"
|
90
90
|
|
91
91
|
"$container_tool" exec -it "$container_name" bash -exc "
|
92
|
-
apt update
|
93
|
-
apt -y install make gcc g++ chrpath perl pkg-config autoconf automake libtool nasm cmake patch
|
92
|
+
apt-get update
|
93
|
+
apt-get -y install make gcc g++ chrpath perl pkg-config autoconf automake libtool nasm cmake patch
|
94
94
|
"
|
95
95
|
fi
|
96
96
|
|
@@ -100,8 +100,8 @@ container_build() {
|
|
100
100
|
|
101
101
|
if [[ "$status" = @(created|exited|running) ]]; then
|
102
102
|
"$container_tool" exec -it "$container_name" bash -exc "
|
103
|
-
apt update
|
104
|
-
apt -y dist-upgrade
|
103
|
+
apt-get update
|
104
|
+
apt-get -y dist-upgrade
|
105
105
|
rustup update
|
106
106
|
"
|
107
107
|
fi
|
Binary file
|
data/vendor/linux-x86_64/optipng
CHANGED
Binary file
|
data/vendor/linux-x86_64/oxipng
CHANGED
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.11.1
|
4
|
+
version: 0.11.1.20240914
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Ivan Kuchin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: image_optim
|
@@ -99,6 +99,7 @@ extensions: []
|
|
99
99
|
extra_rdoc_files: []
|
100
100
|
files:
|
101
101
|
- ".dockerignore"
|
102
|
+
- ".github/dependabot.yml"
|
102
103
|
- ".github/workflows/check.yml"
|
103
104
|
- ".github/workflows/docker-build.yml"
|
104
105
|
- ".github/workflows/livecheck.yml"
|
@@ -173,7 +174,7 @@ licenses:
|
|
173
174
|
metadata:
|
174
175
|
bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
|
175
176
|
changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
|
176
|
-
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.11.1
|
177
|
+
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.11.1.20240914
|
177
178
|
source_code_uri: https://github.com/toy/image_optim_pack
|
178
179
|
post_install_message:
|
179
180
|
rdoc_options: []
|
@@ -190,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
191
|
- !ruby/object:Gem::Version
|
191
192
|
version: '0'
|
192
193
|
requirements: []
|
193
|
-
rubygems_version: 3.5.
|
194
|
+
rubygems_version: 3.5.17
|
194
195
|
signing_key:
|
195
196
|
specification_version: 4
|
196
197
|
summary: 'Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress,
|