From ccf4a027b39710188818a6b1302a7b3ef5e12504 Mon Sep 17 00:00:00 2001 From: Lawrence Meckan Date: Sun, 14 Jan 2018 19:10:17 +1000 Subject: [PATCH] Libsass 3.4.8 & start of work to get PECL / PHP Brew --- README.md | 7 +- config.m4 | 2 +- lib/libsass | 2 +- package.xml | 102 +++++++++++++++++++++++ src/php_sass.h | 2 +- tests/check_bundled_libsass_version.phpt | 2 +- 6 files changed, 110 insertions(+), 7 deletions(-) create mode 100644 package.xml diff --git a/README.md b/README.md index 022de9d..4119dff 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ The `sass` extension for PHP gives you an object-oriented system of parsing [Sass](http://sass-lang.com/) from within your PHP applications. Under the hood it uses [libsass](https://github.com/hcatlin/libsass) to provide super speedy and compatible Sass parsing. -![Libsass 3.4.5](https://img.shields.io/badge/libsass-3.4.5-yellow.svg) [![Build Status](https://travis-ci.org/absalomedia/sassphp.svg)](https://travis-ci.org/absalomedia/sassphp) +![Libsass 3.4.8](https://img.shields.io/badge/libsass-3.4.8-yellow.svg) [![Build Status](https://travis-ci.org/absalomedia/sassphp.svg)](https://travis-ci.org/absalomedia/sassphp) ## What's Sass? @@ -148,13 +148,14 @@ If there's a problem, the extension will throw a `SassException`: These extensions also utilise the [Libsass](https://github.com/hcatlin/libsass) library & remain in varying states of completion: -* Facebook [HHVM](https://github.com/absalomedia/sasshhvm) native (non Zend) extension - with Libsass 3.4.5 - tested up to HHVM 3.11.x -* [Nginx](https://github.com/absalomedia/sass-nginx-module) module - with Libsass 3.4.5 +* Facebook [HHVM](https://github.com/absalomedia/sasshhvm) native (non Zend) extension - with Libsass 3.4.8 - tested up to HHVM 3.11.x +* [Nginx](https://github.com/absalomedia/sass-nginx-module) module - with Libsass 3.4.8 ## Changelog | Release | Description | | --- | --- | +| 0.5.13 | Karol - Caroline (Libsass 3.4.8) | | 0.5.13 | Ray - Manta (Libsass 3.4.5) & PHP stub file | | 0.5.12 | Cartography - MapRoot functions | | 0.5.11 | Zoomer (Libsass 3.4.4) stable | diff --git a/config.m4 b/config.m4 index 472eb75..c0e0357 100644 --- a/config.m4 +++ b/config.m4 @@ -14,7 +14,7 @@ if test "$PHP_SASS" != "no"; then if test "x$sass_version" != "x" ; then # escape hell. This is what we need to pass to the - # compiler: -DLIBSASS_VERSION="\"'3.3.3\"" + # compiler: -DLIBSASS_VERSION="\"'3.4.8\"" CFLAGS="-DLIBSASS_VERSION=\"\\\"$sass_version\\\"\" $CFLAGS" CXXFLAGS="-DLIBSASS_VERSION=\"\\\"$sass_version\\\"\" $CXXFLAGS" fi diff --git a/lib/libsass b/lib/libsass index 3157321..a1f13ed 160000 --- a/lib/libsass +++ b/lib/libsass @@ -1 +1 @@ -Subproject commit 31573210c0d120ae56aaea543a0dbab5255cdfb7 +Subproject commit a1f13edf19f90f0723e02a736a33e0fc03c6c584 diff --git a/package.xml b/package.xml new file mode 100644 index 0000000..9f21664 --- /dev/null +++ b/package.xml @@ -0,0 +1,102 @@ + + + sass + pecl.php.net + SASS - Sass for PHP + SASS compliation for PHP + + Lawrence Meckan + absalomedia + media@absalom.biz + yes + + 2018-01-14 + + + 0.5.14 + 3.4.8 + + + stable + stable + + MIT License + +- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5.6.0-dev + + + 1.10 + + + + sass + + + + + + 2018-01-14 + + 0.5.14 + 3.4.8 + + + stable + stable + + MIT License + +- Update libsass to 3.4.8 +- Start of work for PECL inclusion + + + + \ No newline at end of file diff --git a/src/php_sass.h b/src/php_sass.h index 59e14a3..954e61a 100644 --- a/src/php_sass.h +++ b/src/php_sass.h @@ -14,7 +14,7 @@ #include "config.h" #endif -#define SASS_VERSION "0.5.13" +#define SASS_VERSION "0.5.14" #define SASS_FLAVOR "Sassyphpras" #include diff --git a/tests/check_bundled_libsass_version.phpt b/tests/check_bundled_libsass_version.phpt index f8e605a..bc62b19 100644 --- a/tests/check_bundled_libsass_version.phpt +++ b/tests/check_bundled_libsass_version.phpt @@ -5,7 +5,7 @@ check bundled libsass version --FILE-- --EXPECT--