Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages
@ 2012-01-21  5:18 Saul Wold
  2012-01-21  5:18 ` [PATCH 01/20] Fix Upstream-Status entries Saul Wold
                   ` (19 more replies)
  0 siblings, 20 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core


This patchset, move the remaining static *.a archives from their -dev
packages to the appropriate -staticdev, I have reviewed these and also
looked at the buildhistory output (very useful tool, thanks Paul E.)

The following are the remaining libraries that need to remain in their 
-dev packages:

libc6-dev                 /usr/lib/libc_nonshared.a
libc6-dev                 /usr/lib/libpthread_nonshared.a
libgcc-s-dev              /usr/lib/i586-poky-linux/4.6.3/libgcc.a
libgcc-s-dev              /usr/lib/i586-poky-linux/4.6.3/libgcc_eh.a
libgcov-dev               /usr/lib/i586-poky-linux/4.6.3/libgcov.a
libssp-dev                /usr/lib/libssp_nonshared.a

I think that now that we are completed, we might be able to write a QA 
check of some form that can verify against the above as a whitelist as
each package is created.

Sau!


The following changes since commit ac162df288f6d8f68c1764fad0ab2d33b9cee281:

  distro_tracking: update libpng, libgdbus, opensp, nfs-utils manual check dates (2012-01-20 16:35:08 +0000)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib sgw/fix
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/fix

Saul Wold (20):
  Fix Upstream-Status entries
  apmd: refactor packages for staticdev
  avahi-ui: refactor packages for staticdev
  augeas: refactor packages for staticdev
  libsoup: refactor packages for staticdev
  sysfsutils: refactor packages for staticdev
  libxft: refactor packages for staticdev
  sqlite3: refactor packages for staticdev
  apr-util: refactor packages for staticdev
  mpeg2dec: refactor packages for staticdev
  tiff: refactor packages for staticdev
  gstreamer: refactor packages for staticdev
  libtool: refactor packages for staticdev
  syslinux: refactor packages for staticdev
  tcp-wrappers: refactor packages for staticdev
  opkg: move common code & metadata into opkg.inc to reduce code
    duplication
  opkg: refactor packages for staticdev
  eglibc: refactor packages for staticdev
  binutils: refactor packages for staticdev
  gcc: refactor packages for staticdev

 meta/recipes-bsp/apmd/apmd_3.2.2-14.bb             |    9 ++--
 meta/recipes-connectivity/avahi/avahi-ui_0.6.30.bb |    7 ++-
 .../busybox-1.19.3/busybox-1.19.3-getty.patch      |    2 +-
 meta/recipes-core/eglibc/eglibc-package.inc        |    9 +++-
 meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb   |    9 ++--
 meta/recipes-devtools/binutils/binutils.inc        |    1 -
 meta/recipes-devtools/binutils/binutils_2.22.bb    |    2 +-
 meta/recipes-devtools/gcc/gcc-4.6.inc              |    2 +-
 meta/recipes-devtools/gcc/gcc-package-runtime.inc  |    9 +++-
 meta/recipes-devtools/gcc/libgcc_4.6.bb            |    4 +-
 meta/recipes-devtools/libtool/libtool-2.4.2.inc    |    9 ++--
 .../libtool/libtool/fix-rpath.patch                |    2 +-
 meta/recipes-devtools/opkg/opkg.inc                |   44 +++++++++++++++++++-
 meta/recipes-devtools/opkg/opkg_0.1.8.bb           |   44 +-------------------
 meta/recipes-devtools/opkg/opkg_svn.bb             |   42 +------------------
 .../qemu/qemu-0.14.0/arm-bgr.patch                 |    2 +-
 .../qemu/qemu-0.15.1/arm-bgr.patch                 |    2 +-
 meta/recipes-devtools/syslinux/syslinux_4.03.bb    |    5 +-
 meta/recipes-extended/augeas/augeas.inc            |    7 ++-
 meta/recipes-extended/augeas/augeas_0.10.0.bb      |    2 +-
 .../libzypp/libzypp/libzypp-compatargs.patch       |    2 +-
 .../tcp-wrappers/tcp-wrappers_7.6.bb               |    9 ++--
 meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb     |    7 +---
 .../error-address-work-around.patch                |    2 +
 ...-t-let-systemd-unit-restore-the-volume-wh.patch |    2 +-
 .../gstreamer/gst-ffmpeg_0.10.13.bb                |    5 +-
 .../gstreamer/gst-plugins-bad_0.10.22.bb           |    2 +-
 .../gstreamer/gst-plugins-package.inc              |    9 ++--
 meta/recipes-multimedia/libtiff/tiff_3.9.5.bb      |    7 ++-
 meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb |   10 +++--
 meta/recipes-support/apr/apr-util_1.4.1.bb         |    4 +-
 .../dprintf_conflict_with_eglibc.patch             |    2 +
 meta/recipes-support/libsoup/libsoup_2.2.105.bb    |    8 ++--
 .../shared-mime-info/parallelmake.patch            |    2 +-
 meta/recipes-support/sqlite/sqlite3.inc            |    6 ++-
 meta/recipes-support/sqlite/sqlite3_3.7.9.bb       |    2 +-
 36 files changed, 137 insertions(+), 155 deletions(-)

-- 
1.7.6.5




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

* [PATCH 01/20] Fix Upstream-Status entries
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 02/20] apmd: refactor packages for staticdev Saul Wold
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../busybox-1.19.3/busybox-1.19.3-getty.patch      |    2 +-
 .../libtool/libtool/fix-rpath.patch                |    2 +-
 .../qemu/qemu-0.14.0/arm-bgr.patch                 |    2 +-
 .../qemu/qemu-0.15.1/arm-bgr.patch                 |    2 +-
 .../libzypp/libzypp/libzypp-compatargs.patch       |    2 +-
 .../error-address-work-around.patch                |    2 ++
 ...-t-let-systemd-unit-restore-the-volume-wh.patch |    2 +-
 .../dprintf_conflict_with_eglibc.patch             |    2 ++
 .../shared-mime-info/parallelmake.patch            |    2 +-
 9 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-core/busybox/busybox-1.19.3/busybox-1.19.3-getty.patch b/meta/recipes-core/busybox/busybox-1.19.3/busybox-1.19.3-getty.patch
index 137d095..0578d78 100644
--- a/meta/recipes-core/busybox/busybox-1.19.3/busybox-1.19.3-getty.patch
+++ b/meta/recipes-core/busybox/busybox-1.19.3/busybox-1.19.3-getty.patch
@@ -1,4 +1,4 @@
-Upstream-status: Backport
+Upstream-Status: Backport
 
 Patch is taken from upstream 
 http://busybox.net/downloads/fixes-1.19.3/busybox-1.19.3-getty.patch
diff --git a/meta/recipes-devtools/libtool/libtool/fix-rpath.patch b/meta/recipes-devtools/libtool/libtool/fix-rpath.patch
index d35bac0..1571178 100644
--- a/meta/recipes-devtools/libtool/libtool/fix-rpath.patch
+++ b/meta/recipes-devtools/libtool/libtool/fix-rpath.patch
@@ -4,7 +4,7 @@ filters libtools list and removes the ones we don't need.
 
 RP 23/9/2011
 
-Upstream-status: Pending
+Upstream-Status: Pending
 
 Index: libtool-2.4.2/libltdl/config/ltmain.m4sh
 ===================================================================
diff --git a/meta/recipes-devtools/qemu/qemu-0.14.0/arm-bgr.patch b/meta/recipes-devtools/qemu/qemu-0.14.0/arm-bgr.patch
index 3b460d0..a8fe65a 100644
--- a/meta/recipes-devtools/qemu/qemu-0.14.0/arm-bgr.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.14.0/arm-bgr.patch
@@ -9,7 +9,7 @@ doesn't support the BGR bit.
 
 RP 16/9/2011
 
-Upstream-status: Pending
+Upstream-Status: Pending
 
 Index: qemu-0.14.0/hw/pl110.c
 ===================================================================
diff --git a/meta/recipes-devtools/qemu/qemu-0.15.1/arm-bgr.patch b/meta/recipes-devtools/qemu/qemu-0.15.1/arm-bgr.patch
index 3b460d0..a8fe65a 100644
--- a/meta/recipes-devtools/qemu/qemu-0.15.1/arm-bgr.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.15.1/arm-bgr.patch
@@ -9,7 +9,7 @@ doesn't support the BGR bit.
 
 RP 16/9/2011
 
-Upstream-status: Pending
+Upstream-Status: Pending
 
 Index: qemu-0.14.0/hw/pl110.c
 ===================================================================
diff --git a/meta/recipes-extended/libzypp/libzypp/libzypp-compatargs.patch b/meta/recipes-extended/libzypp/libzypp/libzypp-compatargs.patch
index 9cd7a36..8d24ab0 100644
--- a/meta/recipes-extended/libzypp/libzypp/libzypp-compatargs.patch
+++ b/meta/recipes-extended/libzypp/libzypp/libzypp-compatargs.patch
@@ -1,6 +1,6 @@
 zypp/Arch.cc: Add room for additional architecture compatibilities
 
-Upstream-status: Pending
+Upstream-Status: Pending
 
 Increase the size of the compatibility table from 9 to 30.  There are already
 existing checks within libzypp to ensure that we don't overflow the 64-bit
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-kdrive-1.7.99.2/error-address-work-around.patch b/meta/recipes-graphics/xorg-xserver/xserver-kdrive-1.7.99.2/error-address-work-around.patch
index 3052372..98a946a 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-kdrive-1.7.99.2/error-address-work-around.patch
+++ b/meta/recipes-graphics/xorg-xserver/xserver-kdrive-1.7.99.2/error-address-work-around.patch
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate
+
 diff -ur --exclude='*.lo' --exclude='config*' --exclude='Make*' --exclude='ac*' xorg-server-1.7.99.2.ORIG/dix/window.c xorg-server-1.7.99.2/dix/window.c
 --- xorg-server-1.7.99.2.ORIG/dix/window.c	2012-01-04 13:12:40.417640130 -0700
 +++ xorg-server-1.7.99.2/dix/window.c	2012-01-04 12:13:20.678605493 -0700
