Am 29.08.2017 um 14:16 schrieb Harald Sitter: > On Thu, Aug 24, 2017 at 3:20 PM, Ralf Habacker <ralf.habac...@freenet.de> > wrote: >> 10. The conclusion of 9. is that it might also be a solution on windows >> to patch only all generated files after 3. and before 4. > Hm, I may be missing a piece of the puzzle in my mind, but it appears > to me this should be working with the cmake code paths at hand, no? I > mean, it appears the paths for that mingw32 build are a bit all over > the place, but if that wasn't the case it should be fine. Which seems > where the sed in your point 9 comes in. Your actually generated > relativity is incorrect considering what you want/need. > > i.e. ../../../../../../../../../share (which supposedly goes to > /usr/share/ on the build system itself) /usr/i686-w64-mingw32/sys-root/mingw/share > vs. ../../../.. (which I do not know where it is meant to go but you > expec the docbook to be there) > > So I think the problem is your relativity more than anything. How to > fix that I can't say as I lack some background knowledge of how > mingw32 works on opensuse. mingw32 packages uses an install root of /usr/i686-w64-mingw32/sys-root/mingw/ > > From a windows POV we'd have this line up though: > > /c/kdoctools/dist/ <-- destination for distributable dir > /c/kdoctools/dist/data/xml/docbook <-- docbook assets for distribution > (loaded by kdoctools dtd/xsl files) see https://build.opensuse.org/build/home:rhabacker:branches:windows:mingw:win32:KF536/openSUSE_Leap_42.2/x86_64/mingw32-kdoctools/_log at timestamp '118s'
Ralf