[DRE-maint] Bug#899324: ruby-font-awesome-rails: broken with fonts-font-awesome 5
Antonio Terceiro
terceiro at debian.org
Tue May 22 20:49:12 BST 2018
Package: ruby-font-awesome-rails
Version: 4.7.0.2-1
Severity: grave
Justification: renders package unusable
Recently fonts-font-awesome 5 has been uploaded to ustable. There are
some significant changes upstream, including but not limited to font
files being renamed. fonts-font-awesome 5.0.10-4 includes a
compatibility layer for packages that assumed the structure of
FontAwesome v4, but some packages that make too aggressive assumptions
about the internal structure of FontAwesome are beyond help.
This is the case of ruby-font-awesome-rails.
The symlinks to the font files are not broken:
~$ ll /usr/share/ruby-font-awesome-rails/app/assets/fonts/
total 12K
lrwxrwxrwx 1 root root 61 jul 6 2017 fontawesome-webfont.woff2 -> ../../../../fonts/woff/font-awesome/fontawesome-webfont.woff2
lrwxrwxrwx 1 root root 60 jul 6 2017 fontawesome-webfont.woff -> ../../../../fonts/woff/font-awesome/fontawesome-webfont.woff
lrwxrwxrwx 1 root root 63 jul 6 2017 fontawesome-webfont.ttf -> ../../../../fonts/truetype/font-awesome/fontawesome-webfont.ttf
lrwxrwxrwx 1 root root 58 jul 6 2017 fontawesome-webfont.svg -> ../../../../fonts/svg/font-awesome/fontawesome-webfont.svg
lrwxrwxrwx 1 root root 58 jul 6 2017 fontawesome-webfont.eot -> ../../../../fonts/eot/font-awesome/fontawesome-webfont.eot
lrwxrwxrwx 1 root root 55 jul 6 2017 FontAwesome.otf -> ../../../../fonts/opentype/font-awesome/FontAwesome.otf
and, this package includes a modified copy of the FontAwesome CSS file
(/usr/share/ruby-font-awesome-rails/app/assets/stylesheets/font-awesome.css.erb),
that is also out of date.
My suggestion would be to:
- base the CSS template on
/usr/share/fonts-font-awesome/css/font-awesome.css which is a modified
version of the FontAwesome v5 stylesheet adding backwards
compatibility for usage of FontAwesome v4.
- symlink /usr/share/ruby-font-awesome-rails/app/assets/fonts/ directly
to /usr/share/fonts-font-awesome/webfonts instead of symlinking
individual files (and probably rename the link from fonts to webfonts)
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ruby-font-awesome-rails depends on:
ii fonts-font-awesome 5.0.10-4
ii ruby 1:2.5.1
ruby-font-awesome-rails recommends no packages.
ruby-font-awesome-rails suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20180522/bf77de9f/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list