diff --git a/meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch b/meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch
index 334c94e..55e180a 100644
--- a/meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch
+++ b/meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch
@@ -10,7 +10,7 @@ Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
 
 Filed as https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5459
 
-Upstream-status: Pending
+Upstream-Status: Pending
 
  alsactl/Makefile.am             |    2 +-
  alsactl/alsa-restore.service.in |    1 +
diff --git a/meta/recipes-support/libsoup/libsoup-2.2.105/dprintf_conflict_with_eglibc.patch b/meta/recipes-support/libsoup/libsoup-2.2.105/dprintf_conflict_with_eglibc.patch
index ad13bbd..79e2ab8 100644
--- a/meta/recipes-support/libsoup/libsoup-2.2.105/dprintf_conflict_with_eglibc.patch
+++ b/meta/recipes-support/libsoup/libsoup-2.2.105/dprintf_conflict_with_eglibc.patch
@@ -1,3 +1,5 @@
+Upstream-Status: Pending
+
 diff -rupN libsoup-2.2.105/tests/auth-test.c libsoup-2.2.105.new//tests/auth-test.c
 --- libsoup-2.2.105/tests/auth-test.c	2007-12-05 00:13:27.000000000 +0200
 +++ libsoup-2.2.105.new//tests/auth-test.c	2012-01-16 20:12:09.000000000 +0200
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info/parallelmake.patch b/meta/recipes-support/shared-mime-info/shared-mime-info/parallelmake.patch
index 9e86a71..8b6f9e5 100644
--- a/meta/recipes-support/shared-mime-info/shared-mime-info/parallelmake.patch
+++ b/meta/recipes-support/shared-mime-info/shared-mime-info/parallelmake.patch
@@ -8,7 +8,7 @@ dependencies and stop itself racing itself.
 
 RP 10/10/2011
 
-Upstream-status: Pending
+Upstream-Status: Pending
 
 Index: shared-mime-info-0.91/Makefile.am
 ===================================================================
-- 
1.7.6.5




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

