public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [git:v4l-utils/master] Add an install target to libv4l2util
       [not found] <E1QORwH-0003gY-GA@www.linuxtv.org>
@ 2011-05-23 14:48 ` Hans de Goede
  2011-05-23 15:33   ` Hans Verkuil
  0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2011-05-23 14:48 UTC (permalink / raw)
  To: linux-media

Hi,

On 05/23/2011 12:00 PM, Mauro Carvalho Chehab wrote:
> This is an automatic generated email to let you know that the following patch were queued at the
> http://git.linuxtv.org/v4l-utils.git tree:
>
> Subject: Add an install target to libv4l2util
> Author:  Mauro Carvalho Chehab<mchehab@redhat.com>
> Date:    Mon May 23 07:00:00 2011 -0300
>
> Signed-off-by: Mauro Carvalho Chehab<mchehab@redhat.com>
>

Erm,

This is a static lib, installing static libs globally is considered
bad practice. Either we need to make this a properly versioned .so
and all the API+ABI promises which some with that, or we should just
keep it as a private utility function lib, which gets linked into
a few utils, but not installed system wide.

I think this may have something to do with the new get_media_devices
code, but the commit message is rather undescriptive...

Regards,

Hans

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [git:v4l-utils/master] Add an install target to libv4l2util
  2011-05-23 14:48 ` [git:v4l-utils/master] Add an install target to libv4l2util Hans de Goede
@ 2011-05-23 15:33   ` Hans Verkuil
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Verkuil @ 2011-05-23 15:33 UTC (permalink / raw)
  To: Hans de Goede; +Cc: linux-media

On Monday, May 23, 2011 16:48:05 Hans de Goede wrote:
> Hi,
> 
> On 05/23/2011 12:00 PM, Mauro Carvalho Chehab wrote:
> > This is an automatic generated email to let you know that the following patch were queued at the
> > http://git.linuxtv.org/v4l-utils.git tree:
> >
> > Subject: Add an install target to libv4l2util
> > Author:  Mauro Carvalho Chehab<mchehab@redhat.com>
> > Date:    Mon May 23 07:00:00 2011 -0300
> >
> > Signed-off-by: Mauro Carvalho Chehab<mchehab@redhat.com>
> >
> 
> Erm,
> 
> This is a static lib, installing static libs globally is considered
> bad practice. Either we need to make this a properly versioned .so
> and all the API+ABI promises which some with that, or we should just
> keep it as a private utility function lib, which gets linked into
> a few utils, but not installed system wide.

To be honest, I don't think this library should be installed at all. It is
undocumented and frankly, I never liked it. As soon as we install this, then
we are stuck with respect to the API/ABI, and if we do that, then it has to
be reviewed first.

> I think this may have something to do with the new get_media_devices

That code looks awfully like a poor-mans media controller when it comes to
discovering media nodes. No really the way I want to go.

> code, but the commit message is rather undescriptive...

Just for the record: I think a libv4l2util library is a nice idea. But if we
do that, then we need something better than this.

Regards,

	Hans

> 
> Regards,
> 
> Hans
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-23 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1QORwH-0003gY-GA@www.linuxtv.org>
2011-05-23 14:48 ` [git:v4l-utils/master] Add an install target to libv4l2util Hans de Goede
2011-05-23 15:33   ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox