>
> a) Fonts can be symlinked, there are 652K for each install.
In theory, this should not be needed if the fonts are installed into
system location. In that case, browser should be able to pick them up.
This just needs minor .css modification IMHO. However, I am not CSS
expert. But I am quite confident anyway ;)
Ok. Can check this. Then we can just
create a post install rubygem
specific macro that removes the fonts.
> b) Standard images should also be symlinked 104K for each install. One
> can use a script to remove standard images and link them to images
> from a supplementary Fedora RDoc package.
Right. However, on top of that, I have my doubts the images are actually
used, at least most of them. I think I have found traces about usage of
four of them.
Maybe manage fonts first.
> c) Css files similarly can be symlinked. 20K per install.
If we don't install the fonts, the license information from .css files
could be removed and the size possibly reduced.
Ok. Seems fonts are the first thing to solve.
>
> Finally, it may be good to split the documentation sub package into a
> commandline sub package with RI files, and web doc sub package with
> RDoc files. Have a few packages for review where have
Right, -ri and -rdoc subpackages would be nice as well as having them
autogenerated. Keeping the -doc just for doc stuff and possibly have
-test subpackage (if I am not mistaken, Perl started to ship -test
subpackages for great benefit).
Perhaps we can update the packaging guidelines and
example template?
Then can automate some of this, perhaps starting with gem2rpm is probably.
As you can see, if you start to dig into this, you can quickly find more
issues which would deserve attention to make things better (including
ideas such as [1]). It is not easy to pick a spot where to start to make
things better, which results in paralysis and keeping status quo.
Improving RubyGems RDoc behavior is great, but since this will likely
not change the files that are produced, maybe it is easier to start with
Fedora?
But hopefully, we are moving somewhere finally. So thank you for your
patience and nudging us to make the improvements.
Vít
[1]
https://github.com/rubygems/rubygems/discussions/6021
>>
>> Just ideas .....
>>
>>
>> Vít
>>
>>