Installing qt-core-4.*9999 with USE="doc" doesn't install html documentation as expected. This is probably because it is needed to run "make docs" as can be seen here : http://is.gd/biQp0 Reproducible: Always Steps to Reproduce: Actual Results: There is some failure during make install which is ignored (see attached build log) Expected Results: html docs should be generated and installed
Created attachment 226907 [details] build log The error is at the end, before the translations generation
Ok correct me if I am wrong the rule make docs doesnt generate html documentation according to makefile docs: adp_docs qch_docs However, the install_htmldocs rule is the following install_htmldocs: FORCE @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/share/doc/qt-4.6.9999/ || $(MKDIR) $(INSTALL_ROOT)/usr/share/doc/qt-4.6.9999/ -$(INSTALL_FILE) /var/tmp/portage/x11-libs/qt-core-4.6.9999/work/qt-everywhere-opensource-src-4.6.9999/doc/html $(INSTALL_ROOT)/usr/share/doc/qt-4.6.9999/ But the doc/html doesnt exist. The html documentation doesnt exist on live ebuild because simply upstream nor ships it neither has a rule to generate it If there are no objections the live ebuilds should be fixed to NOT bother about the html docs at all
As stated in the link I pasted in the first comment, if you run make docs, you will see that html docs is generated and can be found in doc/html folder. It is then necessary to re-run qmake so that install_htmldocs target is updated. I made a patch for qt-assistant-4.6.9999 ebuild and managed to generate and install html docs with it.
Created attachment 227257 [details, diff] Add html-docs use flag to qt-assistant-4.6.9999 Patch to generate and install html docs with qt-assistant
I understand what you are saying here. I am in the middle of some tests regarding move the documentation installation from qt-assistant -> qt-core due to linking issues in 4.7[stable-branch]. If this migration is success I will apply your patch to qt-core-4.6.9999 Stay tuned for the upcoming results
Now that I see your patch more carefully, it might not work since emake docs using /bin/qhelpgenerator which is provided my qt-assistant. It will work if you have qt-assistant installed but It wont if you don't cause it will lead into circullar dependencies I will try to figure out something
Documentation moved from qt-core -> qt-assistant. Please enable doc use flag on qt-assistant and try rebuild those two packages Re-open if needed Thanks for your patch and your feedback