From 979f987c44928f2d47d319cf5fc34e7f3d2113b7 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 30 Sep 2008 21:54:47 +0000 Subject: bitbake cache.py: When SRCREV autorevisioning for a recipe is in use, don't cache the recipe. Based on work from Heikki Paajanen git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5352 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/classes/poky.bbclass | 6 ++++++ meta/packages/base-files/base-files_3.0.14.bb | 7 ++++++- meta/packages/fontconfig/fontconfig_2.6.0.bb | 1 + meta/packages/matchbox-wm/matchbox-wm_svn.bb | 1 - meta/packages/ncurses/ncurses-native_5.6.bb | 4 ++++ meta/packages/ncurses/ncurses-sdk_5.6.bb | 3 +++ meta/packages/ncurses/ncurses.inc | 2 +- meta/packages/ncurses/ncurses_5.6.bb | 11 +++++++++++ meta/packages/rpm/rpm_4.4.2.3.bb | 2 +- .../packages/shared-mime-info/shared-mime-info-native_0.51.bb | 4 ++++ meta/packages/tasks/task-poky-tools.bb | 4 +++- meta/packages/tasks/task-poky.bb | 5 ++++- 12 files changed, 44 insertions(+), 6 deletions(-) create mode 100644 meta/packages/ncurses/ncurses-native_5.6.bb create mode 100644 meta/packages/ncurses/ncurses-sdk_5.6.bb create mode 100644 meta/packages/ncurses/ncurses_5.6.bb (limited to 'meta') diff --git a/meta/classes/poky.bbclass b/meta/classes/poky.bbclass index ba81f9e22..ffda5c0a1 100644 --- a/meta/classes/poky.bbclass +++ b/meta/classes/poky.bbclass @@ -1,3 +1,9 @@ +PREMIRRORS_append () { +ftp://.*/.* http://pokylinux.org/sources/ +http://.*/.* http://pokylinux.org/sources/ +https://.*/.* http://pokylinux.org/sources/ +} + MIRRORS_append () { ftp://.*/.* http://pokylinux.org/sources/ http://.*/.* http://pokylinux.org/sources/ diff --git a/meta/packages/base-files/base-files_3.0.14.bb b/meta/packages/base-files/base-files_3.0.14.bb index aa61a1d39..b4e2b665d 100644 --- a/meta/packages/base-files/base-files_3.0.14.bb +++ b/meta/packages/base-files/base-files_3.0.14.bb @@ -47,7 +47,8 @@ dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \ /mnt /media /media/card /media/cf /media/net /media/ram \ /media/union /media/realroot /media/hdd \ /media/mmc1" -volatiles = "cache run log lock tmp" +volatiles = "log lock tmp" +volatiles2 = "cache run" conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \ ${sysconfdir}/inputrc ${sysconfdir}/issue /${sysconfdir}/issue.net \ ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile \ @@ -75,6 +76,10 @@ do_install () { for d in ${volatiles}; do ln -sf volatile/$d ${D}/${localstatedir}/$d done + for d in ${volatiles2}; do + install -d ${D}/${localstatedir}/$d + done + for d in card cf net ram; do ln -sf /media/$d ${D}/mnt/$d done diff --git a/meta/packages/fontconfig/fontconfig_2.6.0.bb b/meta/packages/fontconfig/fontconfig_2.6.0.bb index 3f7eca4b4..f3b11b2c7 100644 --- a/meta/packages/fontconfig/fontconfig_2.6.0.bb +++ b/meta/packages/fontconfig/fontconfig_2.6.0.bb @@ -72,5 +72,6 @@ do_configure_append () { do_install () { autotools_do_install + rm -fr ${D}/var/cache } diff --git a/meta/packages/matchbox-wm/matchbox-wm_svn.bb b/meta/packages/matchbox-wm/matchbox-wm_svn.bb index 1b79e0994..b4b137325 100644 --- a/meta/packages/matchbox-wm/matchbox-wm_svn.bb +++ b/meta/packages/matchbox-wm/matchbox-wm_svn.bb @@ -2,7 +2,6 @@ SECTION = "x11/wm" DESCRIPTION = "Matchbox window manager" LICENSE = "GPL" DEPENDS = "libmatchbox virtual/libx11 libxext libxrender startup-notification expat gconf" -PROVIDES = "matchbox-wm" PV = "1.2+svnr${SRCREV}" PR = "r4" diff --git a/meta/packages/ncurses/ncurses-native_5.6.bb b/meta/packages/ncurses/ncurses-native_5.6.bb new file mode 100644 index 000000000..310a4bb27 --- /dev/null +++ b/meta/packages/ncurses/ncurses-native_5.6.bb @@ -0,0 +1,4 @@ +require ncurses_${PV}.bb +inherit native +EXTRA_OEMAKE = '"BUILD_CCFLAGS=${BUILD_CCFLAGS}"' +DEPENDS = "" diff --git a/meta/packages/ncurses/ncurses-sdk_5.6.bb b/meta/packages/ncurses/ncurses-sdk_5.6.bb new file mode 100644 index 000000000..fb69c1ec7 --- /dev/null +++ b/meta/packages/ncurses/ncurses-sdk_5.6.bb @@ -0,0 +1,3 @@ +require ncurses_${PV}.bb +inherit sdk +EXTRA_OEMAKE = '"BUILD_CCFLAGS=${BUILD_CCFLAGS}"' diff --git a/meta/packages/ncurses/ncurses.inc b/meta/packages/ncurses/ncurses.inc index fd0885356..b4ec69d92 100644 --- a/meta/packages/ncurses/ncurses.inc +++ b/meta/packages/ncurses/ncurses.inc @@ -15,7 +15,7 @@ inherit autotools # clear/reset are in already busybox FILES_ncurses-tools = "${bindir}/tic ${bindir}/toe ${bindir}/infotocap ${bindir}/captoinfo ${bindir}/infocmp ${bindir}/clear.${PN} ${bindir}/reset.${PN} ${bindir}/tack " FILES_ncurses-terminfo = "${datadir}/terminfo" -FILES_${PN} = "${bindir}/tput ${bindir}/tset ${libdir}/lib*.so.* usr/share/tabset etc/terminfo" +FILES_${PN} = "${bindir}/tput ${bindir}/tset ${libdir}/lib*.so.* /usr/share/tabset /etc/terminfo" PARALLEL_MAKE="" diff --git a/meta/packages/ncurses/ncurses_5.6.bb b/meta/packages/ncurses/ncurses_5.6.bb new file mode 100644 index 000000000..f09de8465 --- /dev/null +++ b/meta/packages/ncurses/ncurses_5.6.bb @@ -0,0 +1,11 @@ +PR = "r0" + +SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \ + file://makefile_tweak.patch;patch=1 \ + file://configure_fix.patch;patch=1" +# file://visibility.patch;patch=1" +S = "${WORKDIR}/ncurses-${PV}" + +DEFAULT_PREFERENCE = "-1" + +require ncurses.inc diff --git a/meta/packages/rpm/rpm_4.4.2.3.bb b/meta/packages/rpm/rpm_4.4.2.3.bb index ef6087893..8a783c7b7 100644 --- a/meta/packages/rpm/rpm_4.4.2.3.bb +++ b/meta/packages/rpm/rpm_4.4.2.3.bb @@ -2,7 +2,7 @@ DESCRIPTION = "The RPM Package Manager." HOMEPAGE = "http://rpm.org/" LICENSE = "LGPL GPL" DEPENDS = "zlib beecrypt file popt python" -PR = "r9" +PR = "r8" SRC_URI = "http://www.rpm.org/releases/rpm-4.4.x/rpm-4.4.2.3.tar.gz \ file://external-tools.patch;patch=1 \ diff --git a/meta/packages/shared-mime-info/shared-mime-info-native_0.51.bb b/meta/packages/shared-mime-info/shared-mime-info-native_0.51.bb index 0959cb25d..d063bf4f3 100644 --- a/meta/packages/shared-mime-info/shared-mime-info-native_0.51.bb +++ b/meta/packages/shared-mime-info/shared-mime-info-native_0.51.bb @@ -1,5 +1,9 @@ require shared-mime-info.inc +PR = "r1" + inherit native +DEPENDS = "libxml2-native intltool-native glib-2.0-native" + S = "${WORKDIR}/shared-mime-info-${PV}" diff --git a/meta/packages/tasks/task-poky-tools.bb b/meta/packages/tasks/task-poky-tools.bb index f3f30c0b3..2fc922d17 100644 --- a/meta/packages/tasks/task-poky-tools.bb +++ b/meta/packages/tasks/task-poky-tools.bb @@ -3,7 +3,7 @@ # DESCRIPTION = "Tools tasks for Poky" -PR = "r1" +PR = "r2" PACKAGES = "\ task-poky-tools-debug \ @@ -55,3 +55,5 @@ RDEPENDS_task-poky-tools-testapps = "\ xwininfo \ xprop \ xvideo-tests" + +RDEPENDS_task-poky-tools-testapps_append_beagleboard = " omapfbplay ffmpeg" diff --git a/meta/packages/tasks/task-poky.bb b/meta/packages/tasks/task-poky.bb index 4e4204345..1c1507bfe 100644 --- a/meta/packages/tasks/task-poky.bb +++ b/meta/packages/tasks/task-poky.bb @@ -3,7 +3,7 @@ # DESCRIPTION = "Tasks for OpenedHand Poky" -PR = "r30" +PR = "r31" PACKAGES = "\ task-poky-apps-console \ @@ -38,6 +38,9 @@ RDEPENDS_task-poky-apps-console = "\ RDEPENDS_task-poky-x11-base = "\ dbus \ pointercal \ + fontconfig \ + freetype \ + shared-mime-info \ matchbox-wm \ matchbox-keyboard \ matchbox-keyboard-applet \ -- cgit v1.2.3