Fix for strange devhelp behavior launched from nonroot#3
Conversation
|
Hi, Thanks for bringing this to my knowledge and thanks for the PR! It looks like that the current upstream repository might already have a fix for this issue - the output html files use I'll fix the bug by doing a new upstream release with updated documentation. With regards to gbp config, it looks fine, I could merge it if you updated this PR to exclude the file. |
|
I checked 20170214 archive and yes, the issue is gone.
you mean that you need a PR, which has only this one added file, without any other changes? |
Yes. You don't need to open a new PR - the branch can be rewritten and force-pushed to Github. |
|
Reverted the master branch and force-pushed it. PR looks strange but seems that it works :). |
|
Thanks! |
Hi.
I found a strange bug, trying to use this docs with Devhelp on Ubuntu (tested on 2 real computers with Kubuntu and Xubuntu). Seems that webkit2gtk from devhelp for some reason don't want to read html pages with XHTML DOCTYPE when launched from regular user or even from sudo, but works fine when launched from root directly. I can't find a real reason of this due to a very large source code of webkit and my low skills in debugging, so i made this walkaround, just changed cppreference output settings to change DOCTYPE to html. After that this all works for me on all my computers.
More info is here https://bugs.launchpad.net/ubuntu/+source/cppreference-doc/+bug/1668085
Also the same thing was detecded by somebody in archlinux https://aur.archlinux.org/packages/cppreference-devhelp/
PPA with modified packages:
https://launchpad.net/~sagrer/+archive/ubuntu/cppreference-doc
Also i added gbp config to my repository to make gbp using some more easy, changed upstream link to correct commit, added a tag to last upstream and added a branch for autogeneration of patches by gbp pq, may be this all can be added to main repository too, i think this all makes things more easy :).