summaryrefslogtreecommitdiff
path: root/classes/nylon-helpers.bbclass
blob: 1755d91d2360c93f148567c8923e1faf620cb1e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ############################################################################
# Helper functions for building packages from the trunk or branches. To use
# this .bbclass simply inherit from it in your conf/local.conf.
#
# - get_branch() helps to construct the package name when fetching by 
#   extracting the directory name above the "build" directory containing the
#   oe environment and bitbake. That directory name is usually the branch in
#   which the package is located in the svn with one exception: "unstable"
#   is synonymous for "trunk". In the package you can then use the ${BRANCH}
#   variable within the svn (or cvs) url for the package.
#
# - get_tomorrow() makes sure the latest version of a package is fetched. To
#   use it, set the SRCDATE to ${TOMORROW}.
# ############################################################################

def get_branch():
	import commands, re
	build = re.sub(r'/sources$', '', commands.getoutput('pwd'))
	build = re.sub(r'/tmp/work.*$', '', build)
	build = re.sub(r'/packages\.4g.*$', '', build)
	if re.search(r'/trunk/[^/]+/?$', build):
		return 'trunk'
	if re.search(r'/unstable$', build):
		return 'trunk'
	if re.search(r'/testing$', build):
		return 'testing'
	return re.sub(r'^.*/([^/]+/[^/]+)/[^/]+/?$', r'\1', build)

# end of get_branch

def get_tomorrow():
	import time
	return time.strftime('%Y%m%d', time.gmtime(time.time() + 3600*24))

