Skip to contentSkip to conversation

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

PATCH Superseded Dmitry Eremin-Solenikov 2 participants 3 messages Sep 18, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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 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 |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
meta-gnome/recipes-gnome/gconf/gconf_2.32.4.bb +3 -1
index 1d5a857..3745bc6 100644
@@ -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
#2 lore raw

Re: [meta-oe 2/2] gconf: fix the "unshipped files" warnings

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

Op 18-09-11 13:53, Dmitry Eremin-Solenikov schreef:

Quoted 16 lines

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 | 4 +++- 1 files
changed, 3 insertions(+), 1 deletions(-)

(quoted diff) +0 -0

b/meta-gnome/recipes-gnome/gconf/gconf_2.32.4.bb index 1d5a857..3745bc6 100644 --- a/meta-gnome/recipes-gnome/gconf/gconf_2.32.4.bb +++ b/meta-gnome/recipes-gnome/gconf/gconf_2.32.4.bb @@ -30,6 +30,7 @@ do_install_append() {

# this stuff is unusable rm ${D}${libdir}/GConf/*/*.*a +	rm
${D}${libdir}/gio/*/*.*a }
Quoted 6 lines

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"

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

iD8DBQFOdeSrMkyGM64RGpERAhYeAJ9HCU4FyjTX19ZxbsaCTDzgvOmuVQCfdfw7 RYRVweozv7boDuT9oNl8ISg=
=LAD7
-----END PGP SIGNATURE-----