diff --git a/Graphics/Web/Processing/Core/Primal.hs b/Graphics/Web/Processing/Core/Primal.hs
--- a/Graphics/Web/Processing/Core/Primal.hs
+++ b/Graphics/Web/Processing/Core/Primal.hs
@@ -1,7 +1,7 @@
 
 {-# LANGUAGE OverloadedStrings, MultiParamTypeClasses, FunctionalDependencies,
              DeriveGeneric, TypeOperators, DefaultSignatures, FlexibleContexts,
-             TemplateHaskell
+             TemplateHaskell, CPP
   #-}
 
 {- | Internal core module.
@@ -80,6 +80,11 @@
 -- Meta-programming
 import GHC.Generics
 import Graphics.Web.Processing.Core.TH
+
+#if MIN_VERSION_mainland_pretty(0,4,0)
+fromText :: Text -> Doc
+fromText = strictText
+#endif
 
 ------------------------------------------------
 -- QUICK CHECK DERIVING
diff --git a/processing.cabal b/processing.cabal
--- a/processing.cabal
+++ b/processing.cabal
@@ -1,5 +1,5 @@
 Name: processing
-Version: 1.2.0.1
+Version: 1.2.0.2
 Author: Daniel Díaz
 Category: Graphics
 Build-type: Simple
@@ -9,7 +9,6 @@
 Bug-reports: https://github.com/Daniel-Diaz/processing/issues
 Synopsis: Web graphic applications with processing.js.
 Stability: In development
-Tested-with: GHC == 7.6.3
 Description:
   /Processing/ is a visual design programming language.
   /Processing.js/ is the sister project of Processing designed
@@ -81,12 +80,12 @@
       base == 4.*
     , text >= 0.11.2.3 && < 2
     , containers >= 0.5 && < 0.6
-    , transformers >= 0.3 && < 0.4
-    , mainland-pretty >= 0.2 && < 0.3
-    , blaze-html >= 0.5.1 && < 0.8
+    , transformers >= 0.3 && < 0.6
+    , mainland-pretty >= 0.2 && < 0.5
+    , blaze-html >= 0.5.1
     , multiset >= 0.2.2 && < 0.3
     , directory >= 1.2 && < 1.3
-    , filepath >= 1.1.0.0 && < 1.4
+    , filepath >= 1.1.0.0 && < 1.5
       -- QuickCheck
     , QuickCheck
     , quickcheck-instances
