[DRE-maint] Bug#858195: compass-bootstrap-sass-plugin: Wrong install path, and code not registered with Compass

Antonio Terceiro terceiro at debian.org
Wed Mar 29 01:16:32 UTC 2017


On Tue, Mar 28, 2017 at 10:20:30PM +0200, Jonas Smedegaard wrote:
> Debian use /usr/share/compass as _shared_ location for Compass libraries 
> - upstream has no such default location.
> 
> Your reasoning is the equivalent of installing C libraries in /usr/lip 
> and arguing that one should always explicitly feed the compiler the path 
> (not rely on default path being /usr/lib on Debian systems).

I disagree with your analogy. There is a set of well known places where
you can put libraries so that compilers find them automatically, and
those are known to _everyone_ that does or use libraries, not only in
Debian.

In this case, there is a convention that only exists in Debian, and
AFAICT forces every single package to be patched. Is there any movement
in the direction of having this adopted upstream?

That said, I am willing to support this, but I don't agree it's an RC issue.

I tried changing /usr/share/compass/frameworks/bootstrap-sass to
/usr/share/compass/frameworks/bootstrap as you said, but that doesn't
exactly make it work:

| $ compass create myproject --using bootstrap
| directory myproject/ 
| directory myproject/fonts/bootstrap/ 
| directory myproject/javascripts/ 
| directory myproject/javascripts/bootstrap/ 
| directory myproject/sass/ 
| directory myproject/stylesheets/ 
|    create myproject/config.rb 
|    create myproject/sass/styles.scss 
|    create myproject/sass/_bootstrap-variables.scss 
|    create myproject/javascripts/bootstrap.min.js 
|    create myproject/javascripts/bootstrap.js 
|    create myproject/javascripts/bootstrap/dropdown.js 
|    create myproject/javascripts/bootstrap/collapse.js 
|    create myproject/javascripts/bootstrap/modal.js 
|    create myproject/javascripts/bootstrap/tooltip.js 
|    create myproject/javascripts/bootstrap/transition.js 
|    create myproject/javascripts/bootstrap/alert.js 
|    create myproject/javascripts/bootstrap/carousel.js 
|    create myproject/javascripts/bootstrap/popover.js 
|    create myproject/javascripts/bootstrap/button.js 
|    create myproject/javascripts/bootstrap/scrollspy.js 
|    create myproject/javascripts/bootstrap/affix.js 
|    create myproject/javascripts/bootstrap/tab.js 
|    create myproject/javascripts/bootstrap-sprockets.js 
|    create myproject/fonts/bootstrap/glyphicons-halflings-regular.woff2 
|    create myproject/fonts/bootstrap/glyphicons-halflings-regular.woff 
|    create myproject/fonts/bootstrap/glyphicons-halflings-regular.eot 
|    create myproject/fonts/bootstrap/glyphicons-halflings-regular.svg 
|    create myproject/fonts/bootstrap/glyphicons-halflings-regular.ttf 
|     error myproject/sass/styles.scss (Line 2: File to import not found or unreadable: bootstrap-compass.
| Load paths:
|   Compass::SpriteImporter
|   /tmp/test-compass/myproject/sass
|   /usr/share/compass/frameworks/compass/stylesheets
|   /usr/share/compass/frameworks/bootstrap/stylesheets)
| Compilation failed in 1 files.

^^^^^^^^^^^^^^^^^^
note this bit here

| 
| *********************************************************************
| Congratulations! Your compass project has been created.
| 
| You may now add and edit sass stylesheets in the sass subdirectory of your project.
| 
| Sass files beginning with an underscore are called partials and won't be
| compiled to CSS, but they can be imported into other sass stylesheets.
| 
| You can configure your project by editing the config.rb configuration file.
| 
| You must compile your sass stylesheets into CSS when they change.
| This can be done in one of the following ways:
|   1. To compile on demand:
|      compass compile [path/to/project]
|   2. To monitor your project for changes and automatically recompile:
|      compass watch [path/to/project]
| 
| More Resources:
|   * Website: http://compass-style.org/
|   * Sass: http://sass-lang.com
|   * Community: http://groups.google.com/group/compass-users/
| 
| 
| To import your new stylesheets add the following lines of HTML (or equivalent) to your webpage:
| <head>
|   <link href="/stylesheets/styles.css" rel="stylesheet" type="text/css" />
| </head>

Any ideas?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20170328/3780ed0d/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list