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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
From
|
|
1
|
+
From bdd59bb4dabe1ac23b004cf3fdb40a8b3e1c4aa2 Mon Sep 17 00:00:00 2001
|
|
2
2
|
From: Petko Bordjukov <bordjukov@gmail.com>
|
|
3
3
|
Date: Sun, 22 Nov 2015 18:45:07 +0200
|
|
4
4
|
Subject: [PATCH 1/4] Add an install task
|
|
@@ -8,19 +8,19 @@ Subject: [PATCH 1/4] Add an install task
|
|
|
8
8
|
1 file changed, 6 insertions(+)
|
|
9
9
|
|
|
10
10
|
diff --git a/Makefile b/Makefile
|
|
11
|
-
index
|
|
11
|
+
index f4edc3c..dbaf850 100644
|
|
12
12
|
--- a/Makefile
|
|
13
13
|
+++ b/Makefile
|
|
14
|
-
@@ -
|
|
15
|
-
|
|
16
|
-
#
|
|
14
|
+
@@ -12,6 +12,8 @@
|
|
15
|
+
|
|
16
|
+
# macros --------------------------------------------------------------------
|
|
17
17
|
|
|
18
18
|
+DESTDIR=.
|
|
19
19
|
+
|
|
20
20
|
CC = gcc
|
|
21
21
|
LD = gcc
|
|
22
22
|
RM = rm -f
|
|
23
|
-
@@ -
|
|
23
|
+
@@ -89,3 +91,7 @@ $(PNGCRUSH)$(E): $(OBJS)
|
|
24
24
|
|
|
25
25
|
clean:
|
|
26
26
|
$(RM) $(EXES) $(OBJS)
|
|
@@ -29,5 +29,5 @@ index c57c267..0391a49 100644
|
|
|
29
29
|
+ mkdir -p ${DESTDIR}/bin/
|
|
30
30
|
+ cp $(PNGCRUSH)$(E) ${DESTDIR}/bin/
|
|
31
31
|
--
|
|
32
|
-
2.
|
|
32
|
+
2.10.2
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
From
|
|
1
|
+
From cb9a2cf59b05d088a478186a0043f3513530eff4 Mon Sep 17 00:00:00 2001
|
|
2
2
|
From: Petko Bordjukov <bordjukov@gmail.com>
|
|
3
|
-
Date:
|
|
3
|
+
Date: Sat, 19 Nov 2016 12:49:12 +0200
|
|
4
4
|
Subject: [PATCH 2/4] Add a configure script
|
|
5
5
|
|
|
6
6
|
---
|
|
@@ -62,5 +62,5 @@ index 0000000..6af6f2f
|
|
|
62
62
|
+
|
|
63
63
|
+sed -i.bak "$sed_config" Makefile
|
|
64
64
|
--
|
|
65
|
-
2.
|
|
65
|
+
2.10.2
|
|
66
66
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
From
|
|
1
|
+
From 5a5a34fc2899f79983c46ebe24c83ceee2f3fc79 Mon Sep 17 00:00:00 2001
|
|
2
2
|
From: Petko Bordjukov <bordjukov@gmail.com>
|
|
3
3
|
Date: Mon, 13 Jun 2016 23:33:27 +0300
|
|
4
4
|
Subject: [PATCH 3/4] Use cc by default instead of gcc
|
|
5
5
|
|
|
6
6
|
---
|
|
7
|
-
Makefile |
|
|
8
|
-
1 file changed,
|
|
7
|
+
Makefile | 4 ++--
|
|
8
|
+
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
9
9
|
|
|
10
10
|
diff --git a/Makefile b/Makefile
|
|
11
|
-
index
|
|
11
|
+
index dbaf850..6735f96 100644
|
|
12
12
|
--- a/Makefile
|
|
13
13
|
+++ b/Makefile
|
|
14
|
-
@@ -
|
|
14
|
+
@@ -14,8 +14,8 @@
|
|
15
15
|
|
|
16
16
|
DESTDIR=.
|
|
17
17
|
|
|
@@ -21,16 +21,7 @@ index 0391a49..6f53ade 100644
|
|
|
21
21
|
+LD = cc
|
|
22
22
|
RM = rm -f
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
@@ -35,7 +35,7 @@ TOOFAR_OK=
|
|
26
|
-
#CFLAGS = -O2
|
|
27
|
-
#CFLAGS = -O2 -fomit-frame-pointer -Wall
|
|
28
|
-
#CFLAGS = -Os -fomit-frame-pointer -Wall
|
|
29
|
-
-CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -Wall -Wshadow
|
|
30
|
-
+CFLAGS = -O3 -funroll-loops -fomit-frame-pointer
|
|
31
|
-
# [note that -Wall is a gcc-specific compilation flag ("all warnings on")]
|
|
32
|
-
|
|
33
|
-
LDFLAGS =
|
|
24
|
+
# On some platforms you might need to comment this out:
|
|
34
25
|
--
|
|
35
|
-
2.
|
|
26
|
+
2.10.2
|
|
36
27
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
From
|
|
1
|
+
From 2146fa99889f5005f2979bd48aefb0805333c442 Mon Sep 17 00:00:00 2001
|
|
2
2
|
From: Petko Bordjukov <bordjukov@gmail.com>
|
|
3
3
|
Date: Thu, 9 Jun 2016 02:03:46 +0300
|
|
4
4
|
Subject: [PATCH 4/4] Produce a static binary
|
|
@@ -8,12 +8,12 @@ Subject: [PATCH 4/4] Produce a static binary
|
|
|
8
8
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
9
9
|
|
|
10
10
|
diff --git a/Makefile b/Makefile
|
|
11
|
-
index
|
|
11
|
+
index 6735f96..445e2d0 100644
|
|
12
12
|
--- a/Makefile
|
|
13
13
|
+++ b/Makefile
|
|
14
|
-
@@ -
|
|
15
|
-
|
|
16
|
-
#
|
|
14
|
+
@@ -39,7 +39,7 @@ CPPFLAGS += -DNO_GZ
|
|
15
|
+
# Cannot use this with libpng15 and later.
|
|
16
|
+
# CPPFLAGS += -DINFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR
|
|
17
17
|
|
|
18
18
|
-LDFLAGS =
|
|
19
19
|
+LDFLAGS = -static
|
|
@@ -21,5 +21,5 @@ index 6f53ade..ac4f3ab 100644
|
|
|
21
21
|
E =
|
|
22
22
|
|
|
23
23
|
--
|
|
24
|
-
2.
|
|
24
|
+
2.10.2
|
|
25
25
|
|
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
From
|
|
1
|
+
From 55530ff8670a0cff7c8d2082cfcb6ea43eab8df3 Mon Sep 17 00:00:00 2001
|
|
2
2
|
From: Petko Bordjukov <bordjukov@gmail.com>
|
|
3
3
|
Date: Thu, 9 Jun 2016 02:51:12 +0300
|
|
4
4
|
Subject: [PATCH 1/7] Work around mini portile's configure invocation
|
|
5
5
|
|
|
6
6
|
---
|
|
7
|
-
configure |
|
|
8
|
-
configure.bash |
|
|
9
|
-
2 files changed,
|
|
7
|
+
configure | 474 +--------------------------------------------------------
|
|
8
|
+
configure.bash | 472 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
9
|
+
2 files changed, 474 insertions(+), 472 deletions(-)
|
|
10
10
|
create mode 100755 configure.bash
|
|
11
11
|
|
|
12
12
|
diff --git a/configure b/configure
|
|
13
|
-
index
|
|
13
|
+
index cb4d3ad..49e92d0 100755
|
|
14
14
|
--- a/configure
|
|
15
15
|
+++ b/configure
|
|
16
|
-
@@ -1,
|
|
16
|
+
@@ -1,472 +1,2 @@
|
|
17
17
|
-#!/usr/bin/env bash
|
|
18
18
|
-
|
|
19
19
|
-CONFIG="config.mk"
|
|
20
20
|
-PREFIX="/usr/local"
|
|
21
|
+
-
|
|
22
|
+
-test -f lib/libimagequant.h || { git submodule init && git submodule update; }
|
|
21
23
|
-VERSION=$(grep LIQ_VERSION_STRING lib/libimagequant.h | grep -Eo "2\.[0-9.]+")
|
|
22
24
|
-
|
|
23
25
|
-DEBUG=
|
|
@@ -152,12 +154,12 @@ index 7308b9d..49e92d0 100755
|
|
|
152
154
|
-
|
|
153
155
|
-# returns first matching file in directory
|
|
154
156
|
-find_f() {
|
|
155
|
-
- echo $(find "$1" -not -type d -name "$2" -print -quit 2> /dev/null)
|
|
157
|
+
- echo $(find "$1" -not -path '*/.git/*' -not -type d -name "$2" -print -quit 2> /dev/null)
|
|
156
158
|
-}
|
|
157
159
|
-
|
|
158
160
|
-# returns first matching file in directory (no symlinks)
|
|
159
161
|
-find_h() {
|
|
160
|
-
- echo $(find "$1" -type f -name "$2" -print -quit 2> /dev/null)
|
|
162
|
+
- echo $(find "$1" -not -path '*/.*/*' -type f -name "$2" -print -quit 2> /dev/null)
|
|
161
163
|
-}
|
|
162
164
|
-
|
|
163
165
|
-find_pkgconfig() {
|
|
@@ -264,15 +266,15 @@ index 7308b9d..49e92d0 100755
|
|
|
264
266
|
-status "Compiler" "$CC"
|
|
265
267
|
-
|
|
266
268
|
-# init flags
|
|
267
|
-
-CFLAGS=${CFLAGS:--
|
|
269
|
+
-CFLAGS=${CFLAGS:--fno-math-errno -funroll-loops -fomit-frame-pointer -Wall}
|
|
268
270
|
-cflags "-std=c99 -I."
|
|
269
271
|
-
|
|
270
272
|
-# DEBUG
|
|
271
273
|
-if [ -z "$DEBUG" ]; then
|
|
272
|
-
- cflags "-DNDEBUG"
|
|
274
|
+
- cflags "-O3 -DNDEBUG"
|
|
273
275
|
- status "Debug" "no"
|
|
274
276
|
-else
|
|
275
|
-
- cflags "-g"
|
|
277
|
+
- cflags "-O1 -g"
|
|
276
278
|
- status "Debug" "yes"
|
|
277
279
|
-fi
|
|
278
280
|
-
|
|
@@ -479,6 +481,7 @@ index 7308b9d..49e92d0 100755
|
|
|
479
481
|
-CFLAGS = $CFLAGS
|
|
480
482
|
-LDFLAGS = $LDFLAGS
|
|
481
483
|
-COCOA_READER = $COCOA_READER
|
|
484
|
+
-SOLIBSUFFIX = $SOLIBSUFFIX
|
|
482
485
|
-" > "$CONFIG"
|
|
483
486
|
-
|
|
484
487
|
-# Configure static library the same way
|
|
@@ -487,14 +490,16 @@ index 7308b9d..49e92d0 100755
|
|
|
487
490
|
+./configure.bash $@
|
|
488
491
|
diff --git a/configure.bash b/configure.bash
|
|
489
492
|
new file mode 100755
|
|
490
|
-
index 0000000..
|
|
493
|
+
index 0000000..cb4d3ad
|
|
491
494
|
--- /dev/null
|
|
492
495
|
+++ b/configure.bash
|
|
493
|
-
@@ -0,0 +1,
|
|
496
|
+
@@ -0,0 +1,472 @@
|
|
494
497
|
+#!/usr/bin/env bash
|
|
495
498
|
+
|
|
496
499
|
+CONFIG="config.mk"
|
|
497
500
|
+PREFIX="/usr/local"
|
|
501
|
+
+
|
|
502
|
+
+test -f lib/libimagequant.h || { git submodule init && git submodule update; }
|
|
498
503
|
+VERSION=$(grep LIQ_VERSION_STRING lib/libimagequant.h | grep -Eo "2\.[0-9.]+")
|
|
499
504
|
+
|
|
500
505
|
+DEBUG=
|
|
@@ -629,12 +634,12 @@ index 0000000..7308b9d
|
|
|
629
634
|
+
|
|
630
635
|
+# returns first matching file in directory
|
|
631
636
|
+find_f() {
|
|
632
|
-
+ echo $(find "$1" -not -type d -name "$2" -print -quit 2> /dev/null)
|
|
637
|
+
+ echo $(find "$1" -not -path '*/.git/*' -not -type d -name "$2" -print -quit 2> /dev/null)
|
|
633
638
|
+}
|
|
634
639
|
+
|
|
635
640
|
+# returns first matching file in directory (no symlinks)
|
|
636
641
|
+find_h() {
|
|
637
|
-
+ echo $(find "$1" -type f -name "$2" -print -quit 2> /dev/null)
|
|
642
|
+
+ echo $(find "$1" -not -path '*/.*/*' -type f -name "$2" -print -quit 2> /dev/null)
|
|
638
643
|
+}
|
|
639
644
|
+
|
|
640
645
|
+find_pkgconfig() {
|
|
@@ -741,15 +746,15 @@ index 0000000..7308b9d
|
|
|
741
746
|
+status "Compiler" "$CC"
|
|
742
747
|
+
|
|
743
748
|
+# init flags
|
|
744
|
-
+CFLAGS=${CFLAGS:--
|
|
749
|
+
+CFLAGS=${CFLAGS:--fno-math-errno -funroll-loops -fomit-frame-pointer -Wall}
|
|
745
750
|
+cflags "-std=c99 -I."
|
|
746
751
|
+
|
|
747
752
|
+# DEBUG
|
|
748
753
|
+if [ -z "$DEBUG" ]; then
|
|
749
|
-
+ cflags "-DNDEBUG"
|
|
754
|
+
+ cflags "-O3 -DNDEBUG"
|
|
750
755
|
+ status "Debug" "no"
|
|
751
756
|
+else
|
|
752
|
-
+ cflags "-g"
|
|
757
|
+
+ cflags "-O1 -g"
|
|
753
758
|
+ status "Debug" "yes"
|
|
754
759
|
+fi
|
|
755
760
|
+
|
|
@@ -956,10 +961,11 @@ index 0000000..7308b9d
|
|
|
956
961
|
+CFLAGS = $CFLAGS
|
|
957
962
|
+LDFLAGS = $LDFLAGS
|
|
958
963
|
+COCOA_READER = $COCOA_READER
|
|
964
|
+
+SOLIBSUFFIX = $SOLIBSUFFIX
|
|
959
965
|
+" > "$CONFIG"
|
|
960
966
|
+
|
|
961
967
|
+# Configure static library the same way
|
|
962
968
|
+cp "$CONFIG" lib/
|
|
963
969
|
--
|
|
964
|
-
2.
|
|
970
|
+
2.10.2
|
|
965
971
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
From
|
|
1
|
+
From 385fbd4001e83ce498782b63dac7e70bb444707d Mon Sep 17 00:00:00 2001
|
|
2
2
|
From: Petko Bordjukov <bordjukov@gmail.com>
|
|
3
3
|
Date: Thu, 9 Jun 2016 02:54:43 +0300
|
|
4
4
|
Subject: [PATCH 2/7] Add default LDFLAGS
|
|
@@ -8,10 +8,10 @@ Subject: [PATCH 2/7] Add default LDFLAGS
|
|
|
8
8
|
1 file changed, 1 insertion(+)
|
|
9
9
|
|
|
10
10
|
diff --git a/configure.bash b/configure.bash
|
|
11
|
-
index
|
|
11
|
+
index cb4d3ad..25e293c 100755
|
|
12
12
|
--- a/configure.bash
|
|
13
13
|
+++ b/configure.bash
|
|
14
|
-
@@ -
|
|
14
|
+
@@ -17,6 +17,7 @@ else
|
|
15
15
|
COCOA_READER=0
|
|
16
16
|
LCMS2=auto
|
|
17
17
|
fi
|
|
@@ -20,5 +20,5 @@ index 7308b9d..a1ec1de 100755
|
|
|
20
20
|
EXTRA_LDFLAGS=
|
|
21
21
|
|
|
22
22
|
--
|
|
23
|
-
2.
|
|
23
|
+
2.10.2
|
|
24
24
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
From
|
|
1
|
+
From 690529369b17d770d9c453b574a4287ae197cd0b Mon Sep 17 00:00:00 2001
|
|
2
2
|
From: Petko Bordjukov <bordjukov@gmail.com>
|
|
3
3
|
Date: Thu, 9 Jun 2016 03:05:23 +0300
|
|
4
4
|
Subject: [PATCH 3/7] Disable libpng check
|
|
@@ -8,10 +8,10 @@ Subject: [PATCH 3/7] Disable libpng check
|
|
|
8
8
|
1 file changed, 2 insertions(+), 50 deletions(-)
|
|
9
9
|
|
|
10
10
|
diff --git a/configure.bash b/configure.bash
|
|
11
|
-
index
|
|
11
|
+
index 25e293c..984001f 100755
|
|
12
12
|
--- a/configure.bash
|
|
13
13
|
+++ b/configure.bash
|
|
14
|
-
@@ -
|
|
14
|
+
@@ -349,58 +349,10 @@ fi
|
|
15
15
|
|
|
16
16
|
# libpng
|
|
17
17
|
# try if given flags are enough
|
|
@@ -73,5 +73,5 @@ index a1ec1de..94598bf 100755
|
|
|
73
73
|
LIBPNG_CMD='`brew install libpng`'
|
|
74
74
|
else
|
|
75
75
|
--
|
|
76
|
-
2.
|
|
76
|
+
2.10.2
|
|
77
77
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
From
|
|
1
|
+
From 62f44de49aea319dbf104392671edea9fa99df9b Mon Sep 17 00:00:00 2001
|
|
2
2
|
From: Petko Bordjukov <bordjukov@gmail.com>
|
|
3
3
|
Date: Thu, 9 Jun 2016 03:07:27 +0300
|
|
4
4
|
Subject: [PATCH 4/7] Remove libz check
|
|
@@ -8,10 +8,10 @@ Subject: [PATCH 4/7] Remove libz check
|
|
|
8
8
|
1 file changed, 1 insertion(+), 6 deletions(-)
|
|
9
9
|
|
|
10
10
|
diff --git a/configure.bash b/configure.bash
|
|
11
|
-
index
|
|
11
|
+
index 984001f..842b2b5 100755
|
|
12
12
|
--- a/configure.bash
|
|
13
13
|
+++ b/configure.bash
|
|
14
|
-
@@ -
|
|
14
|
+
@@ -17,7 +17,7 @@ else
|
|
15
15
|
COCOA_READER=0
|
|
16
16
|
LCMS2=auto
|
|
17
17
|
fi
|
|
@@ -20,7 +20,7 @@ index 94598bf..0ada8a5 100755
|
|
|
20
20
|
EXTRA_CFLAGS=
|
|
21
21
|
EXTRA_LDFLAGS=
|
|
22
22
|
|
|
23
|
-
@@ -
|
|
23
|
+
@@ -361,11 +361,6 @@ if [ "$HAS_LIBPNG" -eq 0 ]; then
|
|
24
24
|
error "libpng" "not found (try: $LIBPNG_CMD)"
|
|
25
25
|
fi
|
|
26
26
|
|
|
@@ -33,5 +33,5 @@ index 94598bf..0ada8a5 100755
|
|
|
33
33
|
if [ "$LCMS2" != 0 ]; then
|
|
34
34
|
if find_library "lcms2" "lcms2" "lcms2.h" "liblcms2.a" "liblcms2.$SOLIBSUFFIX*"; then
|
|
35
35
|
--
|
|
36
|
-
2.
|
|
36
|
+
2.10.2
|
|
37
37
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
From
|
|
1
|
+
From 66f7df8065a288bc245dc3fa5938fcaaecdc95f2 Mon Sep 17 00:00:00 2001
|
|
2
2
|
From: Petko Bordjukov <bordjukov@gmail.com>
|
|
3
3
|
Date: Thu, 9 Jun 2016 03:11:07 +0300
|
|
4
4
|
Subject: [PATCH 5/7] Remove lcms2 check
|
|
@@ -8,10 +8,10 @@ Subject: [PATCH 5/7] Remove lcms2 check
|
|
|
8
8
|
1 file changed, 2 insertions(+), 15 deletions(-)
|
|
9
9
|
|
|
10
10
|
diff --git a/configure.bash b/configure.bash
|
|
11
|
-
index
|
|
11
|
+
index 842b2b5..ecf5128 100755
|
|
12
12
|
--- a/configure.bash
|
|
13
13
|
+++ b/configure.bash
|
|
14
|
-
@@ -
|
|
14
|
+
@@ -17,7 +17,7 @@ else
|
|
15
15
|
COCOA_READER=0
|
|
16
16
|
LCMS2=auto
|
|
17
17
|
fi
|
|
@@ -20,7 +20,7 @@ index 0ada8a5..4b8c80e 100755
|
|
|
20
20
|
EXTRA_CFLAGS=
|
|
21
21
|
EXTRA_LDFLAGS=
|
|
22
22
|
|
|
23
|
-
@@ -
|
|
23
|
+
@@ -361,20 +361,7 @@ if [ "$HAS_LIBPNG" -eq 0 ]; then
|
|
24
24
|
error "libpng" "not found (try: $LIBPNG_CMD)"
|
|
25
25
|
fi
|
|
26
26
|
|
|
@@ -43,5 +43,5 @@ index 0ada8a5..4b8c80e 100755
|
|
|
43
43
|
echo
|
|
44
44
|
|
|
45
45
|
--
|
|
46
|
-
2.
|
|
46
|
+
2.10.2
|
|
47
47
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
From
|
|
1
|
+
From b75292c950337c121f76673efd68e182a92d0c8d Mon Sep 17 00:00:00 2001
|
|
2
2
|
From: Petko Bordjukov <bordjukov@gmail.com>
|
|
3
3
|
Date: Thu, 9 Jun 2016 04:45:34 +0300
|
|
4
4
|
Subject: [PATCH 6/7] Do not build static binary
|
|
@@ -8,10 +8,10 @@ Subject: [PATCH 6/7] Do not build static binary
|
|
|
8
8
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
9
9
|
|
|
10
10
|
diff --git a/configure.bash b/configure.bash
|
|
11
|
-
index
|
|
11
|
+
index ecf5128..5bb381d 100755
|
|
12
12
|
--- a/configure.bash
|
|
13
13
|
+++ b/configure.bash
|
|
14
|
-
@@ -
|
|
14
|
+
@@ -17,7 +17,7 @@ else
|
|
15
15
|
COCOA_READER=0
|
|
16
16
|
LCMS2=auto
|
|
17
17
|
fi
|
|
@@ -21,5 +21,5 @@ index 4b8c80e..25c0e90 100755
|
|
|
21
21
|
EXTRA_LDFLAGS=
|
|
22
22
|
|
|
23
23
|
--
|
|
24
|
-
2.
|
|
24
|
+
2.10.2
|
|
25
25
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
From
|
|
1
|
+
From edec712120fc7944d314a500395204905a7592fe Mon Sep 17 00:00:00 2001
|
|
2
2
|
From: Petko Bordjukov <bordjukov@gmail.com>
|
|
3
3
|
Date: Mon, 13 Jun 2016 23:30:46 +0300
|
|
4
4
|
Subject: [PATCH 7/7] Use cc instead of gcc by default
|
|
@@ -8,10 +8,10 @@ Subject: [PATCH 7/7] Use cc instead of gcc by default
|
|
|
8
8
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
9
9
|
|
|
10
10
|
diff --git a/configure.bash b/configure.bash
|
|
11
|
-
index
|
|
11
|
+
index 5bb381d..9784d04 100755
|
|
12
12
|
--- a/configure.bash
|
|
13
13
|
+++ b/configure.bash
|
|
14
|
-
@@ -
|
|
14
|
+
@@ -21,8 +21,8 @@ LDFLAGS="-lpng -lz -llcms2 -lpthread"
|
|
15
15
|
EXTRA_CFLAGS=
|
|
16
16
|
EXTRA_LDFLAGS=
|
|
17
17
|
|
|
@@ -23,5 +23,5 @@ index 25c0e90..dddcc1d 100755
|
|
|
23
23
|
help() {
|
|
24
24
|
printf "%4s %s\n" "" "$1"
|
|
25
25
|
--
|
|
26
|
-
2.
|
|
26
|
+
2.10.2
|
|
27
27
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: image_compressor_pack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Petko Bordjukov
|
|
@@ -41,7 +41,7 @@ cert_chain:
|
|
|
41
41
|
7meOvqpsImGixir/Fdrmo2C2ozMqkbAHt1P3lUjSkaKPJFhCPL6tct0DbrHGOE0R
|
|
42
42
|
bfdfE27aG1U=
|
|
43
43
|
-----END CERTIFICATE-----
|
|
44
|
-
date: 2016-
|
|
44
|
+
date: 2016-11-19 00:00:00.000000000 Z
|
|
45
45
|
dependencies:
|
|
46
46
|
- !ruby/object:Gem::Dependency
|
|
47
47
|
name: mini_portile2
|
|
@@ -125,13 +125,12 @@ files:
|
|
|
125
125
|
- ".gitignore"
|
|
126
126
|
- ".rspec"
|
|
127
127
|
- ".travis.yml"
|
|
128
|
+
- CHANGELOG.md
|
|
128
129
|
- Gemfile
|
|
129
130
|
- LICENSE.txt
|
|
130
131
|
- Makefile
|
|
131
132
|
- README.md
|
|
132
133
|
- Rakefile
|
|
133
|
-
- bin/console
|
|
134
|
-
- bin/setup
|
|
135
134
|
- certs/ignisf.pem
|
|
136
135
|
- certs/ignisf.pem.asc
|
|
137
136
|
- ext/image_compressor_pack/extconf.rb
|
|
@@ -142,18 +141,19 @@ files:
|
|
|
142
141
|
- lib/image_compressor_pack/statically_linked_recipes.yml
|
|
143
142
|
- lib/image_compressor_pack/version.rb
|
|
144
143
|
- ports/archives/2.1.1.tar.gz
|
|
145
|
-
- ports/archives/
|
|
146
|
-
- ports/archives/advancecomp-1.20.tar.gz
|
|
144
|
+
- ports/archives/advancecomp-1.22.tar.gz
|
|
147
145
|
- ports/archives/gifsicle-1.88.tar.gz
|
|
148
146
|
- ports/archives/jhead-3.00.tar.gz
|
|
149
|
-
- ports/archives/jpegoptim-1.4.
|
|
150
|
-
- ports/archives/lcms2-2.
|
|
151
|
-
- ports/archives/libpng-1.6.
|
|
147
|
+
- ports/archives/jpegoptim-1.4.4.tar.gz
|
|
148
|
+
- ports/archives/lcms2-2.8.tar.gz
|
|
149
|
+
- ports/archives/libpng-1.6.26.tar.gz
|
|
152
150
|
- ports/archives/mozjpeg-3.1-release-source.tar.gz
|
|
153
|
-
- ports/archives/nasm-2.12.
|
|
151
|
+
- ports/archives/nasm-2.12.02.tar.gz
|
|
154
152
|
- ports/archives/optipng-0.7.6.tar.gz
|
|
155
|
-
- ports/archives/pngcrush-1.8.
|
|
153
|
+
- ports/archives/pngcrush-1.8.10.tar.gz
|
|
154
|
+
- ports/archives/pngquant-2.8.0-src.tar.gz
|
|
156
155
|
- ports/archives/zlib-1.2.8.tar.gz
|
|
156
|
+
- ports/patches/advancecomp/0001-Add-missing-libdeflate-header-file.patch
|
|
157
157
|
- ports/patches/jhead/0001-Add-a-configure-shim.patch
|
|
158
158
|
- ports/patches/jhead/0002-Specify-a-default-DESTDIR.patch
|
|
159
159
|
- ports/patches/jhead/0003-Make-the-configure-script-set-the-DESTDIR.patch
|
|
@@ -178,9 +178,6 @@ files:
|
|
|
178
178
|
- ports/patches/pngquant/0005-Remove-lcms2-check.patch
|
|
179
179
|
- ports/patches/pngquant/0006-Do-not-build-static-binary.patch
|
|
180
180
|
- ports/patches/pngquant/0007-Use-cc-instead-of-gcc-by-default.patch
|
|
181
|
-
- release/x86-linux/Vagrantfile
|
|
182
|
-
- release/x86_64-freebsd10/Vagrantfile
|
|
183
|
-
- release/x86_64-linux/Vagrantfile
|
|
184
181
|
homepage: https://github.com/ignisf/image_compressor_pack
|
|
185
182
|
licenses:
|
|
186
183
|
- MIT
|
|
@@ -201,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
201
198
|
version: '0'
|
|
202
199
|
requirements: []
|
|
203
200
|
rubyforge_project:
|
|
204
|
-
rubygems_version: 2.
|
|
201
|
+
rubygems_version: 2.5.1
|
|
205
202
|
signing_key:
|
|
206
203
|
specification_version: 4
|
|
207
204
|
summary: A distribution of image optimization utilities.
|