New commits:
commit cc769dad2c6d2074d48b035c6cc1961a8716192b
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
texlive: Fixes Bug #630. Fix finding the path for freetype2 headers
commit 77f181f8062009163f6ad881843128e35e5c3b3c
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
ghostscript: lcms2 is no longer optional, but required
checking for local lcms2 library source... no
checking for system lcms2 library... checking for
cmsGetTransformOutputFormat in -llcms2... no
configure: WARNING: lcms2 not found, or too old
checking for local lcms library source... configure: error: LittleCMS
source not found!
commit c9fb724f600cfa30c75e86da6fba0dbadad445ab
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
lacheck: Updated SOURCE_URL to valid CTAN mirror forwarder
commit d9803ac2514143386cb0bde98276724d38aa64c0
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
commit dcfa46ad55c9b24e9990d424f521006a25687174
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
freetype2: harfbuzz is optional and requires freetype2 already installed
If harfbuzz support is requested, but harfbuzz was not built
with freetype support, disable harfbuzz since it'll fail.
harfbuzz is optional, and freetype2 needs harfbuzz built with
freetype support to work, so how can it be required?!
commit c960ee3f2698212779ad8d977e032ee216ece77d
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
harfbuzz: Allow forcing freetype2 dependency
e.g. for freetype2 with harfbuzz support
commit d970adf695803ad07b7ff1d5cfc3d6340a3f9db9
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>
harfbuzz: --with-freetype2 -> --with-freetype
commit 81a811901503d56f24821929c11aa2757e725151
Author: Javier Vasquez <j.e.vasquez.v AT gmail.com>
Commit: Eric Sandall <sandalle AT sourcemage.org>
texlive: Fixes Bug #471
Remove --disable-luatex in BUILD
Change lua51 by LUA (both lua and lua51 provide LUA)
diff --git a/graphics-libs/freetype2/BUILD b/graphics-libs/freetype2/BUILD
new file mode 100755
index 0000000..78ceee2
--- /dev/null
+++ b/graphics-libs/freetype2/BUILD
@@ -0,0 +1,9 @@
+# Fix freetype2 casting for the first time
+# freetype2 with harfbuzz support requires harfbuzz built with freetype2...
+# see http://wiki.linuxfromscratch.org/blfs/ticket/5331#comment:2
+if is_depends_enabled harfbuzz ${SPELL} && ! spell_ok ${SPELL}; then
+ message "${WARNING_COLOR}Disabling harfbuzz for first
cast${DEFAULT_COLOR}" &&
+ list_remove OPTS '--with-harfbuzz=yes' &&
+ OPTS="--with-harfbuzz=no ${OPTS}"
+fi
+default_build
diff --git a/graphics-libs/freetype2/DEPENDS b/graphics-libs/freetype2/DEPENDS
index 6dd5042..7a36fa6 100755
--- a/graphics-libs/freetype2/DEPENDS
+++ b/graphics-libs/freetype2/DEPENDS
@@ -1,4 +1,13 @@
-depends glib2 &&
-depends harfbuzz &&
-depends libpng &&
-depends pcre
+depends glib2 &&
+depends libpng &&
+depends pcre &&
+
+# freetype2 with harfbuzz requires harfbuzz built against freetype2 first
+if spell_ok ${SPELL}; then
+ optional_depends -sub 'FT' 'harfbuzz' \
+ '--with-harfbuzz=yes' \
+ '--with-harfbuzz=no' \
+ 'to improve auto-hinting of OpenType fonts'
+else
+ message "${PROBLEM_COLOR}harfbuzz optional dependency disabled until
${DEFAULT_COLOR}${SPELL_COLOR}${SPELL}${DEFAULT_COLOR}${PROBLEM_COLOR} is
cast.${DEFAULT_COLOR}"
+fi
diff --git a/graphics-libs/freetype2/HISTORY b/graphics-libs/freetype2/HISTORY
index 3ef4b9c..bf0023c 100644
--- a/graphics-libs/freetype2/HISTORY
+++ b/graphics-libs/freetype2/HISTORY
@@ -1,3 +1,9 @@
+2014-12-31 Eric Sandall <sandalle AT sourcemage.org>
+ * BUILD: If harfbuzz support is requested, but harfbuzz was not built
+ with freetype support, disable harfbuzz since it'll fail.
+ * DEPENDS: harfbuzz is optional, and freetype2 needs harfbuzz built
with
+ freetype support to work, so how can it be required?!
+
2014-12-07 Pol Vinogradov <vin.public AT gmail.com>
* DETAILS: version 2.5.4, SECURITY_PATCH++,
yet another security fix for CVE-2014-2240
diff --git a/graphics-libs/harfbuzz/DEPENDS b/graphics-libs/harfbuzz/DEPENDS
index 3888196..9de226a 100755
--- a/graphics-libs/harfbuzz/DEPENDS
+++ b/graphics-libs/harfbuzz/DEPENDS
@@ -9,7 +9,7 @@ optional_depends cairo "--with-cairo=yes" "--with-cairo=no" \
optional_depends icu "--with-icu=yes" "--with-icu=no" \
"Enable icu use?" &&