Created attachment 426746 [details] list of new files sorted by size Some new bundled java jars have made this package now quite fat. I do not believe the bundled stuff is used at all, in fact we may be able to cut out all the java stuff altogether for gentoo. I have CC'd releng because this affects stage3's, it's making them almost 20MB fatter. qsize comparison: app-text/docbook-xsl-stylesheets-1.78.0-r1: 1,828 files, 90 non-files, 21,457.327 KiB app-text/docbook-xsl-stylesheets-1.79.0: 1,905 files, 94 non-files, 45,174.458 KiB quickpkg (tbz2) comparison: docbook-xsl-stylesheets-1.78.0-r1.tbz2 3.9M docbook-xsl-stylesheets-1.79.0.tbz2 21M
I don't know enough about what docbook-xsl-stylesheets does to determine what can and should be pruned, but just as a point of reference: I have removed /usr/share/sgml/docbook/xsl-stylesheets/tools/lib/*.jar and /usr/share/sgml/docbook/xsl-stylesheets/extensions/*.jar and successfully rebuilt all its rdeps on my desktop: =app-cdr/k3b-2.0.3-r2 =app-text/asciidoc-8.6.9-r2 =app-text/docbook-xml-dtd-4.1.2-r6 =app-text/docbook-xml-dtd-4.2-r2 =app-text/docbook-xml-dtd-4.4-r2 =app-text/docbook-xml-dtd-4.5-r1 =app-text/xmlto-0.0.28-r1 =dev-libs/json-glib-1.0.4 =dev-python/pygtk-2.24.0-r4 =dev-python/pygtksourceview-2.10.1-r1 =gnome-base/dconf-0.24.0 =kde-apps/kdebase-kioslaves-15.08.3 =kde-apps/ksnapshot-15.08.3-r1 =kde-apps/libkcddb-15.12.1 =kde-apps/okular-15.12.1 =kde-base/katepart-4.14.3 =kde-base/kdelibs-4.14.16 =kde-frameworks/kdoctools-5.19.0 =media-video/mplayer-1.2.1 =sys-auth/polkit-0.113-r1 =sys-auth/polkit-pkla-compat-0.1 =sys-fs/udisks-2.1.6 =sys-power/upower-0.99.4 =x11-libs/gtk+-3.18.7
Bundled jars are always bad news, even when they are supposed to be there. I don't have time right now to check exactly why they need to be present in this case but I think they should just be stripped out.
commit 87dab152decd44422608056bf528ac2f8010fed2 Author: James Le Cuirot <chewi@gentoo.org> Date: Sun Mar 13 20:56:03 2016 +0000 app-text/docbook-xsl-stylesheets: Fix #575818 (Java), #536600 (Ruby) Delete the unnecessary Java-related stuff and other tools as they bloat the stage3 tarballs massively. Fixes bug #575818. A java USE flag could be added but it's probably not worth the hassle. Use the ruby-single eclass as suggested by graaff in bug #536600. I was going to do dev-lang/ruby:* as suggested by pacho but ruby-single seems like the correct thing to do and I don't want to go against the Ruby team. This also removes a useless find call.