Giter VIP home page Giter VIP logo

Comments (7)

jhgit avatar jhgit commented on July 25, 2024 1

'configure' works and the build succeeds with the following patch:

--- configure.ac.orig   2021-08-06 13:34:59.000000000 -0600
+++ configure.ac        2022-05-02 09:26:48.190928000 -0600
@@ -214,6 +214,8 @@ if test "x$enable_sendto" = "xyes"; then
             fi
             ;;
             upnp)
+                PKG_CHECK_MODULES(UPNP, gupnp-1.6 >= $GUPNP_REQUIRED,
+                    enable_upnp=yes AC_DEFINE([HAS_GUPNP_VERSION_1_2], 1, ["Version is at least 1.2"]), enable_upnp=no)
                 PKG_CHECK_MODULES(UPNP, gupnp-1.2 >= $GUPNP_REQUIRED,
                     enable_upnp=yes AC_DEFINE([HAS_GUPNP_VERSION_1_2], 1, ["Version is at least 1.2"]), enable_upnp=no)
                 PKG_CHECK_MODULES(UPNP, gupnp-1.0 >= $GUPNP_REQUIRED,

todo: run testing

from caja-extensions.

heftig avatar heftig commented on July 25, 2024

Definitely not going to work as-is:

upnp.c:151:9: warning: implicit declaration of function 'gupnp_service_info_get_introspection_async';
              did you mean 'gupnp_service_info_introspect_async'? [-Wimplicit-function-declaration]

Needs to be ported to gupnp_service_info_introspect_async, see https://gitlab.gnome.org/GNOME/gupnp/-/blob/master/examples/get-volume.c#L118-121.

from caja-extensions.

raveit65 avatar raveit65 commented on July 25, 2024

See https://bugzilla.redhat.com/show_bug.cgi?id=2145142
and fedora-devel list https://lists.fedoraproject.org/archives/list/[email protected]/thread/VWBNK3UCUOIYNILUD2HKID3NG4CAVGTD/#VWBNK3UCUOIYNILUD2HKID3NG4CAVGTD

There is more to do. For the moment i disabled gupnp support for fedora rawhide with this patch.

From d390cb9d6db7ffd97573ec7f0f90f2ac56d3c9a7 Mon Sep 17 00:00:00 2001
From: raveit65 <[email protected]>
Date: Wed, 23 Nov 2022 21:38:26 +0100
Subject: [PATCH] build without gupnp

---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index c8fb513..bdb4575 100644
--- a/configure.ac
+++ b/configure.ac
@@ -119,7 +119,7 @@ if test "x$enable_sendto" = "xyes"; then
         GTHREAD_REQUIRED=2.6.0
         DBUS_REQUIRED=1.0
         DBUS_GLIB_REQUIRED=0.60
-        GUPNP_REQUIRED=0.13
+#        GUPNP_REQUIRED=0.13
         PKG_CHECK_MODULES(SENDTO,
                 glib-2.0    >= $GLIB_REQUIRED
                 gthread-2.0 >= $GTHREAD_REQUIRED
@@ -130,7 +130,7 @@ if test "x$enable_sendto" = "xyes"; then
         AC_SUBST(SENDTO_LIBS)
 
     # The full list of plugins
-    allowed_sendto_plugins="emailclient gajim caja-burn pidgin removable-devices upnp"
+    allowed_sendto_plugins="emailclient gajim caja-burn pidgin removable-devices"
 
     sendto_plugin_error_or_ignore()
     {
-- 
2.38.1

And use configure option --with-sendto-plugins=emailclient,gajim,caja-burn,pidgin,removable-devices to be sure.

from caja-extensions.

raveit65 avatar raveit65 commented on July 25, 2024

@mate-desktop/core-team
Fedora 38 is released and the plugin can't be build any more.
I guess ubuntu will be the next distro where it failed.

from caja-extensions.

raveit65 avatar raveit65 commented on July 25, 2024

Can you please help testing #120 with your upnp media-server?

from caja-extensions.

raveit65 avatar raveit65 commented on July 25, 2024

merged 1d21084

from caja-extensions.

raveit65 avatar raveit65 commented on July 25, 2024

stable 1.26 652e145

from caja-extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.