udev (165): move ConsoleKit support to udev-consolekit package
PATCH 1/6 udev (165): move ConsoleKit support to udev-consolekit package
--- recipes/udev/udev_165.bb | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
recipes/udev/udev_165.bb +4 -3
@@ -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"
Signature · 1 line
1.7.2.3
PATCH 2/6 conf/bitbake: improve compression image handling
* add GZIP_COMPRESSION_LEVEL
* add BZIP2_COMPRESSION_LEVEL
* use xz-native to generate lzma images
--- conf/bitbake.conf | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-)
conf/bitbake.conf +12 -10
@@ -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"
Signature · 1 line
1.7.2.3
PATCH 3/6 xorg-xserver-common.inc: drop .la files from packages
In reply to Otavio Salvador--- recipes/xorg-xserver/xorg-xserver-common.inc | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/xorg-xserver/xorg-xserver-common.inc +2 -1
@@ -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 '{}' ';' }
Signature · 1 line
1.7.2.3
Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
recipes/xorg-xserver/xorg-xserver-common.inc FILES_${PN}-multimedia-modules = "${libdir}/xorg/modules/multimedia/*drv*" · line 111
Quoted 3 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>recipes/xorg-xserver/xorg-xserver-common.inc +1
-0+ 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-----
Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
Quoted 6 lines · Koen Kooi
Quoted 3 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>+ find ${D}/${libdir} -name '*.la' -exec rm '{}' ';'
Why is that needed?
To avoid .la files on the package.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
Op 1 apr 2011, om 16:06 heeft Otavio Salvador het volgende geschreven:
Quoted 9 lines · Koen Kooi
Quoted 6 lines · Otavio Salvador
Quoted 3 lines
Signed-off-by Otavio Salvador <[email protected]>+ 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.
Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
Quoted 1 line · Koen Kooi
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.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
Quoted 6 lines · Otavio Salvador
Quoted 1 line · Koen Kooi
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
Signature · 1 line
-Khem
Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
Quoted 9 lines · Khem Raj
Quoted 6 lines · Otavio Salvador
Quoted 1 line · Koen Kooi
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.
Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
Quoted 2 lines · Phil Blundell
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.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
Quoted 6 lines · Otavio Salvador
Quoted 2 lines · Phil Blundell
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.
Signature · 2 lines
Tom Rini Mentor Graphics Corporation
Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
Quoted 5 lines · Tom Rini
Quoted 4 lines · Otavio Salvador
Quoted 2 lines · Phil Blundell
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.
Quoted 8 lines
Quoted 2 lines
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.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
In reply to Tom RiniQuoted 5 lines · Tom Rini
Quoted 4 lines · Otavio Salvador
Quoted 2 lines · Phil Blundell
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.
Quoted 8 lines
Quoted 2 lines
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.
Re: [PATCH 3/6] xorg-xserver-common.inc: drop .la files from packages
Am Samstag, den 09.04.2011, 20:13 +0100 schrieb Phil Blundell:
Quoted 15 lines · Tom Rini
Quoted 5 lines · Otavio Salvador
Quoted 4 lines · Phil Blundell
Quoted 2 lines
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.
Quoted 8 lines
Quoted 2 lines
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.
Quoted 6 lines
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
PATCH 4/6 xserver-xorg (1.9.4): enable xephyr
In reply to Otavio Salvador--- recipes/xorg-xserver/xserver-xorg_1.9.4.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/xorg-xserver/xserver-xorg_1.9.4.bb +2 -2
@@ -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 "
Signature · 1 line
1.7.2.3
PATCH 5/6 xserver-xorg (git): enable xephyr
In reply to Otavio Salvador--- recipes/xorg-xserver/xserver-xorg_git.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/xorg-xserver/xserver-xorg_git.bb +2 -2
@@ -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 "
Signature · 1 line
1.7.2.3
PATCH 6/6 freerdp: update version to 2009-03-29 snapshot
In reply to Otavio Salvador* drop singleton-mode.patch, merged upstream;
--- 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
recipes/freerdp/freerdp/singleton-mode.patch deleted +0 -208
@@ -1,208 +0,0 @@ -From dd81b7b7902015d35e48117db7fb664aa75fdf62 Mon Sep 17 00:00:00 2001 -From: Eduardo Beloni <[email protected]> -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 -
recipes/freerdp/freerdp_git.bb +3 -4
@@ -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"
Signature · 1 line
1.7.2.3