Patchwork [1/3] glib-networking: Add 2.28.7 as new recipe

login
register
mail settings
Submitter Zhai, Edwin
Date June 28, 2011, 7:42 a.m.
Message ID <2c83cbe9b56b589ad8786d8d371c2d85810b31f2.1309246787.git.edwin.zhai@intel.com>
Download mbox | patch
Permalink /patch/6593/
State New, archived
Headers show

Comments

Zhai, Edwin - June 28, 2011, 7:42 a.m.
From: Zhai Edwin <edwin.zhai@intel.com>

glib-networking contains the implementations of certain GLib networking
features that cannot be implemented directly in GLib itself because of their
dependencies. TLS/SSL support is one of them, which is needed for accessing SSL
web page.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
---
 .../glib-networking/glib-networking_2.28.7.bb      |   21 ++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-core/glib-networking/glib-networking_2.28.7.bb
Phil Blundell - June 28, 2011, 9:11 a.m.
On Tue, 2011-06-28 at 15:42 +0800, edwin.zhai@intel.com wrote:
> +SRC_URI = "${GNOME_MIRROR}/${PN}/2.28/${PN}-${PV}.tar.bz2"

FYI, gnome.bbclass will do this for you and will also figure out the
"2.28" part automatically.

p.
Koen Kooi - June 28, 2011, 9:19 a.m.
Op 28 jun 2011, om 11:11 heeft Phil Blundell het volgende geschreven:

> On Tue, 2011-06-28 at 15:42 +0800, edwin.zhai@intel.com wrote:
>> +SRC_URI = "${GNOME_MIRROR}/${PN}/2.28/${PN}-${PV}.tar.bz2"
> 
> FYI, gnome.bbclass will do this for you and will also figure out the
> "2.28" part automatically.

THat will also drag in a ton of deps, gnomebase.bbclass in meta-oe does a better job :)
Zhai, Edwin - June 28, 2011, 12:05 p.m.
Koen Kooi wrote:
>
> Op 28 jun 2011, om 11:11 heeft Phil Blundell het volgende geschreven:
>
> > On Tue, 2011-06-28 at 15:42 +0800, edwin.zhai@intel.com wrote:
> >> +SRC_URI = "${GNOME_MIRROR}/${PN}/2.28/${PN}-${PV}.tar.bz2"
> >
> > FYI, gnome.bbclass will do this for you and will also figure out the
> > "2.28" part automatically.
>
> THat will also drag in a ton of deps,
>

yes.
>
> gnomebase.bbclass in meta-oe does a better job :)
>

There is no gnomebase.bbclass in yocto. I can sync with it in future.


> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
Koen Kooi - June 28, 2011, 12:28 p.m.
Op 28 jun 2011, om 14:05 heeft Zhai, Edwin het volgende geschreven:

> 
> 
> Koen Kooi wrote:
>> 
>> Op 28 jun 2011, om 11:11 heeft Phil Blundell het volgende geschreven:
>> 
>> > On Tue, 2011-06-28 at 15:42 +0800, edwin.zhai@intel.com wrote:
>> >> +SRC_URI = "${GNOME_MIRROR}/${PN}/2.28/${PN}-${PV}.tar.bz2"
>> >
>> > FYI, gnome.bbclass will do this for you and will also figure out the
>> > "2.28" part automatically.
>> 
>> THat will also drag in a ton of deps,
>> 
> 
> yes.
>> 
>> gnomebase.bbclass in meta-oe does a better job :)
>> 
> 
> There is no gnomebase.bbclass in yocto. I can sync with it in future.

I'll have a look at the differences between the oe-core classes and the meta-oe ones, there were some hack involved when I merged the .dev versions into meta-oe
Richard Purdie - June 28, 2011, 1:54 p.m.
On Tue, 2011-06-28 at 15:42 +0800, edwin.zhai@intel.com wrote:
> From: Zhai Edwin <edwin.zhai@intel.com>
> 
> glib-networking contains the implementations of certain GLib networking
> features that cannot be implemented directly in GLib itself because of their
> dependencies. TLS/SSL support is one of them, which is needed for accessing SSL
> web page.
> 
> Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
> ---
>  .../glib-networking/glib-networking_2.28.7.bb      |   21 ++++++++++++++++++++
>  1 files changed, 21 insertions(+), 0 deletions(-)
>  create mode 100644 meta/recipes-core/glib-networking/glib-networking_2.28.7.bb

I merged this patch but we should revisit the issue of the gnome bbclass
files in a subsequent patch.

Cheers,

