diff options
-rw-r--r-- | classes/java.bbclass | 2 | ||||
-rw-r--r-- | conf/bitbake.conf | 1 | ||||
-rw-r--r-- | conf/checksums.ini | 32 | ||||
-rw-r--r-- | conf/machine/om-gta01.conf | 2 | ||||
-rw-r--r-- | conf/machine/om-gta02.conf | 4 | ||||
-rw-r--r-- | recipes/coreutils/coreutils-6.0.inc | 7 | ||||
-rw-r--r-- | recipes/coreutils/coreutils-7.1.inc | 6 | ||||
-rw-r--r-- | recipes/coreutils/coreutils-7.2.inc | 4 | ||||
-rw-r--r-- | recipes/coreutils/coreutils-native_6.0.bb | 7 | ||||
-rw-r--r-- | recipes/coreutils/coreutils-native_7.1.bb | 7 | ||||
-rw-r--r-- | recipes/coreutils/coreutils-native_7.2.bb | 7 | ||||
-rw-r--r-- | recipes/coreutils/coreutils-target.inc | 82 | ||||
-rw-r--r-- | recipes/coreutils/coreutils_6.0.bb | 86 | ||||
-rw-r--r-- | recipes/coreutils/coreutils_7.1.bb | 95 | ||||
-rw-r--r-- | recipes/coreutils/coreutils_7.2.bb | 92 | ||||
-rw-r--r-- | recipes/mesa/mesa-dri_7.6.bb | 28 | ||||
-rw-r--r-- | recipes/mesa/mesa-dri_git.bb | 17 | ||||
-rw-r--r-- | recipes/mesa/mesa-xlib_7.6.bb | 15 | ||||
-rw-r--r-- | recipes/mesa/mesa_7.6.bb | 2 | ||||
-rw-r--r-- | recipes/xorg-xserver/xorg-xserver-common.inc | 2 |
20 files changed, 216 insertions, 282 deletions
diff --git a/classes/java.bbclass b/classes/java.bbclass index b68035c13e..d4cf5aa954 100644 --- a/classes/java.bbclass +++ b/classes/java.bbclass @@ -13,7 +13,7 @@ libdir_jni ?= ${libdir}/jni # JVM bundle location on target libdir_jvm ?= ${libdir}/jvm -STAGING_DATADIR_JAVA ?= ${STAGING_DATADIR}/java +STAGING_DATADIR_JAVA ?= ${STAGING_DIR_JAVA} STAGING_LIBDIR_JNI ?= ${STAGING_LIBDIR}/jni STAGING_LIBDIR_JVM ?= ${STAGING_LIBDIR}/jvm diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 48e098db44..3a68959c6c 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -297,6 +297,7 @@ B = "${S}" STAGING_DIR = "${TMPDIR}/staging" +STAGING_DIR_JAVA = "${STAGING_DIR}/java" STAGING_DIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}" STAGING_BINDIR_NATIVE = "${STAGING_DIR_NATIVE}${bindir_native}" STAGING_BINDIR_CROSS = "${STAGING_DIR_NATIVE}${bindir_native}/${MULTIMACH_HOST_SYS}" diff --git a/conf/checksums.ini b/conf/checksums.ini index 8fc614beb3..1f76481579 100644 --- a/conf/checksums.ini +++ b/conf/checksums.ini @@ -15566,6 +15566,10 @@ sha256=3453c1426fdc06b32bc5f4e7d3ce039ec7f38f0fa4018d505e515099b209dd25 md5=b73cbd5bc3cd268722a624a5f1318fde sha256=94c31c7090106d3a95e2a7c083961efca1321b970118fe103ab06e5d927b7258 +[http://xorg.freedesktop.org/releases/individual/lib/liblbxutil-1.1.0.tar.bz2] +md5=273329a78c2e9ea189ac416c7fde94a1 +sha256=c6b6ff7858ec619cafa8205debca6bf78c5610a2844a782ed643c7fd017cf8ae + [http://xorg.freedesktop.org/releases/X11R7.0/src/lib/liblbxutil-X11R7.0-1.0.0.tar.bz2] md5=1bcffde85723f78243d1ba60e1ebaef6 sha256=e485f36d74f477f3d235a05bb67b502dc744092569842d9ab45e2f785f74f556 @@ -16122,6 +16126,10 @@ sha256=b9532db51a093221f82e6659ab2979d357eac770d6eb9e9361efead0aca709ce md5=685cb20e7a6165bc010972f1183addbd sha256=5ccb9683b8be76edfceab4bf006e1cce9018e0d3dea5e54aa72e82798213fead +[http://xorg.freedesktop.org/releases/individual/lib/libpciaccess-0.11.0.tar.bz2] +md5=686320dcec98daad0bdfb8894d4f2a2b +sha256=6e38be12b656c83c66a6fd8ba56c041d8188218278219c88ee635242ec1c7dab + [http://www.xmailserver.org/libpcl-1.4.tar.gz] md5=6d63c462911349de80109c0161ed6d37 sha256=3c64155a9218c0367f3b0afd4bd8a4a46cc467ad6c85e98952a4ef517b183686 @@ -17518,6 +17526,10 @@ sha256=986a923a5247468db1d2a03e93268f4025ae5dc27e911dafc7b37e6a802122db md5=827a1ac5adf9aadd0c13b54a897e297b sha256=7156e58025e240a501d5b32244b923b283bb35014ea5a4081b70044af8aef7a3 +[http://xorg.freedesktop.org/releases/individual/app/listres-1.0.2.tar.bz2] +md5=3c0d5d8d6abaf411cd0647bc7073ac38 +sha256=4d9e24b95619bc961936d241106ffcc483995de55629567113ad78ba0b37ffb7 + [http://xorg.freedesktop.org/releases/X11R7.0/src/app/listres-X11R7.0-1.0.1.tar.bz2] md5=2eeb802272a7910bb8a52b308bf0d5f6 sha256=41711ff3c94144b8a561146948b9b5fd49a55756532fa4d254d9a959e6622d87 @@ -26942,6 +26954,10 @@ sha256=f3804f02f51a1be243ce7413dc67dca774f000686f8f2efedc77203a1962d401 md5=51bb54c08415ee3c3000b7df9e9b07c5 sha256=57d2629849796b4dc919261eadd1eea3ee6e634d58979797287f7e09408cde67 +[http://xorg.freedesktop.org/releases/individual/util/util-macros-1.4.1.tar.gz] +md5=8ac38951e753f250aaefbd4ba0afda94 +sha256=d49ab68cad724ae51f6cb69f7f5cfff7629cbb066f4c5c8bda81d62675a21986 + [http://xorg.freedesktop.org/releases/X11R7.0/src/util/util-macros-X11R7.0-1.0.1.tar.bz2] md5=bc6be634532d4936eb753de54e1663d3 sha256=e95a45db65b33be472a3134492e348c4cd6edc200d02a85654ffe62bc2e6fdcd @@ -28474,6 +28490,10 @@ sha256=6d57420cce9201a14f2fb5c5f6bc8999ffdcc9520020d54290eb22db27c366c8 md5=e56ce4424b89b2409c6e73e007a85da7 sha256=462f2ae2fd389a87e09fa764a236cd04dcbf85bcfcd8000aa9a3810055511d8f +[http://xorg.freedesktop.org/releases/individual/driver/xf86-input-evdev-2.3.2.tar.bz2] +md5=b2bfe368022eedf2671ee28daba31efc +sha256=029bf469bd013bcc3e384c1297a05a59e4b9b3ba90a26c022b32c0819d115e28 + [http://xorg.freedesktop.org/releases/X11R7.0/src/driver/xf86-input-evdev-X11R7.0-1.0.0.5.tar.bz2] md5=d982c6f185f4c75a4b65703ceed7be06 sha256=ba53e8ce6bfa01da7fa86a31853542a71722b41b511041bdb58cf66c10f3edb4 @@ -28790,6 +28810,10 @@ sha256=e7d481c375a11df55eb8f12390c329c2bfda3258c689cec11cfec27cb5895c8b md5=2cf0a2b0b3006bcfcd85bb77d966244a sha256=ddd5ad4c25ad2f2e46134272bf047522882deba8ac3ac04d5e11f8bd9718620c +[http://xorg.freedesktop.org/releases/individual/driver/xf86-input-synaptics-1.2.1.tar.bz2] +md5=29a6f9da5123149e4abc8ff83880ed5c +sha256=a63b48c5c8eb09416b941dea591a948e111d1b2e14d4620f25377cf47cf877e6 + [http://xorg.freedesktop.org/releases/individual/driver/xf86-input-tek4957-1.1.0.tar.bz2] md5=be8a4bd474ad6c85b93f66dd6fcfa6ee sha256=09b9506d1bb1deaaf69872392bc56e1d75997bb8157e85a9121749bf5fe15727 @@ -29294,6 +29318,10 @@ sha256=f56d2bb42f6c4369dd3c6adc30988c53a229650f910b0db1bb3bf9376054011e md5=1b22188bd9012a148206940708b52ea6 sha256=c18ce0410437ced9c171d2d6328a8406b79b6edacf55b9526594b446ee5a3641 +[http://xorg.freedesktop.org/releases/individual/driver/xf86-video-nv-2.1.16.tar.bz2] +md5=fb02d5506e35054348d1c2b2c924530d +sha256=4bf2f964b78d309769faa6a5d21c90a9907886623adf1f30ea890b4329bf578d + [http://xorg.freedesktop.org/releases/individual/driver/xf86-video-nv-2.1.3.tar.bz2] md5=f9b38e24157c3aac6014119ac18d76da sha256=8d9b5ea137c31919f7821e7f3ecbd133158813c1059f4a8ed0a723535d969952 @@ -30546,6 +30574,10 @@ sha256=400bc7d84dcfb3265a7a1ce51819679dc3adaeda231514bd89b0f932b78ff5c4 md5=4c5482552f38a7d42398a694cc9b2ee6 sha256=de59f9be3d45fe93f445f39bec3cea09753a671e56863ce77e3a797d2df526b2 +[http://xorg.freedesktop.org/releases/individual/app/xlogo-1.0.2.tar.bz2] +md5=7365c0852750134119734bc1879f60ca +sha256=47a8aa4e8190772e24dd58266fdd4ba2723b5d7a23365a3e4c07c1263ffb3130 + [http://xorg.freedesktop.org/releases/X11R7.0/src/app/xlogo-X11R7.0-1.0.1.tar.bz2] md5=0314b2f5173da64957031400638fa5f8 sha256=1397377bae07e8907f73bc445e967d4d4400769e683c2119598d952c8ad28131 diff --git a/conf/machine/om-gta01.conf b/conf/machine/om-gta01.conf index 5bdeba01f3..e1c5127072 100644 --- a/conf/machine/om-gta01.conf +++ b/conf/machine/om-gta01.conf @@ -12,7 +12,7 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-openmoko-2.6.24" PREFERRED_PROVIDER_virtual/kernel_shr = "linux-openmoko-shr-devel" PREFERRED_PROVIDER_virtual/xserver_shr = "xserver-xorg" PREFERRED_PROVIDER_xf86-video-fbdev_shr = "xf86-video-fbdev" -PREFERRED_PROVIDER_mesa_shr = "mesa" +PREFERRED_PROVIDER_virtual/libgl = "mesa" XSERVER_shr = "xserver-xorg xf86-video-fbdev xf86-input-evdev xf86-input-keyboard" UBOOT_ENTRYPOINT = "30008000" diff --git a/conf/machine/om-gta02.conf b/conf/machine/om-gta02.conf index 5fc96ec4ed..8e8355ba6f 100644 --- a/conf/machine/om-gta02.conf +++ b/conf/machine/om-gta02.conf @@ -15,8 +15,8 @@ PREFERRED_PROVIDER_virtual/kernel_shr = "linux-openmoko-shr-devel" #PREFERRED_PROVIDER_virtual/kernel_shr = "linux-openmoko-2.6.31" PREFERRED_PROVIDER_virtual/xserver_shr = "xserver-xorg" -PREFERRED_PROVIDER_virtual/libgl_shr = "mesa-dri" -MACHINE_DRI_MODULES_shr = "glamo" +PREFERRED_PROVIDER_virtual/libgl = "mesa-dri" +MACHINE_DRI_MODULES = "glamo" XSERVER_shr = "xserver-xorg xf86-video-glamo xf86-input-evdev xf86-input-keyboard xf86-input-mouse" diff --git a/recipes/coreutils/coreutils-6.0.inc b/recipes/coreutils/coreutils-6.0.inc new file mode 100644 index 0000000000..0dd2512021 --- /dev/null +++ b/recipes/coreutils/coreutils-6.0.inc @@ -0,0 +1,7 @@ +require coreutils.inc + +SRC_URI = "\ + ftp://alpha.gnu.org/gnu/coreutils/coreutils-${PV}.tar.bz2 \ + file://futimens.patch;patch=1 \ + file://coreutils-install-use-STRIP.patch;patch=1 \ +" diff --git a/recipes/coreutils/coreutils-7.1.inc b/recipes/coreutils/coreutils-7.1.inc new file mode 100644 index 0000000000..7f77b9b1ca --- /dev/null +++ b/recipes/coreutils/coreutils-7.1.inc @@ -0,0 +1,6 @@ +require coreutils.inc + +SRC_URI = "ftp://ftp.gnu.org/gnu/coreutils/coreutils-${PV}.tar.gz" + +# not thoroughly tested yet +DEFAULT_PREFERENCE = "-1" diff --git a/recipes/coreutils/coreutils-7.2.inc b/recipes/coreutils/coreutils-7.2.inc new file mode 100644 index 0000000000..7ab42213c9 --- /dev/null +++ b/recipes/coreutils/coreutils-7.2.inc @@ -0,0 +1,4 @@ +require coreutils.inc + +SRC_URI = "ftp://ftp.gnu.org/gnu/coreutils/coreutils-${PV}.tar.gz \ + file://coreutils-7.2-fix-sort-segfault.patch;patch=1" diff --git a/recipes/coreutils/coreutils-native_6.0.bb b/recipes/coreutils/coreutils-native_6.0.bb index a3754df123..800aacc568 100644 --- a/recipes/coreutils/coreutils-native_6.0.bb +++ b/recipes/coreutils/coreutils-native_6.0.bb @@ -1,5 +1,4 @@ -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/coreutils-${PV}" -S = "${WORKDIR}/coreutils-${PV}" - -require coreutils_${PV}.bb +require coreutils-${PV}.inc require coreutils-native.inc + +PR = "r4" diff --git a/recipes/coreutils/coreutils-native_7.1.bb b/recipes/coreutils/coreutils-native_7.1.bb index a3754df123..6370c04ef7 100644 --- a/recipes/coreutils/coreutils-native_7.1.bb +++ b/recipes/coreutils/coreutils-native_7.1.bb @@ -1,5 +1,4 @@ -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/coreutils-${PV}" -S = "${WORKDIR}/coreutils-${PV}" - -require coreutils_${PV}.bb +require coreutils-${PV}.inc require coreutils-native.inc + +PR = "r1" diff --git a/recipes/coreutils/coreutils-native_7.2.bb b/recipes/coreutils/coreutils-native_7.2.bb index a3754df123..6370c04ef7 100644 --- a/recipes/coreutils/coreutils-native_7.2.bb +++ b/recipes/coreutils/coreutils-native_7.2.bb @@ -1,5 +1,4 @@ -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/coreutils-${PV}" -S = "${WORKDIR}/coreutils-${PV}" - -require coreutils_${PV}.bb +require coreutils-${PV}.inc require coreutils-native.inc + +PR = "r1" diff --git a/recipes/coreutils/coreutils-target.inc b/recipes/coreutils/coreutils-target.inc new file mode 100644 index 0000000000..1dd1d369f3 --- /dev/null +++ b/recipes/coreutils/coreutils-target.inc @@ -0,0 +1,82 @@ +EXTRA_AUTORECONF += "-I ${S}/m4" +SRC_URI += "file://onceonly.m4" + +# [ gets a special treatment and is not included in this +bindir_progs = "basename cksum comm csplit cut df dir dircolors dirname du \ + env expand expr factor fmt fold groups head hostid id install \ + join link logname md5sum mkfifo nice nl nohup od paste pathchk \ + pinky pr printenv printf ptx readlink seq sha1sum shred sort \ + split stat sum tac tail tee test tr tsort tty unexpand uniq \ + unlink users vdir wc who whoami yes \ + " + +# hostname gets a special treatment and is not included in this +base_bindir_progs = "cat chgrp chmod chown cp date dd echo false kill \ + ln ls mkdir mknod mv pwd rm rmdir sleep stty sync touch \ + true uname \ + " + +sbindir_progs= "chroot" + +do_configure_prepend() { + install -m 0644 ${WORKDIR}/onceonly.m4 ${S}/m4 +} + +do_install () { + autotools_do_install + + # Renaming the utilities that should go in /usr/bin + for i in ${bindir_progs}; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${PN}; done + + # Renaming and moving the utilities that should go in /bin (FHS) + install -d ${D}${base_bindir} + for i in ${base_bindir_progs}; do mv ${D}${bindir}/$i ${D}${base_bindir}/$i.${PN}; done + + # Renaming and moving the utilities that should go in /usr/sbin (FHS) + install -d ${D}${sbindir} + for i in ${sbindir_progs}; do mv ${D}${bindir}/$i ${D}${sbindir}/$i.${PN}; done + + # [ requires special handling because [.coreutils will cause the sed stuff + # in update-alternatives to fail, therefore use lbracket - the name used + # for the actual source file. + mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${PN} + # hostname and uptime separated. busybox's versions are preferred + if [ -e ${D}${bindir}/hostname ]; then + mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${PN} + fi + if [ -e ${D}${bindir}/uptime ]; then + mv ${D}${bindir}/uptime ${D}${bindir}/uptime.${PN} + fi +} + +pkg_postinst_${PN} () { + # The utilities in /usr/bin + for i in ${bindir_progs}; do update-alternatives --install ${bindir}/$i $i $i.${PN} 100; done + + # The utilities in /bin + for i in ${base_bindir_progs}; do update-alternatives --install ${base_bindir}/$i $i $i.${PN} 100; done + + # The utilities in /usr/sbin + for i in ${sbindir_progs}; do update-alternatives --install ${sbindir}/$i $i $i.${PN} 100; done + + # Special cases. uptime and hostname is broken, prefer busybox's version. [ needs to be treated separately. + update-alternatives --install ${bindir}/uptime uptime uptime.${PN} 10 + update-alternatives --install ${base_bindir}/hostname hostname hostname.${PN} 10 + update-alternatives --install '${bindir}/[' '[' 'lbracket.${PN}' 100 +} + +pkg_prerm_${PN} () { + # The utilities in /usr/bin + for i in ${bindir_progs}; do update-alternatives --remove $i $i.${PN}; done + + # The utilities in /bin + for i in ${base_bindir_progs}; do update-alternatives --remove $i $i.${PN}; done + + # The utilities in /usr/sbin + for i in ${sbindir_progs}; do update-alternatives --remove $i $i.${PN}; done + + # The special cases + update-alternatives --remove hostname hostname.${PN} + update-alternatives --remove uptime uptime.${PN} + update-alternatives --remove '[' 'lbracket.${PN}' +} diff --git a/recipes/coreutils/coreutils_6.0.bb b/recipes/coreutils/coreutils_6.0.bb index d0d082bc63..009dad34cf 100644 --- a/recipes/coreutils/coreutils_6.0.bb +++ b/recipes/coreutils/coreutils_6.0.bb @@ -1,89 +1,9 @@ -require coreutils.inc +require coreutils-${PV}.inc +require coreutils-target.inc PR = "r3" -SRC_URI = "\ - ftp://alpha.gnu.org/gnu/coreutils/coreutils-${PV}.tar.bz2 \ +SRC_URI += "\ file://man.patch;patch=1 \ file://oe-old-tools.patch;patch=1 \ - file://futimens.patch;patch=1 \ - file://coreutils-install-use-STRIP.patch;patch=1 \ - file://onceonly.m4 \ " - -# [ gets a special treatment and is not included in this -bindir_progs = "basename cksum comm csplit cut df dir dircolors dirname du \ - env expand expr factor fmt fold groups head hostid id install \ - join link logname md5sum mkfifo nice nl nohup od paste pathchk \ - pinky pr printenv printf ptx readlink seq sha1sum shred sort \ - split stat sum tac tail tee test tr tsort tty unexpand uniq \ - unlink users vdir wc who whoami yes \ - " - -# hostname gets a special treatment and is not included in this -base_bindir_progs = "cat chgrp chmod chown cp date dd echo false kill \ - ln ls mkdir mknod mv pwd rm rmdir sleep stty sync touch \ - true uname \ - " - -sbindir_progs= "chroot" - -do_configure_prepend() { - install -m 0644 ${WORKDIR}/onceonly.m4 ${S}/m4 -} - -do_install () { - autotools_do_install - - # Renaming the utilities that should go in /usr/bin - for i in ${bindir_progs}; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${PN}; done - - # Renaming and moving the utilities that should go in /bin (FHS) - install -d ${D}${base_bindir} - for i in ${base_bindir_progs}; do mv ${D}${bindir}/$i ${D}${base_bindir}/$i.${PN}; done - - # Renaming and moving the utilities that should go in /usr/sbin (FHS) - install -d ${D}${sbindir} - for i in ${sbindir_progs}; do mv ${D}${bindir}/$i ${D}${sbindir}/$i.${PN}; done - - # [ requires special handling because [.coreutils will cause the sed stuff - # in update-alternatives to fail, therefore use lbracket - the name used - # for the actual source file. - mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${PN} - # hostname and uptime separated. busybox's versions are preferred - mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${PN} - mv ${D}${bindir}/uptime ${D}${bindir}/uptime.${PN} - -} - -pkg_postinst_${PN} () { - # The utilities in /usr/bin - for i in ${bindir_progs}; do update-alternatives --install ${bindir}/$i $i $i.${PN} 100; done - - # The utilities in /bin - for i in ${base_bindir_progs}; do update-alternatives --install ${base_bindir}/$i $i $i.${PN} 100; done - - # The utilities in /usr/sbin - for i in ${sbindir_progs}; do update-alternatives --install ${sbindir}/$i $i $i.${PN} 100; done - - # Special cases. uptime and hostname is broken, prefer busybox's version. [ needs to be treated separately. - update-alternatives --install ${bindir}/uptime uptime uptime.${PN} 10 - update-alternatives --install ${base_bindir}/hostname hostname hostname.${PN} 10 - update-alternatives --install '${bindir}/[' '[' 'lbracket.${PN}' 100 -} - -pkg_prerm_${PN} () { - # The utilities in /usr/bin - for i in ${bindir_progs}; do update-alternatives --remove $i $i.${PN}; done - - # The utilities in /bin - for i in ${base_bindir_progs}; do update-alternatives --remove $i $i.${PN}; done - - # The utilities in /usr/sbin - for i in ${sbindir_progs}; do update-alternatives --remove $i $i.${PN}; done - - # The special cases - update-alternatives --remove hostname hostname.${PN} - update-alternatives --remove uptime uptime.${PN} - update-alternatives --remove '[' 'lbracket.${PN}' -} diff --git a/recipes/coreutils/coreutils_7.1.bb b/recipes/coreutils/coreutils_7.1.bb index 6488e11a79..18ee4e36e1 100644 --- a/recipes/coreutils/coreutils_7.1.bb +++ b/recipes/coreutils/coreutils_7.1.bb @@ -1,92 +1,7 @@ -require coreutils.inc -PR = "r0" +require coreutils-${PV}.inc +require coreutils-target.inc -# not thoroughly testes yet -DEFAULT_PREFERENCE = "-1" +PR = "r0.1" -SRC_URI = "\ - ftp://ftp.gnu.org/gnu/coreutils/coreutils-${PV}.tar.gz \ - file://automake-version.patch;patch=1 \ - file://man.patch;patch=1 \ - file://onceonly.m4 \ -" - -# [ gets a special treatment and is not included in this -bindir_progs = "basename cksum comm csplit cut df dir dircolors dirname du \ - env expand expr factor fmt fold groups head hostid id install \ - join link logname md5sum mkfifo nice nl nohup od paste pathchk \ - pinky pr printenv printf ptx readlink seq sha1sum shred sort \ - split stat sum tac tail tee test tr tsort tty unexpand uniq \ - unlink users vdir wc who whoami yes \ - " - -# hostname gets a special treatment and is not included in this -base_bindir_progs = "cat chgrp chmod chown cp date dd echo false kill \ - ln ls mkdir mknod mv pwd rm rmdir sleep stty sync touch \ - true uname \ - " - -sbindir_progs= "chroot" - -do_configure_prepend() { - install -m 0644 ${WORKDIR}/onceonly.m4 ${S}/m4 -} - -do_install () { - autotools_do_install - - # Renaming the utilities that should go in /usr/bin - for i in ${bindir_progs}; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${PN}; done - - # Renaming and moving the utilities that should go in /bin (FHS) - install -d ${D}${base_bindir} - for i in ${base_bindir_progs}; do mv ${D}${bindir}/$i ${D}${base_bindir}/$i.${PN}; done - - # Renaming and moving the utilities that should go in /usr/sbin (FHS) - install -d ${D}${sbindir} - for i in ${sbindir_progs}; do mv ${D}${bindir}/$i ${D}${sbindir}/$i.${PN}; done - - # [ requires special handling because [.coreutils will cause the sed stuff - # in update-alternatives to fail, therefore use lbracket - the name used - # for the actual source file. - mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${PN} - # hostname and uptime separated. busybox's versions are preferred - if [ -e ${D}${bindir}/hostname ]; then - mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${PN} - fi - if [ -e ${D}${bindir}/uptime ]; then - mv ${D}${bindir}/uptime ${D}${bindir}/uptime.${PN} - fi -} - -pkg_postinst_${PN} () { - # The utilities in /usr/bin - for i in ${bindir_progs}; do update-alternatives --install ${bindir}/$i $i $i.${PN} 100; done - - # The utilities in /bin - for i in ${base_bindir_progs}; do update-alternatives --install ${base_bindir}/$i $i $i.${PN} 100; done - - # The utilities in /usr/sbin - for i in ${sbindir_progs}; do update-alternatives --install ${sbindir}/$i $i $i.${PN} 100; done - - # Special cases. uptime and hostname is broken, prefer busybox's version. [ needs to be treated separately. - update-alternatives --install ${bindir}/uptime uptime uptime.${PN} 10 - update-alternatives --install ${base_bindir}/hostname hostname hostname.${PN} 10 - update-alternatives --install '${bindir}/[' '[' 'lbracket.${PN}' 100 -} - -pkg_prerm_${PN} () { - # The utilities in /usr/bin - for i in ${bindir_progs}; do update-alternatives --remove $i $i.${PN}; done - - # The utilities in /bin - for i in ${base_bindir_progs}; do update-alternatives --remove $i $i.${PN}; done - - # The utilities in /usr/sbin - for i in ${sbindir_progs}; do update-alternatives --remove $i $i.${PN}; done - - # The special cases - update-alternatives --remove hostname hostname.${PN} - update-alternatives --remove uptime uptime.${PN} - update-alternatives --remove '[' 'lbracket.${PN}' -} +SRC_URI += "file://automake-version.patch;patch=1 \ + file://man.patch;patch=1" diff --git a/recipes/coreutils/coreutils_7.2.bb b/recipes/coreutils/coreutils_7.2.bb index f80921a288..46333be148 100644 --- a/recipes/coreutils/coreutils_7.2.bb +++ b/recipes/coreutils/coreutils_7.2.bb @@ -1,89 +1,7 @@ -require coreutils.inc +require coreutils-${PV}.inc +require coreutils-target.inc -SRC_URI = "\ - ftp://ftp.gnu.org/gnu/coreutils/coreutils-${PV}.tar.gz \ - file://automake-version.patch;patch=1 \ - file://man.patch;patch=1 \ - file://coreutils-7.2-fix-sort-segfault.patch;patch=1 \ - file://onceonly.m4 \ -" +PR = "r0" -# [ gets a special treatment and is not included in this -bindir_progs = "basename cksum comm csplit cut df dir dircolors dirname du \ - env expand expr factor fmt fold groups head hostid id install \ - join link logname md5sum mkfifo nice nl nohup od paste pathchk \ - pinky pr printenv printf ptx readlink seq sha1sum shred sort \ - split stat sum tac tail tee test tr tsort tty unexpand uniq \ - unlink users vdir wc who whoami yes \ - " - -# hostname gets a special treatment and is not included in this -base_bindir_progs = "cat chgrp chmod chown cp date dd echo false kill \ - ln ls mkdir mknod mv pwd rm rmdir sleep stty sync touch \ - true uname \ - " - -sbindir_progs= "chroot" - -do_configure_prepend() { - install -m 0644 ${WORKDIR}/onceonly.m4 ${S}/m4 -} - -do_install () { - autotools_do_install - - # Renaming the utilities that should go in /usr/bin - for i in ${bindir_progs}; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${PN}; done - - # Renaming and moving the utilities that should go in /bin (FHS) - install -d ${D}${base_bindir} - for i in ${base_bindir_progs}; do mv ${D}${bindir}/$i ${D}${base_bindir}/$i.${PN}; done - - # Renaming and moving the utilities that should go in /usr/sbin (FHS) - install -d ${D}${sbindir} - for i in ${sbindir_progs}; do mv ${D}${bindir}/$i ${D}${sbindir}/$i.${PN}; done - - # [ requires special handling because [.coreutils will cause the sed stuff - # in update-alternatives to fail, therefore use lbracket - the name used - # for the actual source file. - mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${PN} - # hostname and uptime separated. busybox's versions are preferred - if [ -e ${D}${bindir}/hostname ]; then - mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${PN} - fi - if [ -e ${D}${bindir}/uptime ]; then - mv ${D}${bindir}/uptime ${D}${bindir}/uptime.${PN} - fi -} - -pkg_postinst_${PN} () { - # The utilities in /usr/bin - for i in ${bindir_progs}; do update-alternatives --install ${bindir}/$i $i $i.${PN} 100; done - - # The utilities in /bin - for i in ${base_bindir_progs}; do update-alternatives --install ${base_bindir}/$i $i $i.${PN} 100; done - - # The utilities in /usr/sbin - for i in ${sbindir_progs}; do update-alternatives --install ${sbindir}/$i $i $i.${PN} 100; done - - # Special cases. uptime and hostname is broken, prefer busybox's version. [ needs to be treated separately. - update-alternatives --install ${bindir}/uptime uptime uptime.${PN} 10 - update-alternatives --install ${base_bindir}/hostname hostname hostname.${PN} 10 - update-alternatives --install '${bindir}/[' '[' 'lbracket.${PN}' 100 -} - -pkg_prerm_${PN} () { - # The utilities in /usr/bin - for i in ${bindir_progs}; do update-alternatives --remove $i $i.${PN}; done - - # The utilities in /bin - for i in ${base_bindir_progs}; do update-alternatives --remove $i $i.${PN}; done - - # The utilities in /usr/sbin - for i in ${sbindir_progs}; do update-alternatives --remove $i $i.${PN}; done - - # The special cases - update-alternatives --remove hostname hostname.${PN} - update-alternatives --remove uptime uptime.${PN} - update-alternatives --remove '[' 'lbracket.${PN}' -} +SRC_URI += "file://automake-version.patch;patch=1 \ + file://man.patch;patch=1" diff --git a/recipes/mesa/mesa-dri_7.6.bb b/recipes/mesa/mesa-dri_7.6.bb new file mode 100644 index 0000000000..0eed2ef8d4 --- /dev/null +++ b/recipes/mesa/mesa-dri_7.6.bb @@ -0,0 +1,28 @@ +include mesa-common.inc + +PROTO_DEPS = "xf86driproto glproto dri2proto expat" +LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes" + +DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}" + +SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ + ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaDemos-${PV}.tar.bz2 \ + " +PE = "1" +PR = "${INC_PR}.0" + +# most of our targets do not have DRI so will use mesa-xlib +DEFAULT_PREFERENCE = "-1" + +DEFAULT_PREFERENCE_om-gta01 = "2" + +# ASUS EeePC 901 has DRI support so use mesa-dri by default +DEFAULT_PREFERENCE_eee901 = "1" + +PACKAGES =+ "${PN}-xprogs" + +FILES_${PN} += "${libdir}/dri/*.so" +FILES_${PN}-dbg += "${libdir}/dri/.debug/*" +FILES_${PN}-xprogs = "${bindir}/glxdemo ${bindir}/glxgears ${bindir}/glxheads ${bindir}/glxinfo" + +EXTRA_OECONF += "--disable-gallium --with-driver=dri --with-dri-drivers=swrast,${MACHINE_DRI_MODULES}" diff --git a/recipes/mesa/mesa-dri_git.bb b/recipes/mesa/mesa-dri_git.bb index 4ca1b73122..ceea1227c1 100644 --- a/recipes/mesa/mesa-dri_git.bb +++ b/recipes/mesa/mesa-dri_git.bb @@ -1,20 +1,27 @@ include mesa-common.inc PROTO_DEPS = "xf86driproto glproto dri2proto" -LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes" +LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat" DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}" -PV = "7.2+gitr${SRCREV}" -PR = "${INC_PR}.0" +PV = "7.6.1+gitr${SRCREV}" +PR = "${INC_PR}.3" PE = "1" -DEFAULT_PREFERENCE = "-1" +DEFAULT_PREFERENCE = "-2" +DEFAULT_PREFERENCE_om-gta02 = "2" + +SRCREV_om-gta02 ?= "a8a1c12262998e5fa3a857eebf857c6d3a95f85e" SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git" +SRC_URI_om-gta02 = "git://git.bitwiz.org.uk/mesa.git;protocol=git;branch=glamo" S = "${WORKDIR}/git" +PACKAGES =+ " mesa-utils " + FILES_${PN} += "${libdir}/dri/*.so" FILES_${PN}-dbg += "${libdir}/dri/.debug/*" +FILES_mesa-utils = "${bindir}/*" -EXTRA_OECONF += "--with-driver=dri --with-dri-drivers=swrast,${MACHINE_DRI_MODULES}" +EXTRA_OECONF += "--with-driver=dri --disable-glx-tls --disable-gallium-intel --with-dri-drivers=swrast,${MACHINE_DRI_MODULES}" diff --git a/recipes/mesa/mesa-xlib_7.6.bb b/recipes/mesa/mesa-xlib_7.6.bb new file mode 100644 index 0000000000..3085e8d0ff --- /dev/null +++ b/recipes/mesa/mesa-xlib_7.6.bb @@ -0,0 +1,15 @@ +include mesa-common.inc + +PROTO_DEPS = "xf86driproto glproto" +LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes" + +DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}" + +SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ + ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaDemos-${PV}.tar.bz2 \ + " + +PE = "1" +PR = "${INC_PR}.0" + +EXTRA_OECONF += "--disable-gallium --with-driver=xlib" diff --git a/recipes/mesa/mesa_7.6.bb b/recipes/mesa/mesa_7.6.bb new file mode 100644 index 0000000000..43cde679a1 --- /dev/null +++ b/recipes/mesa/mesa_7.6.bb @@ -0,0 +1,2 @@ +# This is a dummy package so OE can use the poky mesa files +require mesa-dri_${PV}.bb diff --git a/recipes/xorg-xserver/xorg-xserver-common.inc b/recipes/xorg-xserver/xorg-xserver-common.inc index cfd350e886..437ab2fddc 100644 --- a/recipes/xorg-xserver/xorg-xserver-common.inc +++ b/recipes/xorg-xserver/xorg-xserver-common.inc @@ -13,7 +13,7 @@ scrnsaverproto bigreqsproto resourceproto fontsproto inputproto \ xf86dgaproto videoproto compositeproto trapproto recordproto dmxproto \ resourceproto xineramaproto xtrans evieext libxkbfile libxfont libxau \ libfontenc libxdmcp libxxf86vm libxaw libxmu libxt libxpm libxext libx11 \ -libxkbui libxxf86misc libxi libdmx libxtst libxres mesa libxcalibrate \ +libxkbui libxxf86misc libxi libdmx libxtst libxres virtual/libgl libxcalibrate \ libxv" RECOMMENDS_${PN} = "hal libpciaccess" |