summaryrefslogtreecommitdiffstats
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)
downloadpoky-b38f2a5935beaa588b90eec63fa5ab56d084f822.tar.gz
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 b08112874a..597b47fba8 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 @@
1SECTION = "devel" 1SECTION = "devel"
2include gcc_${PV}.bb 2include gcc_${PV}.bb
3include gcc-paths-cross.inc
3inherit cross 4inherit cross
4FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}" 5FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
5 6
7PR="r3"
8
6DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc" 9DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
7PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" 10PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
8 11
9# Files for these are defined in the main gcc.oe 12include gcc3-build-cross.inc
10PACKAGES = "libgcc libstdc++ libg2c" 13include gcc-package-cross.inc \ No newline at end of file
11OLD_INHIBIT_PACKAGE_STRIP := "${INHIBIT_PACKAGE_STRIP}"
12INHIBIT_PACKAGE_STRIP = "1"
13
14EXTRA_OECONF_PATHS = "--with-local-prefix=${CROSS_DIR}/${TARGET_SYS} \
15 --with-gxx-include-dir=${CROSS_DIR}/${TARGET_SYS}/include/c++"
16
17export CPPFLAGS = ""
18export CXXFLAGS = ""
19export CFLAGS = ""
20export LDFLAGS = ""
21
22do_configure () {
23 export CC="${BUILD_CC}"
24 export AR="${TARGET_SYS}-ar"
25 export RANLIB="${TARGET_SYS}-ranlib"
26 export LD="${TARGET_SYS}-ld"
27 export NM="${TARGET_SYS}-nm"
28 rm -f ${CROSS_DIR}/lib/gcc-lib/${TARGET_SYS}/${PV}/libgcc_eh.a
29 (cd ${S} && gnu-configize) || die "failure running gnu-configize"
30 oe_runconf
31}
32
33do_compile_prepend () {
34 export CC="${BUILD_CC}"
35 export AR_FOR_TARGET="${TARGET_SYS}-ar"
36 export RANLIB_FOR_TARGET="${TARGET_SYS}-ranlib"
37 export LD_FOR_TARGET="${TARGET_SYS}-ld"
38 export NM_FOR_TARGET="${TARGET_SYS}-nm"
39 export CC_FOR_TARGET="${CCACHE} ${TARGET_SYS}-gcc"
40}
41
42do_stage_append () {
43 for d in info man share/doc share/locale ; do
44 rm -rf ${CROSS_DIR}/$d
45 done
46
47 # These aren't useful on the cross toolchain
48 rm -f ${CROSS_DIR}/bin/*gcov
49 rm -f ${CROSS_DIR}/bin/*gccbug
50
51 # Fix a few include links so cross builds are happier
52 if [ ! -e ${STAGING_INCDIR}/c++ ]; then
53 mkdir -p ${STAGING_INCDIR}
54 rm -f ${STAGING_INCDIR}/c++
55 ln -sf ${CROSS_DIR}/${TARGET_SYS}/include/c++ \
56 ${STAGING_INCDIR}/
57 fi
58
59 # We use libiberty from binutils
60 rm -f ${CROSS_DIR}/lib/libiberty.a
61
62 # We probably don't need these
63 rmdir ${CROSS_DIR}/include || :
64
65 # We don't really need to keep this around
66 rm -rf ${CROSS_DIR}/share
67}
68
69python do_package() {
70 if bb.data.getVar('DEBIAN_NAMES', d, 1):
71 bb.data.setVar('PKG_libgcc', 'libgcc1', d)
72 bb.build.exec_func('package_do_package', d)
73}
74
75do_install () {
76 oe_runmake 'DESTDIR=${D}' install
77
78 # Move libgcc_s into /lib
79 mkdir -p ${D}${base_libdir}
80 if [ "${BUILD_SYS}" == "${TARGET_SYS}" ]; then
81 # native builds drop one pathname component
82 mv -f ${D}${prefix}/lib/libgcc_s.so.* ${D}${base_libdir}
83 else
84 mv -f ${D}${prefix}/*/lib/libgcc_s.so.* ${D}${base_libdir}
85 fi
86
87 # Move libstdc++ and libg2c into libdir (resetting our prefix to /usr
88 TGT_LIBDIR=`echo ${libdir} | sed -e 's,${CROSS_DIR},/usr,'`
89 mkdir -p ${D}${TGT_LIBDIR}
90 mv -f ${D}${prefix}/*/lib/libstdc++.so.* ${D}${TGT_LIBDIR}
91 mv -f ${D}${prefix}/*/lib/libg2c.so.* ${D}${TGT_LIBDIR}
92
93 # Manually run the target stripper since we won't get it run by
94 # the packaging.
95 if [ "x${OLD_INHIBIT_PACKAGE_STRIP}" != "x1" ]; then
96 ${TARGET_PREFIX}strip ${D}${TGT_LIBDIR}/libstdc++.so.*
97 ${TARGET_PREFIX}strip ${D}${TGT_LIBDIR}/libg2c.so.*
98 ${TARGET_PREFIX}strip ${D}${base_libdir}/libgcc_s.so.*
99 fi
100}
diff --git a/openembedded/packages/hdparm/hdparm_6.1.bb b/openembedded/packages/hdparm/hdparm_6.1.bb
deleted file mode 100644
index a917289513..0000000000
--- a/openembedded/packages/hdparm/hdparm_6.1.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1DESCRIPTION = "hdparm is a Linux shell utility for viewing \
2and manipulating various IDE drive and driver parameters."
3SECTION = "console/utils"
4PRIORITY = "optional"
5LICENSE = "BSD"
6
7SRC_URI = "http://www.ibiblio.org/pub/Linux/system/hardware/hdparm-${PV}.tar.gz \
8 file://bswap.patch;patch=1 \
9 file://uclibc.patch;patch=1"
10
11do_install () {
12 install -d ${D}/${sbindir} ${D}/${mandir}/man8
13 oe_runmake 'DESTDIR=${D}' install
14}
diff --git a/openembedded/packages/matchbox-panel/matchbox-panel.inc b/openembedded/packages/matchbox-panel/matchbox-panel.inc
index 58f42ef7f5..7ae9342b42 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 "
14EXTRA_OECONF_append_collie = " --enable-small-icons " 14EXTRA_OECONF_append_collie = " --enable-small-icons "
15EXTRA_OECONF_append_poodle = " --enable-small-icons " 15EXTRA_OECONF_append_poodle = " --enable-small-icons "
16EXTRA_OECONF_append_mnci = " --enable-small-icons " 16EXTRA_OECONF_append_mnci = " --enable-small-icons "
17EXTRA_OECONF_append_integral = " --enable-small-icons " 17EXTRA_OECONF_append_integral13 = " --enable-small-icons "
18 18
19FILES_${PN} = "${bindir} \ 19FILES_${PN} = "${bindir} \
20 ${datadir}/applications \ 20 ${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 2477cd8b2d..78d1b282d9 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 @@
1include matchbox-panel.inc 1include matchbox-panel.inc
2 2
3PR="r2" 3PR="r3"
4SRC_URI = "http://projects.o-hand.com/matchbox/sources/${PN}/0.9/${PN}-${PV}.tar.gz" 4SRC_URI = "http://projects.o-hand.com/matchbox/sources/${PN}/0.9/${PN}-${PV}.tar.gz"
5 5
6 6
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 bbd8cca1bf..0000000000
--- a/openembedded/packages/module-init-tools/module-init-tools_3.2-pre9.bb
+++ /dev/null
@@ -1,63 +0,0 @@
1DESCRIPTION = "This package contains a set of programs for loading, inserting, and \
2removing kernel modules for Linux (versions 2.5.48 and above). It serves \
3the same function that the modutils package serves for Linux 2.4."
4LICENSE = "GPL"
5SECTION = "base"
6PR = "r0"
7
8PACKAGES =+ "module-init-tools-insmod-static module-init-tools-depmod"
9RDEPENDS_${PN} += "module-init-tools-depmod"
10
11FILES_module-init-tools-depmod = "${sbindir}/depmod.26"
12FILES_module-init-tools-insmod-static = "${sbindir}/insmod.static"
13
14SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-${PV}.tar.bz2 \
15 file://ignore_arch_directory;patch=1 \
16 file://modutils_extension;patch=1 \
17 file://no_man_rebuild;patch=1 \
18 file://manpagesopt;patch=1 "
19S = "${WORKDIR}/module-init-tools-${PV}"
20
21EXTRA_OECONF = "--disable-manpages"
22
23bindir = "/bin"
24sbindir = "/sbin"
25
26inherit autotools
27
28do_install() {
29 autotools_do_install
30 for f in bin/lsmod sbin/insmod sbin/rmmod sbin/modprobe sbin/modinfo sbin/depmod; do
31 mv ${D}/$f ${D}/$f.26
32 done
33}
34
35pkg_postinst_module-init-tools() {
36#!/bin/sh
37for f in sbin/insmod sbin/modprobe sbin/rmmod sbin/depmod sbin/modinfo; do
38bn=`basename $f`
39 update-alternatives --install /$f $bn /$f.26 60
40done
41update-alternatives --install /bin/lsmod bin-lsmod /bin/lsmod.26 60
42update-alternatives --install /sbin/lsmod lsmod /bin/lsmod.26 60
43}
44
45pkg_prerm_module-init-tools() {
46#!/bin/sh
47for f in sbin/insmod sbin/modprobe sbin/rmmod sbin/depmod sbin/modinfo; do
48bn=`basename $f`
49 update-alternatives --remove $bn /$f.26
50done
51update-alternatives --remove bin-lsmod /bin/lsmod.26
52update-alternatives --remove lsmod /bin/lsmod.26
53}
54
55pkg_postinst_module-init-tools-depmod() {
56#!/bin/sh
57update-alternatives --install /sbin/depmod depmod /sbin/depmod.26 60
58}
59
60pkg_prerm_module-init-tools() {
61#!/bin/sh
62update-alternatives --remove depmod /sbin/depmod.26
63}
diff --git a/openembedded/packages/xserver/xserver-kdrive_20050207.bb b/openembedded/packages/xserver/xserver-kdrive_20050207.bb
index f37cd578b9..2980e7762f 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
20DESCRIPTION_xserver-kdrive-fake = "Fake X server" 20DESCRIPTION_xserver-kdrive-fake = "Fake X server"
21DESCRIPTION_xserver-kdrive-xephyr = "X server in an X window" 21DESCRIPTION_xserver-kdrive-xephyr = "X server in an X window"
22 22
23PR = "r6" 23PR = "r10"
24 24
25FILES_xserver-kdrive-fbdev = "${bindir}/Xfbdev" 25FILES_xserver-kdrive-fbdev = "${bindir}/Xfbdev"
26FILES_xserver-kdrive-ati = "${bindir}/Xati" 26FILES_xserver-kdrive-ati = "${bindir}/Xati"
@@ -35,34 +35,29 @@ FILES_xserver-kdrive-xephyr = "${bindir}/Xephyr"
35 35
36SRC_URI = "cvs://anoncvs:anoncvs@pdx.freedesktop.org/cvs/xserver;module=xserver;date=${FIXEDCVSDATE} \ 36SRC_URI = "cvs://anoncvs:anoncvs@pdx.freedesktop.org/cvs/xserver;module=xserver;date=${FIXEDCVSDATE} \
37 file://kmode.patch;patch=1 \ 37 file://kmode.patch;patch=1 \
38 file://disable-apm.patch;patch=1 \
38 file://fbdev-not-fix.patch;patch=1 " 39 file://fbdev-not-fix.patch;patch=1 "
39 40
41SRC_URI_h3600 = "cvs://anoncvs:anoncvs@pdx.freedesktop.org/cvs/xserver;module=xserver;date=${FIXEDCVSDATE} \
42 file://kmode.patch;patch=1 \
43 file://faster-rotated.patch;patch=1 \
44 file://fbdev-not-fix.patch;patch=1 "
45
46
40SRC_URI_append_mnci = " file://onlyfb.patch;patch=1 \ 47SRC_URI_append_mnci = " file://onlyfb.patch;patch=1 \
41 file://faster-rotated.patch;patch=1 \ 48 file://faster-rotated.patch;patch=1 \
42 file://devfs.patch;patch=1 \ 49 file://devfs.patch;patch=1"
43 file://disable-apm.patch;patch=1"
44SRC_URI_append_collie = " file://faster-rotated.patch;patch=1" 50SRC_URI_append_collie = " file://faster-rotated.patch;patch=1"
45SRC_URI_append_poodle = " file://xserver-kdrive-poodle.patch;patch=1 \ 51SRC_URI_append_poodle = " file://xserver-kdrive-poodle.patch;patch=1 \
46 file://faster-rotated.patch;patch=1" 52 file://faster-rotated.patch;patch=1"
47SRC_URI_append_c7x0 = " file://disable-apm.patch;patch=1" 53SRC_URI_append_spitz = " file://faster-rotated.patch;patch=1"
48SRC_URI_append_ipaq-pxa270= " file://disable-apm.patch;patch=1" 54SRC_URI_append_akita = " file://faster-rotated.patch;patch=1"
49SRC_URI_append_h3600 = " file://faster-rotated.patch;patch=1" 55SRC_URI_append_borzoi = " file://faster-rotated.patch;patch=1"
50SRC_URI_append_h3900 = " file://disable-apm.patch;patch=1"
51SRC_URI_append_h2200 = " file://disable-apm.patch;patch=1"
52SRC_URI_append_spitz = " file://disable-apm.patch;patch=1 \
53 file://faster-rotated.patch;patch=1"
54SRC_URI_append_akita = " file://disable-apm.patch;patch=1 \
55 file://faster-rotated.patch;patch=1"
56SRC_URI_append_borzoi = " file://disable-apm.patch;patch=1 \
57 file://faster-rotated.patch;patch=1"
58 56
57PACKAGE_ARCH_mnci = "mnci"
59PACKAGE_ARCH_collie = "collie" 58PACKAGE_ARCH_collie = "collie"
60PACKAGE_ARCH_poodle = "poodle" 59PACKAGE_ARCH_poodle = "poodle"
61PACKAGE_ARCH_c7x0 = "c7x0"
62PACKAGE_ARCH_ipaq-pxa270 = "ipaq-pxa270"
63PACKAGE_ARCH_h3600 = "h3600" 60PACKAGE_ARCH_h3600 = "h3600"
64PACKAGE_ARCH_h3900 = "h3900"
65PACKAGE_ARCH_h2200 = "h2200"
66PACKAGE_ARCH_spitz = "spitz" 61PACKAGE_ARCH_spitz = "spitz"
67PACKAGE_ARCH_akita = "akita" 62PACKAGE_ARCH_akita = "akita"
68PACKAGE_ARCH_borzoi = "borzoi" 63PACKAGE_ARCH_borzoi = "borzoi"