# end of get_tomorrow
h: 100.0%;'/> -rw-r--r--recipes/alsa/alsa-utils_1.0.19.bb4
-rw-r--r--recipes/alsa/alsa-utils_1.0.20.bb66
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts.bb36
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/pico.cmd3
-rw-r--r--recipes/angstrom/e-wm-config-angstrom.bb10
-rw-r--r--recipes/antlr/antlr-native_2.7.7.bb2
-rw-r--r--recipes/asterisk/asterisk_1.4.23.1.bb2
-rw-r--r--recipes/atk/atk-native_1.27.90.bb11
-rw-r--r--recipes/atk/atk_1.26.0.bb16
-rw-r--r--recipes/atk/atk_1.27.90.bb16
-rw-r--r--recipes/autoconf/autoconf-native_2.59.bb2
-rw-r--r--recipes/autoconf/autoconf-native_2.61.bb1
-rw-r--r--recipes/autoconf/autoconf-native_2.63.bb1
-rw-r--r--recipes/autoconf/autoconf.inc1
-rw-r--r--recipes/autoconf/autoconf213-native_2.13.bb2
-rw-r--r--recipes/autoconf/autoconf213_2.13.bb2
-rw-r--r--recipes/autoconf/autoconf_2.57.bb2
-rw-r--r--recipes/autoconf/autoconf_2.59.bb4
-rw-r--r--recipes/autoconf/autoconf_2.61.bb8
-rw-r--r--recipes/autoconf/autoconf_2.63.bb5
-rw-r--r--recipes/autofs/autofs-4.1.4/Makefile.rules-cross.patch8
-rw-r--r--recipes/autofs/autofs_4.1.4.bb6
-rw-r--r--recipes/automake/automake.inc1
-rw-r--r--recipes/automake/automake_1.10.2.bb2
-rw-r--r--recipes/avahi/avahi.inc2
-rw-r--r--recipes/balsa/balsa_2.4.1.bb83
-rw-r--r--recipes/bash/bash_3.0.bb2
-rw-r--r--recipes/bash/bash_3.2.bb2
-rw-r--r--recipes/binutils/binutils-2.18/binutils-section-in-segment.patch30
-rw-r--r--recipes/binutils/binutils-2.18/parse-neon-vmov.diff41
-rw-r--r--recipes/binutils/binutils-cross-sdk_2.17.bb3
-rw-r--r--recipes/binutils/binutils_2.18.bb4
-rw-r--r--recipes/binutils/binutils_cvs.bb2
-rw-r--r--recipes/bluez/bluez4.inc15
-rw-r--r--recipes/bluez/bluez4_4.31.bb4
-rw-r--r--recipes/bluez/bluez4_4.35.bb4
-rw-r--r--recipes/bluez/bluez4_4.37.bb4
-rw-r--r--recipes/bluez/bluez4_4.47.bb13
-rw-r--r--recipes/bluez/obexd_0.15.bb10
-rw-r--r--recipes/busybox/busybox-1.14.3/B921600.patch13
-rw-r--r--recipes/busybox/busybox-1.14.3/angstrom/defconfig873
-rw-r--r--recipes/busybox/busybox-1.14.3/defconfig873
-rw-r--r--recipes/busybox/busybox-1.14.3/fdisk_lineedit_segfault.patch12
-rw-r--r--recipes/busybox/busybox-1.14.3/fix31
-rw-r--r--recipes/busybox/busybox-1.14.3/get_header_tar.patch11
-rw-r--r--recipes/busybox/busybox-1.14.3/kaeilos/defconfig855
-rw-r--r--recipes/busybox/busybox-1.14.3/micro/defconfig869
-rw-r--r--recipes/busybox/busybox-1.14.3/r24785.patch14
-rw-r--r--recipes/busybox/busybox-1.14.3/slugos/defconfig869
-rw-r--r--recipes/busybox/busybox-1.14.3/udhcpc-fix-nfsroot.patch40
-rw-r--r--recipes/busybox/busybox-1.14.3/udhcpscript.patch17
-rw-r--r--recipes/busybox/busybox-1.14.3/xargs-double-size.patch13
-rw-r--r--recipes/busybox/busybox_1.14.3.bb44
-rw-r--r--recipes/cairo/cairo-native_1.8.0.bb10
-rw-r--r--recipes/canutils/canutils_3.0.2.bb11
-rw-r--r--recipes/ccache/ccache_2.4.bb5
-rw-r--r--recipes/ccache/files/ccache-gcov.patch160
-rw-r--r--recipes/classpath/classpath-tools-native.bb6
-rw-r--r--recipes/classpath/classpath.inc5
-rw-r--r--recipes/classpath/classpath_0.95.bb2
-rw-r--r--recipes/classpath/classpath_0.96.1.bb2
-rw-r--r--recipes/classpath/classpath_0.97.2.bb2
-rw-r--r--recipes/classpath/classpath_0.98.bb3
-rw-r--r--recipes/classpath/files/fix-gmp.patch19
-rw-r--r--recipes/clearsilver/clearsilver_0.10.3.bb6
-rw-r--r--recipes/clearsilver/files/crosscompile.patch2
-rw-r--r--recipes/clutter/clutter-0.9_git.bb6
-rw-r--r--recipes/clutter/clutter-gst-0.9_git.bb5
-rw-r--r--recipes/compcache/compcache/000-compcache-KERNELDIR.patch34
-rw-r--r--recipes/compcache/compcache/001-compcache-rzscontrol-cross-compile.patch9
-rw-r--r--recipes/compcache/compcache/002-compcache-modules-install.patch13
-rw-r--r--recipes/compcache/compcache/003-compcache-0.6-KERNELDIR.patch31
-rw-r--r--recipes/compcache/compcache_0.5+0.6pre3.bb29
-rw-r--r--recipes/compcache/compcache_0.6.bb27
-rw-r--r--recipes/cups/cups.inc3
-rw-r--r--recipes/curl/curl_7.19.0.bb5
-rw-r--r--recipes/curl/curl_7.19.5.bb6
-rw-r--r--recipes/curl/files/curl-add_all_algorithms.patch22
-rw-r--r--recipes/cwiid/cwiid_svn.bb34
-rw-r--r--recipes/dash/dash_0.5.2.bb30
-rw-r--r--recipes/dash/dash_0.5.5.1.bb29
-rw-r--r--recipes/dash/files/makefile-build-cc.diff28
-rw-r--r--recipes/dbus/dbus-1.3.0/0001-Make-the-default-DBus-reply-timeout-configurable.patch78
-rw-r--r--recipes/dbus/dbus-1.3.0/cross.patch10
-rw-r--r--recipes/dbus/dbus-1.3.0/dbus-1.init111
-rw-r--r--recipes/dbus/dbus-1.3.0/fix-install-daemon.patch13
-rw-r--r--recipes/dbus/dbus-1.3.0/tmpdir.patch30
-rw-r--r--recipes/dbus/dbus-glib-0.82/fix-async-dbus.patch115
-rw-r--r--recipes/dbus/dbus-glib-0.82/no-examples.patch8
-rw-r--r--recipes/dbus/dbus-glib-0.82/no-introspect.patch14
-rw-r--r--recipes/dbus/dbus-glib.inc36
-rw-r--r--recipes/dbus/dbus-glib_0.82.bb2
-rw-r--r--recipes/dbus/dbus-native_1.0.3.bb2
-rw-r--r--recipes/dbus/dbus-native_1.2.1.bb1
-rw-r--r--recipes/dbus/dbus.inc6
-rw-r--r--recipes/dbus/dbus_1.0.3.bb2
-rw-r--r--recipes/dbus/dbus_1.2.1.bb2
-rw-r--r--recipes/dbus/dbus_1.3.0.bb14
-rw-r--r--recipes/desktop-file-utils/desktop-file-utils_0.15.bb11
-rw-r--r--recipes/devhelp/devhelp_0.23.bb16
-rw-r--r--recipes/devhelp/files/devhelp-includes.patch12
-rw-r--r--recipes/devhelp/files/devhelp-webkit.patch71
-rw-r--r--recipes/devicekit/devicekit-power_009.bb21
-rw-r--r--recipes/devmem2/devmem2.bb2
-rw-r--r--recipes/dhcp/dhcp_3.0.2.bb4
-rw-r--r--recipes/diffstat/diffstat_1.39.bb (renamed from recipes/diffstat/diffstat_1.47.bb)0
-rw-r--r--recipes/diffutils/diffutils_2.8.1.bb2
-rw-r--r--recipes/directfb/directfb-1.4.1/ts_lib_autotools.patch22
-rw-r--r--recipes/directfb/directfb_1.4.1.bb26
-rw-r--r--recipes/disko/disko_git.bb22
-rw-r--r--recipes/disko/files/header.patch13
-rw-r--r--recipes/disko/files/linkpath.patch22
-rw-r--r--recipes/disko/files/pkgconfig.patch