Richard
Zhai, Edwin - June 29, 2011, 1:24 a.m.
Koen said missing of gnomebase.bbclass may be introduced by some hacks 
in one merge.


Richard Purdie wrote:
>
> On Tue, 2011-06-28 at 15:42 +0800, edwin.zhai@intel.com wrote:
> > From: Zhai Edwin <edwin.zhai@intel.com>
> >
> > glib-networking contains the implementations of certain GLib networking
> > features that cannot be implemented directly in GLib itself because 
> of their
> > dependencies. TLS/SSL support is one of them, which is needed for 
> accessing SSL
> > web page.
> >
> > Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
> > ---
> >  .../glib-networking/glib-networking_2.28.7.bb      |   21 
> ++++++++++++++++++++
> >  1 files changed, 21 insertions(+), 0 deletions(-)
> >  create mode 100644 
> meta/recipes-core/glib-networking/glib-networking_2.28.7.bb
>
> I merged this patch but we should revisit the issue of the gnome bbclass
> files in a subsequent patch.
>
> Cheers,
>
> Richard
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
Saul Wold - June 29, 2011, 9:13 p.m.
On 06/28/2011 06:54 AM, Richard Purdie wrote:
> On Tue, 2011-06-28 at 15:42 +0800, edwin.zhai@intel.com wrote:
>> From: Zhai Edwin<edwin.zhai@intel.com>
>>
>> glib-networking contains the implementations of certain GLib networking
>> features that cannot be implemented directly in GLib itself because of their
>> dependencies. TLS/SSL support is one of them, which is needed for accessing SSL
>> web page.
>>
>> Signed-off-by: Zhai Edwin<edwin.zhai@intel.com>
>> ---
>>   .../glib-networking/glib-networking_2.28.7.bb      |   21 ++++++++++++++++++++
>>   1 files changed, 21 insertions(+), 0 deletions(-)
>>   create mode 100644 meta/recipes-core/glib-networking/glib-networking_2.28.7.bb
>
> I merged this patch but we should revisit the issue of the gnome bbclass
> files in a subsequent patch.
>
Should this not go into recipes-support?

Sau!

> Cheers,
>
> Richard
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
Koen Kooi - June 29, 2011, 9:20 p.m.
Op 29 jun 2011, om 23:13 heeft Saul Wold het volgende geschreven:

> On 06/28/2011 06:54 AM, Richard Purdie wrote:
>> On Tue, 2011-06-28 at 15:42 +0800, edwin.zhai@intel.com wrote:
>>> From: Zhai Edwin<edwin.zhai@intel.com>
>>> 
>>> glib-networking contains the implementations of certain GLib networking
>>> features that cannot be implemented directly in GLib itself because of their
>>> dependencies. TLS/SSL support is one of them, which is needed for accessing SSL
>>> web page.
>>> 
>>> Signed-off-by: Zhai Edwin<edwin.zhai@intel.com>
>>> ---
>>>  .../glib-networking/glib-networking_2.28.7.bb      |   21 ++++++++++++++++++++
>>>  1 files changed, 21 insertions(+), 0 deletions(-)
>>>  create mode 100644 meta/recipes-core/glib-networking/glib-networking_2.28.7.bb
>> 
>> I merged this patch but we should revisit the issue of the gnome bbclass
>> files in a subsequent patch.
>> 
> Should this not go into recipes-support?

I'd put it in the same dir as the other glib recipes to make it easier to find.

Patch

diff --git a/meta/recipes-core/glib-networking/glib-networking_2.28.7.bb b/meta/recipes-core/glib-networking/glib-networking_2.28.7.bb
new file mode 100644
index 0000000..64fff50
--- /dev/null
+++ b/meta/recipes-core/glib-networking/glib-networking_2.28.7.bb
@@ -0,0 +1,21 @@ 
+DESCRIPTION = "glib-networking contains the implementations of certain GLib networking features that cannot be implemented directly in GLib itself because of their dependencies."
+HOMEPAGE = "http://git.gnome.org/browse/glib-networking/"
+BUGTRACKER = "http://bugzilla.gnome.org"
+
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
+
+SECTION = "libs"
+DEPENDS = "glib-2.0 gnutls"
+
+PR = "r0"
+
+SRC_URI = "${GNOME_MIRROR}/${PN}/2.28/${PN}-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "c10e51571d03c10111a37bcd21fbf777"
+SRC_URI[sha256sum] = "98bedfbd530c4b1b53c91025fe82290bafd289d249e4eb549c3b90d23a76021c"
+
+inherit autotools pkgconfig
+
+FILES_${PN} += "${libdir}/gio/modules/libgio* ${datadir}/dbus-1/services/"
+FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/"