* [PATCH 02/20] apmd: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
  2012-01-21  5:18 ` [PATCH 01/20] Fix Upstream-Status entries Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 03/20] avahi-ui: " Saul Wold
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-bsp/apmd/apmd_3.2.2-14.bb |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
index bf53cc6..9847c49 100644
--- a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
+++ b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
@@ -8,7 +8,7 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://apm.h;firstline=6;endline=18;md5=c9a1f79036ab14aa157e15ed75ffd769"
 DEPENDS = "libtool-cross"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_3.2.2.orig.tar.gz;name=tarball \
            ${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.diff.gz;name=patch \
@@ -65,8 +65,9 @@ do_install() {
 	chmod 755 ${D}${sysconfdir}/init.d/apmd
 }
 
-PACKAGES =+ "libapm libapm-dev apm"
+PACKAGES =+ "libapm libapm-dev libapm-staticdev apm"
 
-FILES_libapm = "${libdir}/libapm.so.*"
-FILES_libapm-dev = "${libdir}/libapm.* ${includedir}"
+FILES_libapm = "${libdir}/libapm${SOLIBS}"
+FILES_libapm-dev = "${libdir}/libapm${SOLIBSDEV} ${includedir} ${libdir}/libapm.la"
+FILES_libapm-staticdev = "${libdir}/libapm.a"
 FILES_apm = "${bindir}/apm*"
-- 
1.7.6.5




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

* [PATCH 03/20] avahi-ui: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
  2012-01-21  5:18 ` [PATCH 01/20] Fix Upstream-Status entries Saul Wold
  2012-01-21  5:18 ` [PATCH 02/20] apmd: refactor packages for staticdev Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 04/20] augeas: " Saul Wold
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-connectivity/avahi/avahi-ui_0.6.30.bb |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-connectivity/avahi/avahi-ui_0.6.30.bb b/meta/recipes-connectivity/avahi/avahi-ui_0.6.30.bb
index bcc1f41..d7b9ed8 100644
--- a/meta/recipes-connectivity/avahi/avahi-ui_0.6.30.bb
+++ b/meta/recipes-connectivity/avahi/avahi-ui_0.6.30.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \
 
 require avahi.inc
 
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 
 DEPENDS += "avahi gtk+ libglade"
 
@@ -14,11 +14,12 @@ AVAHI_GTK = "--enable-gtk --disable-gtk3"
 
 S = "${WORKDIR}/avahi-${PV}"
 
-PACKAGES = "${PN} ${PN}-utils ${PN}-dbg ${PN}-dev ${PN}-doc python-avahi avahi-discover avahi-discover-standalone"
+PACKAGES = "${PN} ${PN}-utils ${PN}-dbg ${PN}-dev ${PN}-staticdev ${PN}-doc python-avahi avahi-discover avahi-discover-standalone"
 
 FILES_${PN} = "${libdir}/libavahi-ui*.so.*"
 FILES_${PN}-dbg += "${libdir}/.debug/libavah-ui*"
-FILES_${PN}-dev += "${libdir}/libavahi-ui*"
+FILES_${PN}-dev += "${libdir}/libavahi-ui${SOLIBSDEV}"
+FILES_${PN}-staticdev += "${libdir}/libavahi-ui.a"
 
 FILES_${PN}-utils = "${bindir}/b* ${datadir}/applications/b*"
 
-- 
1.7.6.5




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

* [PATCH 04/20] augeas: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (2 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 03/20] avahi-ui: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 05/20] libsoup: " Saul Wold
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-extended/augeas/augeas.inc       |    7 ++++---
 meta/recipes-extended/augeas/augeas_0.10.0.bb |    2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-extended/augeas/augeas.inc b/meta/recipes-extended/augeas/augeas.inc
index 0c6d534..40be762 100644
--- a/meta/recipes-extended/augeas/augeas.inc
+++ b/meta/recipes-extended/augeas/augeas.inc
@@ -11,11 +11,12 @@ DEPENDS = "readline"
 
 inherit autotools
 
-PACKAGES =+ "${PN}-lenses lib${BPN} lib${BPN}-dev lib${BPN}-dbg"
+PACKAGES =+ "${PN}-lenses lib${BPN} lib${BPN}-dev lib${BPN}-staticdev lib${BPN}-dbg"
 
 FILES_${PN}-lenses = "${datadir}/augeas/lenses"
-FILES_lib${BPN} = "${libdir}/*.so.*"
-FILES_lib${BPN}-dev = "${libdir}/*.so ${libdir}/*.a ${libdir}/*.la ${includedir} ${libdir}/pkgconfig"
+FILES_lib${BPN} = "${libdir}/lib*${SOLIBS}"
+FILES_lib${BPN}-dev = "${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la ${includedir} ${libdir}/pkgconfig"
+FILES_lib${BPN}-staticdev = "${libdir}/*.a"
 FILES_lib${BPN}-dbg = "${libdir}/.debug"
 
 RDEPENDS_lib${BPN} += "${PN}-lenses"
diff --git a/meta/recipes-extended/augeas/augeas_0.10.0.bb b/meta/recipes-extended/augeas/augeas_0.10.0.bb
index 734d171..00921aa 100644
--- a/meta/recipes-extended/augeas/augeas_0.10.0.bb
+++ b/meta/recipes-extended/augeas/augeas_0.10.0.bb
@@ -1,6 +1,6 @@
 require augeas.inc
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI[md5sum] = "fe1834e90a066c3208ac0214622c7352"
 SRC_URI[sha256sum] = "ec111af06186216930176ebe5ecccdf7bf528528aee9acde1d5d70088484afca"
-- 
1.7.6.5




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

* [PATCH 05/20] libsoup: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (3 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 04/20] augeas: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 06/20] sysfsutils: " Saul Wold
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/libsoup/libsoup_2.2.105.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-support/libsoup/libsoup_2.2.105.bb b/meta/recipes-support/libsoup/libsoup_2.2.105.bb
index 6ad90b8..cd0f552 100644
--- a/meta/recipes-support/libsoup/libsoup_2.2.105.bb
+++ b/meta/recipes-support/libsoup/libsoup_2.2.105.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "An HTTP library implementation in C"
 SECTION = "x11/gnome/libs"
 LICENSE = "LGPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
-PR = "r0"
+PR = "r1"
 
 DEPENDS = "glib-2.0 gnutls libxml2"
 
@@ -14,6 +14,6 @@ SRC_URI[sha256sum] = "3760a127ee810cfd0fda257ff615d19a2dd8aeece199dad0d18690446d
 
 inherit autotools pkgconfig
 
-FILES_${PN} = "${libdir}/lib*.so.*"
-FILES_${PN}-dev = "${includedir}/ ${libdir}/"
-FILES_${PN}-doc = "${datadir}/"
+#FILES_${PN} = "${libdir}/lib*.so.*"
+#FILES_${PN}-dev = "${includedir}/ ${libdir}/"
+#FILES_${PN}-doc = "${datadir}/"
-- 
1.7.6.5




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

* [PATCH 06/20] sysfsutils: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (4 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 05/20] libsoup: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 07/20] libxft: " Saul Wold
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb b/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb
index 0b3f04a..3e4fdda 100644
--- a/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb
+++ b/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb
@@ -8,7 +8,7 @@ LICENSE_libsysfs = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=3d06403ea54c7574a9e581c6478cc393 \
                     file://cmd/GPL;md5=d41d4e2e1e108554e0388ea4aecd8d27 \
                     file://lib/LGPL;md5=b75d069791103ffe1c0d6435deeff72e"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz \
 	  file://sysfsutils-2.0.0-class-dup.patch \
@@ -20,6 +20,7 @@ S = "${WORKDIR}/sysfsutils-${PV}"
 
 inherit autotools
 
-PACKAGES_prepend = "libsysfs libsysfs-dev "
-FILES_libsysfs = "${libdir}/*.so.*"
-FILES_libsysfs-dev = "${libdir}/* ${includedir}"
+PACKAGES =+ "libsysfs libsysfs-dev libsysfs-staticdev"
+FILES_libsysfs = "${libdir}/lib*${SOLIBS}"
+FILES_libsysfs-dev = "${libdir}/lib*${SOLIBSDEV} ${includedir}"
+FILES_libsysfs-staticdev = "${libdir}/lib*.a"
-- 
1.7.6.5




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

* [PATCH 07/20] libxft: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (5 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 06/20] sysfsutils: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 08/20] sqlite3: " Saul Wold
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb b/meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb
index b558490..498700a 100644
--- a/meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb
+++ b/meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb
@@ -18,7 +18,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=90b90b60eb30f65fc9c2673d7cf59e24"
 DEPENDS += "virtual/libx11 libxrender freetype fontconfig"
 PROVIDES = "xft"
 
-PR = "r2"
+PR = "r3"
 PE = "1"
 
 XORG_PN = "libXft"
@@ -30,10 +30,5 @@ python () {
             d.setVar('PKG_${PN}', '${MLPREFIX}libxft2')
 }
 
-FILES_${PN} = "${libdir}/lib*${SOLIBS}"
-FILES_${PN}-dev = "${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la \
-		${libdir}/*.a ${libdir}/pkgconfig \
-		${datadir}/aclocal ${bindir} ${sbindir}"
-
 SRC_URI[md5sum] = "cce3c327258116493b753f157e0360c7"
 SRC_URI[sha256sum] = "c8685ae56da0c1dcc2bc1e34607e7d76ae98b86a1a71baba3a6b76dbcf5ff9b2"
-- 
1.7.6.5




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

* [PATCH 08/20] sqlite3: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (6 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 07/20] libxft: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 09/20] apr-util: " Saul Wold
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/sqlite/sqlite3.inc      |    6 ++++--
 meta/recipes-support/sqlite/sqlite3_3.7.9.bb |    2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc
index ece35c5..79542fe 100644
--- a/meta/recipes-support/sqlite/sqlite3.inc
+++ b/meta/recipes-support/sqlite/sqlite3.inc
@@ -20,12 +20,14 @@ export config_TARGET_LFLAGS = "${LDFLAGS}"
 PKGSUFFIX = ""
 PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
 
-PACKAGES = "lib${BPN}${PKGSUFFIX} lib${BPN}${PKGSUFFIX}-dev lib${BPN}${PKGSUFFIX}-doc ${PN}-dbg ${PN}"
+PACKAGES = "lib${BPN}${PKGSUFFIX} lib${BPN}${PKGSUFFIX}-dev lib${BPN}${PKGSUFFIX}-doc ${PN}-dbg lib${BPN}${PKGSUFFIX}-staticdev ${PN}"
+
 FILES_${PN} = "${bindir}/*"
 FILES_lib${BPN}${PKGSUFFIX} = "${libdir}/*.so.*"
-FILES_lib${BPN}${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so \
+FILES_lib${BPN}${PKGSUFFIX}-dev = "${libdir}/*.la ${libdir}/*.so \
 	                	   ${libdir}/pkgconfig ${includedir}"
 FILES_lib${BPN}${PKGSUFFIX}-doc = "${docdir} ${mandir} ${infodir}"
+FILES_lib${BPN}${PKGSUFFIX}-staticdev = "${libdir}/lib*.a"
 AUTO_LIBNAME_PKGS = "lib${BPN}${PKGSUFFIX}"
 
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/sqlite/sqlite3_3.7.9.bb b/meta/recipes-support/sqlite/sqlite3_3.7.9.bb
index f6c2f9e..8f7348d 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.7.9.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.7.9.bb
@@ -1,6 +1,6 @@
 require sqlite3.inc
 
-PR = "r0"
+PR = "r1"
 
 LIC_FILES_CHKSUM = "file://sqlite3.h;endline=11;md5=65f0a57ca6928710b418c094b3570bb0"
 
-- 
1.7.6.5




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

* [PATCH 09/20] apr-util: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (7 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 08/20] sqlite3: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 10/20] mpeg2dec: " Saul Wold
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/apr/apr-util_1.4.1.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/apr/apr-util_1.4.1.bb b/meta/recipes-support/apr/apr-util_1.4.1.bb
index d0e19b0..029cf7e 100644
--- a/meta/recipes-support/apr/apr-util_1.4.1.bb
+++ b/meta/recipes-support/apr/apr-util_1.4.1.bb
@@ -45,6 +45,6 @@ do_configure_append_virtclass-native() {
 }
 
 FILES_${PN}     += "${libdir}/apr-util-1/apr_dbm_gdbm-1.so"
-FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/apr_dbm_gdbm.*"
+FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/apr_dbm_gdbm.so* ${libdir}/apr-util-1/apr_dbm_gdbm.la"
 FILES_${PN}-dbg += "${libdir}/apr-util-1/.debug/*"
-
+FILES_${PN}-staticdev += "${libdir}/apr-util-1/apr_dbm_gdbm.a"
-- 
1.7.6.5




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

* [PATCH 10/20] mpeg2dec: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (8 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 09/20] apr-util: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 11/20] tiff: " Saul Wold
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb b/meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb
index 351962f..fd45640 100644
--- a/meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb
+++ b/meta/recipes-multimedia/mpeg2dec/mpeg2dec_0.4.1.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 
 DEPENDS = "virtual/libx11"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://libmpeg2.sourceforge.net/files/mpeg2dec-${PV}.tar.gz \
            file://altivec_h_needed.patch"
@@ -19,16 +19,18 @@ inherit autotools pkgconfig
 
 EXTRA_OECONF = "--enable-shared --disable-sdl --with-x"
 
-PACKAGES = "mpeg2dec-dbg mpeg2dec mpeg2dec-doc libmpeg2 libmpeg2-dev libmpeg2convert libmpeg2convert-dev"
+PACKAGES = "mpeg2dec-dbg mpeg2dec mpeg2dec-doc libmpeg2 libmpeg2-dev libmpeg2convert libmpeg2convert-dev libmpeg2-staticdev libmpeg2convert-staticdev"
 
 FILES_${PN} = "${bindir}/*"
 FILES_libmpeg2 = "${libdir}/libmpeg2.so.*"
 FILES_libmpeg2convert = "${libdir}/libmpeg2convert.so.*"
 FILES_libmpeg2-dev = "${libdir}/libmpeg2.so \
-                      ${libdir}/libmpeg2.*a \
+                      ${libdir}/libmpeg2.la \
                       ${libdir}/pkgconfig/libmpeg2.pc \
                       ${includedir}/mpeg2dec/mpeg2.h"
+FILES_libmpeg2-staticdev = "${libdir}/libmpeg2.a"
 FILES_libmpeg2convert-dev = "${libdir}/libmpeg2convert.so \
-                             ${libdir}/libmpeg2convert.*a \
+                             ${libdir}/libmpeg2convert.la \
                              ${libdir}/pkgconfig/libmpeg2convert.pc \
                              ${includedir}/mpeg2dec/mpeg2convert.h"
+FILES_libmpeg2convert-staticdev = "${libdir}/libmpeg2convert.a"
-- 
1.7.6.5




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

* [PATCH 11/20] tiff: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (9 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 10/20] mpeg2dec: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 12/20] gstreamer: " Saul Wold
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-multimedia/libtiff/tiff_3.9.5.bb |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-multimedia/libtiff/tiff_3.9.5.bb b/meta/recipes-multimedia/libtiff/tiff_3.9.5.bb
index 7d60326..78a4859 100644
--- a/meta/recipes-multimedia/libtiff/tiff_3.9.5.bb
+++ b/meta/recipes-multimedia/libtiff/tiff_3.9.5.bb
@@ -3,7 +3,7 @@ LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=34da3db46fab7501992f9615d7e158cf"
 HOMEPAGE = "http://www.remotesensing.org/libtiff/"
 DEPENDS = "zlib jpeg lzo"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "ftp://ftp.remotesensing.org/pub/libtiff/tiff-${PV}.tar.gz \
            file://libtool2.patch"
@@ -13,9 +13,10 @@ SRC_URI[sha256sum] = "ecf2e30582698dbc61d269203bbd1e701a1a50fb26c87d709e10d89669
 
 inherit autotools
 
-PACKAGES =+ "tiffxx tiffxx-dbg tiffxx-dev tiff-utils tiff-utils-dbg"
+PACKAGES =+ "tiffxx tiffxx-dbg tiffxx-dev tiffxx-staticdev tiff-utils tiff-utils-dbg"
 FILES_tiffxx = "${libdir}/libtiffxx.so.*"
-FILES_tiffxx-dev = "${libdir}/libtiffxx.so ${libdir}/libtiffxx.*a"
+FILES_tiffxx-dev = "${libdir}/libtiffxx.so ${libdir}/libtiffxx.la"
+FILES_tiffxx-staticdev = "${libdir}/libtiffxx.a"
 FILES_tiffxx-dbg += "${libdir}/.debug/libtiffxx.so*"
 FILES_tiff-utils = "${bindir}/*"
 FILES_tiff-utils-dbg += "${bindir}/.debug/"
-- 
1.7.6.5




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

* [PATCH 12/20] gstreamer: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (10 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 11/20] tiff: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 13/20] libtool: " Saul Wold
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../gstreamer/gst-ffmpeg_0.10.13.bb                |    5 +++--
 .../gstreamer/gst-plugins-bad_0.10.22.bb           |    2 +-
 .../gstreamer/gst-plugins-package.inc              |    9 +++++----
 3 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bb b/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bb
index a1b7cbb..5ee5066 100644
--- a/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.13.bb
@@ -23,7 +23,7 @@ SRC_URI = "http://gstreamer.freedesktop.org/src/${BPN}/${BPN}-${PV}.tar.bz2 \
 SRC_URI[md5sum] = "7f5beacaf1312db2db30a026b36888c4"
 SRC_URI[sha256sum] = "76fca05b08e00134e3cb92fa347507f42cbd48ddb08ed3343a912def187fbb62"
 
-PR = "r0"
+PR = "r1"
 
 EXTRA_OECONF = "--with-ffmpeg-extra-configure=\"--target-os=linux\" "
 
@@ -33,7 +33,8 @@ EXTRA_OECONF_append_x86 = " --disable-yasm "
 
 FILES_${PN} += "${libdir}/gstreamer-0.10/*.so"
 FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"
-FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a"
+FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la"
+FILES_${PN}-staticdev += "${libdir}/gstreamer-0.10/*.a"
 
 # Hack to get STAGING_LIBDIR into the linker path when building ffmpeg
 CC = "${CCACHE} ${HOST_PREFIX}gcc ${TARGET_CC_ARCH} -L${STAGING_LIBDIR}"
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.22.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.22.bb
index ec067b8..56c54b5 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.22.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.22.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
 
 DEPENDS += "gst-plugins-base libmusicbrainz tremor librsvg"
 
-PR = "r0"
+PR = "r1"
 
 inherit gettext
 
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
index 8ff9f82..a71d896 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
@@ -7,7 +7,8 @@ python populate_packages_prepend () {
 
 	do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True)
 	do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', bb.data.expand('${PN}-%s', d), 'GStreamer plugin for %s', postinst=postinst, extra_depends=bb.data.expand('${PN}',d))
-	do_split_packages(d, gst_libdir, 'libgst(.*)\.l?a$', bb.data.expand('${PN}-%s-dev', d), 'GStreamer plugin for %s (development files)', extra_depends=bb.data.expand('${PN}-dev',d))
+	do_split_packages(d, gst_libdir, 'libgst(.*)\.la$', bb.data.expand('${PN}-%s-dev', d), 'GStreamer plugin for %s (development files)', extra_depends=bb.data.expand('${PN}-dev',d))
+	do_split_packages(d, gst_libdir, 'libgst(.*)\.a$', bb.data.expand('${PN}-%s-staticdev', d), 'GStreamer plugin for %s (static development files)', extra_depends=bb.data.expand('${PN}-staticdev',d))
 	
 	pn = d.getVar('PN', 1)
 	metapkg =  pn + '-meta'
@@ -17,7 +18,7 @@ python populate_packages_prepend () {
 	metapkg_rdepends = []
 	packages = d.getVar('PACKAGES', 1).split()
 	for pkg in packages[1:]:
-		if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.count('locale') and not pkg.count('-static'):
+		if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.count('locale') and not pkg.count('-staticdev'):
 			metapkg_rdepends.append(pkg)
 	d.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends))
 	d.setVar('DESCRIPTION_' + metapkg, pn + ' meta package')
@@ -25,10 +26,10 @@ python populate_packages_prepend () {
 
 ALLOW_EMPTY = "1"
 
-PACKAGES += "${PN}-apps ${PN}-meta"
+PACKAGES += "${PN}-apps ${PN}-meta ${PN}-glib"
 FILES_${PN}-apps = "${bindir}"
 
 FILES_${PN} = "${datadir}/gstreamer-${LIBV}"
 FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug"
-
+FILES_${PN}-glib = "${datadir}/glib-2.0"
 
-- 
1.7.6.5




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

* [PATCH 13/20] libtool: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (11 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 12/20] gstreamer: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-27  8:21   ` Koen Kooi
  2012-01-21  5:18 ` [PATCH 14/20] syslinux: " Saul Wold
                   ` (6 subsequent siblings)
  19 siblings, 1 reply; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/libtool/libtool-2.4.2.inc |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-devtools/libtool/libtool-2.4.2.inc b/meta/recipes-devtools/libtool/libtool-2.4.2.inc
