image_optim_pack 0.6.0 → 0.6.0.20191208
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 +4 -4
- data/.rubocop.yml +1 -1
- data/.travis.yml +10 -12
- data/CHANGELOG.markdown +5 -0
- data/Makefile +10 -10
- data/README.markdown +11 -11
- data/boxes/.rubocop.yml +1 -1
- data/checksums.mk +1 -1
- data/image_optim_pack.gemspec +2 -2
- data/script/livecheck +2 -2
- data/vendor/darwin-i386/jhead +0 -0
- data/vendor/darwin-x86_64/jhead +0 -0
- data/vendor/linux-i686/jhead +0 -0
- data/vendor/linux-x86_64/jhead +0 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae75e381ae045116563e13a514e84ea69e4921f93cc0839a097299b531748203
|
4
|
+
data.tar.gz: a624dd32785c0cdcabbf0daeb823402d1a3d246ff2ec21add33f566852a8ee0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c91a7379d9641f7a366b1f8c9ab9816d3b0ab6e35eed8dbb308c8d6c161fa76f119f0b36b0135061b2bc59f94123732075172f81dd20567e69b1e6163b1c3f59
|
7
|
+
data.tar.gz: 7f5219ef3123d4b4926783ecf9c58a20c0c157ad421174abf71d9a0c5caf64e59a91a8578df7885fc63e49be98d6e5bc11410fffa6b6321e80f63a262b8c39ca
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
@@ -2,16 +2,17 @@ sudo: false
|
|
2
2
|
dist: trusty
|
3
3
|
language: ruby
|
4
4
|
rvm:
|
5
|
-
- '1.8.7-
|
5
|
+
- '1.8.7-p374'
|
6
6
|
- '1.9.3-p551'
|
7
7
|
- '2.0.0-p648'
|
8
8
|
- '2.1.10'
|
9
9
|
- '2.2.10'
|
10
10
|
- '2.3.8'
|
11
|
-
- '2.4.
|
12
|
-
- '2.5.
|
13
|
-
- '2.6.
|
14
|
-
- 'jruby-9.1.
|
11
|
+
- '2.4.9'
|
12
|
+
- '2.5.7'
|
13
|
+
- '2.6.5'
|
14
|
+
- 'jruby-9.1.17.0'
|
15
|
+
- 'jruby-9.2.7.0'
|
15
16
|
script:
|
16
17
|
- make test
|
17
18
|
- bundle exec image_optim --info
|
@@ -26,16 +27,13 @@ matrix:
|
|
26
27
|
include:
|
27
28
|
- os: osx
|
28
29
|
rvm: default
|
29
|
-
osx_image:
|
30
|
-
- os: osx
|
31
|
-
rvm: default
|
32
|
-
osx_image: xcode9.4
|
30
|
+
osx_image: xcode10.1
|
33
31
|
- os: osx
|
34
32
|
rvm: default
|
35
|
-
osx_image:
|
33
|
+
osx_image: xcode11.2
|
36
34
|
- env: RUBOCOP=✓
|
37
|
-
rvm: '2.6.
|
35
|
+
rvm: '2.6.5'
|
38
36
|
script: bundle exec rubocop
|
39
37
|
- env: CHECK_RUBIES=✓
|
40
|
-
rvm: '2.6.
|
38
|
+
rvm: '2.6.5'
|
41
39
|
script: bundle exec travis_check_rubies
|
data/CHANGELOG.markdown
CHANGED
@@ -2,6 +2,11 @@
|
|
2
2
|
|
3
3
|
## unreleased
|
4
4
|
|
5
|
+
## v0.6.0.20191208 (2019-12-08)
|
6
|
+
|
7
|
+
* jhead 3.04 [@toy](https://github.com/toy)
|
8
|
+
* Update jhead source and use https where possible [@toy](https://github.com/toy)
|
9
|
+
|
5
10
|
## v0.6.0 (2019-08-15)
|
6
11
|
|
7
12
|
* Remove FreeBSD and OpenBSD binaries/platforms [#16](https://github.com/toy/image_optim_pack/issues/16) [@toy](https://github.com/toy)
|
data/Makefile
CHANGED
@@ -4,7 +4,7 @@ all :
|
|
4
4
|
|
5
5
|
ADVANCECOMP_VER := 2.1
|
6
6
|
GIFSICLE_VER := 1.92
|
7
|
-
JHEAD_VER := 3.
|
7
|
+
JHEAD_VER := 3.04
|
8
8
|
JPEGARCHIVE_VER := 2.1.1
|
9
9
|
JPEGOPTIM_VER := 1.4.6
|
10
10
|
LIBJPEG_VER := 9c
|
@@ -83,17 +83,17 @@ $$($1_TGZ) :
|
|
83
83
|
endef
|
84
84
|
|
85
85
|
$(eval $(call archive-dl,ADVANCECOMP, https://github.com/amadvance/advancecomp/releases/download/v[VER]/advancecomp-[VER].tar.gz))
|
86
|
-
$(eval $(call archive-dl,GIFSICLE,
|
87
|
-
$(eval $(call archive-dl,JHEAD,
|
86
|
+
$(eval $(call archive-dl,GIFSICLE, https://www.lcdf.org/gifsicle/gifsicle-[VER].tar.gz))
|
87
|
+
$(eval $(call archive-dl,JHEAD, https://www.sentex.ca/~mwandel/jhead/jhead-[VER].tar.gz))
|
88
88
|
$(eval $(call archive-dl,JPEGARCHIVE, https://github.com/danielgtaylor/jpeg-archive/archive/[VER].tar.gz))
|
89
|
-
$(eval $(call archive-dl,JPEGOPTIM,
|
90
|
-
$(eval $(call archive-dl,LIBJPEG,
|
89
|
+
$(eval $(call archive-dl,JPEGOPTIM, https://www.kokkonen.net/tjko/src/jpegoptim-[VER].tar.gz))
|
90
|
+
$(eval $(call archive-dl,LIBJPEG, https://www.ijg.org/files/jpegsrc.v[VER].tar.gz))
|
91
91
|
$(eval $(call archive-dl,LIBMOZJPEG, https://github.com/mozilla/mozjpeg/archive/v[VER].tar.gz))
|
92
|
-
$(eval $(call archive-dl,LIBPNG,
|
93
|
-
$(eval $(call archive-dl,LIBZ,
|
94
|
-
$(eval $(call archive-dl,OPTIPNG,
|
95
|
-
$(eval $(call archive-dl,PNGCRUSH,
|
96
|
-
$(eval $(call archive-dl,PNGQUANT,
|
92
|
+
$(eval $(call archive-dl,LIBPNG, https://prdownloads.sourceforge.net/libpng/libpng-[VER].tar.gz?download))
|
93
|
+
$(eval $(call archive-dl,LIBZ, https://prdownloads.sourceforge.net/libpng/zlib-[VER].tar.gz?download))
|
94
|
+
$(eval $(call archive-dl,OPTIPNG, https://prdownloads.sourceforge.net/optipng/optipng-[VER].tar.gz?download))
|
95
|
+
$(eval $(call archive-dl,PNGCRUSH, https://prdownloads.sourceforge.net/pmt/pngcrush-[VER]-nolib.tar.gz?download))
|
96
|
+
$(eval $(call archive-dl,PNGQUANT, https://pngquant.org/pngquant-[VER]-src.tar.gz))
|
97
97
|
|
98
98
|
download : $(foreach archive,$(ARCHIVES),$($(archive)_TGZ))
|
99
99
|
.PHONY : download
|
data/README.markdown
CHANGED
@@ -14,30 +14,30 @@ A test application with latest `image_optim` and `image_optim_pack` is available
|
|
14
14
|
|
15
15
|
## Binaries and libraries
|
16
16
|
|
17
|
-
* [advpng](
|
18
|
-
* contains parts of [7z](
|
17
|
+
* [advpng](https://www.advancemame.it/doc-advpng.html) by Andrea Mazzoleni and Filipe Estima ([GNU GPLv3](acknowledgements/advancecomp.txt))
|
18
|
+
* contains parts of [7z](https://7-zip.org) by Igor Pavlov with modifications by Andrea Mazzoleni ([license](acknowledgements/7z.txt))
|
19
19
|
* and [zopfli](https://code.google.com/p/zopfli/) by Lode Vandevenne and Jyrki Alakuijala ([license](acknowledgements/zopfli.txt), [contributors](acknowledgements/zopfli-contributors.txt))
|
20
|
-
* [gifsicle](
|
21
|
-
* [jhead](
|
20
|
+
* [gifsicle](https://lcdf.org/gifsicle/) by Eddie Kohler ([GNU GPLv2](acknowledgements/gifsicle.txt))
|
21
|
+
* [jhead](https://www.sentex.ca/~mwandel/jhead/) by Matthias Wandel ([public domain](acknowledgements/jhead.txt))
|
22
22
|
* [jpeg-recompress](https://github.com/danielgtaylor/jpeg-archive) by Daniel G. Taylor ([license](acknowledgements/jpeg-archive.txt))
|
23
23
|
* includes [Image Quality Assessment (IQA)](http://tdistler.com/iqa/) by Tom Distler ([license](acknowledgements/iqa.txt))
|
24
24
|
* includes [SmallFry](https://github.com/dwbuiten/smallfry) by Derek Buitenhuis ([license](acknowledgements/smallfry.txt))
|
25
25
|
* statically linked against mozjpeg, see below
|
26
|
-
* [jpegoptim](
|
27
|
-
* [libjpeg and jpegtran](
|
28
|
-
* [libjpeg-turbo](
|
26
|
+
* [jpegoptim](https://www.kokkonen.net/tjko/projects.html) by Timo Kokkonen ([GNU GPLv2](acknowledgements/jpegoptim.txt) or later)
|
27
|
+
* [libjpeg and jpegtran](https://ijg.org/) by the Independent JPEG Group ([license](acknowledgements/libjpeg.txt))
|
28
|
+
* [libjpeg-turbo](https://www.libjpeg-turbo.org/) by libjpeg-turbo Project ([license](acknowledgements/libjpeg-turbo.txt))
|
29
29
|
* based on libjpeg, see above
|
30
|
-
* includes [x86 SIMD extension for IJG JPEG library](
|
30
|
+
* includes [x86 SIMD extension for IJG JPEG library](https://cetus.sakura.ne.jp/softlab/jpeg-x86simd/jpegsimd.html) by Miyasaka Masaru ([license](acknowledgements/libjpeg-x86-simd.txt))
|
31
31
|
* [libpng](http://libpng.org/pub/png/) by Guy Eric Schalnat, Andreas Dilger, Glenn Randers-Pehrson and others ([license](acknowledgements/libpng.txt))
|
32
32
|
* [mozjpeg](https://github.com/mozilla/mozjpeg) by Mozilla Research ([license](acknowledgements/mozjpeg.txt))
|
33
33
|
* base on libjpeg and libjpeg-turbo, see above
|
34
34
|
* [optipng](http://optipng.sourceforge.net/) by Cosmin Truta ([license](acknowledgements/optipng.txt), [authors](acknowledgements/optipng-authors.txt))
|
35
35
|
* contains code based in part on the work of Miyasaka Masaru for BMP support ([license](acknowledgements/bmp2png.txt))
|
36
36
|
* and David Koblas for GIF support ([license](acknowledgements/gifread.txt))
|
37
|
-
* [pngcrush](
|
37
|
+
* [pngcrush](https://pmt.sourceforge.io/pngcrush/) by Glenn Randers-Pehrson, portions by Greg Roelofs ([license](acknowledgements/pngcrush.txt))
|
38
38
|
* contains [cexcept](http://www.nicemice.net/cexcept/) interface by Adam M. Costello and Cosmin Truta ([license](acknowledgements/cexcept.txt))
|
39
|
-
* [pngquant](
|
40
|
-
* [zlib](
|
39
|
+
* [pngquant](https://pngquant.org/) by Kornel Lesiński based on code by Greg Roelofs and Jef Poskanzer after an idea by Stefan Schneider ([license](acknowledgements/pngquant.txt))
|
40
|
+
* [zlib](https://zlib.net/) by Jean-Loup Gailly and Mark Adler ([license](acknowledgements/zlib.txt))
|
41
41
|
|
42
42
|
**NOTE: On FreeBSD and OpenBSD `make` is not the GNU Make, so `gmake` should be used instead.**
|
43
43
|
|
data/boxes/.rubocop.yml
CHANGED
data/checksums.mk
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
ADVANCECOMP_SHA256 := 3ac0875e86a8517011976f04107186d5c60d434954078bc502ee731480933eb8
|
2
2
|
GIFSICLE_SHA256 := 5ab556c01d65fddf980749e3ccf50b7fd40de738b6df679999294cc5fabfce65
|
3
|
-
JHEAD_SHA256 :=
|
3
|
+
JHEAD_SHA256 := ef89bbcf4f6c25ed88088cf242a47a6aedfff4f08cc7dc205bf3e2c0f10a03c9
|
4
4
|
JPEGARCHIVE_SHA256 := 494534f5308f99743f11f3a7c151a8d5ca8a5f1f8b61ea119098511d401bc618
|
5
5
|
JPEGOPTIM_SHA256 := 88b1eb64c2a33a2f013f068df8b0331f42c019267401ae3fa28e3277403a5ab7
|
6
6
|
LIBJPEG_SHA256 := 650250979303a649e21f87b5ccd02672af1ea6954b911342ea491f351ceb7122
|
data/image_optim_pack.gemspec
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'image_optim_pack'
|
5
|
-
s.version = '0.6.0'
|
5
|
+
s.version = '0.6.0.20191208'
|
6
6
|
s.summary = %q{Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegtran, optipng, pngcrush, pngquant}
|
7
|
-
s.homepage = "
|
7
|
+
s.homepage = "https://github.com/toy/#{s.name}"
|
8
8
|
s.authors = ['Ivan Kuchin']
|
9
9
|
s.license = 'MIT'
|
10
10
|
|
data/script/livecheck
CHANGED
@@ -178,7 +178,7 @@ gifsicle:
|
|
178
178
|
url: https://www.lcdf.org/gifsicle/
|
179
179
|
regexp: gifsicle-(\d+(?:\.\d+)*)\.tar\.gz
|
180
180
|
jhead:
|
181
|
-
url:
|
181
|
+
url: https://www.sentex.ca/~mwandel/jhead/
|
182
182
|
regexp: jhead-(\d+(?:\.\d+)*)
|
183
183
|
jpegoptim:
|
184
184
|
url: https://github.com/tjko/jpegoptim/releases.atom
|
@@ -187,7 +187,7 @@ jpegarchive:
|
|
187
187
|
url: https://github.com/danielgtaylor/jpeg-archive/releases.atom
|
188
188
|
regexp: <title>JPEG-Archive (\d+(?:\.\d+)*)</title>
|
189
189
|
libjpeg:
|
190
|
-
url:
|
190
|
+
url: https://www.ijg.org/files/
|
191
191
|
regexp: jpegsrc.v(.*?).tar.gz
|
192
192
|
libmozjpeg:
|
193
193
|
url: https://github.com/mozilla/mozjpeg/releases.atom
|
data/vendor/darwin-i386/jhead
CHANGED
Binary file
|
data/vendor/darwin-x86_64/jhead
CHANGED
Binary file
|
data/vendor/linux-i686/jhead
CHANGED
Binary file
|
data/vendor/linux-x86_64/jhead
CHANGED
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.6.0
|
4
|
+
version: 0.6.0.20191208
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Kuchin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08
|
11
|
+
date: 2019-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: image_optim
|
@@ -181,13 +181,13 @@ files:
|
|
181
181
|
- vendor/linux-x86_64/optipng
|
182
182
|
- vendor/linux-x86_64/pngcrush
|
183
183
|
- vendor/linux-x86_64/pngquant
|
184
|
-
homepage:
|
184
|
+
homepage: https://github.com/toy/image_optim_pack
|
185
185
|
licenses:
|
186
186
|
- MIT
|
187
187
|
metadata:
|
188
188
|
bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
|
189
189
|
changelog_uri: https://github.com/toy/image_optim_pack/blob/master/CHANGELOG.markdown
|
190
|
-
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.6.0
|
190
|
+
documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.6.0.20191208
|
191
191
|
source_code_uri: https://github.com/toy/image_optim_pack
|
192
192
|
post_install_message:
|
193
193
|
rdoc_options: []
|
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
204
204
|
- !ruby/object:Gem::Version
|
205
205
|
version: '0'
|
206
206
|
requirements: []
|
207
|
-
rubygems_version: 3.0.
|
207
|
+
rubygems_version: 3.0.6
|
208
208
|
signing_key:
|
209
209
|
specification_version: 4
|
210
210
|
summary: 'Precompiled binaries for image_optim: advpng, gifsicle, jhead, jpeg-recompress,
|