Skip to contentSkip to conversation

gcc-4.5: include libgcov.a into libgcc-dev package

PATCH Applied Dmitry Eremin-Solenikov 2 participants 3 messages Sep 18, 2011 – Sep 19, 2011

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 gcc-4.5: include libgcov.a into libgcc-dev package

First, this lib is usefull for coverage analysis-enabled building. Second, this fixes the warning about unpackaged files in libgcc recipe.

---
 meta-oe/recipes-devtools/gcc/gcc-4.5.inc   |    2 +-
 meta-oe/recipes-devtools/gcc/libgcc_4.5.bb |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
meta-oe/recipes-devtools/gcc/gcc-4.5.inc +1 -1
index aabc1cf..a7f9480 100644
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 
 
 PV = "4.5"
-PR = "r40"
+PR = "r41"
 
 # BINV should be incremented after updating to a revision
 # after a minor gcc release (e.g. 4.5.1 or 4.5.2) has been made
meta-oe/recipes-devtools/gcc/libgcc_4.5.bb +1 -0
index 8a6c96a..1579c8b 100644
@@ -13,6 +13,7 @@ FILES_${PN} = "${base_libdir}/libgcc*.so.*"
 FILES_${PN}-dev = " \
   ${base_libdir}/libgcc*.so \
   ${libdir}/${TARGET_SYS}/${BINV}/crt* \
+  ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \
   ${libdir}/${TARGET_SYS}/${BINV}/libgcc*"
 
 do_fetch[noexec] = "1"
Signature · 1 line
1.7.2.5
#1 lore raw

PATCH v2 2/2 gconf: fix the "unshipped files" warnings

1) correct static libs removal in do_install_append
2) provide .la files in -dev package as it's usually done in other packages.

---
 meta-gnome/recipes-gnome/gconf/gconf_2.32.4.bb |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
meta-gnome/recipes-gnome/gconf/gconf_2.32.4.bb +4 -2
index 1d5a857..d927327 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "GNOME configuration database system"
 SECTION = "x11/gnome"
 DEPENDS = "gobject-introspection-native gtk+ orbit2 glib-2.0 libxml2 polkit"
 
-PR = "r4"
+PR = "r5"
 
 LICENSE = "LGPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
@@ -30,6 +30,7 @@ do_install_append() {
 
 	# this stuff is unusable
 	rm ${D}${libdir}/GConf/*/*.*a
+	rm ${D}${libdir}/gio/*/*.*a
 }
 
 RDEPENDS_${PN} += "dbus-x11"
@@ -41,4 +42,5 @@ FILES_${PN} += "${libdir}/GConf/* \
 "
 
 FILES_${PN}-dbg += "${libdir}/*/*/.debug"
-FILES_${PN}-dev += "${datadir}/sgml/gconf/gconf-1.0.dtd"
+FILES_${PN}-dev += "${datadir}/sgml/gconf/gconf-1.0.dtd \
+		    ${libdir}/*/gio/*/*.la"
Signature · 1 line
1.7.2.5
Applied
#2 lore raw
In reply to Dmitry Eremin-Solenikov

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Applied both, thanks!

Op 19-09-11 00:11, Dmitry Eremin-Solenikov schreef:

Quoted 29 lines

First, this lib is usefull for coverage analysis-enabled building. Second, this fixes the warning about unpackaged files in libgcc recipe.

meta-oe/recipes-devtools/gcc/gcc-4.5.inc   |    2 +- 
meta-oe/recipes-devtools/gcc/libgcc_4.5.bb |    1 + 2 files changed, 2

insertions(+), 1 deletions(-)

(quoted diff) +0 -0

b/meta-oe/recipes-devtools/gcc/gcc-4.5.inc index aabc1cf..a7f9480 100644 --- a/meta-oe/recipes-devtools/gcc/gcc-4.5.inc +++ b/meta-oe/recipes-devtools/gcc/gcc-4.5.inc @@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \

PV = "4.5" -PR = "r40" +PR = "r41"

# BINV should be incremented after updating to a revision # after a minor gcc release (e.g. 4.5.1 or 4.5.2) has been made diff --git a/meta-oe/recipes-devtools/gcc/libgcc_4.5.bb b/meta-oe/recipes-devtools/gcc/libgcc_4.5.bb index 8a6c96a..1579c8b 100644 --- a/meta-oe/recipes-devtools/gcc/libgcc_4.5.bb +++ b/meta-oe/recipes-devtools/gcc/libgcc_4.5.bb @@ -13,6 +13,7 @@ FILES_${PN} = "${base_libdir}/libgcc*.so.*" FILES_${PN}-dev = " \
${base_libdir}/libgcc*.so \ ${libdir}/${TARGET_SYS}/${BINV}/crt* \ + ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \
${libdir}/${TARGET_SYS}/${BINV}/libgcc*"

Quoted 1 line

do_fetch[noexec] = "1"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOdt/XMkyGM64RGpERAsGWAJ961oI2+nv571hu4MElWen8+HbuwACbBFOb U/vqGHRxq1btO/sT7OK5IEE=
=ruDF
-----END PGP SIGNATURE-----