index a8ea0ae..d55b2bd 100644
--- a/meta/recipes-devtools/libtool/libtool-2.4.2.inc
+++ b/meta/recipes-devtools/libtool/libtool-2.4.2.inc
@@ -8,7 +8,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
     file://libltdl/COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
 
-INC_PR = "r0"
+INC_PR = "r1"
 
 SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
            file://trailingslash.patch \
@@ -34,10 +34,11 @@ EXTRA_AUTORECONF = "--exclude=libtoolize"
 
 DEPENDS = "libtool-native"
 
-PACKAGES =+ "libltdl libltdl-dev libltdl-dbg"
+PACKAGES =+ "libltdl libltdl-dev libltdl-dbg libltdl-staticdev"
 FILES_${PN} += "${datadir}/aclocal*"
-FILES_libltdl = "${libdir}/libltdl.so.*"
-FILES_libltdl-dev = "${libdir}/libltdl.* ${includedir}/ltdl.h ${includedir}/libltdl/*.h"
+FILES_libltdl = "${libdir}/libltdl${SOLIBS}
+FILES_libltdl-dev = "${libdir}/libltdl${SOLIBSDEV} ${includedir}"
+FILES_libltdl-staticdev = "${libdir}/libltdl.a"
 FILES_libltdl-dbg = "${libdir}/.debug/"
 
 EXTRA_OECONF = "--with-sysroot"
-- 
1.7.6.5




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

* [PATCH 14/20] syslinux: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (12 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 13/20] libtool: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 15/20] tcp-wrappers: " Saul Wold
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/syslinux/syslinux_4.03.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/syslinux/syslinux_4.03.bb b/meta/recipes-devtools/syslinux/syslinux_4.03.bb
index 2d32f7b..97bf7ce 100644
--- a/meta/recipes-devtools/syslinux/syslinux_4.03.bb
+++ b/meta/recipes-devtools/syslinux/syslinux_4.03.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
 # If you really want to run syslinux, you need mtools.  We just want the
 # ldlinux.* stuff for now, so skip mtools-native
 DEPENDS = "nasm-native"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/boot/syslinux/4.xx/syslinux-${PV}.tar.bz2 \
            file://cross-build.patch"
@@ -56,6 +56,7 @@ FILES_${PN}-mbr = "${libdir}/${PN}/mbr.bin"
 FILES_${PN}-chain = "${libdir}/${PN}/chain.c32"
 FILES_${PN}-isolinux = "${libdir}/${PN}/isolinux.bin"
 FILES_${PN}-pxelinux = "${libdir}/${PN}/pxelinux.0"
-FILES_${PN}-dev += "${datadir}/${PN}/com32"
+FILES_${PN}-dev += "${datadir}/${PN}/com32/lib*${SOLIBS} ${datadir}/${PN}/com32/include ${datadir}/${PN}/com32/com32.ld"
+FILES_${PN}-staticdev += "${datadir}/${PN}/com32/lib*.a"
 
 BBCLASSEXTEND = "native"
-- 
1.7.6.5




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

* [PATCH 15/20] tcp-wrappers: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (13 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 14/20] syslinux: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 16/20] opkg: move common code & metadata into opkg.inc to reduce code duplication Saul Wold
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../tcp-wrappers/tcp-wrappers_7.6.bb               |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
index 985e848..9b865ba 100644
--- a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
+++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
@@ -5,13 +5,14 @@ SECTION = "console/network"
 
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://DISCLAIMER;md5=071bd69cb78b18888ea5e3da5c3127fa"
-PR ="r8"
+PR ="r9"
 
 
-PACKAGES = "${PN}-dbg libwrap libwrap-doc libwrap-dev ${PN} ${PN}-doc"
-FILES_libwrap = "${base_libdir}/lib*.so.*"
+PACKAGES = "${PN}-dbg libwrap libwrap-doc libwrap-dev libwrap-staticdev ${PN} ${PN}-doc"
+FILES_libwrap = "${base_libdir}/lib*${SOLIBS}"
 FILES_libwrap-doc = "${mandir}/man3 ${mandir}/man5"
-FILES_libwrap-dev = "${libdir}/lib*.so ${libdir}/lib*.a ${includedir}"
+FILES_libwrap-dev = "${libdir}/lib*${SOLIBSDEV} ${includedir}"
+FILES_libwrap-staticdev = "${libdir}/lib*.a"
 FILES_${PN} = "${sbindir}"
 FILES_${PN}-doc = "${mandir}/man8"
 
-- 
1.7.6.5




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

