-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change namespace and directory of osgKido #588
Change namespace and directory of osgKido #588
Conversation
@@ -69,7 +69,7 @@ if(MSVC) | |||
else() | |||
option(BUILD_SHARED_LIBS "Build shared libraries" ON) | |||
endif() | |||
option(KIDO_BUILD_OSGKIDO "Build osgKido library" ON) | |||
option(KIDO_BUILD_OSGKIDO "Build osgKido library" ON) # TODO(JS): we probably should remove this option or add another build options for other extensions as well for consistency. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually do think we should have an option flag for each extension, although I don't consider that to be high priority.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, as KIDO 0.1.0 should be released as soon as possible, I'll add them for KIDO 1.0.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. This is only relevant to the build system anyway; it doesn't impact the packaging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re: Packing. The ideal way to package KIDO as a Debian would be to create one kido
source package that Build-Depend
s on the build dependencies all components. The source package would build a separate binary package for each component (e.g. kido-optimizer-nlopt
) that Depend
s only on the runtime dependencies for the headers/library that it contains.
I doubt it is possible to change this structure within one Debian release, since it changes the names (and number) of binary packages built from the source package.
Is this the plan? Or will we stick with a single, monolithic kido
package for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I understand correctly, KIDO 0.1 is already doing exactly what you mentioned, and KIDO 0.1 and KIDO 1.0 will have same package structure.
Edit: You can check that the debian control file.
I'm wondering if we should make the namespace Using a |
I agree with you in the point of the name collisions (e.g.,
|
I don't have a strong preference either way, other than supporting the refactor into the
|
I'd rather not append |
I see. We have then |
I would be okay with either
But @psigen brings up some compelling reasons for preferring |
I do agree with @mxgrey's points, but I think they might be better handled by subsequent cleanup of the The |
If we decide to make it |
That's a good point, something like |
All sounds good. The I will change the namespace |
👍 for removing the |
That plan sounds good to me. |
- Use leading :: namespace (global namespace) to differ OpenSceneGraph's osg namespace from kido::gui::osg
Change namespace and directory of osgKido
This pull request changes the namespace and directory of
osgKido
tokido/gui/osg
andkido::gui
, respectively. Note that this pull request is targeting topackage_reorganizing
branch of #587.