All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package
@ 2011-04-01 12:16 Otavio Salvador
  2011-04-01 12:16 ` [PATCH 2/6] conf/bitbake: improve compression image handling Otavio Salvador
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Otavio Salvador @ 2011-04-01 12:16 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes/udev/udev_165.bb |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/recipes/udev/udev_165.bb b/recipes/udev/udev_165.bb
index d426aff..822891f 100644
--- a/recipes/udev/udev_165.bb
+++ b/recipes/udev/udev_165.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
 the hotplug package and requires a kernel not older than 2.6.12."
 LICENSE = "GPLv2+"
 
-PR = "r3"
+PR = "r4"
 
 # Untested
 DEFAULT_PREFERENCE = "-1"
@@ -71,7 +71,7 @@ EXTRA_OECONF += " --with-udev-prefix= \
 INITSCRIPT_NAME = "udev"
 INITSCRIPT_PARAMS = "start 03 S ."
 
-PACKAGES =+ "libudev libgudev udev-utils"
+PACKAGES =+ "libudev libgudev udev-utils udev-consolekit"
 
 FILES_libudev = "${base_libdir}/libudev.so.*"
 FILES_libgudev = "${base_libdir}/libgudev*.so.*"
@@ -84,7 +84,8 @@ FILES_${PN}-dbg += "${usrbindir}/.debug ${usrsbindir}/.debug"
 
 # udev installs binaries under $(udev_prefix)/lib/udev, even if ${libdir}
 # is ${prefix}/lib64
-FILES_${PN} += "/lib/udev* ${libdir}/ConsoleKit"
+FILES_${PN} += "/lib/udev*"
+FILES_${PN}-consokekit += "${libdir}/ConsoleKit"
 FILES_${PN}-dbg += "/lib/udev/.debug"
 
 RPROVIDES_udev_append = " udev-compat-wrapper"
-- 
1.7.2.3




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

* [PATCH 2/6] conf/bitbake: improve compression image handling
  2011-04-01 12:16 [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Otavio Salvador
@ 2011-04-01 12:16 ` Otavio Salvador
  2011-04-01 12:16 ` [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages Otavio Salvador
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 18+ messages in thread
From: Otavio Salvador @ 2011-04-01 12:16 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

 * add GZIP_COMPRESSION_LEVEL
 * add BZIP2_COMPRESSION_LEVEL
 * use xz-native to generate lzma images

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 conf/bitbake.conf |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 6946be5..783d781 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -150,6 +150,8 @@ QEMU_OPTIONS_armv7a   = "-cpu cortex-a8"
 # default compression levels
 XZ_COMPRESSION_LEVEL ?= "-e -9"
 LZMA_COMPRESSION_LEVEL ?= "-e -9"
+GZIP_COMPRESSION_LEVEL ?= "-9"
+BZIP2_COMPRESSION_LEVEL ?= "-9"
 
 # default integrity check
 XZ_INTEGRITY_CHECK ?= "crc32"
@@ -384,14 +386,14 @@ IMAGE_CMD_jffs2 = "mkfs.jffs2 -x lzo --root=${IMAGE_ROOTFS} --faketime --output=
 IMAGE_CMD_yaffs2 = "mkyaffs2image ${EXTRA_IMAGECMD} ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.yaffs2"
 IMAGE_CMD_cramfs = "mkcramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}"
 IMAGE_CMD_ext2 = "genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}"
-IMAGE_CMD_ext2.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz"
-IMAGE_CMD_ext2.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; bzip2 -f -9 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.bz2"
+IMAGE_CMD_ext2.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f ${GZIP_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz"
+IMAGE_CMD_ext2.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; bzip2 -f ${BZIP2_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext2.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.bz2"
 IMAGE_CMD_ext3 = "genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
-IMAGE_CMD_ext3.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.gz"
-IMAGE_CMD_ext3.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; bzip2 -f -9 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.bz2"
+IMAGE_CMD_ext3.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; gzip -f ${GZIP_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext3.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.gz"
+IMAGE_CMD_ext3.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3 ${EXTRA_IMAGECMD}; tune2fs -j ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; bzip2 -f ${BZIP2_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext3.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3.bz2"
 IMAGE_CMD_ext4 = "genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4; set +e; e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac;"
-IMAGE_CMD_ext4.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4; set +e;e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.gz"
-IMAGE_CMD_ext4.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4; set +e; e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; bzip2 -f -9 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.bz2"
+IMAGE_CMD_ext4.gz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.gz ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4; set +e;e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; gzip -f ${GZIP_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext4.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.gz"
+IMAGE_CMD_ext4.bz2 = "install -d ${DEPLOY_DIR_IMAGE}/tmp.bz2 ; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4; set +e; e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; bzip2 -f ${BZIP2_COMPRESSION_LEVEL} ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4; mv ${DEPLOY_DIR_IMAGE}/tmp.bz2/${IMAGE_NAME}.rootfs.ext4.bz2 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.bz2"
 IMAGE_CMD_ext4.xz = "install -d ${DEPLOY_DIR_IMAGE}/tmp.xz; genext2fs -i 4096 -b ${ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4 ${EXTRA_IMAGECMD}; tune2fs -O extents,uninit_bg,dir_index,has_journal ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4; set +e; e2fsck -yfDC0 ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4;chk=$?; set -e; case $chk in 0|1|2);;*)exit $chk;;esac; xz -c ${XZ_COMPRESSION_LEVEL} --check=${XZ_INTEGRITY_CHECK} ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4 > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4.xz ; rm -f ${DEPLOY_DIR_IMAGE}/tmp.xz/${IMAGE_NAME}.rootfs.ext4 ; rmdir ${DEPLOY_DIR_IMAGE}/tmp.xz"
 
 IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs ${EXTRA_IMAGECMD} -noappend"
@@ -401,10 +403,10 @@ IMAGE_CMD_tar.gz = "cd ${IMAGE_ROOTFS} && tar -zcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_
 IMAGE_CMD_tar.bz2 = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ."
 IMAGE_CMD_tar.xz = "cd ${IMAGE_ROOTFS} && tar --xz -cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.xz ."
 IMAGE_CMD_cpio = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio) ${EXTRA_IMAGECMD}"
-IMAGE_CMD_cpio.gz = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}"
+IMAGE_CMD_cpio.gz = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c ${GZIP_COMPRESSION_LEVEL} >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}"
 IMAGE_CMD_cpio.xz = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | xz -c ${XZ_COMPRESSION_LEVEL} --check=${XZ_INTEGRITY_CHECK} > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.xz) ${EXTRA_IMAGECMD}"
-IMAGE_CMD_cpio.gz.u-boot = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}; mkimage -A ${UBOOT_ARCH} -O linux -T ramdisk -C gzip -n ${IMAGE_NAME} -d ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz.u-boot"
-IMAGE_CMD_cpio.lzma = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | lzma -c ${LZMA_COMPRESSION_LEVEL} >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) ${EXTRA_IMAGECMD}"
+IMAGE_CMD_cpio.gz.u-boot = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c ${GZIP_COMPRESSION_LEVEL} >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}; mkimage -A ${UBOOT_ARCH} -O linux -T ramdisk -C gzip -n ${IMAGE_NAME} -d ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz.u-boot"
+IMAGE_CMD_cpio.lzma = "type cpio >/dev/null; cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | xz --format=lzma -c ${LZMA_COMPRESSION_LEVEL} >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) ${EXTRA_IMAGECMD}"
 IMAGE_CMD_ubi = "echo \[ubifs\] > ubinize.cfg ; echo mode=ubi >> ubinize.cfg ; echo image=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img >> ubinize.cfg ; echo vol_id=0 >> ubinize.cfg ; echo vol_type=dynamic >> ubinize.cfg ; echo vol_name=${UBI_VOLNAME} >> ubinize.cfg ; echo vol_flags=autoresize >> ubinize.cfg;mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS} && ubinize -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ${UBINIZE_ARGS} ubinize.cfg"
 IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS}"
 
@@ -435,7 +437,7 @@ IMAGE_DEPENDS_ext4.gz = "genext2fs-native e2fsprogs-native"
 IMAGE_DEPENDS_ext4.bz2 = "genext2fs-native e2fsprogs-native"
 IMAGE_DEPENDS_ext4.xz = "genext2fs-native e2fsprogs-native xz-native"
 IMAGE_DEPENDS_cpio.gz.u-boot = "u-boot-mkimage-native"
-IMAGE_DEPENDS_cpio.lzma = "lzma-native"
+IMAGE_DEPENDS_cpio.lzma = "xz-native"
 IMAGE_DEPENDS_cpio.xz = "xz-native"
 IMAGE_DEPENDS_squashfs = "squashfs-tools-native"
 IMAGE_DEPENDS_squashfs-lzma = "squashfs-tools-native"
-- 
1.7.2.3




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

* [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
  2011-04-01 12:16 [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Otavio Salvador
  2011-04-01 12:16 ` [PATCH 2/6] conf/bitbake: improve compression image handling Otavio Salvador