* [PATCH 16/20] opkg: move common code & metadata into opkg.inc to reduce code duplication
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (14 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 15/20] tcp-wrappers: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  6:13   ` Otavio Salvador
  2012-01-21  5:18 ` [PATCH 17/20] opkg: refactor packages for staticdev Saul Wold
                   ` (3 subsequent siblings)
  19 siblings, 1 reply; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/opkg/opkg.inc      |   43 +++++++++++++++++++++++++++-
 meta/recipes-devtools/opkg/opkg_0.1.8.bb |   44 +----------------------------
 meta/recipes-devtools/opkg/opkg_svn.bb   |   42 +---------------------------
 3 files changed, 44 insertions(+), 85 deletions(-)

diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
index 3e350e8..b03eaf7 100644
--- a/meta/recipes-devtools/opkg/opkg.inc
+++ b/meta/recipes-devtools/opkg/opkg.inc
@@ -11,6 +11,7 @@ DEPENDS_virtclass-native = "curl-native"
 DEPENDS_virtclass-nativesdk = "curl-nativesdk"
 
 PE = "1"
+PR_INC = "r6"
 
 FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/opkg"
 
@@ -31,8 +32,46 @@ EXTRA_OECONF += "--with-opkglibdir=${localstatedir}/lib"
 EXTRA_OECONF_virtclass-native = "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg --disable-curl --disable-openssl"
 EXTRA_OECONF_virtclass-nativesdk = "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg --disable-curl --disable-openssl"
 
-#PROVIDES_append_virtclass-native = "virtual/update-alternatives-native"
-#RPROVIDES_${PN} += "update-alternatives-native"
+PROVIDES += "virtual/update-alternatives"
+RPROVIDES_update-alternatives-cworth += "update-alternatives"
+RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
+RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-config-base"
+RDEPENDS_${PN}_virtclass-native = ""
+RDEPENDS_${PN}_virtclass-nativesdk = ""
+PACKAGE_ARCH_update-alternatives-cworth = "all"
+RREPLACES_${PN} = "opkg-nogpg"
+
+PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX} update-alternatives-cworth${PKGSUFFIX}"
+
+FILES_update-alternatives-cworth${PKGSUFFIX} = "${bindir}/update-alternatives"
+FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
+FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.* ${localstatedir}/lib/opkg/"
+
+# We need to create the lock directory
+do_install_append() {
+	install -d ${D}${localstatedir}/lib/opkg
+}
+
+pkg_postinst_${PN} () {
+#!/bin/sh
+if [ "x$D" != "x" ]; then
+	install -d $D${sysconfdir}/rcS.d
+	# this happens at S98 where our good 'ole packages script used to run
+	echo "#!/bin/sh
+opkg-cl configure
+rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
+" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
+	chmod 0755 $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
+fi
+
+update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100
+}
+
+pkg_postrm_${PN} () {
+#!/bin/sh
+update-alternatives --remove opkg ${bindir}/opkg-cl
+}
+
 
 BBCLASSEXTEND = "native nativesdk"
 
diff --git a/meta/recipes-devtools/opkg/opkg_0.1.8.bb b/meta/recipes-devtools/opkg/opkg_0.1.8.bb
index 18cf042..c206b37 100644
--- a/meta/recipes-devtools/opkg/opkg_0.1.8.bb
+++ b/meta/recipes-devtools/opkg/opkg_0.1.8.bb
@@ -1,48 +1,8 @@
 require opkg.inc
 
-PROVIDES += "virtual/update-alternatives"
-RPROVIDES_update-alternatives-cworth += "update-alternatives"
-RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
-RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-config-base"
-RDEPENDS_${PN}_virtclass-native = ""
-RDEPENDS_${PN}_virtclass-nativesdk = ""
-PACKAGE_ARCH_update-alternatives-cworth = "all"
-
 SRC_URI = "http://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
            file://add_vercmp.patch \
            file://headerfix.patch \
-"
-
-PR = "r4"
-
-PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX} update-alternatives-cworth${PKGSUFFIX}"
-
-FILES_update-alternatives-cworth${PKGSUFFIX} = "${bindir}/update-alternatives"
-FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
-FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.* ${localstatedir}/lib/opkg/"
-
-# We need to create the lock directory
-do_install_append() {
-	install -d ${D}${localstatedir}/lib/opkg
-}
-
-pkg_postinst_${PN} () {
-#!/bin/sh
-if [ "x$D" != "x" ]; then
-	install -d ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d
-	# this happens at S98 where our good 'ole packages script used to run
-	echo "#!/bin/sh
-opkg-cl configure
-rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
-" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
-	chmod 0755 $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
-fi
-
-update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100
-}
-
-pkg_postrm_${PN} () {
-#!/bin/sh
-update-alternatives --remove opkg ${bindir}/opkg-cl
-}
+          "
 
+PR = "${INC_PR}.0"
diff --git a/meta/recipes-devtools/opkg/opkg_svn.bb b/meta/recipes-devtools/opkg/opkg_svn.bb
index f5f540d..c07d393 100644
--- a/meta/recipes-devtools/opkg/opkg_svn.bb
+++ b/meta/recipes-devtools/opkg/opkg_svn.bb
@@ -1,14 +1,5 @@
 require opkg.inc
 
-PROVIDES += "virtual/update-alternatives"
-RPROVIDES_update-alternatives-cworth += "update-alternatives"
-RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
-RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-config-base"
-RDEPENDS_${PN}_virtclass-native = ""
-RDEPENDS_${PN}_virtclass-nativesdk = ""
-PACKAGE_ARCH_update-alternatives-cworth = "all"
-RREPLACES_${PN} = "opkg-nogpg"
-
 SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
            file://add_vercmp.patch \
            file://add_uname_support.patch \
@@ -21,36 +12,5 @@ S = "${WORKDIR}/trunk"
 
 SRCREV = "633"
 PV = "0.1.8+svnr${SRCPV}"
-PR = "r5"
-
-PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX} update-alternatives-cworth${PKGSUFFIX}"
-
-FILES_update-alternatives-cworth${PKGSUFFIX} = "${bindir}/update-alternatives"
-FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
-FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.* ${localstatedir}/lib/opkg/"
-
-# We need to create the lock directory
-do_install_append() {
-	install -d ${D}${localstatedir}/lib/opkg
-}
-
-pkg_postinst_${PN} () {
-#!/bin/sh
-if [ "x$D" != "x" ]; then
-	install -d $D${sysconfdir}/rcS.d
-	# this happens at S98 where our good 'ole packages script used to run
-	echo "#!/bin/sh
-opkg-cl configure
-rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
-" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
-	chmod 0755 $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
-fi
-
-update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100
-}
-
-pkg_postrm_${PN} () {
-#!/bin/sh
-update-alternatives --remove opkg ${bindir}/opkg-cl
-}
 
+PR = "${INC_PR}.0"
-- 
1.7.6.5




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

* [PATCH 17/20] opkg: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (15 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 16/20] opkg: move common code & metadata into opkg.inc to reduce code duplication Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 18/20] eglibc: " Saul Wold
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/opkg/opkg.inc |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
index b03eaf7..a67066f 100644
--- a/meta/recipes-devtools/opkg/opkg.inc
+++ b/meta/recipes-devtools/opkg/opkg.inc
@@ -11,7 +11,7 @@ DEPENDS_virtclass-native = "curl-native"
 DEPENDS_virtclass-nativesdk = "curl-nativesdk"
 
 PE = "1"
-PR_INC = "r6"
+INC_PR = "r7"
 
 FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/opkg"
 
@@ -41,10 +41,11 @@ RDEPENDS_${PN}_virtclass-nativesdk = ""
 PACKAGE_ARCH_update-alternatives-cworth = "all"
 RREPLACES_${PN} = "opkg-nogpg"
 
-PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX} update-alternatives-cworth${PKGSUFFIX}"
+PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX}-staticdev libopkg${PKGSUFFIX} update-alternatives-cworth${PKGSUFFIX}"
 
 FILES_update-alternatives-cworth${PKGSUFFIX} = "${bindir}/update-alternatives"
-FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
+FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.la ${libdir}/*.so"
+FILES_libopkg${PKGSUFFIX}-staticdev = "${libdir}/*.a"
 FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.* ${localstatedir}/lib/opkg/"
 
 # We need to create the lock directory
-- 
1.7.6.5




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

* [PATCH 18/20] eglibc: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (16 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 17/20] opkg: refactor packages for staticdev Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-22 20:30   ` Phil Blundell
  2012-01-21  5:18 ` [PATCH 19/20] binutils: " Saul Wold
  2012-01-21  5:18 ` [PATCH 20/20] gcc: " Saul Wold
  19 siblings, 1 reply; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-core/eglibc/eglibc-package.inc |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index 020f558..9259593 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -20,13 +20,14 @@ USE_LDCONFIG ?= "1"
 PKGSUFFIX = ""
 PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
 
-PACKAGES = "${PN}-dbg ${PN} catchsegv${PKGSUFFIX} sln${PKGSUFFIX} nscd${PKGSUFFIX} ldd${PKGSUFFIX} ${PN}-utils eglibc-extra-nss${PKGSUFFIX} eglibc-thread-db${PKGSUFFIX} ${PN}-pic ${PN}-dev ${PN}-doc libcidn${PKGSUFFIX} libmemusage${PKGSUFFIX} libsegfault${PKGSUFFIX} ${PN}-pcprofile libsotruss${PKGSUFFIX}"
+PACKAGES = "${PN}-dbg ${PN} catchsegv${PKGSUFFIX} sln${PKGSUFFIX} nscd${PKGSUFFIX} ldd${PKGSUFFIX} ${PN}-utils eglibc-extra-nss${PKGSUFFIX} eglibc-thread-db${PKGSUFFIX} ${PN}-pic ${PN}-dev ${PN}-staticdev ${PN}-doc libcidn${PKGSUFFIX} libmemusage${PKGSUFFIX} libsegfault${PKGSUFFIX} ${PN}-pcprofile libsotruss${PKGSUFFIX}"
 
 # The ld.so in this eglibc supports the GNU_HASH
 RPROVIDES_${PN} = "glibc${PKGSUFFIX} rtld(GNU_HASH)"
 RPROVIDES_${PN}-utils = "glibc${PKGSUFFIX}-utils"
 RPROVIDES_${PN}-pic = "glibc${PKGSUFFIX}-pic"
 RPROVIDES_${PN}-dev = "glibc${PKGSUFFIX}-dev"
+RPROVIDES_${PN}-staticdev = "glibc${PKGSUFFIX}-staticdev"
 RPROVIDES_${PN}-doc = "glibc${PKGSUFFIX}-doc"
 RPROVIDES_eglibc-extra-nss${PKGSUFFIX} = "glibc-extra-nss${PKGSUFFIX}"
 RPROVIDES_eglibc-thread-db${PKGSUFFIX} = "glibc-thread-db${PKGSUFFIX}"
@@ -43,8 +44,9 @@ FILES_eglibc-extra-nss${PKGSUFFIX} = "${base_libdir}/libnss_*-*.so ${base_libdir
 FILES_sln${PKGSUFFIX} = "/sbin/sln"
 FILES_${PN}-pic = "${libdir}/*_pic.a ${libdir}/*_pic.map ${libdir}/libc_pic/"
 FILES_libsotruss${PKGSUFFIX} = "${libdir}/audit/sotruss-lib.so"
-FILES_${PN}-dev_append += "${bindir}/rpcgen ${libdir}/*.a \
-	${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal"
+FILES_${PN}-dev_append += "${bindir}/rpcgen ${libdir}/*_nonshared.a \
+	${base_libdir}/*_nonshared.a ${base_libdir}/*.o ${datadir}/aclocal"
+FILES_${PN}-staticdev_append += "${libdir}/*.a ${base_libdir}/*.a"
 FILES_nscd${PKGSUFFIX} = "${sbindir}/nscd*"
 FILES_${PN}-utils = "${bindir}/* ${sbindir}/*"
 FILES_${PN}-dbg += "${libexecdir}/*/.debug ${libdir}/audit/.debug"
@@ -54,6 +56,7 @@ RDEPENDS_${PN}-utils += "bash"
 FILES_${PN}-pcprofile = "${base_libdir}/libpcprofile.so"
 FILES_eglibc-thread-db${PKGSUFFIX} = "${base_libdir}/libthread_db.so.* ${base_libdir}/libthread_db-*.so"
 RPROVIDES_${PN}-dev += "libc-dev"
+RPROVIDES_${PN}-dev += "libc-staticdev"
 
 SUMMARY_sln = "The static ln."
 DESCRIPTION_sln = "Similar to the 'ln' utility, but statically linked.  sln is useful to make symbolic links to dynamic libraries if the dynamic linking system, for some reason, is not functional."
