image_optim_pack 0.6.0.20201024 → 0.7.0
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 +3 -0
- data/.travis.yml +2 -2
- data/CHANGELOG.markdown +8 -0
- data/Makefile +5 -8
- data/README.markdown +1 -1
- data/Vagrantfile +2 -2
- data/boxes/definitions/centos-amd64/definition.rb +3 -3
- data/boxes/definitions/centos-i386/definition.rb +3 -3
- data/boxes/definitions/centos-postinstall.sh +0 -4
- data/checksums.mk +2 -2
- data/image_optim_pack.gemspec +1 -1
- data/script/run +1 -1
- data/vendor/darwin-x86_64/advpng +0 -0
- data/vendor/darwin-x86_64/gifsicle +0 -0
- data/vendor/darwin-x86_64/jhead +0 -0
- data/vendor/darwin-x86_64/jpeg-recompress +0 -0
- data/vendor/darwin-x86_64/jpegoptim +0 -0
- data/vendor/darwin-x86_64/jpegtran +0 -0
- data/vendor/darwin-x86_64/libjpeg.dylib +0 -0
- data/vendor/darwin-x86_64/libpng.dylib +0 -0
- data/vendor/darwin-x86_64/libz.dylib +0 -0
- data/vendor/darwin-x86_64/optipng +0 -0
- data/vendor/darwin-x86_64/pngcrush +0 -0
- data/vendor/darwin-x86_64/pngquant +0 -0
- data/vendor/linux-i686/advpng +0 -0
- data/vendor/linux-i686/gifsicle +0 -0
- data/vendor/linux-i686/jhead +0 -0
- data/vendor/linux-i686/jpeg-recompress +0 -0
- data/vendor/linux-i686/jpegoptim +0 -0
- data/vendor/linux-i686/jpegtran +0 -0
- data/vendor/linux-i686/libjpeg.so +0 -0
- data/vendor/linux-i686/libpng.so +0 -0
- data/vendor/linux-i686/libz.so +0 -0
- data/vendor/linux-i686/optipng +0 -0
- data/vendor/linux-i686/pngcrush +0 -0
- data/vendor/linux-i686/pngquant +0 -0
- data/vendor/linux-x86_64/advpng +0 -0
- data/vendor/linux-x86_64/gifsicle +0 -0
- data/vendor/linux-x86_64/jhead +0 -0
- data/vendor/linux-x86_64/jpeg-recompress +0 -0
- data/vendor/linux-x86_64/jpegoptim +0 -0
- data/vendor/linux-x86_64/jpegtran +0 -0
- data/vendor/linux-x86_64/libjpeg.so +0 -0
- data/vendor/linux-x86_64/libpng.so +0 -0
- data/vendor/linux-x86_64/libz.so +0 -0
- data/vendor/linux-x86_64/optipng +0 -0
- data/vendor/linux-x86_64/pngcrush +0 -0
- data/vendor/linux-x86_64/pngquant +0 -0
- metadata +3 -16
- data/image_optim_pack-darwin-x86.gemspec +0 -3
- data/vendor/darwin-i386/advpng +0 -0
- data/vendor/darwin-i386/gifsicle +0 -0
- data/vendor/darwin-i386/jhead +0 -0
- data/vendor/darwin-i386/jpeg-recompress +0 -0
- data/vendor/darwin-i386/jpegoptim +0 -0
- data/vendor/darwin-i386/jpegtran +0 -0
- data/vendor/darwin-i386/libjpeg.dylib +0 -0
- data/vendor/darwin-i386/libpng.dylib +0 -0
- data/vendor/darwin-i386/libz.dylib +0 -0
- data/vendor/darwin-i386/optipng +0 -0
- data/vendor/darwin-i386/pngcrush +0 -0
- data/vendor/darwin-i386/pngquant +0 -0
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: d4072bcc33e2c9c65cbb61203e24f996a28143d9f2bc2c17a369c4a1c84d7d20
         | 
| 4 | 
            +
              data.tar.gz: e588e07f04ebcba76de3aea586f837330c0d565efc9e54128b0698fa59071f98
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 319738df8f69458d56d010e5ddcda4bf9c36cce16bc484d4d74941c97f183e31a3a416dea2f9ca36a1aff2696a4292ad731840cf127e5b640a5cd7e2db9f22f5
         | 
