-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
caja-extension-sendto-upnp doesn't build with gupnp-1.2 #52
Comments
@jonsger - gupnp 1.2 was tagged a few months ago, most distros won't have that available that quickly. The "proper" way (if there's such a thing) would be to have a conditional check in #ifdef HAS_GUPNP_VERSION_1_2
context_manager = gupnp_context_manager_create (0);
#else
context_manager = gupnp_context_manager_new (NULL, 0);
#endif Please send a pull request and we can start testing. Alternatively, you can just distro-patch Tumbleweed, but then you'll need to maintain that extra configuration on your side... |
This fixes mate-desktop#52. * (configure.ac): Check also for gupnp-1.2 and set HAS_GUPNP_VERSION_1_2 to yes if found. * (sendto/plugins/upnp/upnp.c): Use gupnp_context_manager_create when building with gupnp-1.2 as gupnp_context_manager_new was removed.
This fixes mate-desktop#52. * (configure.ac): Check also for gupnp-1.2 and set HAS_GUPNP_VERSION_1_2 to yes if found. * (sendto/plugins/upnp/upnp.c): Use gupnp_context_manager_create when building with gupnp-1.2 as gupnp_context_manager_new was removed. Signed-off-by: Jonathan Brielmaier <jbrielmaier@suse.de>
This fixes mate-desktop#52. * (configure.ac): Check also for gupnp-1.2 and set HAS_GUPNP_VERSION_1_2 to yes if found. * (sendto/plugins/upnp/upnp.c): Use gupnp_context_manager_create when building with gupnp-1.2 as gupnp_context_manager_new was removed. Signed-off-by: Jonathan Brielmaier <jbrielmaier@suse.de> Co-authored-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
This fixes #52. * (configure.ac): Check also for gupnp-1.2 and set HAS_GUPNP_VERSION_1_2 to yes if found. * (sendto/plugins/upnp/upnp.c): Use gupnp_context_manager_create when building with gupnp-1.2 as gupnp_context_manager_new was removed. Signed-off-by: Jonathan Brielmaier <jbrielmaier@suse.de> Co-authored-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
This fixes #52. * (configure.ac): Check also for gupnp-1.2 and set HAS_GUPNP_VERSION_1_2 to yes if found. * (sendto/plugins/upnp/upnp.c): Use gupnp_context_manager_create when building with gupnp-1.2 as gupnp_context_manager_new was removed. Signed-off-by: Jonathan Brielmaier <jbrielmaier@suse.de> Co-authored-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
On openSUSE Tumbleweed we only ship gupnp-1.2 (1.2.1), so no gupnp-1.0. So we can't build caja-extension-sendto-upnp out-of-the-box anymore.
I created the following patch to let it build again:
Is this the right way to do it? Would you accept a proper PR, the configure.ac thing needs some more love.
The text was updated successfully, but these errors were encountered: