From 2fdc1b0c0200c4c8e58f44711fc771003a4ac17d4d437716b5faa4fab827e6cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Date: Wed, 23 Nov 2016 17:04:07 +0000 Subject: [PATCH 1/2] Accepting request 441694 from home:Ronis_BR Version bump to 3.3.6. Minor adjustments in .spec and .changes files. OBS-URL: https://build.opensuse.org/request/show/441694 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsass?expand=0&rev=9 --- libsass-3.3.2.tar.gz | 3 - libsass-3.3.6.tar.gz | 3 + libsass.changes | 357 ++++++++++++++++++++++++++++++++++++++++++- libsass.spec | 10 +- 4 files changed, 363 insertions(+), 10 deletions(-) delete mode 100644 libsass-3.3.2.tar.gz create mode 100644 libsass-3.3.6.tar.gz diff --git a/libsass-3.3.2.tar.gz b/libsass-3.3.2.tar.gz deleted file mode 100644 index 719d631..0000000 --- a/libsass-3.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:affb7efaa7e152e576cc1d510c662ebe067b0b9e9228ad2937dcafdd4431b573 -size 281408 diff --git a/libsass-3.3.6.tar.gz b/libsass-3.3.6.tar.gz new file mode 100644 index 0000000..00b3534 --- /dev/null +++ b/libsass-3.3.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b004b0fcef55420dc916216b1961e0d86925e6bf4a6be37d0b6db42f7f25da5 +size 293752 diff --git a/libsass.changes b/libsass.changes index d6c510d..d4d06fd 100644 --- a/libsass.changes +++ b/libsass.changes @@ -1,9 +1,364 @@ +------------------------------------------------------------------- +Wed Nov 23 15:49:50 UTC 2016 - ronisbr@gmail.com + +- Run spec-cleaner. +- Remove unecessary `BuildRoot` in .spec. +- Remove two non-breaking spaces in .spec that were leading to + a rpmlint warning. +- Version bump to 3.3.6. + Upstream changelog: + + Version 3.3.6 + ------------- + + * Feature + + - Expose the Sass language version via the C API + (@chriseppstein, #2021) + + * Fixes + + - Incorrectly erring on comments in at-rules (@mgreter, #1233) + - Incorrectly dropping internal state of AST nodes (@mgreter, + #1661) + - Incorrectly parsing the calc function (@mgreter, #1706) + - Segfault during error handling (@mgreter, #2016) + - Incorrectly identifying the selectors with type-of (@mgreter, + #2020) + - Incorrectly erring on ID selectors starting with a number + (@mgreter, @2023) + - Producing incorrect output when compile with MSVC (@mgreter, + #2039) + - Various segfaults and incorrect output from @extend + (@mgreter, #2017 #2031) + + Version 3.3.5 + ------------- + + * Expose our memory allocator + + This feature has taken many proposed forms over the last 4 + months. After much patent and considered discussion by @am11 + @mgreter @saper and @xoofx you can now access our memory + allocator on the C-API. + + void* sass_alloc_memory(size_t size) + char* sass_copy_c_string(const char* str) + void sass_free_memory(void* ptr) + + * Features + + - Re-add sass_option_push_include_path and + sass_option_push_plugin_path (@xoofx, #1974) + + * Build + + - Enable address sanitizer for clang (@mgreter, #2003) + - MSVC assert too strict (@mgreter, #1985) + - Update Sass spec (@xzyfer, 1967) + + * Fixes + + - Incorrectly erring on @extend and @media (@mgreter, #2009 + #2007, #1927, #1923) + - Incorrectly erring on @extend and interpolated selectors + (@mgreter, #2000) + - Builds not failing when Sass spec fails to load (@saper, + #1997) + - Incorrectly erring on Sass comments in selectors (@mgreter, + #1996) + - Incorrectly erring on @extend and interpolated selectors with + the !optional flag (@mgreter, #1993) + - Incorrectly treating 0 and false as the same value when used + as map keys (@mgreter, #1991) + - Incorrectly erring on escaped and unicode selectors + (@mgreter, #1977) + - Incorrectly rendering @extend and @supports (@mgreter, #1971) + - Incorrectly erring on functions beginning with calc + (@mgreter, #1969) + - Incorrectly quoting interpolated strings in selectors + (@mgreter, #1947) + - Incorrectly escaped escaped strings in selectors (@mgreter, + #1945) + - Incorrectly duplicating executing of function in interpolated + string (@mgreter, #1944) + - Prevent parsing url() resulting in an endless loop (@mgreter, + #1931) + - Compilation error with using -DDEBUG flag (@tony, #1917) + - Incorrectly removing @media blocks that contain only CSS + comments (@mgreter, #1889) + - Better handling of / in function arguments (@mgreter, #1417) + + Version 3.3.4 + ------------- + + * Fixes + + - Inconsistent error message produced when nesting functions + and mixins (@xzyfer, #1941) + - Ensure custom importers are executed for all @imports + (@xzyfer, #1935) + - Ensure custom importers are executed in the correct order + (@xzyfer, #1921) + - Possible segfault when generating sourcemaps (@usta, #1920) + - Memory leak (@usta, #1919) + - Unused variable warning (@xzyfer, #1918) + - Segfaulting when @extending an undefined selector (@mgreter, + #1916) + - Incorrectly erring when @extending inside a mixin (@xzyfer, + #1915) + - Handle signed char when considering @charset (@asottile, + #1914) + - New link to sassc-ruby in documentation (@itkrt2y, #1910) + - Incorrectly quoting interpolated strings join with + + (@mgreter, #1907) + - Incorrectly erring when using & and interpolation together + (@xzyfer, #1904) + - Incorrectly duplicating nested pseudo selectors (@mgreter, + #1901) + - Unused function breaking breaking unity builds (@drewwells, + #1896) + - Segfaulting when url() is empty (@xzyfer, #1886) + - Should error when & is used without a parent selector + (@xzyfer, #1644) + + Version 3.3.3 + ------------- + + * Parser and rendering refactorings + + LibSass is now able to use stringification functions for its + internal AST objects whenever its needed. Previously this was + only possible when we had access to a context instance, which + sometimes made it impossible to invoke the right code path. + This tight coupling has been factored out and we can now use + these more freely to get our output even closer to ruby sass. + Parser now supports multiple operations without parentheses (a + > b == c) correctly and an extensive generated test suite for + > this feature was added to sass-spec. + + * Full support for variable arguments + + Since the introduction variable arguments in Sass 3.3 LibSass + has been playing whack-a-mole with bug fixes. As of this + release we should have argument handling compatible with the + latest stable Ruby Sass. Thanks to @davidkpiano for his many + detailed bug reports and his fantastic sassdash library whose + extensive test suite helped make this possible. + + * Lots of bug-fixes + + There were two weeks of ongoing bug slaughtering by @mgreter + after new-years eve, which resulted in over 80 closed issues + (there are 117 closed github issues in total for this release). + @xzyfer also had a good streak with 14 closed issues. Special + thanks to @ksmadsen for his c++11 random_device fix. Also a + big thanks for our continuing contributors @am11 and @saper for + their inputs, feedback and pull requests. + + - Ensure we keep around memory for parser source (@mgreter, + #1884) + - Avoid wrong error due to misused map object in At_Rule + (@mgreter, #1881) + - Implement css linefeed \a handling better (@mgreter, #1880) + - Improve parsing for complex number units (@mgreter, #1879) + - Fix potential issue with wrong std container usage (@mgreter, + #1878) + - Improve parsing for complex number units (@mgreter, #1877) + - Improve operating on numbers with complex units (@mgreter, + #1876) + - Make generating source excerpt on error unicode aware + (@mgreter, #1875) + - Improve error handling API (always return formatted json) + (@mgreter, #1874) + - Improve identifier schema to include variables (@mgreter, + #1872) + - Disable error check for extend placement check (@mgreter, + #1870) + - Improve pseudo selector parsing (@mgreter, #1864) + - Fix each iteration over selector lists (@mgreter, #1863) + - Use to_sass for @debug, @warn and @error message (@mgreter, + #1862) + - Improve lower/upper boundary check error in for loop + (@mgreter, #1861) + - Implement incompatible unit test for interpolation in eval + (@mgreter, #1860) + - Implement correct empty list to_sass output (@mgreter, #1859) + - Remove To_String by using AST->to_string and inspect + (@mgreter, #1858) + - Update license year range to 2016 (@pra85, #1857) + - Incorrect 'Invalid UTF-8' error with a specific input length + (@mgreter, #1856) + - Adds include headers to VS meta files on windows (@am11, + #1850) + - Implement missing error checks (@mgreter, #1848) + - Fix SmartOS compilation once and for all (@mgreter, #1847) + - Relative imports fail when outside working directory + (@mgreter, #1846) + - Disable error for empty source string on context (@mgreter, + #1845) + - Fix expression parsing with comment between factors + (@mgreter, #1844) + - Refactor/milestone 3.4 (@mgreter, #1841) + - @custom-media throws error (@mgreter, #1839) + - Fix iterating over parent selector list with @each (@mgreter, + #1837) + - Include unconditionally (@saper, #1835) + - No file information for empty source string (@mgreter, #1834) + - Improve parsing of media queries with comments (@mgreter, + #1833) + - Prevent segfault with nested properties edge case (@mgreter, + #1832) + - Implement extend for wrapped selectors (@mgreter, #1831) + - Only parse interpolations in kept block comments (@mgreter, + #1830) + - Implement import recursion check (@mgreter, #1829) + - Error on invalid parent selector placements (@mgreter, #1828) + - Fix look-ahead of parent selector with trailing BEM separator + (@mgreter, #1827) + - Fix join_paths when left path is not canonical (@mgreter, + #1826) + - Error incorrectly thrown for &__ selector (@mgreter, #1825) + - Update .editorconfig (@numeraltwo, #1824) + - Ampersand glued to the selector should be rejected (@mgreter, + #1822) + - Selector-unify should return null instead of an empty list + (@xzyfer, #1819, #1820) + - Fix interpolations returning quoted string in selectors + (@xzyfer, #1818) + - Adds CRLF awareness to Util::quote() (@am11, #1817) + - Fix multiple issues with function parameter binding (@xzyfer, + #1815) + - While loops should release their local env when exiting early + (@xzyfer, #1814) + - Regression in variable scoping causing segfault (@xzyfer, + #1813) + - Incorrect output for unknown at-rules (@mgreter, #1812) + - Emit DLL which exports symbols on windows VS (@am11, #1811) + - Add exit code for explicit test (@am11, #1810) + - Support multiline url declarations (@xzyfer, #1809) + - Incompatible units error in interpolations (@mgreter, #1804) + - Segfault on missing semicolon (@mgreter, #1803) + - Infinite import loop results in a stack overflow (@mgreter, + #1801) + - Segmentation fault for interpolations in certain comments + (@mgreter, #1798) + - Placeholder selector inside :not() (@mgreter, #1797) + - Append function doesn't appear to append correctly inside + loops (@mgreter, #1796) + - Media queries fail to parse when comment is present + (@mgreter, #1794) + - Incompatible units error for expressions in media queries + (@mgreter, #1793) + - Incorrectly building dynamic library on Windows (@mgreter, + #1790) + - Fix libsass build for SmartOS (@mgreter, #1782) + - Fix-up some docs on importers (undefined variables) + (@asottile, #1780) + - Using 'calc' shoes an Error: Incompatible units: 'px' and '%' + (@mgreter, #1776) + - Converts wchar_t* to UTF-8 std::string on windows (@am11, + #1774) + - String Interpolation incorrectly quotes parent selectors + (@xzyfer, #1770) + - @debug on an empty list should produce () (@mgreter, #1768) + - Removing duplicated content from c api example (@rodneyrehm, + #1767) + - Comments between binary operands prevents evaluation + (@mgreter, #1765) + - Add crutch to help browsers interpreting source-maps + (@mgreter, #1759) + - bug with & (parent-selector) and @each directive in 3.3.2 + (@mgreter, #1757) + - Fix possible segfault in Each expansion (@mgreter, #1756) + - Remove sixtuplet flag on Colors and fix edge case (@mgreter, + #1755) + - Refactor to remove Context dependency from To_String + (@mgreter, #1754) + - Segmentation fault @each with argslist node-sass 3.4.2 + (@mgreter, #1752) + - Wrong line reported in invalid operands for multiplication + (@mgreter, #1751) + - Implement variable shadow scoping (@mgreter, #1748) + - Nested styles refer to top-level parent in source-map line + number (@mgreter, #1747) + - Variables in control flow should not be accessible in outer + scopes (@mgreter, #1746) + - Fix #1742 - same expression on both sides of && (@saper, + #1744) + - Don't allocate std::random_device statically (@ksmadsen, + #1743) + - Ampersands in :not selector (@mgreter, #1741) + - Improve binary expressions to preserve white-space at + operands (@mgreter, #1739) + - Defer creation of hash maps into eval stage (@mgreter, #1736) + - Fix edge-case for extend with Wrapped_Selector (@mgreter, + #1735) + - Interpolated, double-quoted vars can produce an empty output + (@mgreter, #1734) + - Fix error messages for min and max (@xzyfer, #1731) + - Multiple nth-child selector with @extend compiles wrong + (@mgreter, #1729) + - Fix Binary operators adjacent to interpolations (@mgreter, + #1728) + - Allow multiple unparenthesized expressions for operators + (@mgreter, #1727) + - Error: Import may not be used within controls or mixins. $100 + - Different results with @each and @for loop (@mgreter, #1723) + - Extra white-space after "#{}" interpolation (@mgreter, #1722) + - Fixes for Windows version (@Taritsyn, #1721) + - @each on nested lists assigns the wrong value. (@mgreter, + #1709) + - Avoid some clang compiler warnings (@mgreter, #1707) + - Implement rounding precision (@mgreter, #1704) + - No error for @extend %an-undefined-placeholder (@mgreter, + #1670) + - Error on @debug, @warn or @error in properties (@mgreter, + #1653) + - Improve selector look-ahead for "negative" binomials + (@mgreter, #1652) + - @extend inside @at-root doesn't work (@mgreter, #1651) + - Space in argument for :nth-of-type(2n - 1) results in error + (@mgreter, #1650) + - All interpolation is unquoted (@xzyfer, #1647) + - Arglist as single arg for varargs improperly gets destructed + (@xzyfer, #1645) + - Use the correct parsing semantics for @import url() (@xzyfer, + #1597) + - Single comma separated must be surrounded by () on inspect. + (@mgreter, #1583) + - Error message mismatch for empty interpolation as an argument + (@mgreter, #1564) + - Error message mismatch for min (@xzyfer, #1559) + - Disallow functions to be defined in control directives or + mixins (@mgreter, #1550) + - Minor issue parsing number units after double dash (@mgreter, + #1526) + - Fixes some clang warnings (@mgreter, #1523) + - Better support for @-moz-document (@mgreter, #1401) + - Quoted colors in maps produces 'Duplicate key "transparent" + in map' (@mgreter, #1169) + - Permit multiline in URL (@xzyfer, #1096) + - No error for missing imported base class in @extend + (@mgreter, #871) + + * Improved spec tests + + With this release we have a bit more than 275 new spec tests. + We started to include error tests too, which was quite + difficult at the beginning, since we need to get the output + 100% correct to really pass a spec test, although we really + only test the first line for error specs so far. None the less, + with this release a lot more error messages are matching the + ones of ruby sass and we also catch more cases. But we still + let a lot more syntax silently pass than ruby sass does. + ------------------------------------------------------------------- Fri Jul 15 01:26:38 UTC 2016 - jengelh@inai.de - Add libsass-am.diff, libsass-vers.diff to do proper versioning on shared library. -- Drop useless with-pic (only for — unbuilt — static libs) +- Drop useless with-pic (only for — unbuilt — static libs) ------------------------------------------------------------------- Wed Jul 13 07:38:21 UTC 2016 - psimons@suse.com diff --git a/libsass.spec b/libsass.spec index d8b162a..5682073 100644 --- a/libsass.spec +++ b/libsass.spec @@ -16,24 +16,22 @@ # -%define libname libsass-3_3_2-0 +%define libname libsass-3_3_6-0 Name: libsass -Version: 3.3.2 +Version: 3.3.6 Release: 0 Summary: C/C++ Sass compiler library License: MIT Group: Development/Libraries/C and C++ Url: https://github.com/sass/libsass -Source: https://github.com/sass/libsass/archive/3.3.2.tar.gz#/%name-%version.tar.gz +Source: https://github.com/sass/libsass/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch1: libsass-am.diff Patch2: libsass-vers.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkgconfig -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Sass is a CSS pre-processor language to add new features to CSS. @@ -71,7 +69,7 @@ make check %{?_smp_mflags} %install %make_install -find "%{buildroot}" -type f -name "*.la" -delete +find %{buildroot} -type f -name "*.la" -delete -print %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig From dcace3447fedfd7b0e1445bbc345b816d4c10860ac826d5a07590208ccedb966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Date: Thu, 24 Nov 2016 14:35:30 +0000 Subject: [PATCH 2/2] Accepting request 441842 from home:jengelh:branches:devel:libraries:c_c++ - Redo descriptions and RPM groups OBS-URL: https://build.opensuse.org/request/show/441842 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsass?expand=0&rev=10 --- libsass.changes | 5 +++++ libsass.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/libsass.changes b/libsass.changes index d4d06fd..3a62cd3 100644 --- a/libsass.changes +++ b/libsass.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 24 11:38:22 UTC 2016 - jengelh@inai.de + +- Redo descriptions and RPM groups + ------------------------------------------------------------------- Wed Nov 23 15:49:50 UTC 2016 - ronisbr@gmail.com diff --git a/libsass.spec b/libsass.spec index 5682073..ba8ca49 100644 --- a/libsass.spec +++ b/libsass.spec @@ -20,7 +20,7 @@ Name: libsass Version: 3.3.6 Release: 0 -Summary: C/C++ Sass compiler library +Summary: Compiler library for A CSS preprocessor language License: MIT Group: Development/Libraries/C and C++ Url: https://github.com/sass/libsass @@ -38,19 +38,19 @@ Sass is a CSS pre-processor language to add new features to CSS. LibSass is a C/C++ port of the Sass CSS precompiler. %package -n %{libname} -Summary: Library shared object of libsass -Group: Development/Libraries/C and C++ +Summary: Compiler library for A CSS preprocessor language +Group: System/Libraries %description -n %{libname} -This package provides the shared library object for libsass +This package provides the shared library object for libsass. %package devel -Summary: C/C++ Sass compiler library development files +Summary: Development files for libsass, a library for a CSS preprocessor language Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} %description devel -This package provides development header files for libsass +This package provides development header files for libsass. %prep %setup -q