| 7 | 
            +
              data.tar.gz: 887dbaf8497141aac705242f8ca1afdb0818cf01c6b9c5f6b942b75c149624e9347cd6170c77777d794d3ad8999a95fbcd3e37ced9eba3a8aca1d9ef7ea1c78b
         | 
    
        data/.rubocop.yml
    CHANGED
    
    
    
        data/.travis.yml
    CHANGED
    
    
    
        data/CHANGELOG.markdown
    CHANGED
    
    | @@ -2,6 +2,14 @@ | |
| 2 2 |  | 
| 3 3 | 
             
            ## unreleased
         | 
| 4 4 |  | 
| 5 | 
            +
            ## v0.7.0 (2020-12-05)
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * libmozjpeg 4.0.0 [@toy](https://github.com/toy)
         | 
| 8 | 
            +
            * Set darwin deployment target to 10.9 [@toy](https://github.com/toy)
         | 
| 9 | 
            +
            * Remove 32 bit (i386) binaries/platform on darwin [@toy](https://github.com/toy)
         | 
| 10 | 
            +
            * Switch to centos 7 for linux builds as 6.9 is outdated [@toy](https://github.com/toy)
         | 
| 11 | 
            +
            * pngquant 2.13.1 [@toy](https://github.com/toy)
         | 
| 12 | 
            +
             | 
| 5 13 | 
             
            ## v0.6.0.20201024 (2020-10-24)
         | 
| 6 14 |  | 
| 7 15 | 
             
            * pngquant 2.13.0 [@toy](https://github.com/toy)
         | 
    
        data/Makefile
    CHANGED
    
    | @@ -8,12 +8,12 @@ JHEAD_VER := 3.04 | |
| 8 8 | 
             
            JPEGARCHIVE_VER := 2.2.0
         | 
| 9 9 | 
             
            JPEGOPTIM_VER := 1.4.6
         | 
| 10 10 | 
             
            LIBJPEG_VER := 9d
         | 
| 11 | 
            -
            LIBMOZJPEG_VER :=  | 
| 11 | 
            +
            LIBMOZJPEG_VER := 4.0.0
         | 
| 12 12 | 
             
            LIBPNG_VER := 1.6.37
         | 
| 13 13 | 
             
            LIBZ_VER := 1.2.11
         | 
| 14 14 | 
             
            OPTIPNG_VER := 0.7.7
         | 
| 15 15 | 
             
            PNGCRUSH_VER := 1.8.13
         | 
| 16 | 
            -
            PNGQUANT_VER := 2.13. | 
| 16 | 
            +
            PNGQUANT_VER := 2.13.1
         | 
| 17 17 |  | 
| 18 18 | 
             
            # ====== CHECKSUMS ======
         | 
| 19 19 |  | 
| @@ -327,7 +327,7 @@ export CPPFLAGS = $(GCC_FLAGS) | |
| 327 327 | 
             
            export LDFLAGS = $(GCC_FLAGS)
         | 
| 328 328 |  | 
| 329 329 | 
             
            ifdef IS_DARWIN
         | 
| 330 | 
            -
            export MACOSX_DEPLOYMENT_TARGET := 10. | 
| 330 | 
            +
            export MACOSX_DEPLOYMENT_TARGET := 10.9
         | 
| 331 331 | 
             
            GCC_FLAGS += -arch $(ARCH)
         | 
| 332 332 | 
             
            CXXFLAGS += -stdlib=libc++
         | 
| 333 333 | 
             
            endif
         | 
| @@ -388,11 +388,8 @@ endif | |
| 388 388 |  | 
| 389 389 | 
             
            ## libmozjpeg
         | 
| 390 390 | 
             
            $(LIBMOZJPEG_TARGET) :
         | 
| 391 | 
            -
            	cd $(DIR) &&  | 
| 392 | 
            -
            	cd $(DIR) &&  | 
| 393 | 
            -
            	cd $(DIR)/simd && $(MAKE)
         | 
| 394 | 
            -
            	cd $(DIR) && $(MAKE) libjpeg.la
         | 
| 395 | 
            -
            	cd $(DIR) && $(ln_s) .libs/libjpeg.a .
         | 
| 391 | 
            +
            	cd $(DIR) && cmake -DPNG_SUPPORTED=0 .
         | 
| 392 | 
            +
            	cd $(DIR) && $(MAKE) jpeg-static
         | 
| 396 393 |  | 
| 397 394 | 
             
            ## libpng
         | 
| 398 395 | 
             
            $(eval $(call depend,LIBPNG,LIBZ))
         | 
    
        data/README.markdown
    CHANGED
    
    | @@ -8,7 +8,7 @@ | |
| 8 8 |  | 
| 9 9 | 
             
            Precompiled binaries for [`image_optim`](https://github.com/toy/image_optim).
         | 
| 10 10 |  | 
| 11 | 
            -
            Contains binaries for Mac OS X (>= 10. | 
| 11 | 
            +
            Contains binaries for Mac OS X (>= 10.9, x86\_64) and Linux (i686 and x86\_64).
         | 
| 12 12 |  | 
| 13 13 | 
             
            A test application with latest `image_optim` and `image_optim_pack` is available on heroku: https://iopack.herokuapp.com/.
         | 
| 14 14 |  | 
    
        data/Vagrantfile
    CHANGED
    
    | @@ -28,9 +28,9 @@ Vagrant.configure('2') do |config| | |
| 28 28 | 
             
                      set -ex
         | 
| 29 29 | 
             
                      if command -v apt-get; then
         | 
| 30 30 | 
             
                        apt-get update
         | 
| 31 | 
            -
                        apt-get -y install rsync ntpdate make wget gcc g++ chrpath perl pkg-config autoconf automake libtool nasm
         | 
| 31 | 
            +
                        apt-get -y install rsync ntpdate make wget gcc g++ chrpath perl pkg-config autoconf automake libtool nasm cmake
         | 
| 32 32 | 
             
                      else
         | 
| 33 | 
            -
                        yum -y install rsync ntpdate make wget gcc gcc-c++ chrpath perl pkg-config autoconf automake libtool nasm
         | 
| 33 | 
            +
                        yum -y install rsync ntpdate make wget gcc gcc-c++ chrpath perl pkg-config autoconf automake libtool nasm cmake
         | 
| 34 34 | 
             
                      fi
         | 
| 35 35 | 
             
                    SH
         | 
| 36 36 | 
             
                  end
         | 
| @@ -7,9 +7,9 @@ Veewee::Session.declare({ | |
| 7 7 | 
             
              :disk_format => 'VDI',
         | 
| 8 8 | 
             
              :hostiocache => 'off',
         | 
| 9 9 | 
             
              :os_type_id => 'RedHat6_64',
         | 
| 10 | 
            -
              :iso_file => 'CentOS- | 
| 11 | 
            -
              :iso_src => 'http:// | 
| 12 | 
            -
              :iso_sha256 => ' | 
| 10 | 
            +
              :iso_file => 'CentOS-7-x86_64-Minimal-2009.iso',
         | 
| 11 | 
            +
              :iso_src => 'http://linux.darkpenguin.net/distros/CentOS/7.9.2009/isos/x86_64/CentOS-7-x86_64-Minimal-2009.iso',
         | 
| 12 | 
            +
              :iso_sha256 => '07b94e6b1a0b0260b94c83d6bb76b26bf7a310dc78d7a9c7432809fb9bc6194a',
         | 
| 13 13 | 
             
              :iso_download_timeout => '1000',
         | 
| 14 14 | 
             
              :boot_wait => '10',
         | 
| 15 15 | 
             
              :boot_cmd_sequence => [
         | 
| @@ -7,9 +7,9 @@ Veewee::Session.declare({ | |
| 7 7 | 
             
              :disk_format => 'VDI',
         | 
| 8 8 | 
             
              :hostiocache => 'off',
         | 
| 9 9 | 
             
              :os_type_id => 'RedHat',
         | 
| 10 | 
            -
              :iso_file => 'CentOS- | 
| 11 | 
            -
              :iso_src => 'http:// | 
| 12 | 
            -
              :iso_sha256 => ' | 
| 10 | 
            +
              :iso_file => 'CentOS-7-i386-Minimal-2009.iso',
         | 
| 11 | 
            +
              :iso_src => 'http://linux.darkpenguin.net/distros/CentOS-AltArch/7.9.2009/isos/i386/CentOS-7-i386-Minimal-2009.iso',
         | 
| 12 | 
            +
              :iso_sha256 => 'bcbde5d345c5013fa618c38380765547be01a354883b3055f32d7067dd7b5bca',
         | 
| 13 13 | 
             
              :iso_download_timeout => '1000',
         | 
| 14 14 | 
             
              :boot_wait => '10',
         | 
| 15 15 | 
             
              :boot_cmd_sequence => [
         | 
| @@ -25,9 +25,5 @@ chown -R vagrant /home/vagrant/.ssh | |
| 25 25 |  | 
| 26 26 | 
             
            yum -y clean all
         | 
| 27 27 |  | 
| 28 | 
            -
            # Remove traces of mac address from network configuration
         | 
| 29 | 
            -
            sed -i /HWADDR/d /etc/sysconfig/network-scripts/ifcfg-eth0
         | 
| 30 | 
            -
            rm /etc/udev/rules.d/70-persistent-net.rules
         | 
| 31 | 
            -
             | 
| 32 28 | 
             
            # Zero out the free space to save space in the final image
         | 
| 33 29 | 
             
            dd if=/dev/zero of=/filler bs=1M || rm /filler
         | 
    
        data/checksums.mk
    CHANGED
    
    | @@ -4,9 +4,9 @@ JHEAD_SHA256 := ef89bbcf4f6c25ed88088cf242a47a6aedfff4f08cc7dc205bf3e2c0f10a03c9 | |
| 4 4 | 
             
            JPEGARCHIVE_SHA256 := 3da16a5abbddd925dee0379aa51d9fe0cba33da0b5703be27c13a2dda3d7ed75
         | 
| 5 5 | 
             
            JPEGOPTIM_SHA256 := 88b1eb64c2a33a2f013f068df8b0331f42c019267401ae3fa28e3277403a5ab7
         | 
| 6 6 | 
             
            LIBJPEG_SHA256 := 99cb50e48a4556bc571dadd27931955ff458aae32f68c4d9c39d624693f69c32
         | 
| 7 | 
            -
            LIBMOZJPEG_SHA256 :=  | 
| 7 | 
            +
            LIBMOZJPEG_SHA256 := 961e14e73d06a015e9b23b8af416f010187cc0bec95f6e3b0fcb28cc7e2cbdd4
         | 
| 8 8 | 
             
            LIBPNG_SHA256 := daeb2620d829575513e35fecc83f0d3791a620b9b93d800b763542ece9390fb4
         | 
| 9 9 | 
             
            LIBZ_SHA256 := c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
         | 
| 10 10 | 
             
            OPTIPNG_SHA256 := 4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452
         | 
| 11 11 | 
             
            PNGCRUSH_SHA256 := fed0aaf5c098aa8c7f78c75365cd18d7341417326ecbdba547876b7b4f3df4be
         | 
| 12 | 
            -
            PNGQUANT_SHA256 :=  | 
| 12 | 
            +
            PNGQUANT_SHA256 := 4b911a11aa0c35d364b608c917d13002126185c8c314ba4aa706b62fd6a95a7a
         | 
    
        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. | 
| 5 | 
            +
              s.version     = '0.7.0'
         | 
| 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']
         | 
    
        data/script/run
    CHANGED
    
    
    
        data/vendor/darwin-x86_64/advpng
    CHANGED
    
    | Binary file | 
| Binary file | 
    
        data/vendor/darwin-x86_64/jhead
    CHANGED
    
    | Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
    
        data/vendor/linux-i686/advpng
    CHANGED
    
    | Binary file | 
    
        data/vendor/linux-i686/gifsicle
    CHANGED
    
    | Binary file | 
    
        data/vendor/linux-i686/jhead
    CHANGED
    
    | Binary file | 
| Binary file | 
    
        data/vendor/linux-i686/jpegoptim
    CHANGED
    
    | Binary file | 
    
        data/vendor/linux-i686/jpegtran
    CHANGED
    
    | Binary file | 
| Binary file | 
    
        data/vendor/linux-i686/libpng.so
    CHANGED
    
    | Binary file | 
    
        data/vendor/linux-i686/libz.so
    CHANGED
    
    | Binary file | 
    
        data/vendor/linux-i686/optipng
    CHANGED
    
    | Binary file | 
    
        data/vendor/linux-i686/pngcrush
    CHANGED
    
    | Binary file | 
    
        data/vendor/linux-i686/pngquant
    CHANGED
    
    | Binary file | 
    
        data/vendor/linux-x86_64/advpng
    CHANGED
    
    | Binary file | 
| Binary file | 
    
        data/vendor/linux-x86_64/jhead
    CHANGED
    
    | Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
    
        data/vendor/linux-x86_64/libz.so
    CHANGED
    
    | Binary file | 
    
        data/vendor/linux-x86_64/optipng
    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. | 
| 4 | 
            +
              version: 0.7.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Ivan Kuchin
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2020- | 
| 11 | 
            +
            date: 2020-12-05 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: image_optim
         | 
| @@ -120,7 +120,6 @@ files: | |
| 120 120 | 
             
            - boxes/definitions/centos-i386/ks.cfg
         | 
| 121 121 | 
             
            - boxes/definitions/centos-postinstall.sh
         | 
| 122 122 | 
             
            - checksums.mk
         | 
| 123 | 
            -
            - image_optim_pack-darwin-x86.gemspec
         | 
| 124 123 | 
             
            - image_optim_pack-darwin-x86_64.gemspec
         | 
| 125 124 | 
             
            - image_optim_pack-linux-x86.gemspec
         | 
| 126 125 | 
             
            - image_optim_pack-linux-x86_64.gemspec
         | 
| @@ -133,18 +132,6 @@ files: | |
| 133 132 | 
             
            - spec/image_optim/pack_spec.rb
         | 
| 134 133 | 
             
            - spec/image_optim_spec.rb
         | 
| 135 134 | 
             
            - spec/spec_helper.rb
         | 
| 136 | 
            -
            - vendor/darwin-i386/advpng
         | 
| 137 | 
            -
            - vendor/darwin-i386/gifsicle
         | 
| 138 | 
            -
            - vendor/darwin-i386/jhead
         | 
| 139 | 
            -
            - vendor/darwin-i386/jpeg-recompress
         | 
| 140 | 
            -
            - vendor/darwin-i386/jpegoptim
         | 
| 141 | 
            -
            - vendor/darwin-i386/jpegtran
         | 
| 142 | 
            -
            - vendor/darwin-i386/libjpeg.dylib
         | 
| 143 | 
            -
            - vendor/darwin-i386/libpng.dylib
         | 
| 144 | 
            -
            - vendor/darwin-i386/libz.dylib
         | 
| 145 | 
            -
            - vendor/darwin-i386/optipng
         | 
| 146 | 
            -
            - vendor/darwin-i386/pngcrush
         | 
| 147 | 
            -
            - vendor/darwin-i386/pngquant
         | 
| 148 135 | 
             
            - vendor/darwin-x86_64/advpng
         | 
| 149 136 | 
             
            - vendor/darwin-x86_64/gifsicle
         | 
| 150 137 | 
             
            - vendor/darwin-x86_64/jhead
         | 
| @@ -187,7 +174,7 @@ licenses: | |
| 187 174 | 
             
            metadata:
         | 
| 188 175 | 
             
              bug_tracker_uri: https://github.com/toy/image_optim_pack/issues
         | 
| 189 176 | 
             
              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. | 
| 177 | 
            +
              documentation_uri: https://www.rubydoc.info/gems/image_optim_pack/0.7.0
         | 
| 191 178 | 
             
              source_code_uri: https://github.com/toy/image_optim_pack
         | 
| 192 179 | 
             
            post_install_message:
         | 
| 193 180 | 
             
            rdoc_options: []
         | 
    
        data/vendor/darwin-i386/advpng
    DELETED
    
    | Binary file | 
    
        data/vendor/darwin-i386/gifsicle
    DELETED
    
    | Binary file | 
    
        data/vendor/darwin-i386/jhead
    DELETED
    
    | Binary file | 
| Binary file | 
| Binary file | 
    
        data/vendor/darwin-i386/jpegtran
    DELETED
    
    | Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
    
        data/vendor/darwin-i386/optipng
    DELETED
    
    | Binary file | 
    
        data/vendor/darwin-i386/pngcrush
    DELETED
    
    | Binary file | 
    
        data/vendor/darwin-i386/pngquant
    DELETED
    
    | Binary file |