-- 
1.7.6.5




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

* [PATCH 19/20] binutils: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (17 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 18/20] eglibc: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-21  5:18 ` [PATCH 20/20] gcc: " Saul Wold
  19 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/binutils/binutils.inc     |    1 -
 meta/recipes-devtools/binutils/binutils_2.22.bb |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 30a0416..6130ab4 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -24,7 +24,6 @@ FILES_${PN} = " \
 
 FILES_${PN}-dev = " \
 	${includedir} \
-	${libdir}/*.a \
 	${libdir}/*.la \
 	${libdir}/libbfd.so \
 	${libdir}/libopcodes.so"
diff --git a/meta/recipes-devtools/binutils/binutils_2.22.bb b/meta/recipes-devtools/binutils/binutils_2.22.bb
index 41a30ee..86c6dba 100644
--- a/meta/recipes-devtools/binutils/binutils_2.22.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.22.bb
@@ -1,6 +1,6 @@
 require binutils.inc
 
-PR = "r2"
+PR = "r3"
 
 LIC_FILES_CHKSUM="\
     file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
-- 
1.7.6.5




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

* [PATCH 20/20] gcc: refactor packages for staticdev
  2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
                   ` (18 preceding siblings ...)
  2012-01-21  5:18 ` [PATCH 19/20] binutils: " Saul Wold
@ 2012-01-21  5:18 ` Saul Wold
  2012-01-22 20:40   ` Phil Blundell
  19 siblings, 1 reply; 27+ messages in thread
From: Saul Wold @ 2012-01-21  5:18 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/gcc/gcc-4.6.inc             |    2 +-
 meta/recipes-devtools/gcc/gcc-package-runtime.inc |    9 +++++++--
 meta/recipes-devtools/gcc/libgcc_4.6.bb           |    4 +++-
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
index 4bbb2d2..541b473 100644
--- a/meta/recipes-devtools/gcc/gcc-4.6.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
@@ -1,6 +1,6 @@
 require gcc-common.inc
 
-PR = "r20"
+PR = "r21"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.6.0
diff --git a/meta/recipes-devtools/gcc/gcc-package-runtime.inc b/meta/recipes-devtools/gcc/gcc-package-runtime.inc
index 7ac68f2..feb8735 100644
--- a/meta/recipes-devtools/gcc/gcc-package-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-runtime.inc
@@ -3,10 +3,12 @@ PACKAGES = "\
   libstdc++ \
   libstdc++-precompile-dev \
   libstdc++-dev \
+  libstdc++-staticdev \
   libg2c \
   libg2c-dev \
   libssp \
   libssp-dev \
+  libssp-staticdev \
   libgfortran \
   libgfortran-dev \
   libmudflap \
@@ -31,8 +33,9 @@ FILES_libstdc++-dev = "\
   ${includedir}/c++/ \
   ${libdir}/libstdc++.so \
   ${libdir}/libstdc++.la \
+  ${libdir}/libsupc++.la"
+FILES_libstdc++-staticdev = "\
   ${libdir}/libstdc++.a \
-  ${libdir}/libsupc++.la \
   ${libdir}/libsupc++.a"
 
 FILES_libstdc++-precompile-dev = "${includedir}/c++/${TARGET_SYS}/bits/*.gch"
@@ -40,9 +43,11 @@ FILES_libstdc++-precompile-dev = "${includedir}/c++/${TARGET_SYS}/bits/*.gch"
 FILES_libssp = "${libdir}/libssp.so.*"
 FILES_libssp-dev = " \
   ${libdir}/libssp*.so \
-  ${libdir}/libssp*.a \
+  ${libdir}/libssp*_nonshared.a \
   ${libdir}/libssp*.la \
   ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/ssp"
+FILES_libssp-staticdev = " \
+  ${libdir}/libssp*.a"
 
 FILES_libgfortran = "${libdir}/libgfortran.so.*"
 FILES_libgfortran-dev = " \
diff --git a/meta/recipes-devtools/gcc/libgcc_4.6.bb b/meta/recipes-devtools/gcc/libgcc_4.6.bb
index dd0a7be..0c50988 100644
--- a/meta/recipes-devtools/gcc/libgcc_4.6.bb
+++ b/meta/recipes-devtools/gcc/libgcc_4.6.bb
@@ -7,14 +7,16 @@ PACKAGES = "\
   ${PN} \
   ${PN}-dev \
   ${PN}-dbg \
+  libgcov-dev \
   "
 
 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*"
+FILES_libgcov-dev = " \
+  ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \
 
 FILES_${PN}-dbg += "${base_libdir}/.debug/"
 
-- 
1.7.6.5




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

* Re: [PATCH 16/20] opkg: move common code & metadata into opkg.inc to reduce code duplication
  2012-01-21  5:18 ` [PATCH 16/20] opkg: move common code & metadata into opkg.inc to reduce code duplication Saul Wold
@ 2012-01-21  6:13   ` Otavio Salvador
  2012-01-23 16:21     ` Saul Wold
  0 siblings, 1 reply; 27+ messages in thread
From: Otavio Salvador @ 2012-01-21  6:13 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 7767 bytes --]

Seems to have a confusion between: PR_INC and INC_PR.

On Sat, Jan 21, 2012 at 03:18, Saul Wold <sgw@linux.intel.com> wrote:

> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  meta/recipes-devtools/opkg/opkg.inc      |   43
> +++++++++++++++++++++++++++-
>  meta/recipes-devtools/opkg/opkg_0.1.8.bb |   44
> +----------------------------
>  meta/recipes-devtools/opkg/opkg_svn.bb   |   42
> +---------------------------
>  3 files changed, 44 insertions(+), 85 deletions(-)
>
> diff --git a/meta/recipes-devtools/opkg/opkg.inc
> b/meta/recipes-devtools/opkg/opkg.inc
> index 3e350e8..b03eaf7 100644
> --- a/meta/recipes-devtools/opkg/opkg.inc
> +++ b/meta/recipes-devtools/opkg/opkg.inc
> @@ -11,6 +11,7 @@ DEPENDS_virtclass-native = "curl-native"
>  DEPENDS_virtclass-nativesdk = "curl-nativesdk"
>
>  PE = "1"
> +PR_INC = "r6"
>
>  FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/opkg"
>
> @@ -31,8 +32,46 @@ EXTRA_OECONF += "--with-opkglibdir=${localstatedir}/lib"
>  EXTRA_OECONF_virtclass-native =
> "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg --disable-curl
> --disable-openssl"
>  EXTRA_OECONF_virtclass-nativesdk =
> "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg --disable-curl
> --disable-openssl"
>
> -#PROVIDES_append_virtclass-native = "virtual/update-alternatives-native"
> -#RPROVIDES_${PN} += "update-alternatives-native"
> +PROVIDES += "virtual/update-alternatives"
> +RPROVIDES_update-alternatives-cworth += "update-alternatives"
> +RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
> +RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-config-base"
> +RDEPENDS_${PN}_virtclass-native = ""
> +RDEPENDS_${PN}_virtclass-nativesdk = ""
> +PACKAGE_ARCH_update-alternatives-cworth = "all"
> +RREPLACES_${PN} = "opkg-nogpg"
> +
> +PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX}
> update-alternatives-cworth${PKGSUFFIX}"
> +
> +FILES_update-alternatives-cworth${PKGSUFFIX} =
> "${bindir}/update-alternatives"
> +FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la
> ${libdir}/*.so"
> +FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.* ${localstatedir}/lib/opkg/"
> +
> +# We need to create the lock directory
> +do_install_append() {
> +       install -d ${D}${localstatedir}/lib/opkg
> +}
> +
> +pkg_postinst_${PN} () {
> +#!/bin/sh
> +if [ "x$D" != "x" ]; then
> +       install -d $D${sysconfdir}/rcS.d
> +       # this happens at S98 where our good 'ole packages script used to
> run
> +       echo "#!/bin/sh
> +opkg-cl configure
> +rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
> +" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
> +       chmod 0755
> $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
> +fi
> +
> +update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100
> +}
> +
> +pkg_postrm_${PN} () {
> +#!/bin/sh
> +update-alternatives --remove opkg ${bindir}/opkg-cl
> +}
> +
>
>  BBCLASSEXTEND = "native nativesdk"
>
> diff --git a/meta/recipes-devtools/opkg/opkg_0.1.8.bbb/meta/recipes-devtools/opkg/
> opkg_0.1.8.bb
> index 18cf042..c206b37 100644
> --- a/meta/recipes-devtools/opkg/opkg_0.1.8.bb
> +++ b/meta/recipes-devtools/opkg/opkg_0.1.8.bb
> @@ -1,48 +1,8 @@
>  require opkg.inc
>
> -PROVIDES += "virtual/update-alternatives"
> -RPROVIDES_update-alternatives-cworth += "update-alternatives"
> -RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
> -RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-config-base"
> -RDEPENDS_${PN}_virtclass-native = ""
> -RDEPENDS_${PN}_virtclass-nativesdk = ""
> -PACKAGE_ARCH_update-alternatives-cworth = "all"
> -
>  SRC_URI = "http://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
>            file://add_vercmp.patch \
>            file://headerfix.patch \
> -"
> -
> -PR = "r4"
> -
> -PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX}
> update-alternatives-cworth${PKGSUFFIX}"
> -
> -FILES_update-alternatives-cworth${PKGSUFFIX} =
> "${bindir}/update-alternatives"
> -FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la
> ${libdir}/*.so"
> -FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.* ${localstatedir}/lib/opkg/"
> -
> -# We need to create the lock directory
> -do_install_append() {
> -       install -d ${D}${localstatedir}/lib/opkg
> -}
> -
> -pkg_postinst_${PN} () {
> -#!/bin/sh
> -if [ "x$D" != "x" ]; then
> -       install -d ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d
> -       # this happens at S98 where our good 'ole packages script used to
> run
> -       echo "#!/bin/sh
> -opkg-cl configure
> -rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
> -" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
> -       chmod 0755
> $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
> -fi
> -
> -update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100
> -}
> -
> -pkg_postrm_${PN} () {
> -#!/bin/sh
> -update-alternatives --remove opkg ${bindir}/opkg-cl
> -}
> +          "
>
> +PR = "${INC_PR}.0"
> diff --git a/meta/recipes-devtools/opkg/opkg_svn.bbb/meta/recipes-devtools/opkg/
> opkg_svn.bb
> index f5f540d..c07d393 100644
> --- a/meta/recipes-devtools/opkg/opkg_svn.bb
> +++ b/meta/recipes-devtools/opkg/opkg_svn.bb
> @@ -1,14 +1,5 @@
>  require opkg.inc
>
> -PROVIDES += "virtual/update-alternatives"
> -RPROVIDES_update-alternatives-cworth += "update-alternatives"
> -RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
> -RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-config-base"
> -RDEPENDS_${PN}_virtclass-native = ""
> -RDEPENDS_${PN}_virtclass-nativesdk = ""
> -PACKAGE_ARCH_update-alternatives-cworth = "all"
> -RREPLACES_${PN} = "opkg-nogpg"
> -
>  SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
>            file://add_vercmp.patch \
>            file://add_uname_support.patch \
> @@ -21,36 +12,5 @@ S = "${WORKDIR}/trunk"
>
>  SRCREV = "633"
>  PV = "0.1.8+svnr${SRCPV}"
> -PR = "r5"
> -
> -PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX}
> update-alternatives-cworth${PKGSUFFIX}"
> -
> -FILES_update-alternatives-cworth${PKGSUFFIX} =
> "${bindir}/update-alternatives"
> -FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la
> ${libdir}/*.so"
> -FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.* ${localstatedir}/lib/opkg/"
> -
> -# We need to create the lock directory
> -do_install_append() {
> -       install -d ${D}${localstatedir}/lib/opkg
> -}
> -
> -pkg_postinst_${PN} () {
> -#!/bin/sh
> -if [ "x$D" != "x" ]; then
> -       install -d $D${sysconfdir}/rcS.d
> -       # this happens at S98 where our good 'ole packages script used to
> run
> -       echo "#!/bin/sh
> -opkg-cl configure
> -rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
> -" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
> -       chmod 0755
> $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
> -fi
> -
> -update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100
> -}
> -
> -pkg_postrm_${PN} () {
> -#!/bin/sh
> -update-alternatives --remove opkg ${bindir}/opkg-cl
> -}
>
> +PR = "${INC_PR}.0"
> --
> 1.7.6.5
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

[-- Attachment #2: Type: text/html, Size: 10133 bytes --]

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

* Re: [PATCH 18/20] eglibc: refactor packages for staticdev
  2012-01-21  5:18 ` [PATCH 18/20] eglibc: " Saul Wold
@ 2012-01-22 20:30   ` Phil Blundell
  2012-01-23 16:28     ` Saul Wold
  0 siblings, 1 reply; 27+ messages in thread
From: Phil Blundell @ 2012-01-22 20:30 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, 2012-01-20 at 21:18 -0800, Saul Wold wrote:
> @@ -54,6 +56,7 @@ RDEPENDS_${PN}-utils += "bash"
>  FILES_${PN}-pcprofile = "${base_libdir}/libpcprofile.so"
>  FILES_eglibc-thread-db${PKGSUFFIX} = "${base_libdir}/libthread_db.so.* ${base_libdir}/libthread_db-*.so"
>  RPROVIDES_${PN}-dev += "libc-dev"
> +RPROVIDES_${PN}-dev += "libc-staticdev"

Is that really what you wanted?

More generally, I'm not very convinced that all these RPROVIDES in the
eglibc recipes are serving any useful purpose anymore.  I think we
should be trying to get rid of them, not adding new ones.  Does anybody
know of anything which currently depends on them?

p.





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

* Re: [PATCH 20/20] gcc: refactor packages for staticdev
  2012-01-21  5:18 ` [PATCH 20/20] gcc: " Saul Wold
@ 2012-01-22 20:40   ` Phil Blundell
  0 siblings, 0 replies; 27+ messages in thread
From: Phil Blundell @ 2012-01-22 20:40 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, 2012-01-20 at 21:18 -0800, Saul Wold wrote:
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  meta/recipes-devtools/gcc/gcc-4.6.inc             |    2 +-
>  meta/recipes-devtools/gcc/gcc-package-runtime.inc |    9 +++++++--
>  meta/recipes-devtools/gcc/libgcc_4.6.bb           |    4 +++-
>  3 files changed, 11 insertions(+), 4 deletions(-)

This patch has no long commit message at all, and it seems to do
something with "libgcov-dev" which I wouldn't have guessed from the
terse summary in the subject line.  Can you add some more commentary
about what is going on with that?

Please see the guidance on the wiki:

http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Headers_and_Commit_Messages

which is quite explicit that "[i]t is not acceptable to have an empty or
non-existent header, or just a single line message. The summary and
description is required for all changes."

thanks

p.





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

* Re: [PATCH 16/20] opkg: move common code & metadata into opkg.inc to reduce code duplication
  2012-01-21  6:13   ` Otavio Salvador
@ 2012-01-23 16:21     ` Saul Wold
  0 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-23 16:21 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 01/20/2012 10:13 PM, Otavio Salvador wrote:
> Seems to have a confusion between: PR_INC and INC_PR.
>
Already fixed in the actual branch, noticed this right after I sent this 
request.

Sau!

> On Sat, Jan 21, 2012 at 03:18, Saul Wold <sgw@linux.intel.com
> <mailto:sgw@linux.intel.com>> wrote:
>
>     Signed-off-by: Saul Wold <sgw@linux.intel.com
>     <mailto:sgw@linux.intel.com>>
>     ---
>       meta/recipes-devtools/opkg/opkg.inc      |   43
>     +++++++++++++++++++++++++++-
>       meta/recipes-devtools/opkg/opkg_0.1.8.bb <http://opkg_0.1.8.bb> |
>        44 +----------------------------
>       meta/recipes-devtools/opkg/opkg_svn.bb <http://opkg_svn.bb>   |
>     42 +---------------------------
>       3 files changed, 44 insertions(+), 85 deletions(-)
>
>     diff --git a/meta/recipes-devtools/opkg/opkg.inc
>     b/meta/recipes-devtools/opkg/opkg.inc
>     index 3e350e8..b03eaf7 100644
>     --- a/meta/recipes-devtools/opkg/opkg.inc
>     +++ b/meta/recipes-devtools/opkg/opkg.inc
>     @@ -11,6 +11,7 @@ DEPENDS_virtclass-native = "curl-native"
>       DEPENDS_virtclass-nativesdk = "curl-nativesdk"
>
>       PE = "1"
>     +PR_INC = "r6"
>
>       FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/opkg"
>
>     @@ -31,8 +32,46 @@ EXTRA_OECONF +=
>     "--with-opkglibdir=${localstatedir}/lib"
>       EXTRA_OECONF_virtclass-native =
>     "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg
>     --disable-curl --disable-openssl"
>       EXTRA_OECONF_virtclass-nativesdk =
>     "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg
>     --disable-curl --disable-openssl"
>
>     -#PROVIDES_append_virtclass-native =
>     "virtual/update-alternatives-native"
>     -#RPROVIDES_${PN} += "update-alternatives-native"
>     +PROVIDES += "virtual/update-alternatives"
>     +RPROVIDES_update-alternatives-cworth += "update-alternatives"
>     +RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
>     +RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}
>     opkg-config-base"
>     +RDEPENDS_${PN}_virtclass-native = ""
>     +RDEPENDS_${PN}_virtclass-nativesdk = ""
>     +PACKAGE_ARCH_update-alternatives-cworth = "all"
>     +RREPLACES_${PN} = "opkg-nogpg"
>     +
>     +PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX}
>     update-alternatives-cworth${PKGSUFFIX}"
>     +
>     +FILES_update-alternatives-cworth${PKGSUFFIX} =
>     "${bindir}/update-alternatives"
>     +FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la
>     ${libdir}/*.so"
>     +FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.*
>     ${localstatedir}/lib/opkg/"
>     +
>     +# We need to create the lock directory
>     +do_install_append() {
>     +       install -d ${D}${localstatedir}/lib/opkg
>     +}
>     +
>     +pkg_postinst_${PN} () {
>     +#!/bin/sh
>     +if [ "x$D" != "x" ]; then
>     +       install -d $D${sysconfdir}/rcS.d
>     +       # this happens at S98 where our good 'ole packages script
>     used to run
>     +       echo "#!/bin/sh
>     +opkg-cl configure
>     +rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
>     +" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
>     +       chmod 0755
>     $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
>     +fi
>     +
>     +update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100
>     +}
>     +
>     +pkg_postrm_${PN} () {
>     +#!/bin/sh
>     +update-alternatives --remove opkg ${bindir}/opkg-cl
>     +}
>     +
>
>       BBCLASSEXTEND = "native nativesdk"
>
>     diff --git a/meta/recipes-devtools/opkg/opkg_0.1.8.bb
>     <http://opkg_0.1.8.bb> b/meta/recipes-devtools/opkg/opkg_0.1.8.bb
>     <http://opkg_0.1.8.bb>
>     index 18cf042..c206b37 100644
>     --- a/meta/recipes-devtools/opkg/opkg_0.1.8.bb <http://opkg_0.1.8.bb>
>     +++ b/meta/recipes-devtools/opkg/opkg_0.1.8.bb <http://opkg_0.1.8.bb>
>     @@ -1,48 +1,8 @@
>       require opkg.inc
>
>     -PROVIDES += "virtual/update-alternatives"
>     -RPROVIDES_update-alternatives-cworth += "update-alternatives"
>     -RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
>     -RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}
>     opkg-config-base"
>     -RDEPENDS_${PN}_virtclass-native = ""
>     -RDEPENDS_${PN}_virtclass-nativesdk = ""
>     -PACKAGE_ARCH_update-alternatives-cworth = "all"
>     -
>       SRC_URI = "http://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
>                 file://add_vercmp.patch \
>                 file://headerfix.patch \
>     -"
>     -
>     -PR = "r4"
>     -
>     -PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX}
>     update-alternatives-cworth${PKGSUFFIX}"
>     -
>     -FILES_update-alternatives-cworth${PKGSUFFIX} =
>     "${bindir}/update-alternatives"
>     -FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la
>     ${libdir}/*.so"
>     -FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.*
>     ${localstatedir}/lib/opkg/"
>     -
>     -# We need to create the lock directory
>     -do_install_append() {
>     -       install -d ${D}${localstatedir}/lib/opkg
>     -}
>     -
>     -pkg_postinst_${PN} () {
>     -#!/bin/sh
>     -if [ "x$D" != "x" ]; then
>     -       install -d ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d
>     -       # this happens at S98 where our good 'ole packages script
>     used to run
>     -       echo "#!/bin/sh
>     -opkg-cl configure
>     -rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
>     -" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
>     -       chmod 0755
>     $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
>     -fi
>     -
>     -update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100
>     -}
>     -
>     -pkg_postrm_${PN} () {
>     -#!/bin/sh
>     -update-alternatives --remove opkg ${bindir}/opkg-cl
>     -}
>     + "
>
>     +PR = "${INC_PR}.0"
>     diff --git a/meta/recipes-devtools/opkg/opkg_svn.bb
>     <http://opkg_svn.bb> b/meta/recipes-devtools/opkg/opkg_svn.bb
>     <http://opkg_svn.bb>
>     index f5f540d..c07d393 100644
>     --- a/meta/recipes-devtools/opkg/opkg_svn.bb <http://opkg_svn.bb>
>     +++ b/meta/recipes-devtools/opkg/opkg_svn.bb <http://opkg_svn.bb>
>     @@ -1,14 +1,5 @@
>       require opkg.inc
>
>     -PROVIDES += "virtual/update-alternatives"
>     -RPROVIDES_update-alternatives-cworth += "update-alternatives"
>     -RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
>     -RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}
>     opkg-config-base"
>     -RDEPENDS_${PN}_virtclass-native = ""
>     -RDEPENDS_${PN}_virtclass-nativesdk = ""
>     -PACKAGE_ARCH_update-alternatives-cworth = "all"
>     -RREPLACES_${PN} = "opkg-nogpg"
>     -
>       SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http
>     <http://opkg.googlecode.com/svn;module=trunk;proto=http> \
>                 file://add_vercmp.patch \
>                 file://add_uname_support.patch \
>     @@ -21,36 +12,5 @@ S = "${WORKDIR}/trunk"
>
>       SRCREV = "633"
>       PV = "0.1.8+svnr${SRCPV}"
>     -PR = "r5"
>     -
>     -PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX}
>     update-alternatives-cworth${PKGSUFFIX}"
>     -
>     -FILES_update-alternatives-cworth${PKGSUFFIX} =
>     "${bindir}/update-alternatives"
>     -FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la
>     ${libdir}/*.so"
>     -FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.*
>     ${localstatedir}/lib/opkg/"
>     -
>     -# We need to create the lock directory
>     -do_install_append() {
>     -       install -d ${D}${localstatedir}/lib/opkg
>     -}
>     -
>     -pkg_postinst_${PN} () {
>     -#!/bin/sh
>     -if [ "x$D" != "x" ]; then
>     -       install -d $D${sysconfdir}/rcS.d
>     -       # this happens at S98 where our good 'ole packages script
>     used to run
>     -       echo "#!/bin/sh
>     -opkg-cl configure
>     -rm -f /${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
>     -" > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
>     -       chmod 0755
>     $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}configure
>     -fi
>     -
>     -update-alternatives --install ${bindir}/opkg opkg ${bindir}/opkg-cl 100
>     -}
>     -
>     -pkg_postrm_${PN} () {
>     -#!/bin/sh
>     -update-alternatives --remove opkg ${bindir}/opkg-cl
>     -}
>
>     +PR = "${INC_PR}.0"
>     --
>     1.7.6.5
>
>
>     _______________________________________________
>     Openembedded-core mailing list
>     Openembedded-core@lists.openembedded.org
>     <mailto:Openembedded-core@lists.openembedded.org>
>     http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
>
>
> --
> Otavio Salvador                             O.S. Systems
> E-mail: otavio@ossystems.com.br <mailto:otavio@ossystems.com.br>
> http://www.ossystems.com.br
> Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



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

* Re: [PATCH 18/20] eglibc: refactor packages for staticdev
  2012-01-22 20:30   ` Phil Blundell
@ 2012-01-23 16:28     ` Saul Wold
  0 siblings, 0 replies; 27+ messages in thread
From: Saul Wold @ 2012-01-23 16:28 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Phil Blundell

On 01/22/2012 12:30 PM, Phil Blundell wrote:
> On Fri, 2012-01-20 at 21:18 -0800, Saul Wold wrote:
>> @@ -54,6 +56,7 @@ RDEPENDS_${PN}-utils += "bash"
>>   FILES_${PN}-pcprofile = "${base_libdir}/libpcprofile.so"
>>   FILES_eglibc-thread-db${PKGSUFFIX} = "${base_libdir}/libthread_db.so.* ${base_libdir}/libthread_db-*.so"
>>   RPROVIDES_${PN}-dev += "libc-dev"
>> +RPROVIDES_${PN}-dev += "libc-staticdev"
>
> Is that really what you wanted?
>
> More generally, I'm not very convinced that all these RPROVIDES in the
> eglibc recipes are serving any useful purpose anymore.  I think we
> should be trying to get rid of them, not adding new ones.  Does anybody
> know of anything which currently depends on them?
>
Nothing in OE-Core, meta-oe or OE Classic seems to depend on these, but 
I thought part of that was the translation from eglibc to the generic "libc"

Sau!



> p.
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



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

* Re: [PATCH 13/20] libtool: refactor packages for staticdev
  2012-01-21  5:18 ` [PATCH 13/20] libtool: " Saul Wold
@ 2012-01-27  8:21   ` Koen Kooi
  0 siblings, 0 replies; 27+ messages in thread
From: Koen Kooi @ 2012-01-27  8:21 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


Op 21 jan. 2012, om 06:18 heeft Saul Wold het volgende geschreven:

> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
> meta/recipes-devtools/libtool/libtool-2.4.2.inc |    9 +++++----
> 1 files changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/meta/recipes-devtools/libtool/libtool-2.4.2.inc b/meta/recipes-devtools/libtool/libtool-2.4.2.inc
> index a8ea0ae..d55b2bd 100644
> --- a/meta/recipes-devtools/libtool/libtool-2.4.2.inc
> +++ b/meta/recipes-devtools/libtool/libtool-2.4.2.inc
> @@ -8,7 +8,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
> LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
>     file://libltdl/COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
> 
> -INC_PR = "r0"
> +INC_PR = "r1"
> 
> SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
>            file://trailingslash.patch \
> @@ -34,10 +34,11 @@ EXTRA_AUTORECONF = "--exclude=libtoolize"
> 
> DEPENDS = "libtool-native"
> 
> -PACKAGES =+ "libltdl libltdl-dev libltdl-dbg"
> +PACKAGES =+ "libltdl libltdl-dev libltdl-dbg libltdl-staticdev"
> FILES_${PN} += "${datadir}/aclocal*"
> -FILES_libltdl = "${libdir}/libltdl.so.*"
> -FILES_libltdl-dev = "${libdir}/libltdl.* ${includedir}/ltdl.h ${includedir}/libltdl/*.h"
> +FILES_libltdl = "${libdir}/libltdl${SOLIBS}

The missing quote prohibits OE from packaging it correctly, leading to:

|  * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-gnome:
|  *    libltdl7 (>= 2.4.2) *   libltdl7 (>= 2.4.2) *   libltdl7 (>= 2.4.2) *   libltdl7 (>= 2.4.2) *   libltdl7 (>= 2.4.2) *   libltdl7 (>= 2.4.2) *   libltdl7 (>= 2.4.2) *

For incremental builds and binary feeds.

regards,

Koen


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

end of thread, other threads:[~2012-01-27  8:29 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-21  5:18 [PATCH 00/20] Refactor -dev packages to move *.a to -staticdev packages Saul Wold
2012-01-21  5:18 ` [PATCH 01/20] Fix Upstream-Status entries Saul Wold
2012-01-21  5:18 ` [PATCH 02/20] apmd: refactor packages for staticdev Saul Wold
2012-01-21  5:18 ` [PATCH 03/20] avahi-ui: " Saul Wold
2012-01-21  5:18 ` [PATCH 04/20] augeas: " Saul Wold
2012-01-21  5:18 ` [PATCH 05/20] libsoup: " Saul Wold
2012-01-21  5:18 ` [PATCH 06/20] sysfsutils: " Saul Wold
2012-01-21  5:18 ` [PATCH 07/20] libxft: " Saul Wold
2012-01-21  5:18 ` [PATCH 08/20] sqlite3: " Saul Wold
2012-01-21  5:18 ` [PATCH 09/20] apr-util: " Saul Wold
2012-01-21  5:18 ` [PATCH 10/20] mpeg2dec: " Saul Wold
2012-01-21  5:18 ` [PATCH 11/20] tiff: " Saul Wold
2012-01-21  5:18 ` [PATCH 12/20] gstreamer: " Saul Wold
2012-01-21  5:18 ` [PATCH 13/20] libtool: " Saul Wold
2012-01-27  8:21   ` Koen Kooi
2012-01-21  5:18 ` [PATCH 14/20] syslinux: " Saul Wold
2012-01-21  5:18 ` [PATCH 15/20] tcp-wrappers: " Saul Wold
2012-01-21  5:18 ` [PATCH 16/20] opkg: move common code & metadata into opkg.inc to reduce code duplication Saul Wold
2012-01-21  6:13   ` Otavio Salvador
2012-01-23 16:21     ` Saul Wold
2012-01-21  5:18 ` [PATCH 17/20] opkg: refactor packages for staticdev Saul Wold
2012-01-21  5:18 ` [PATCH 18/20] eglibc: " Saul Wold
2012-01-22 20:30   ` Phil Blundell
2012-01-23 16:28     ` Saul Wold
2012-01-21  5:18 ` [PATCH 19/20] binutils: " Saul Wold
2012-01-21  5:18 ` [PATCH 20/20] gcc: " Saul Wold
2012-01-22 20:40   ` Phil Blundell

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