summaryrefslogtreecommitdiff
path: root/openembedded/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2005-12-15 17:49:29 +0000
committerRichard Purdie <richard@openedhand.com>2005-12-15 17:49:29 +0000
commitb38f2a5935beaa588b90eec63fa5ab56d084f822 (patch)
tree358c07f87962e3e7085e32670b7a5b0331b1336b /openembedded/packages
parent8ae1a27297e98101b5810fdd8f447e3704b20e9e (diff)
downloadopenembedded-core-b38f2a5935beaa588b90eec63fa5ab56d084f822.tar.gz
openembedded-core-b38f2a5935beaa588b90eec63fa5ab56d084f822.tar.bz2
openembedded-core-b38f2a5935beaa588b90eec63fa5ab56d084f822.tar.xz
openembedded-core-b38f2a5935beaa588b90eec63fa5ab56d084f822.zip
Merging with Openembedded
git-svn-id: https://svn.o-hand.com/repos/poky@197 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages')
-rw-r--r--openembedded/packages/gcc/gcc-cross_3.3.4.bb97
-rw-r--r--openembedded/packages/hdparm/hdparm_6.1.bb14
-rw-r--r--openembedded/packages/matchbox-panel/matchbox-panel.inc2
-rw-r--r--openembedded/packages/matchbox-panel/matchbox-panel_0.9.2.bb2
-rw-r--r--openembedded/packages/module-init-tools/module-init-tools_3.2-pre9.bb63
-rw-r--r--openembedded/packages/xserver/xserver-kdrive_20050207.bb31
6 files changed, 20 insertions, 189 deletions
diff --git a/openembedded/packages/gcc/gcc-cross_3.3.4.bb b/openembedded/packages/gcc/gcc-cross_3.3.4.bb
index b08112874..597b47fba 100644
--- a/openembedded/packages/gcc/gcc-cross_3.3.4.bb
+++ b/openembedded/packages/gcc/gcc-cross_3.3.4.bb
@@ -1,100 +1,13 @@
SECTION = "devel"
include gcc_${PV}.bb
+include gcc-paths-cross.inc
inherit cross
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
+PR="r3"
+
DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
-# Files for these are defined in the main gcc.oe
-PACKAGES = "libgcc libstdc++ libg2c"
-OLD_INHIBIT_PACKAGE_STRIP := "${INHIBIT_PACKAGE_STRIP}"
-INHIBIT_PACKAGE_STRIP = "1"
-
-EXTRA_OECONF_PATHS = "--with-local-prefix=${CROSS_DIR}/${TARGET_SYS} \
- --with-gxx-include-dir=${CROSS_DIR}/${TARGET_SYS}/include/c++"
-
-export CPPFLAGS = ""
-export CXXFLAGS = ""
-export CFLAGS = ""
-export LDFLAGS = ""
-
-do_configure () {
- export CC="${BUILD_CC}"
- export AR="${TARGET_SYS}-ar"
- export RANLIB="${TARGET_SYS}-ranlib"
- export LD="${TARGET_SYS}-ld"
- export NM="${TARGET_SYS}-nm"
- rm -f ${CROSS_DIR}/lib/gcc-lib/${TARGET_SYS}/${PV}/libgcc_eh.a
- (cd ${S} && gnu-configize) || die "failure running gnu-configize"
- oe_runconf
-}
-
-do_compile_prepend () {
- export CC="${BUILD_CC}"
- export AR_FOR_TARGET="${TARGET_SYS}-ar"
- export RANLIB_FOR_TARGET="${TARGET_SYS}-ranlib"
- export LD_FOR_TARGET="${TARGET_SYS}-ld"
- export NM_FOR_TARGET="${TARGET_SYS}-nm"
- export CC_FOR_TARGET="${CCACHE} ${TARGET_SYS}-gcc"
-}
-
-do_stage_append () {
- for d in info man share/doc share/locale ; do
- rm -rf ${CROSS_DIR}/$d
- done
-
- # These aren't useful on the cross toolchain
- rm -f ${CROSS_DIR}/bin/*gcov
- rm -f ${CROSS_DIR}/bin/*gccbug
-
- # Fix a few include links so cross builds are happier
- if [ ! -e ${STAGING_INCDIR}/c++ ]; then
- mkdir -p ${STAGING_INCDIR}
- rm -f ${STAGING_INCDIR}/c++
- ln -sf ${CROSS_DIR}/${TARGET_SYS}/include/c++ \
- ${STAGING_INCDIR}/
- fi
-
- # We use libiberty from binutils
- rm -f ${CROSS_DIR}/lib/libiberty.a
-
- # We probably don't need these
- rmdir ${CROSS_DIR}/include || :
-
- # We don't really need to keep this around
- rm -rf ${CROSS_DIR}/share
-}
-
-python do_package() {
- if bb.data.getVar('DEBIAN_NAMES', d, 1):
- bb.data.setVar('PKG_libgcc', 'libgcc1', d)
- bb.build.exec_func('package_do_package', d)
-}
-
-do_install () {
- oe_runmake 'DESTDIR=${D}' install
-
- # Move libgcc_s into /lib
- mkdir -p ${D}${base_libdir}
- if [ "${BUILD_SYS}" == "${TARGET_SYS}" ]; then
- # native builds drop one pathname component
- mv -f ${D}${prefix}/lib/libgcc_s.so.* ${D}${base_libdir}
- else
- mv -f ${D}${prefix}/*/lib/libgcc_s.so.* ${D}${base_libdir}
- fi
-
- # Move libstdc++ and libg2c into libdir (resetting our prefix to /usr
- TGT_LIBDIR=`echo ${libdir} | sed -e 's,${CROSS_DIR},/usr,'`
- mkdir -p ${D}${TGT_LIBDIR}
- mv -f ${D}${prefix}/*/lib/libstdc++.so.* ${D}${TGT_LIBDIR}
- mv -f ${D}${prefix}/*/lib/libg2c.so.* ${D}${TGT_LIBDIR}
-
- # Manually run the target stripper since we won't get it run by
- # the packaging.
- if [ "x${OLD_INHIBIT_PACKAGE_STRIP}" != "x1" ]; then
- ${TARGET_PREFIX}strip ${D}${TGT_LIBDIR}/libstdc++.so.*
- ${TARGET_PREFIX}strip ${D}${TGT_LIBDIR}/libg2c.so.*
- ${TARGET_PREFIX}strip ${D}${base_libdir}/libgcc_s.so.*
- fi
-}
+include gcc3-build-cross.inc
+include gcc-package-cross.inc \ No newline at end of file
diff --git a/openembedded/packages/hdparm/hdparm_6.1.bb b/openembedded/packages/hdparm/hdparm_6.1.bb
deleted file mode 100644
index a91728951..000000000
--- a/openembedded/packages/hdparm/hdparm_6.1.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-DESCRIPTION = "hdparm is a Linux shell utility for viewing \
-and manipulating various IDE drive and driver parameters."
-SECTION = "console/utils"
-PRIORITY = "optional"
-LICENSE = "BSD"
-
-SRC_URI = "http://www.ibiblio.org/pub/Linux/system/hardware/hdparm-${PV}.tar.gz \
- file://bswap.patch;patch=1 \
- file://uclibc.patch;patch=1"
-
-do_install () {
- install -d ${D}/${sbindir} ${D}/${mandir}/man8
- oe_runmake 'DESTDIR=${D}' install
-}
diff --git a/openembedded/packages/matchbox-panel/matchbox-panel.inc b/openembedded/packages/matchbox-panel/matchbox-panel.inc
index 58f42ef7f..7ae9342b4 100644
--- a/openembedded/packages/matchbox-panel/matchbox-panel.inc
+++ b/openembedded/packages/matchbox-panel/matchbox-panel.inc
@@ -14,7 +14,7 @@ EXTRA_OECONF_append_h2200 = " --enable-small-icons "
EXTRA_OECONF_append_collie = " --enable-small-icons "
EXTRA_OECONF_append_poodle = " --enable-small-icons "
EXTRA_OECONF_append_mnci = " --enable-small-icons "
-EXTRA_OECONF_append_integral = " --enable-small-icons "
+EXTRA_OECONF_append_integral13 = " --enable-small-icons "
FILES_${PN} = "${bindir} \
${datadir}/applications \
diff --git a/openembedded/packages/matchbox-panel/matchbox-panel_0.9.2.bb b/openembedded/packages/matchbox-panel/matchbox-panel_0.9.2.bb
index 2477cd8b2..78d1b282d 100644
--- a/openembedded/packages/matchbox-panel/matchbox-panel_0.9.2.bb
+++ b/openembedded/packages/matchbox-panel/matchbox-panel_0.9.2.bb
@@ -1,6 +1,6 @@
include matchbox-panel.inc
-PR="r2"
+PR="r3"
SRC_URI = "http://projects.o-hand.com/matchbox/sources/${PN}/0.9/${PN}-${PV}.tar.gz"
diff --git a/openembedded/packages/module-init-tools/module-init-tools_3.2-pre9.bb b/openembedded/packages/module-init-tools/module-init-tools_3.2-pre9.bb
deleted file mode 100644
index bbd8cca1b..000000000
--- a/openembedded/packages/module-init-tools/module-init-tools_3.2-pre9.bb
+++ /dev/null
@@ -1,63 +0,0 @@
-DESCRIPTION = "This package contains a set of programs for loading, inserting, and \
-removing kernel modules for Linux (versions 2.5.48 and above). It serves \
-the same function that the modutils package serves for Linux 2.4."
-LICENSE = "GPL"
-SECTION = "base"
-PR = "r0"
-
-PACKAGES =+ "module-init-tools-insmod-static module-init-tools-depmod"
-RDEPENDS_${PN} += "module-init-tools-depmod"
-
-FILES_module-init-tools-depmod = "${sbindir}/depmod.26"
-FILES_module-init-tools-insmod-static = "${sbindir}/insmod.static"
-
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-${PV}.tar.bz2 \
- file://ignore_arch_directory;patch=1 \
- file://modutils_extension;patch=1 \
- file://no_man_rebuild;patch=1 \
- file://manpagesopt;patch=1 "
-S = "${WORKDIR}/module-init-tools-${PV}"
-
-EXTRA_OECONF = "--disable-manpages"
-
-bindir = "/bin"
-sbindir = "/sbin"
-
-inherit autotools
-
-do_install() {
- autotools_do_install
- for f in bin/lsmod sbin/insmod sbin/rmmod sbin/modprobe sbin/modinfo sbin/depmod; do
- mv ${D}/$f ${D}/$f.26
- done
-}
-
-pkg_postinst_module-init-tools() {
-#!/bin/sh
-for f in sbin/insmod sbin/modprobe sbin/rmmod sbin/depmod sbin/modinfo; do
-bn=`basename $f`
- update-alternatives --install /$f $bn /$f.26 60
-done
-update-alternatives --install /bin/lsmod bin-lsmod /bin/lsmod.26 60
-update-alternatives --install /sbin/lsmod lsmod /bin/lsmod.26 60
-}
-
-pkg_prerm_module-init-tools() {
-#!/bin/sh
-for f in sbin/insmod sbin/modprobe sbin/rmmod sbin/depmod sbin/modinfo; do
-bn=`basename $f`
- update-alternatives --remove $bn /$f.26
-done
-update-alternatives --remove bin-lsmod /bin/lsmod.26
-update-alternatives --remove lsmod /bin/lsmod.26
-}
-
-pkg_postinst_module-init-tools-depmod() {
-#!/bin/sh
-update-alternatives --install /sbin/depmod depmod /sbin/depmod.26 60
-}
-
-pkg_prerm_module-init-tools() {
-#!/bin/sh
-update-alternatives --remove depmod /sbin/depmod.26
-}
diff --git a/openembedded/packages/xserver/xserver-kdrive_20050207.bb b/openembedded/packages/xserver/xserver-kdrive_20050207.bb
index f37cd578b..2980e7762 100644
--- a/openembedded/packages/xserver/xserver-kdrive_20050207.bb
+++ b/openembedded/packages/xserver/xserver-kdrive_20050207.bb
@@ -20,7 +20,7 @@ DESCRIPTION_xserver-kdrive-epson = "X server from freedesktop.org, supporting Ep
DESCRIPTION_xserver-kdrive-fake = "Fake X server"
DESCRIPTION_xserver-kdrive-xephyr = "X server in an X window"
-PR = "r6"
+PR = "r10"
FILES_xserver-kdrive-fbdev = "${bindir}/Xfbdev"
FILES_xserver-kdrive-ati = "${bindir}/Xati"
@@ -35,34 +35,29 @@ FILES_xserver-kdrive-xephyr = "${bindir}/Xephyr"
SRC_URI = "cvs://anoncvs:anoncvs@pdx.freedesktop.org/cvs/xserver;module=xserver;date=${FIXEDCVSDATE} \
file://kmode.patch;patch=1 \
+ file://disable-apm.patch;patch=1 \
file://fbdev-not-fix.patch;patch=1 "
+SRC_URI_h3600 = "cvs://anoncvs:anoncvs@pdx.freedesktop.org/cvs/xserver;module=xserver;date=${FIXEDCVSDATE} \
+ file://kmode.patch;patch=1 \
+ file://faster-rotated.patch;patch=1 \
+ file://fbdev-not-fix.patch;patch=1 "
+
+
SRC_URI_append_mnci = " file://onlyfb.patch;patch=1 \
file://faster-rotated.patch;patch=1 \
- file://devfs.patch;patch=1 \
- file://disable-apm.patch;patch=1"
+ file://devfs.patch;patch=1"
SRC_URI_append_collie = " file://faster-rotated.patch;patch=1"
SRC_URI_append_poodle = " file://xserver-kdrive-poodle.patch;patch=1 \
file://faster-rotated.patch;patch=1"
-SRC_URI_append_c7x0 = " file://disable-apm.patch;patch=1"
-SRC_URI_append_ipaq-pxa270= " file://disable-apm.patch;patch=1"
-SRC_URI_append_h3600 = " file://faster-rotated.patch;patch=1"
-SRC_URI_append_h3900 = " file://disable-apm.patch;patch=1"
-SRC_URI_append_h2200 = " file://disable-apm.patch;patch=1"
-SRC_URI_append_spitz = " file://disable-apm.patch;patch=1 \
- file://faster-rotated.patch;patch=1"
-SRC_URI_append_akita = " file://disable-apm.patch;patch=1 \
- file://faster-rotated.patch;patch=1"
-SRC_URI_append_borzoi = " file://disable-apm.patch;patch=1 \
- file://faster-rotated.patch;patch=1"
+SRC_URI_append_spitz = " file://faster-rotated.patch;patch=1"
+SRC_URI_append_akita = " file://faster-rotated.patch;patch=1"
+SRC_URI_append_borzoi = " file://faster-rotated.patch;patch=1"
+PACKAGE_ARCH_mnci = "mnci"
PACKAGE_ARCH_collie = "collie"
PACKAGE_ARCH_poodle = "poodle"
-PACKAGE_ARCH_c7x0 = "c7x0"
-PACKAGE_ARCH_ipaq-pxa270 = "ipaq-pxa270"
PACKAGE_ARCH_h3600 = "h3600"
-PACKAGE_ARCH_h3900 = "h3900"
-PACKAGE_ARCH_h2200 = "h2200"
PACKAGE_ARCH_spitz = "spitz"
PACKAGE_ARCH_akita = "akita"
PACKAGE_ARCH_borzoi = "borzoi"