image_compressor_pack 0.1.3 → 1.0.0.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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +7 -4
- data/CHANGELOG.md +4 -0
- data/README.md +25 -2
- data/Rakefile +3 -3
- data/image_compressor_pack.gemspec +1 -2
- data/lib/image_compressor_pack/dynamically_linked_recipes.yml +24 -21
- data/lib/image_compressor_pack/statically_linked_recipes.yml +25 -22
- data/lib/image_compressor_pack/version.rb +1 -1
- data/ports/archives/advancecomp-1.22.tar.gz +0 -0
- data/ports/archives/jpegoptim-1.4.4.tar.gz +0 -0
- data/ports/archives/lcms2-2.8.tar.gz +0 -0
- data/ports/archives/libpng-1.6.26.tar.gz +0 -0
- data/ports/archives/nasm-2.12.02.tar.gz +0 -0
- data/ports/archives/pngcrush-1.8.10.tar.gz +0 -0
- data/ports/archives/pngquant-2.8.0-src.tar.gz +0 -0
- data/ports/patches/advancecomp/0001-Add-missing-libdeflate-header-file.patch +305 -0
- data/ports/patches/libpng/0001-Do-not-build-binary-utilities.patch +211 -117
- data/ports/patches/pngcrush/0001-Add-an-install-task.patch +7 -7
- data/ports/patches/pngcrush/0002-Add-a-configure-script.patch +3 -3
- data/ports/patches/pngcrush/0003-Use-cc-by-default-instead-of-gcc.patch +7 -16
- data/ports/patches/pngcrush/0004-Produce-a-static-binary.patch +6 -6
- data/ports/patches/pngquant/0001-Work-around-mini-portile-s-configure-invocation.patch +25 -19
- data/ports/patches/pngquant/0002-Add-default-LDFLAGS.patch +4 -4
- data/ports/patches/pngquant/0003-Disable-libpng-check.patch +4 -4
- data/ports/patches/pngquant/0004-Remove-libz-check.patch +5 -5
- data/ports/patches/pngquant/0005-Remove-lcms2-check.patch +5 -5
- data/ports/patches/pngquant/0006-Do-not-build-static-binary.patch +4 -4
- data/ports/patches/pngquant/0007-Use-cc-instead-of-gcc-by-default.patch +4 -4
- metadata +12 -15
- metadata.gz.sig +0 -0
- data/bin/console +0 -14
- data/bin/setup +0 -7
- data/ports/archives/2.7.1.tar.gz +0 -0
- data/ports/archives/advancecomp-1.20.tar.gz +0 -0
- data/ports/archives/jpegoptim-1.4.3.tar.gz +0 -0
- data/ports/archives/lcms2-2.7.tar.gz +0 -0
- data/ports/archives/libpng-1.6.21.tar.gz +0 -0
- data/ports/archives/nasm-2.12.01.tar.gz +0 -0
- data/ports/archives/pngcrush-1.8.1.tar.gz +0 -0
- data/release/x86-linux/Vagrantfile +0 -84
- data/release/x86_64-freebsd10/Vagrantfile +0 -86
- data/release/x86_64-linux/Vagrantfile +0 -84
metadata.gz.sig
CHANGED
|
Binary file
|
data/bin/console
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
|
|
3
|
-
require "bundler/setup"
|
|
4
|
-
require "image_compressor_pack"
|
|
5
|
-
|
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
|
8
|
-
|
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
10
|
-
# require "pry"
|
|
11
|
-
# Pry.start
|
|
12
|
-
|
|
13
|
-
require "irb"
|
|
14
|
-
IRB.start
|
data/bin/setup
DELETED
data/ports/archives/2.7.1.tar.gz
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
# -*- mode: ruby -*-
|
|
2
|
-
# vi: set ft=ruby :
|
|
3
|
-
|
|
4
|
-
# All Vagrant configuration is done below. The "2" in Vagrant.configure
|
|
5
|
-
# configures the configuration version (we support older styles for
|
|
6
|
-
# backwards compatibility). Please don't change it unless you know what
|
|
7
|
-
# you're doing.
|
|
8
|
-
Vagrant.configure(2) do |config|
|
|
9
|
-
# The most common configuration options are documented and commented below.
|
|
10
|
-
# For a complete reference, please see the online documentation at
|
|
11
|
-
# https://docs.vagrantup.com.
|
|
12
|
-
|
|
13
|
-
# Every Vagrant development environment requires a box. You can search for
|
|
14
|
-
# boxes at https://atlas.hashicorp.com/search.
|
|
15
|
-
# https://atlas.hashicorp.com/boxcutter/boxes/debian80-i386
|
|
16
|
-
config.vm.box = "ubuntu/trusty32"
|
|
17
|
-
|
|
18
|
-
# Disable automatic box update checking. If you disable this, then
|
|
19
|
-
# boxes will only be checked for updates when the user runs
|
|
20
|
-
# `vagrant box outdated`. This is not recommended.
|
|
21
|
-
# config.vm.box_check_update = false
|
|
22
|
-
|
|
23
|
-
# Create a forwarded port mapping which allows access to a specific port
|
|
24
|
-
# within the machine from a port on the host machine. In the example below,
|
|
25
|
-
# accessing "localhost:8080" will access port 80 on the guest machine.
|
|
26
|
-
# config.vm.network "forwarded_port", guest: 80, host: 8080
|
|
27
|
-
|
|
28
|
-
# Create a private network, which allows host-only access to the machine
|
|
29
|
-
# using a specific IP.
|
|
30
|
-
# config.vm.network "private_network", ip: "192.168.33.10"
|
|
31
|
-
|
|
32
|
-
# Create a public network, which generally matched to bridged network.
|
|
33
|
-
# Bridged networks make the machine appear as another physical device on
|
|
34
|
-
# your network.
|
|
35
|
-
# config.vm.network "public_network"
|
|
36
|
-
|
|
37
|
-
# Share an additional folder to the guest VM. The first argument is
|
|
38
|
-
# the path on the host to the actual folder. The second argument is
|
|
39
|
-
# the path on the guest to mount the folder. And the optional third
|
|
40
|
-
# argument is a set of non-required options.
|
|
41
|
-
config.vm.synced_folder "../..", "/image_compressor_pack"
|
|
42
|
-
|
|
43
|
-
# Provider-specific configuration so you can fine-tune various
|
|
44
|
-
# backing providers for Vagrant. These expose provider-specific options.
|
|
45
|
-
# Example for VirtualBox:
|
|
46
|
-
#
|
|
47
|
-
# config.vm.provider "virtualbox" do |vb|
|
|
48
|
-
# # Display the VirtualBox GUI when booting the machine
|
|
49
|
-
# vb.gui = true
|
|
50
|
-
#
|
|
51
|
-
# # Customize the amount of memory on the VM:
|
|
52
|
-
# vb.memory = "1024"
|
|
53
|
-
# end
|
|
54
|
-
#
|
|
55
|
-
# View the documentation for the provider you are using for more
|
|
56
|
-
# information on available options.
|
|
57
|
-
config.vm.provider :virtualbox do |vb|
|
|
58
|
-
vb.memory = "2048"
|
|
59
|
-
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
|
|
60
|
-
vb.customize ["modifyvm", :id, "--audio", "none"]
|
|
61
|
-
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
|
|
65
|
-
# such as FTP and Heroku are also available. See the documentation at
|
|
66
|
-
# https://docs.vagrantup.com/v2/push/atlas.html for more information.
|
|
67
|
-
# config.push.define "atlas" do |push|
|
|
68
|
-
# push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
|
|
69
|
-
# end
|
|
70
|
-
|
|
71
|
-
# Enable provisioning with a shell script. Additional provisioners such as
|
|
72
|
-
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
|
|
73
|
-
# documentation for more information about their specific syntax and use.
|
|
74
|
-
config.vm.provision "shell", inline: <<-SHELL
|
|
75
|
-
sudo apt-get update
|
|
76
|
-
sudo apt-get install -y software-properties-common
|
|
77
|
-
sudo apt-add-repository ppa:brightbox/ruby-ng
|
|
78
|
-
sudo apt-get update
|
|
79
|
-
sudo apt-get dist-upgrade -y
|
|
80
|
-
sudo apt-get install -y build-essential git ruby-switch ruby2.3 ruby2.3-dev
|
|
81
|
-
sudo ruby-switch --set ruby2.3
|
|
82
|
-
sudo gem install bundler
|
|
83
|
-
SHELL
|
|
84
|
-
end
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
# -*- mode: ruby -*-
|
|
2
|
-
# vi: set ft=ruby :
|
|
3
|
-
|
|
4
|
-
# All Vagrant configuration is done below. The "2" in Vagrant.configure
|
|
5
|
-
# configures the configuration version (we support older styles for
|
|
6
|
-
# backwards compatibility). Please don't change it unless you know what
|
|
7
|
-
# you're doing.
|
|
8
|
-
Vagrant.configure(2) do |config|
|
|
9
|
-
# The most common configuration options are documented and commented below.
|
|
10
|
-
# For a complete reference, please see the online documentation at
|
|
11
|
-
# https://docs.vagrantup.com.
|
|
12
|
-
|
|
13
|
-
# Every Vagrant development environment requires a box. You can search for
|
|
14
|
-
# boxes at https://atlas.hashicorp.com/search.
|
|
15
|
-
config.vm.box = "freebsd/FreeBSD-10.3-RELEASE"
|
|
16
|
-
|
|
17
|
-
# Disable automatic box update checking. If you disable this, then
|
|
18
|
-
# boxes will only be checked for updates when the user runs
|
|
19
|
-
# `vagrant box outdated`. This is not recommended.
|
|
20
|
-
# config.vm.box_check_update = false
|
|
21
|
-
|
|
22
|
-
# Create a forwarded port mapping which allows access to a specific port
|
|
23
|
-
# within the machine from a port on the host machine. In the example below,
|
|
24
|
-
# accessing "localhost:8080" will access port 80 on the guest machine.
|
|
25
|
-
# config.vm.network "forwarded_port", guest: 80, host: 8080
|
|
26
|
-
|
|
27
|
-
# Create a private network, which allows host-only access to the machine
|
|
28
|
-
# using a specific IP.
|
|
29
|
-
# config.vm.network "private_network", ip: "192.168.33.10"
|
|
30
|
-
config.vm.network "private_network", ip: "192.168.33.10"
|
|
31
|
-
|
|
32
|
-
# Create a public network, which generally matched to bridged network.
|
|
33
|
-
# Bridged networks make the machine appear as another physical device on
|
|
34
|
-
# your network.
|
|
35
|
-
# config.vm.network "public_network"
|
|
36
|
-
|
|
37
|
-
# Share an additional folder to the guest VM. The first argument is
|
|
38
|
-
# the path on the host to the actual folder. The second argument is
|
|
39
|
-
# the path on the guest to mount the folder. And the optional third
|
|
40
|
-
# argument is a set of non-required options.
|
|
41
|
-
config.vm.synced_folder ".", "/vagrant", nfs: true
|
|
42
|
-
config.vm.synced_folder "../..", "/image_compressor_pack", nfs: true
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
# Provider-specific configuration so you can fine-tune various
|
|
46
|
-
# backing providers for Vagrant. These expose provider-specific options.
|
|
47
|
-
# Example for VirtualBox:
|
|
48
|
-
#
|
|
49
|
-
# config.vm.provider "virtualbox" do |vb|
|
|
50
|
-
# # Display the VirtualBox GUI when booting the machine
|
|
51
|
-
# vb.gui = true
|
|
52
|
-
#
|
|
53
|
-
# # Customize the amount of memory on the VM:
|
|
54
|
-
# vb.memory = "1024"
|
|
55
|
-
# end
|
|
56
|
-
#
|
|
57
|
-
# View the documentation for the provider you are using for more
|
|
58
|
-
# information on available options.
|
|
59
|
-
# Various settings as suggested by the FreeBSD community
|
|
60
|
-
config.ssh.shell = "sh"
|
|
61
|
-
config.vm.base_mac = "080030D25D61"
|
|
62
|
-
config.vm.provider :virtualbox do |vb|
|
|
63
|
-
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
|
|
64
|
-
vb.customize ["modifyvm", :id, "--audio", "none"]
|
|
65
|
-
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
|
|
66
|
-
vb.customize ["modifyvm", :id, "--nictype2", "virtio"]
|
|
67
|
-
end
|
|
68
|
-
|
|
69
|
-
# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
|
|
70
|
-
# such as FTP and Heroku are also available. See the documentation at
|
|
71
|
-
# https://docs.vagrantup.com/v2/push/atlas.html for more information.
|
|
72
|
-
# config.push.define "atlas" do |push|
|
|
73
|
-
# push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
|
|
74
|
-
# end
|
|
75
|
-
|
|
76
|
-
# Enable provisioning with a shell script. Additional provisioners such as
|
|
77
|
-
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
|
|
78
|
-
# documentation for more information about their specific syntax and use.
|
|
79
|
-
# config.vm.provision "shell", inline: <<-SHELL
|
|
80
|
-
# sudo apt-get update
|
|
81
|
-
# sudo apt-get install -y apache2
|
|
82
|
-
# SHELL
|
|
83
|
-
config.vm.provision "shell", inline: <<-SHELL
|
|
84
|
-
pkg install -y bash gmake ruby rubygem-bundler git coreutils
|
|
85
|
-
SHELL
|
|
86
|
-
end
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
# -*- mode: ruby -*-
|
|
2
|
-
# vi: set ft=ruby :
|
|
3
|
-
|
|
4
|
-
# All Vagrant configuration is done below. The "2" in Vagrant.configure
|
|
5
|
-
# configures the configuration version (we support older styles for
|
|
6
|
-
# backwards compatibility). Please don't change it unless you know what
|
|
7
|
-
# you're doing.
|
|
8
|
-
Vagrant.configure(2) do |config|
|
|
9
|
-
# The most common configuration options are documented and commented below.
|
|
10
|
-
# For a complete reference, please see the online documentation at
|
|
11
|
-
# https://docs.vagrantup.com.
|
|
12
|
-
|
|
13
|
-
# Every Vagrant development environment requires a box. You can search for
|
|
14
|
-
# boxes at https://atlas.hashicorp.com/search.
|
|
15
|
-
# https://atlas.hashicorp.com/quarkslab/boxes/debian-8.0-amd64
|
|
16
|
-
config.vm.box = "ubuntu/trusty64"
|
|
17
|
-
|
|
18
|
-
# Disable automatic box update checking. If you disable this, then
|
|
19
|
-
# boxes will only be checked for updates when the user runs
|
|
20
|
-
# `vagrant box outdated`. This is not recommended.
|
|
21
|
-
# config.vm.box_check_update = false
|
|
22
|
-
|
|
23
|
-
# Create a forwarded port mapping which allows access to a specific port
|
|
24
|
-
# within the machine from a port on the host machine. In the example below,
|
|
25
|
-
# accessing "localhost:8080" will access port 80 on the guest machine.
|
|
26
|
-
# config.vm.network "forwarded_port", guest: 80, host: 8080
|
|
27
|
-
|
|
28
|
-
# Create a private network, which allows host-only access to the machine
|
|
29
|
-
# using a specific IP.
|
|
30
|
-
# config.vm.network "private_network", ip: "192.168.33.10"
|
|
31
|
-
|
|
32
|
-
# Create a public network, which generally matched to bridged network.
|
|
33
|
-
# Bridged networks make the machine appear as another physical device on
|
|
34
|
-
# your network.
|
|
35
|
-
# config.vm.network "public_network"
|
|
36
|
-
|
|
37
|
-
# Share an additional folder to the guest VM. The first argument is
|
|
38
|
-
# the path on the host to the actual folder. The second argument is
|
|
39
|
-
# the path on the guest to mount the folder. And the optional third
|
|
40
|
-
# argument is a set of non-required options.
|
|
41
|
-
config.vm.synced_folder "../..", "/image_compressor_pack"
|
|
42
|
-
|
|
43
|
-
# Provider-specific configuration so you can fine-tune various
|
|
44
|
-
# backing providers for Vagrant. These expose provider-specific options.
|
|
45
|
-
# Example for VirtualBox:
|
|
46
|
-
#
|
|
47
|
-
# config.vm.provider "virtualbox" do |vb|
|
|
48
|
-
# # Display the VirtualBox GUI when booting the machine
|
|
49
|
-
# vb.gui = true
|
|
50
|
-
#
|
|
51
|
-
# # Customize the amount of memory on the VM:
|
|
52
|
-
# vb.memory = "1024"
|
|
53
|
-
# end
|
|
54
|
-
#
|
|
55
|
-
# View the documentation for the provider you are using for more
|
|
56
|
-
# information on available options.
|
|
57
|
-
config.vm.provider :virtualbox do |vb|
|
|
58
|
-
vb.memory = "2048"
|
|
59
|
-
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
|
|
60
|
-
vb.customize ["modifyvm", :id, "--audio", "none"]
|
|
61
|
-
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
|
|
65
|
-
# such as FTP and Heroku are also available. See the documentation at
|
|
66
|
-
# https://docs.vagrantup.com/v2/push/atlas.html for more information.
|
|
67
|
-
# config.push.define "atlas" do |push|
|
|
68
|
-
# push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
|
|
69
|
-
# end
|
|
70
|
-
|
|
71
|
-
# Enable provisioning with a shell script. Additional provisioners such as
|
|
72
|
-
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
|
|
73
|
-
# documentation for more information about their specific syntax and use.
|
|
74
|
-
config.vm.provision "shell", inline: <<-SHELL
|
|
75
|
-
sudo apt-get update
|
|
76
|
-
sudo apt-get install -y software-properties-common
|
|
77
|
-
sudo apt-add-repository ppa:brightbox/ruby-ng
|
|
78
|
-
sudo apt-get update
|
|
79
|
-
sudo apt-get dist-upgrade -y
|
|
80
|
-
sudo apt-get install -y build-essential git ruby-switch ruby2.3 ruby2.3-dev
|
|
81
|
-
sudo ruby-switch --set ruby2.3
|
|
82
|
-
sudo gem install bundler
|
|
83
|
-
SHELL
|
|
84
|
-
end
|