Source: doxygen
Severity: normal
Tags: serious

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I made a mistake that cause FTBFS of doxygen, but would prefer to fix it
in doxygen as that would be needed anyway at a later point:

ruby-compass is obsolete and will likely not be released with Buster.
Its replacement is Sass - either the reference Ruby implementation or
alternatives linked with libsass including sassc.

Today I accidentally released to unstable (not experimental as intended)
ruby-sass too new for ruby-compass. I can fix that by re-uploading older
ruby-sass with a fake newer version number, but since only 5 packages
(build-)depend on ruby-compass I would much prefer to instead speedup
the removal of ruby-compass.

Attached is a patch to make doxygen use sassc instead of ruby-compass.

Please consider applying this, and accept my apology for rushing things.
Alternatively I can make an NMU.  Or if neither is acceptable I will do
the more substantial work of postponing this change by reverting
ruby-sass to the older version for now.


 - Jonas

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAlm2694ACgkQLHwxRsGg
ASGs6A//XPN19uTDQWyDIBQ3DQ9t0dTFtZD2AVj3ln6gVuaZ1149ofBd+lOTMRpQ
H2oKo5yI19zjXwe6x3xECpIaZn5AScZoEzJ9zNrq5QhjuFD+LR39ERv5QMogcEH0
oS1hNE84lMaZ4MO1tjX0lurP7ImIZy7X6LjSasjUvyfmzqdoxiCxQcIHmmLGpLb+
/eC1RiOf+0ZVbo6qAT40DVWJPFtXsSSCcH/PyUocEQbRAxKPiN6Rwv4G/Y7n5Jzz
BlOpDOWXjR86OXvIqHzUjxvBzAhaNnfE19oNTTYCBucVwa1kD/AlwXk4/D/4rBtA
UyT/VKFmTMalij/DQSjh3W3tnnR0ZYXR/m7bzLaqmD87KcKQ22cy+7dL+im0ketr
3FoKbqT/JNG0HbjEiiOBpd4O3RD27zkHMGo7GU36GX5DxUiVKFKcyJMyp6GGZu3+
mLpMHRe4qkNY4h7xyilFmhV7LTLBw+7OkTExPNHhfAPqTJpFSyE6dujAbMOEJHUM
VEde6NO8tqz5V1EjDsCPnlXKW9i/5C/Qp5L2CDVF581DbYhUX5QyIkCqWGxuGVLL
ro0ATsRY7UAfTGZnh79UVZiwQP1gV+z8Gl9jAF4N0e6yU0tXN19USdC0cc7HcNQs
qSRdISbb9h12AdZFHrjwoPrEKmXubcjws0zkaAWofUt3Z+NMsyE=
=QEGb
-----END PGP SIGNATURE-----
Description: Avoid use of compass
 Compass is obsoleted by Sass and its reimplementation in C, sassc.
 .
 This patch avoids use of sass mixins border-radius and box-shadow
 shipped in libraries part of Compass, and adapts build rules to use
 sassc instead of Compass and YUI Compressor.
 .
 Sass mixins border-radius and box-shadow added vendored selectors now
 obsolete: Would help only browsers released in 2011 or earlier, used by
 0.02% of public web browsing today according to <https://caniuse.com/>.
 .
 If the reference Ruby implementation of Sass is preferred over sassc,
 simply replace "sassc" with "scss" in the Makefile rule.
Author: Jonas Smedegaard <d...@jones.dk>
Last-Update: 2017-09-11
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/jquery/Makefile
+++ b/jquery/Makefile
@@ -35,10 +35,7 @@
                  sass/_round-corners-last-item.scss \
                  sass/_sm-dox.scss \
                  sass/_sub-items-indentation.scss
-       compass compile --css-dir . --force sass/sm-dox.scss
-       cat sm-core-css.css sm-dox.css > doxmenu.css
-       java -jar $(MINIFIER).jar doxmenu.css > doxmenu-min.css
-       rm -f sm-dox.css doxmenu.css
+       cat sm-core-css.css sass/sm-dox.scss | sassc -I sass --style compressed 
> doxmenu-min.css
 
 scripts: $(SCRIPTS_MIN)
 
