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

login
register
mail settings
Submitter Zhai, Edwin
Date June 25, 2011, 3:54 a.m.
Message ID <a9318aee537a684644da1b6c3349e1f339bdf269.1308973924.git.edwin.zhai@intel.com>
Download mbox | patch
Permalink /patch/6507/
State New, archived
Headers show

Comments

Zhai, Edwin - June 25, 2011, 3:54 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>
---
 meta/recipes-sato/web/glib-networking_2.28.7.bb |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-sato/web/glib-networking_2.28.7.bb
Koen Kooi - June 27, 2011, 9:53 a.m.
Op 25 jun 2011, om 05:54 heeft edwin.zhai@intel.com het volgende geschreven:

> 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>
> ---
> meta/recipes-sato/web/glib-networking_2.28.7.bb |   21 +++++++++++++++++++++

The recipe looks good, but it shouldn't be hidden in recipes-sato/web/
Koen Kooi - June 27, 2011, 10:17 a.m.
Op 25 jun 2011, om 05:54 heeft edwin.zhai@intel.com het volgende geschreven:

> From: Zhai Edwin <edwin.zhai@intel.com>
> 
> +SRC_URI = "${GNOME_MIRROR}/glib-networking/2.28/glib-networking-${PV}.tar.bz2"

No 'name' parameter

> +SRC_URI[archive.md5sum] = "c10e51571d03c10111a37bcd21fbf777"
> +SRC_URI[archive.sha256sum] = "98bedfbd530c4b1b53c91025fe82290bafd289d249e4eb549c3b90d23a76021c"

'archive' as name paramater, leading to:

WARNING: Missing SRC_URI checksum for /OE/tentacle/sources/downloads/glib-networking-2.28.7.tar.bz2, consider adding to the recipe:
SRC_URI[md5sum] = "c10e51571d03c10111a37bcd21fbf777"
SRC_URI[sha256sum] = "98bedfbd530c4b1b53c91025fe82290bafd289d249e4eb549c3b90d23a76021c"
Zhai, Edwin - June 28, 2011, 1:02 a.m.
Koen Kooi wrote:
>
> Op 25 jun 2011, om 05:54 heeft edwin.zhai@intel.com het volgende 
> geschreven:
>
> > 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>
> > ---
> > meta/recipes-sato/web/glib-networking_2.28.7.bb |   21 
> +++++++++++++++++++++
>
> The recipe looks good, but it shouldn't be hidden in recipes-sato/web/
>

 From function level, only web requires TLS or proxy support. But in 
fact, glib-networking is part of glib. How about recipes-core/, like glib?

> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
Zhai, Edwin - June 28, 2011, 1:20 a.m.
Koen Kooi wrote:
>
> Op 25 jun 2011, om 05:54 heeft edwin.zhai@intel.com het volgende 
> geschreven:
>
> > From: Zhai Edwin <edwin.zhai@intel.com>
> >
> > +SRC_URI = 
> "${GNOME_MIRROR}/glib-networking/2.28/glib-networking-${PV}.tar.bz2"
>
> No 'name' parameter
>
I'll change it to

+SRC_URI = "${GNOME_MIRROR}/${PN}/2.28/${PN}-${PV}.tar.bz2"

> > +SRC_URI[archive.md5sum] = "c10e51571d03c10111a37bcd21fbf777"
> > +SRC_URI[archive.sha256sum] = 
> "98bedfbd530c4b1b53c91025fe82290bafd289d249e4eb549c3b90d23a76021c"
>
> 'archive' as name paramater, leading to:
>

My fault, will remove it.

> WARNING: Missing SRC_URI checksum for 
> /OE/tentacle/sources/downloads/glib-networking-2.28.7.tar.bz2, 
> consider adding to the recipe:
>
> SRC_URI[md5sum] = "c10e51571d03c10111a37bcd21fbf777"
> SRC_URI[sha256sum] = 
> "98bedfbd530c4b1b53c91025fe82290bafd289d249e4eb549c3b90d23a76021c"
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

Patch

diff --git a/meta/recipes-sato/web/glib-networking_2.28.7.bb b/meta/recipes-sato/web/glib-networking_2.28.7.bb
new file mode 100644
index 0000000..15026ae
--- /dev/null
+++ b/meta/recipes-sato/web/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}/glib-networking/2.28/glib-networking-${PV}.tar.bz2"
+
+SRC_URI[archive.md5sum] = "c10e51571d03c10111a37bcd21fbf777"
+SRC_URI[archive.sha256sum] = "98bedfbd530c4b1b53c91025fe82290bafd289d249e4eb549c3b90d23a76021c"
+
+inherit autotools pkgconfig
+
+FILES_${PN} += "${libdir}/gio/modules/libgio* ${datadir}/dbus-1/services/"
+FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/"