https://bugs.kde.org/show_bug.cgi?id=388370

Francis Herne <m...@flherne.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |wishlist
            Summary|kdev-php package does not   |Make parser code usable
                   |provide development package |from Umbrello (or other
                   |                            |projects)
                 CC|                            |m...@flherne.uk

--- Comment #2 from Francis Herne <m...@flherne.uk> ---
This report is a bit strange, I've tried to make sense of it.

To be clear about the current state:

Umbrello currently vendors in the complete source of a KDE4-based kdev-php
version: https://cgit.kde.org/umbrello.git/tree/lib/kdev4-php .

It does so because the "PHP import" feature of Umbrello uses kdev-php's parser
and visitor framework (only - not the DUChain, afaict) to extract information
from PHP source code:
https://cgit.kde.org/umbrello.git/tree/umbrello/codeimport/phpimport.cpp .

Presumably, the intent is that the KF5 port should link against kdev-php's
parser without vendoring it as before.

----

Response:

No part of kdev-php is currently intended to be linked against by any external
project; hence CMake doesn't install any headers and distros don't ship them in
"development packages".

This isn't by a mere oversight; there's no stable API (let alone ABI) and it's
not developed with that in mind.

It might be possible to share this code somehow, but you need to discuss with
the maintainers about the interfaces needed and how to approach it. Installing
an arbitrary set of internal headers won't solve anything.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to