@ 2011-04-01 12:16 ` Otavio Salvador
  2011-04-01 13:56   ` Koen Kooi
  2011-04-01 12:16 ` [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr Otavio Salvador
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 18+ messages in thread
From: Otavio Salvador @ 2011-04-01 12:16 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes/xorg-xserver/xorg-xserver-common.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/xorg-xserver/xorg-xserver-common.inc b/recipes/xorg-xserver/xorg-xserver-common.inc
index 29e3b10..8f59b0b 100644
--- a/recipes/xorg-xserver/xorg-xserver-common.inc
+++ b/recipes/xorg-xserver/xorg-xserver-common.inc
@@ -2,7 +2,7 @@ HOMEPAGE = "http://www.x.org"
 SECTION = "x11/base"
 LICENSE = "MIT-X"
 
-INC_PR = "r18"
+INC_PR = "r19"
 
 PROVIDES = "virtual/xserver"
 
@@ -108,4 +108,5 @@ FILES_${PN}-multimedia-modules = "${libdir}/xorg/modules/multimedia/*drv*"
 
 do_install_append () {
 	ln -sf ${datadir}/fonts/X11 ${D}/${libdir}/X11/fonts
+	find ${D}/${libdir} -name '*.la' -exec rm '{}' ';'
 }
-- 
1.7.2.3




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

* [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr
  2011-04-01 12:16 [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Otavio Salvador
  2011-04-01 12:16 ` [PATCH 2/6] conf/bitbake: improve compression image handling Otavio Salvador
  2011-04-01 12:16 ` [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages Otavio Salvador
@ 2011-04-01 12:16 ` Otavio Salvador
  2011-04-01 12:16 ` [PATCH 5/6] xserver-xorg (git): " Otavio Salvador
  2011-04-01 12:16 ` [PATCH 6/6] freerdp: update version to 2009-03-29 snapshot Otavio Salvador
  4 siblings, 0 replies; 18+ messages in thread
From: Otavio Salvador @ 2011-04-01 12:16 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

---
 recipes/xorg-xserver/xserver-xorg_1.9.4.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/xorg-xserver/xserver-xorg_1.9.4.bb b/recipes/xorg-xserver/xserver-xorg_1.9.4.bb
index 89e7a03..cc2dc43 100644
--- a/recipes/xorg-xserver/xserver-xorg_1.9.4.bb
+++ b/recipes/xorg-xserver/xserver-xorg_1.9.4.bb
@@ -6,7 +6,7 @@ require xorg-xserver-common.inc
 DESCRIPTION = "the X.Org X server"
 DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts font-util-native"
 PE = "2"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 SRC_URI += " \
             file://dolt-fix.patch \
@@ -25,7 +25,7 @@ do_install_prepend() {
 PACKAGE_ARCH_ion = "${MACHINE_ARCH}"
 XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}"
 
-EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"
+EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"
 EXTRA_OECONF += " --enable-dri2 --disable-unit-tests --disable-docs --disable-devel-docs"
 
 export LDFLAGS += " -ldl "
-- 
1.7.2.3




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

* [PATCH 5/6] xserver-xorg (git): enable xephyr
  2011-04-01 12:16 [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Otavio Salvador
                   ` (2 preceding siblings ...)
  2011-04-01 12:16 ` [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr Otavio Salvador
@ 2011-04-01 12:16 ` Otavio Salvador
  2011-04-01 12:16 ` [PATCH 6/6] freerdp: update version to 2009-03-29 snapshot Otavio Salvador
  4 siblings, 0 replies; 18+ messages in thread
From: Otavio Salvador @ 2011-04-01 12:16 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

---
 recipes/xorg-xserver/xserver-xorg_git.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/xorg-xserver/xserver-xorg_git.bb b/recipes/xorg-xserver/xserver-xorg_git.bb
index 98831ef..d37c61e 100644
--- a/recipes/xorg-xserver/xserver-xorg_git.bb
+++ b/recipes/xorg-xserver/xserver-xorg_git.bb
@@ -6,7 +6,7 @@ require xorg-xserver-common.inc
 DESCRIPTION = "the X.Org X server"
 DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts font-util-native"
 PV = "1.9.99.1"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 PR_append = "+gitr${SRCPV}"
 PE = "2"
 
@@ -32,7 +32,7 @@ do_install_prepend() {
 PACKAGE_ARCH_ion = "${MACHINE_ARCH}"
 XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}"
 
-EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"
+EXTRA_OECONF += " ${CONFIG_MANAGER_OPTION} ${XINERAMA} --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"
 EXTRA_OECONF += " --enable-dri2 --disable-unit-tests "
 
 export LDFLAGS += " -ldl "
-- 
1.7.2.3




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

* [PATCH 6/6] freerdp: update version to 2009-03-29 snapshot
  2011-04-01 12:16 [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Otavio Salvador
                   ` (3 preceding siblings ...)
  2011-04-01 12:16 ` [PATCH 5/6] xserver-xorg (git): " Otavio Salvador
@ 2011-04-01 12:16 ` Otavio Salvador
  4 siblings, 0 replies; 18+ messages in thread
From: Otavio Salvador @ 2011-04-01 12:16 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

 * drop singleton-mode.patch, merged upstream;

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes/freerdp/freerdp/singleton-mode.patch |  208 --------------------------
 recipes/freerdp/freerdp_git.bb               |    7 +-
 2 files changed, 3 insertions(+), 212 deletions(-)
 delete mode 100644 recipes/freerdp/freerdp/singleton-mode.patch

diff --git a/recipes/freerdp/freerdp/singleton-mode.patch b/recipes/freerdp/freerdp/singleton-mode.patch
deleted file mode 100644
index 980ec96..0000000
--- a/recipes/freerdp/freerdp/singleton-mode.patch
+++ /dev/null
@@ -1,208 +0,0 @@
-From dd81b7b7902015d35e48117db7fb664aa75fdf62 Mon Sep 17 00:00:00 2001
-From: Eduardo Beloni <beloni@ossystems.com.br>
-Date: Thu, 3 Mar 2011 14:41:32 -0300
-Subject: [PATCH] xfreerdp: singleton mode
-
-Allows return code according to the Set Error Info PDU
----
- X11/xf_types.h |   21 +++++++++++++++++++++
- X11/xfreerdp.c |   45 ++++++++++++++++++++++++++++++++++++---------
- doc/xfreerdp.1 |    4 ++++
- 3 files changed, 61 insertions(+), 9 deletions(-)
-
-diff --git a/X11/xf_types.h b/X11/xf_types.h
-index 0d355e2..75c7d88 100644
---- a/X11/xf_types.h
-+++ b/X11/xf_types.h
-@@ -88,6 +88,27 @@ struct xf_info
- };
- typedef struct xf_info xfInfo;
- 
-+
-+enum STANDARD_EXIT_CODE
-+{
-+	EX_OK = 0,
-+	EX_USAGE = 64,
-+	EX_DATAERR = 65,
-+	EX_NOINPUT = 66,
-+	EX_NOUSER = 67,
-+	EX_NOHOST = 68,
-+	EX_UNAVAILABLE = 69,
-+	EX_SOFTWARE = 70,
-+	EX_OSERR = 71,
-+	EX_OSFILE = 72,
-+	EX_CANTCREAT = 73,
-+	EX_IOERR = 74,
-+	EX_TEMPFAIL = 75,
-+	EX_PROTOCOL = 76,
-+	EX_NOPERM = 77,
-+	EX_CONFIG = 78,
-+};
-+
- #ifdef WITH_DEBUG
- #define DEBUG(fmt, ...)	printf("DBG %s (%d): " fmt, __FUNCTION__, __LINE__, ## __VA_ARGS__)
- #else
-diff --git a/X11/xfreerdp.c b/X11/xfreerdp.c
-index 994e8ee..f9236e7 100644
---- a/X11/xfreerdp.c
-+++ b/X11/xfreerdp.c
-@@ -155,7 +155,7 @@ out_args(void)
- 
- /* Returns "true" on errors or other reasons to not continue normal operation */
- static int
--process_params(xfInfo * xfi, int argc, char ** argv, int * pindex)
-+process_params(xfInfo * xfi, int argc, char ** argv, int * pindex, _Bool * singleton)
- {
- 	rdpSet * settings;
- 	rdpKeyboardLayout * layouts;
-@@ -165,6 +165,9 @@ process_params(xfInfo * xfi, int argc, char ** argv, int * pindex)
- 	int i, j;
- 	struct passwd * pw;
- 	int num_extensions;
-+	int first_index;
-+
-+	first_index = *pindex;
- 
- 	set_default_params(xfi);
- 	settings = xfi->settings;
-@@ -512,6 +515,16 @@ process_params(xfInfo * xfi, int argc, char ** argv, int * pindex)
- 			}
- 			num_extensions++;
- 		}
-+		else if (strcmp("--singleton", argv[*pindex]) == 0)
-+		{
-+			if (first_index != 1) /* this is not the first parse */
-+			{
-+				printf("Parsing error: you can't run more than one thread in singleton mode\n");
-+				exit(EX_USAGE);
-+			}
-+
-+			*singleton = 1;
-+		}
- 		else if ((strcmp("-h", argv[*pindex]) == 0) || strcmp("--help", argv[*pindex]) == 0)
- 		{
- 			out_args();
-@@ -577,6 +590,7 @@ run_xfreerdp(xfInfo * xfi)
- 	int max_sck;
- 	fd_set rfds;
- 	fd_set wfds;
-+	uint32 disc_reason;
- 
- 	/* create an instance of the library */
- 	inst = freerdp_new(xfi->settings);
-@@ -611,7 +625,7 @@ run_xfreerdp(xfInfo * xfi)
- 	if (inst->rdp_connect(inst) != 0)
- 	{
- 		printf("run_xfreerdp: inst->rdp_connect failed\n");
--		return 1;
-+		return EX_PROTOCOL;
- 	}
- 	if (freerdp_chanman_post_connect(xfi->chan_man, inst) != 0)
- 	{
-@@ -687,7 +701,7 @@ run_xfreerdp(xfInfo * xfi)
- 		/* check the libfreerdp fds */
- 		if (inst->rdp_check_fds(inst) != 0)
- 		{
--			printf("run_xfreerdp: inst->rdp_check_fds failed\n");
-+			printf("run_xfreerdp: inst->rdp_check_fds failed reason %u\n", inst->disc_reason);
- 			break;
- 		}
- 		/* check x fds */
-@@ -703,21 +717,24 @@ run_xfreerdp(xfInfo * xfi)
- 			break;
- 		}
- 	}
-+
-+	disc_reason = inst->disc_reason;
- 	/* cleanup */
- 	freerdp_chanman_close(xfi->chan_man, inst);
- 	inst->rdp_disconnect(inst);
- 	freerdp_free(inst);
- 	xf_uninit(xfi);
--	return 0;
-+	return disc_reason;
- }
- 
- static void *
- thread_func(void * arg)
- {
- 	xfInfo * xfi;
-+	uint32 disc_reason;
- 
- 	xfi = (xfInfo *) arg;
--	run_xfreerdp(xfi);
-+	disc_reason = run_xfreerdp(xfi);
- 	free(xfi->settings);
- 	freerdp_chanman_free(xfi->chan_man);
- 	free(xfi);
-@@ -728,7 +745,7 @@ thread_func(void * arg)
- 	{
- 		freerdp_sem_signal(&g_sem);
- 	}
--	return NULL;
-+	return (void *)disc_reason;
- }
- 
- int
-@@ -738,6 +755,8 @@ main(int argc, char ** argv)
- 	xfInfo * xfi;
- 	pthread_t thread;
- 	int index = 1;
-+	_Bool singleton = 0;
-+	int disc_reason = 0;
- 
- 	setlocale(LC_CTYPE, "");
- 	if (argc == 1)
-@@ -760,7 +779,7 @@ main(int argc, char ** argv)
- 		memset(xfi, 0, sizeof(xfInfo));
- 		xfi->settings = (rdpSet *) malloc(sizeof(rdpSet));
- 		xfi->chan_man = freerdp_chanman_new();
--		rv = process_params(xfi, argc, argv, &index);
-+		rv = process_params(xfi, argc, argv, &index, &singleton);
- 		if (rv)
- 		{
- 			free(xfi->settings);
-@@ -776,9 +795,17 @@ main(int argc, char ** argv)
- 		{
- 			g_thread_count++;
- 		}
-+
-+		if (singleton)
-+			break;
- 	}
- 
--	if (g_thread_count > 0)
-+	if (singleton)
-+	{
-+		pthread_join(thread, (void **)&disc_reason);
-+		printf("thread joint disconnect reason %d\n", disc_reason);
-+	}
-+	else if (g_thread_count > 0)
- 	{
- 		printf("main thread, waiting for all threads to exit\n");
- 		freerdp_sem_wait(&g_sem);
-@@ -787,5 +814,5 @@ main(int argc, char ** argv)
- 
- 	freerdp_chanman_uninit();
- 	freerdp_global_finish();
--	return 0;
-+	return disc_reason;
- }
-diff --git a/doc/xfreerdp.1 b/doc/xfreerdp.1
-index 9fa07ca..1ad0d70 100644
---- a/doc/xfreerdp.1
-+++ b/doc/xfreerdp.1
-@@ -92,6 +92,10 @@ Disable TLS encryption.
- .BR "--no-osb"
- Disable off screen bitmaps.
- .TP
-+.BR "--singleton"
-+Singleton mode. This mode allows only one thread of execution and also returns
-+the Set Error Info PDU as the program exit code.
-+.TP
- .BR "-h"
- Print help message.
- .TP
--- 
-1.6.6.1
-
diff --git a/recipes/freerdp/freerdp_git.bb b/recipes/freerdp/freerdp_git.bb
index beed2b8..ff37509 100644
--- a/recipes/freerdp/freerdp_git.bb
+++ b/recipes/freerdp/freerdp_git.bb
@@ -1,4 +1,4 @@
-# Copyright (C) 2010, O.S. Systems Software Ltda. All Rights Reserved
+# Copyright (C) 2010, 2011, O.S. Systems Software Ltda. All Rights Reserved
 # Released under the MIT license
 
 include freerdp.inc
@@ -9,8 +9,7 @@ PV = "gitr${SRCPV}"
 PKGV = "${GITPKGVTAG}"
 PR = "${INC_PR}.1"
 
-SRCREV = "6f7eb2abb077d60a09eeb66a10ad97d102336d3c"
-SRC_URI = "git://freerdp.git.sourceforge.net/gitroot/freerdp/freerdp.git;protocol=git \
-           file://singleton-mode.patch"
+SRCREV = "7bbde4fb3bc3a781364d0a626c49bc165cc507fd"
+SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;protocol=git"
 
 S = "${WORKDIR}/git"
-- 
1.7.2.3




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

* Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
  2011-04-01 12:16 ` [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages Otavio Salvador
@ 2011-04-01 13:56   ` Koen Kooi
  2011-04-01 14:06     ` Otavio Salvador
  0 siblings, 1 reply; 18+ messages in thread
From: Koen Kooi @ 2011-04-01 13:56 UTC (permalink / raw)
  To: openembedded-devel

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

On 01-04-11 14:16, Otavio Salvador wrote:
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

> +	find ${D}/${libdir} -name '*.la' -exec rm '{}' ';'

Why is that needed?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNldl8MkyGM64RGpERArEXAKCOSRL/5Ps5wobuYu/rxpfJUNONJgCfVCWC
6rDB+xeEmVdsLr+ksmcnn1s=
=JMLE
-----END PGP SIGNATURE-----




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

* Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
  2011-04-01 13:56   ` Koen Kooi
@ 2011-04-01 14:06     ` Otavio Salvador
  2011-04-01 14:07       ` Koen Kooi
  0 siblings, 1 reply; 18+ messages in thread
From: Otavio Salvador @ 2011-04-01 14:06 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

On Fri, Apr 1, 2011 at 10:56, Koen Kooi <koen@dominion.thruhere.net> wrote:
> On 01-04-11 14:16, Otavio Salvador wrote:
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>
>> +     find ${D}/${libdir} -name '*.la' -exec rm '{}' ';'
>
> Why is that needed?

To avoid .la files on the package.

-- 
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



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

* Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
  2011-04-01 14:06     ` Otavio Salvador
@ 2011-04-01 14:07       ` Koen Kooi
  2011-04-01 14:16         ` Otavio Salvador
  0 siblings, 1 reply; 18+ messages in thread
From: Koen Kooi @ 2011-04-01 14:07 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: openembedded-devel


Op 1 apr 2011, om 16:06 heeft Otavio Salvador het volgende geschreven:

> On Fri, Apr 1, 2011 at 10:56, Koen Kooi <koen@dominion.thruhere.net> wrote:
>> On 01-04-11 14:16, Otavio Salvador wrote:
>>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> 
>>> +     find ${D}/${libdir} -name '*.la' -exec rm '{}' ';'
>> 
>> Why is that needed?
> 
> To avoid .la files on the package.

I guessed that much, but why don't you want .la files in the -dev package? Your commit message doesn't give any clue about it or anything else.




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

* Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
  2011-04-01 14:07       ` Koen Kooi
@ 2011-04-01 14:16         ` Otavio Salvador
  2011-04-09  6:33           ` Khem Raj
  0 siblings, 1 reply; 18+ messages in thread
From: Otavio Salvador @ 2011-04-01 14:16 UTC (permalink / raw)
  To: Koen Kooi; +Cc: openembedded-devel

On Fri, Apr 1, 2011 at 11:07, Koen Kooi <koen@dominion.thruhere.net> wrote:
> I guessed that much, but why don't you want .la files in the -dev package? Your commit message doesn't give any clue about it or anything else.

Those are  for the modules that are dlopened so not required. It ended
up on the regular package, no -dev.

-- 
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



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

* [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
  2011-04-07 13:19   ` [PATCH 2/6] conf/bitbake: improve compression image handling Otavio Salvador
@ 2011-04-07 13:19     ` Otavio Salvador
  0 siblings, 0 replies; 18+ messages in thread
From: Otavio Salvador @ 2011-04-07 13:19 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes/xorg-xserver/xorg-xserver-common.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/xorg-xserver/xorg-xserver-common.inc b/recipes/xorg-xserver/xorg-xserver-common.inc
index 29e3b10..8f59b0b 100644
--- a/recipes/xorg-xserver/xorg-xserver-common.inc
+++ b/recipes/xorg-xserver/xorg-xserver-common.inc
@@ -2,7 +2,7 @@ HOMEPAGE = "http://www.x.org"
 SECTION = "x11/base"
 LICENSE = "MIT-X"
 
-INC_PR = "r18"
+INC_PR = "r19"
 
 PROVIDES = "virtual/xserver"
 
@@ -108,4 +108,5 @@ FILES_${PN}-multimedia-modules = "${libdir}/xorg/modules/multimedia/*drv*"
 
 do_install_append () {
 	ln -sf ${datadir}/fonts/X11 ${D}/${libdir}/X11/fonts
+	find ${D}/${libdir} -name '*.la' -exec rm '{}' ';'
 }
-- 
1.7.2.3




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

* Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
  2011-04-01 14:16         ` Otavio Salvador
@ 2011-04-09  6:33           ` Khem Raj
  2011-04-09  9:19             ` Phil Blundell
  0 siblings, 1 reply; 18+ messages in thread
From: Khem Raj @ 2011-04-09  6:33 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

On Fri, 2011-04-01 at 11:16 -0300, Otavio Salvador wrote:
> On Fri, Apr 1, 2011 at 11:07, Koen Kooi <koen@dominion.thruhere.net> wrote:
> > I guessed that much, but why don't you want .la files in the -dev package? Your commit message doesn't give any clue about it or anything else.
> 
> Those are  for the modules that are dlopened so not required. It ended
> up on the regular package, no -dev.
> 

I think right fix is to put them in -dev package for now

-- 
-Khem




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

* Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
  2011-04-09  6:33           ` Khem Raj
@ 2011-04-09  9:19             ` Phil Blundell
  2011-04-09 17:36               ` Otavio Salvador
  0 siblings, 1 reply; 18+ messages in thread
From: Phil Blundell @ 2011-04-09  9:19 UTC (permalink / raw)
  To: openembedded-devel

On Fri, 2011-04-08 at 23:33 -0700, Khem Raj wrote:
> On Fri, 2011-04-01 at 11:16 -0300, Otavio Salvador wrote:
> > On Fri, Apr 1, 2011 at 11:07, Koen Kooi <koen@dominion.thruhere.net> wrote:
> > > I guessed that much, but why don't you want .la files in the -dev package? Your commit message doesn't give any clue about it or anything else.
> > 
> > Those are  for the modules that are dlopened so not required. It ended
> > up on the regular package, no -dev.
> > 
> 
> I think right fix is to put them in -dev package for now

What would be the use case for having them there?  Nothing ever links
against them.  I think Otavio is right, they're better off deleted.

p.





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

* Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
  2011-04-09  9:19             ` Phil Blundell
@ 2011-04-09 17:36               ` Otavio Salvador
  2011-04-09 18:11                 ` Tom Rini
  0 siblings, 1 reply; 18+ messages in thread
From: Otavio Salvador @ 2011-04-09 17:36 UTC (permalink / raw)
  To: openembedded-devel

On Sat, Apr 9, 2011 at 06:19, Phil Blundell <philb@gnu.org> wrote:
> What would be the use case for having them there?  Nothing ever links
> against them.  I think Otavio is right, they're better off deleted.

AFAIK .la files are used for in project linking not when linking with
system or sdk libraries. So I'd prefer to remove them.

-- 
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



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

* Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
  2011-04-09 17:36               ` Otavio Salvador
@ 2011-04-09 18:11                 ` Tom Rini
  2011-04-09 18:14                   ` Otavio Salvador
  2011-04-09 19:13                   ` Phil Blundell
  0 siblings, 2 replies; 18+ messages in thread
From: Tom Rini @ 2011-04-09 18:11 UTC (permalink / raw)
  To: openembedded-devel

On 04/09/2011 10:36 AM, Otavio Salvador wrote:
> On Sat, Apr 9, 2011 at 06:19, Phil Blundell <philb@gnu.org> wrote:
>> What would be the use case for having them there?  Nothing ever links
>> against them.  I think Otavio is right, they're better off deleted.
> 
> AFAIK .la files are used for in project linking not when linking with
> system or sdk libraries. So I'd prefer to remove them.

.la files have a defined purpose in a development area.  Until / unless
we move to globally killing .la files (see Richard talking about this on
the poky list a few weeks ago), we should ship these in the -dev
package.  If they're broken that probably means something isn't
inherit'ing the right class that should be fixing them.

-- 
Tom Rini
Mentor Graphics Corporation



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

* Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
  2011-04-09 18:11                 ` Tom Rini
@ 2011-04-09 18:14                   ` Otavio Salvador
  2011-04-09 19:13                   ` Phil Blundell
  1 sibling, 0 replies; 18+ messages in thread
From: Otavio Salvador @ 2011-04-09 18:14 UTC (permalink / raw)
  To: openembedded-devel

On Sat, Apr 9, 2011 at 15:11, Tom Rini <tom_rini@mentor.com> wrote:
> On 04/09/2011 10:36 AM, Otavio Salvador wrote:
>> On Sat, Apr 9, 2011 at 06:19, Phil Blundell <philb@gnu.org> wrote:
>>> What would be the use case for having them there?  Nothing ever links
>>> against them.  I think Otavio is right, they're better off deleted.
>>
>> AFAIK .la files are used for in project linking not when linking with
>> system or sdk libraries. So I'd prefer to remove them.
>
> .la files have a defined purpose in a development area.  Until / unless
> we move to globally killing .la files (see Richard talking about this on
> the poky list a few weeks ago), we should ship these in the -dev
> package.  If they're broken that probably means something isn't
> inherit'ing the right class that should be fixing them.

Mind to point me some reference about this topic?

For me it doesn't matter et all but I want do not ship those into
regular packages et all.

-- 
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



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

* Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
  2011-04-09 18:11                 ` Tom Rini
  2011-04-09 18:14                   ` Otavio Salvador
@ 2011-04-09 19:13                   ` Phil Blundell
  2011-04-09 20:29                     ` Paul Menzel
  1 sibling, 1 reply; 18+ messages in thread
From: Phil Blundell @ 2011-04-09 19:13 UTC (permalink / raw)
  To: openembedded-devel

On Sat, 2011-04-09 at 11:11 -0700, Tom Rini wrote:
> On 04/09/2011 10:36 AM, Otavio Salvador wrote:
> > On Sat, Apr 9, 2011 at 06:19, Phil Blundell <philb@gnu.org> wrote:
> >> What would be the use case for having them there?  Nothing ever links
> >> against them.  I think Otavio is right, they're better off deleted.
> > 
> > AFAIK .la files are used for in project linking not when linking with
> > system or sdk libraries. So I'd prefer to remove them.
> 
> .la files have a defined purpose in a development area.  Until / unless
> we move to globally killing .la files (see Richard talking about this on
> the poky list a few weeks ago), we should ship these in the -dev
> package.  If they're broken that probably means something isn't
> inherit'ing the right class that should be fixing them.

Well, the point about these particular .la files is that they relate to
dlopen()ed modules, not to shared libraries that one would wish to link
against.  So the "defined purpose" doesn't apply to this situation.

I don't think the files in question are broken, just useless.  It seems
silly to waste space in the -dev package with them.

p.





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

* Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
  2011-04-09 19:13                   ` Phil Blundell
@ 2011-04-09 20:29                     ` Paul Menzel
  0 siblings, 0 replies; 18+ messages in thread
From: Paul Menzel @ 2011-04-09 20:29 UTC (permalink / raw)
  To: openembedded-devel

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

Am Samstag, den 09.04.2011, 20:13 +0100 schrieb Phil Blundell:
> On Sat, 2011-04-09 at 11:11 -0700, Tom Rini wrote:
> > On 04/09/2011 10:36 AM, Otavio Salvador wrote:
> > > On Sat, Apr 9, 2011 at 06:19, Phil Blundell <philb@gnu.org> wrote:
> > >> What would be the use case for having them there?  Nothing ever links
> > >> against them.  I think Otavio is right, they're better off deleted.
> > > 
> > > AFAIK .la files are used for in project linking not when linking with
> > > system or sdk libraries. So I'd prefer to remove them.
> > 
> > .la files have a defined purpose in a development area.  Until / unless
> > we move to globally killing .la files (see Richard talking about this on
> > the poky list a few weeks ago), we should ship these in the -dev
> > package.  If they're broken that probably means something isn't
> > inherit'ing the right class that should be fixing them.
> 
> Well, the point about these particular .la files is that they relate to
> dlopen()ed modules, not to shared libraries that one would wish to link
> against.  So the "defined purpose" doesn't apply to this situation.
> 
> I don't think the files in question are broken, just useless.  It seems
> silly to waste space in the -dev package with them.

I just want to add that Debian is also removed (and is still removing)
*.la files [1] as far as I can see.

Sorry if that does not belong here.


Thanks,

Paul


[1] http://wiki.debian.org/ReleaseGoals/LAFileRemoval

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

end of thread, other threads:[~2011-04-09 20:31 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-01 12:16 [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Otavio Salvador
2011-04-01 12:16 ` [PATCH 2/6] conf/bitbake: improve compression image handling Otavio Salvador
2011-04-01 12:16 ` [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages Otavio Salvador
2011-04-01 13:56   ` Koen Kooi
2011-04-01 14:06     ` Otavio Salvador
2011-04-01 14:07       ` Koen Kooi
2011-04-01 14:16         ` Otavio Salvador
2011-04-09  6:33           ` Khem Raj
2011-04-09  9:19             ` Phil Blundell
2011-04-09 17:36               ` Otavio Salvador
2011-04-09 18:11                 ` Tom Rini
2011-04-09 18:14                   ` Otavio Salvador
2011-04-09 19:13                   ` Phil Blundell
2011-04-09 20:29                     ` Paul Menzel
2011-04-01 12:16 ` [PATCH 4/6] xserver-xorg (1.9.4): enable xephyr Otavio Salvador
2011-04-01 12:16 ` [PATCH 5/6] xserver-xorg (git): " Otavio Salvador
2011-04-01 12:16 ` [PATCH 6/6] freerdp: update version to 2009-03-29 snapshot Otavio Salvador
  -- strict thread matches above, loose matches on Subject: below --
2011-04-07 13:19 [PATCH 0/6] Patchset for pushing into master Otavio Salvador
2011-04-07 13:19 ` [PATCH 1/6] udev (165): move ConsoleKit support to udev-consolekit package Otavio Salvador
2011-04-07 13:19   ` [PATCH 2/6] conf/bitbake: improve compression image handling Otavio Salvador
2011-04-07 13:19     ` [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.