After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679648 - Add librygel-server
Add librygel-server
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: rygel-maint
rygel-maint
Depends on:
Blocks:
 
 
Reported: 2012-07-09 18:57 UTC by Jens Georg
Modified: 2012-07-27 20:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
core,renderer: Extract base class for libraries (10.97 KB, patch)
2012-07-09 18:57 UTC, Jens Georg
reviewed Details | Review
core,server,examples,doc: Add librygel-server (11.29 KB, patch)
2012-07-09 18:57 UTC, Jens Georg
none Details | Review
New version (10.96 KB, patch)
2012-07-10 06:44 UTC, Jens Georg
none Details | Review
core,renderer: Extract base class for libraries (10.96 KB, patch)
2012-07-10 06:46 UTC, Jens Georg
none Details | Review
core,server,examples,doc: Add librygel-server (12.12 KB, patch)
2012-07-10 06:46 UTC, Jens Georg
none Details | Review

Description Jens Georg 2012-07-09 18:57:03 UTC
Add the server library counterpart of librygel-renderer
Comment 1 Jens Georg 2012-07-09 18:57:05 UTC
Created attachment 218363 [details] [review]
core,renderer: Extract base class for libraries
Comment 2 Jens Georg 2012-07-09 18:57:08 UTC
Created attachment 218364 [details] [review]
core,server,examples,doc: Add librygel-server
Comment 3 Zeeshan Ali 2012-07-09 19:27:03 UTC
Review of attachment 218363 [details] [review]:

Wht makes simple device 'simple'? Its an abstract class so can't be used as simple utility class. I suggest following hierarchy:

MediaDevice -> MediaServer
            -> MediaRenderer

::: src/librygel-renderer/rygel-playbin-renderer.vala
@@ -84,1 +66,1 @@
      * @param title Friendly name of the new UPnP renderer on the network.

doc for pipeline param as well?
Comment 4 Zeeshan Ali 2012-07-09 19:34:51 UTC
Review of attachment 218364 [details] [review]:

I'm a bit confused. how does the rygel process now build/work?
Comment 5 Jens Georg 2012-07-10 05:56:51 UTC
(In reply to comment #3)
> Review of attachment 218363 [details] [review]:
> 
> Wht makes simple device 'simple'? Its an abstract class so can't be used as
> simple utility class. I suggest following hierarchy:

It was meant for "Simple" device creation taking away the need of creating a RootDeviceFactory etc. 

> 
> MediaDevice -> MediaServer
>             -> MediaRenderer

But that makes more sense.

> 
> ::: src/librygel-renderer/rygel-playbin-renderer.vala
> @@ -84,1 +66,1 @@
>       * @param title Friendly name of the new UPnP renderer on the network.
> 
> doc for pipeline param as well?

Ah, yes.
Comment 6 Jens Georg 2012-07-10 05:57:57 UTC
(In reply to comment #4)
> Review of attachment 218364 [details] [review]:
> 
> I'm a bit confused. how does the rygel process now build/work?

currently libserver + librenderer + rygel binary are all on-top of libcore.

with libserver + librenderer being utility libraries to ease the creation of server/renderer devices in your own code.
Comment 7 Jens Georg 2012-07-10 06:22:54 UTC
I'd like to have it like

              ,----------------.
              |     Rygel      |
              |________________|
                |            |
                |            |
                |            |
         ,------+------b  ...|..........
         |  libserver  |  |  librenderer
         |_____________|  L____________|
                 |               |
         ,_______|_______________|______
         |                             |
         |      libcore                |
         `-----------------------------'

In a next iteration.
Comment 8 Jens Georg 2012-07-10 06:41:40 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > Review of attachment 218363 [details] [review] [details]:

> > ::: src/librygel-renderer/rygel-playbin-renderer.vala
> > @@ -84,1 +66,1 @@
> >       * @param title Friendly name of the new UPnP renderer on the network.
> > 
> > doc for pipeline param as well?
> 
> Ah, yes.

That's an issue with the diff, the doc is there.
Comment 9 Jens Georg 2012-07-10 06:44:45 UTC
Created attachment 218383 [details] [review]
New version
Comment 10 Jens Georg 2012-07-10 06:46:03 UTC
Created attachment 218384 [details] [review]
core,renderer: Extract base class for libraries

New version of patch
Comment 11 Jens Georg 2012-07-10 06:46:09 UTC
Created attachment 218385 [details] [review]
core,server,examples,doc: Add librygel-server
Comment 12 Murray Cumming 2012-07-17 07:31:41 UTC
Zeeshan, does this look OK to you?