--- a/jquery/sass/_round-corners-last-item.scss
+++ b/jquery/sass/_round-corners-last-item.scss
@@ -8,7 +8,7 @@
                $selector: $selector + ', ' + $chain + ' a, ' + $chain + 
'*:not(ul) a, ' + $chain + ' ul';
        }
        #{$selector} {
-               @include border-radius(0 0 $amount $amount);
+               border-radius: 0 0 $amount $amount;
        }
        // highlighted items, don't need rounding since their sub is open
        $chain: $chain_prefix;
@@ -18,6 +18,6 @@
                $selector: $selector + ', ' + $chain + ' a.highlighted, ' + 
$chain + '*:not(ul) a.highlighted';
        }
        #{$selector} {
-               @include border-radius(0);
+               border-radius: 0;
        }
 }
--- a/jquery/sass/_sm-dox.scss
+++ b/jquery/sass/_sm-dox.scss
@@ -1,5 +1,3 @@
-@import 'compass';
-
 // This file is best viewed with Tab size 4 code indentation
 
 
@@ -164,7 +162,7 @@
 // Main menu box
 .sm-dox {
     background-image: $sm-dox__collapsible-bg;
-    //@include border-radius($sm-dox__collapsible-border-radius);
+    //border-radius: $sm-dox__collapsible-border-radius;
 
     // Main menu items
     a {
@@ -215,7 +213,7 @@
             text-align: center;
             text-shadow: none;
             background: $sm-dox__collapsible-toggle-bg;
-            @include border-radius($sm-dox__border-radius);
+            border-radius: $sm-dox__border-radius;
         }
         // Change + to - on sub menu expand
         &.highlighted span.sub-arrow:before {
@@ -226,7 +224,7 @@
 
     // round the corners of the first item
     > li:first-child > a, > li:first-child > :not(ul) a {
-        @include border-radius($sm-dox__collapsible-border-radius 
$sm-dox__collapsible-border-radius 0 0);
+        border-radius: $sm-dox__collapsible-border-radius 
$sm-dox__collapsible-border-radius 0 0;
     }
     // round the corners of the last item
     @include 
sm-dox__round-corners-last-item($sm-dox__collapsible-border-radius);
@@ -303,7 +301,7 @@
         padding: 0 $sm-dox__desktop-padding-horizontal;
         background-image: $sm-dox__desktop-bg;
         line-height: 36px;
-        //@include border-radius($sm-dox__desktop-border-radius);
+        //border-radius: $sm-dox__desktop-border-radius;
 
         // Main menu items
         a {
@@ -318,7 +316,7 @@
                 border-style: solid dashed dashed dashed;
                 border-color: $sm-dox__main-text-color transparent transparent 
transparent;
                 background: transparent;
-                @include border-radius(0);
+                border-radius: 0;
             }
 
             &,
@@ -331,7 +329,7 @@
                 background-image:url('tab_s.png');
                 background-repeat:no-repeat;
                 background-position:right;
-                @include border-radius(0 !important);
+                border-radius: 0 !important;
             }
             &:hover {
               background-image: url('tab_a.png');
@@ -380,8 +378,8 @@
             border: $sm-dox__border-width solid $sm-dox__gray-dark;
             padding: $sm-dox__desktop-sub-padding-vertical 
$sm-dox__desktop-sub-padding-horizontal;
             background: $sm-dox__desktop-sub-bg;
-            @include border-radius($sm-dox__desktop-sub-border-radius 
!important);
-            @include box-shadow($sm-dox__desktop-sub-box-shadow);
+            border-radius: $sm-dox__desktop-sub-border-radius !important;
+            box-shadow: $sm-dox__desktop-sub-box-shadow;
 
             // Sub menus items
             a {
@@ -536,7 +534,7 @@
         // Main menu box
         &.sm-vertical {
             padding: $sm-dox__desktop-vertical-padding-vertical 0;
-            @include border-radius($sm-dox__desktop-vertical-border-radius);
+            border-radius: $sm-dox__desktop-vertical-border-radius;
 
             // Main menu items
             a {

Reply via email to