summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MAINTAINERS14
-rw-r--r--classes/image.bbclass15
-rw-r--r--classes/seppuku.bbclass243
-rw-r--r--conf/bitbake.conf4
-rw-r--r--conf/distro/angstrom-2007.1.conf7
-rw-r--r--conf/distro/openprotium.conf1
-rw-r--r--conf/documentation.conf19
-rw-r--r--conf/local.conf.sample2
-rw-r--r--conf/machine/storcenter.conf1
-rw-r--r--conf/machine/turbostation.conf17
-rw-r--r--contrib/qa/bugzilla.py7191
-rw-r--r--packages/asterisk/asterisk_1.2.14.bb8
-rw-r--r--packages/cairo/cairo_1.4.0.bb7
-rw-r--r--packages/cairo/cairo_git.bb2
-rw-r--r--packages/gcc/gcc-4.1.2/.mtn2git_empty (renamed from packages/maemo/gconf-osso/.mtn2git_empty)0
-rw-r--r--packages/gcc/gcc-4.1.2/100-uclibc-conf.patch544
-rw-r--r--packages/gcc/gcc-4.1.2/110-arm-eabi.patch27
-rw-r--r--packages/gcc/gcc-4.1.2/200-uclibc-locale.patch3261
-rw-r--r--packages/gcc/gcc-4.1.2/300-libstdc++-pic.patch46
-rw-r--r--packages/gcc/gcc-4.1.2/301-missing-execinfo_h.patch11
-rw-r--r--packages/gcc/gcc-4.1.2/302-c99-snprintf.patch11
-rw-r--r--packages/gcc/gcc-4.1.2/303-c99-complex-ugly-hack.patch12
-rw-r--r--packages/gcc/gcc-4.1.2/304-index_macro.patch24
-rw-r--r--packages/gcc/gcc-4.1.2/602-sdk-libstdc++-includes.patch20
-rw-r--r--packages/gcc/gcc-4.1.2/740-sh-pr24836.patch25
-rw-r--r--packages/gcc/gcc-4.1.2/800-arm-bigendian.patch67
-rw-r--r--packages/gcc/gcc-4.1.2/801-arm-bigendian-eabi.patch14
-rw-r--r--packages/gcc/gcc-4.1.2/README4
-rw-r--r--packages/gcc/gcc-4.1.2/arm-nolibfloat.patch24
-rw-r--r--packages/gcc/gcc-4.1.2/arm-softfloat.patch16
-rw-r--r--packages/gcc/gcc-4.1.2/arm-thumb-cache.patch29
-rw-r--r--packages/gcc/gcc-4.1.2/arm-thumb.patch64
-rw-r--r--packages/gcc/gcc-4.1.2/fix-ICE-in-arm_unwind_emit_set.diff18
-rw-r--r--packages/gcc/gcc-4.1.2/gcc41-configure.in.patch22
-rw-r--r--packages/gcc/gcc-4.1.2/ldflags.patch22
-rw-r--r--packages/gcc/gcc-4.1.2/sdk-libstdc++-includes.patch22
-rw-r--r--packages/gcc/gcc-4.1.2/sh3-installfix-fixheaders.patch11
-rw-r--r--packages/gcc/gcc-4.1.2/unbreak-armv4t.patch12
-rw-r--r--packages/gcc/gcc-4.1.2/zecke-no-host-includes.patch31
-rw-r--r--packages/gcc/gcc-4.1.2/zecke-xgcc-cpp.patch12
-rw-r--r--packages/gcc/gcc-package.inc19
-rw-r--r--packages/gcc/gcc_4.1.2.bb53
-rw-r--r--packages/gnome/libgnomeprint_2.8.2.bb2
-rw-r--r--packages/gpe-conf/gpe-conf_0.2.4.bb4
-rw-r--r--packages/gpe-conf/gpe-conf_svn.bb6
-rw-r--r--packages/gpe-session-scripts/gpe-session-scripts_0.67.bb8
-rw-r--r--packages/gpephone/gpe-applauncher-0.7/.mtn2git_empty (renamed from packages/maemo/osso-gnome-vfs2/.mtn2git_empty)0
-rw-r--r--packages/gpephone/gpe-applauncher-0.7/default-icon.patch20
-rw-r--r--packages/gpephone/gpe-applauncher_0.7.bb4
-rwxr-xr-xpackages/gpephone/gpe-session-scripts-phone/phonesession4
-rw-r--r--packages/gpephone/gpe-session-scripts-phone_0.67.bb6
-rw-r--r--packages/gpephone/libim-0.1/im-dbus-segfault.patch179
-rw-r--r--packages/gpephone/libim_0.2.bb (renamed from packages/gpephone/libim_0.1.bb)5
-rw-r--r--packages/gpephone/sms-1.0/.mtn2git_empty0
-rw-r--r--packages/gpephone/sms-1.0/somefixes.patch57
-rw-r--r--packages/gpephone/sms_1.0.bb4
-rw-r--r--packages/hdparm/hdparm-6.9/.mtn2git_empty0
-rw-r--r--packages/hdparm/hdparm-6.9/bswap.patch39
-rw-r--r--packages/hdparm/hdparm-6.9/uclibc.patch35
-rw-r--r--packages/hdparm/hdparm_6.9.bb14
-rw-r--r--packages/images/gpephone-image-vm.bb (renamed from packages/gpephone/gpephone-image-vm.bb)3
-rw-r--r--packages/images/gpephone-image.bb (renamed from packages/gpephone/gpephone-image.bb)4
-rw-r--r--packages/libesmtp/libesmtp_1.0.4.bb3
-rw-r--r--packages/libmrss/.mtn2git_empty0
-rw-r--r--packages/libmrss/libmrss_0.17.bb13
-rw-r--r--packages/libnotify/libnotify_0.4.4.bb13
-rw-r--r--packages/libnxml/.mtn2git_empty0
-rw-r--r--packages/libnxml/libnxml_0.16.bb14
-rw-r--r--packages/linux/ixp4xx-kernel/2.6.20/series8
-rw-r--r--packages/linux/ixp4xx-kernel_2.6.20.bb2
-rw-r--r--packages/linux/linux-gta01/defconfig-2.6.20-fic-gta0134
-rw-r--r--packages/linux/linux-gta01_2.6.20.bb2
-rw-r--r--packages/linux/linux-turbostation/linux-2.6.16_drivers_mtd_maps_physmap.c42
-rw-r--r--packages/linux/linux-turbostation_2.6.20.1.bb2
-rw-r--r--packages/maemo/gconf-osso/configure-dbus.patch11
-rw-r--r--packages/maemo/gconf-osso/free-entry-fix.diff11
-rwxr-xr-xpackages/maemo/gconf-osso/gconf-daemon-dbus-oe.sh7
-rw-r--r--packages/maemo/gconf-osso/gconf-daemon-oe.sh21
-rw-r--r--packages/maemo/gconf-osso/gconf-update.patch31
-rw-r--r--packages/maemo/gconf-osso/no-po-no-examples.diff34032
-rw-r--r--packages/maemo/gconf-osso/service-file.diff9
-rw-r--r--packages/maemo/gconf-osso_2.6.4-3.1osso13.bb45
-rw-r--r--packages/mediatomb/mediatomb_0.8+0.9.0-pre.bb32
-rw-r--r--packages/meta/meta-gpephone.bb (renamed from packages/gpephone/meta-gpephone.bb)0
-rw-r--r--packages/modutils/modutils-collateral.bb9
-rw-r--r--packages/musicpd/mpd_svn.bb2
-rw-r--r--packages/ntfs-3g/.mtn2git_empty0
-rw-r--r--packages/ntfs-3g/ntfs-3g_1.0.bb12
-rw-r--r--packages/ntpclient/ntpclient_2003_194.bb8
-rw-r--r--packages/obsolete/maemo/.mtn2git_empty0
-rw-r--r--packages/obsolete/maemo/gconf-osso/.mtn2git_empty0
-rw-r--r--packages/obsolete/maemo/osso-gnome-vfs2/.mtn2git_empty0
-rw-r--r--packages/obsolete/maemo/osso-gnome-vfs2/gconftool-lossage.patch (renamed from packages/maemo/osso-gnome-vfs2/gconftool-lossage.patch)0
-rw-r--r--packages/obsolete/maemo/osso-gnome-vfs2_2.8.4.4-1.bb (renamed from packages/maemo/osso-gnome-vfs2_2.8.4.4-1.bb)0
-rw-r--r--packages/openmoko-base/files/session2
-rw-r--r--packages/openmoko-base/openmoko-session_svn.bb2
-rw-r--r--packages/openssh/openssh_4.3p2.bb6
-rw-r--r--packages/portmap/portmap-5-26/.mtn2git_empty0
-rw-r--r--packages/portmap/portmap-5-26/make.patch73
-rw-r--r--packages/portmap/portmap_5-26.bb1
-rw-r--r--packages/tasks/task-gpephone.bb (renamed from packages/gpephone/task-gpephone.bb)8
-rw-r--r--packages/tzcode/tzcode-native_2007c.bb (renamed from packages/tzcode/tzcode-native_2007a.bb)8
-rw-r--r--packages/tzdata/tzdata_2007a.bb158
-rw-r--r--packages/tzdata/tzdata_2007c.bb156
-rw-r--r--packages/void11/.mtn2git_empty0
-rw-r--r--packages/void11/files/.mtn2git_empty0
-rw-r--r--packages/void11/files/oezc.patch112
-rw-r--r--packages/void11/void11_0.2.0.bb26
108 files changed, 12656 insertions, 34605 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 3c4411c4b7..2ad122350c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -56,10 +56,10 @@ Person: Graeme Gregory
Mail: dp@xora.org.uk
Website: http://www.xora.org.uk
Interests: Multimedia in gpe and on fbdev, and gtk+ apps on PDA devices.
-Interests: GNOME on PDA
+Interests: GNOME on PDA
Recipes: mplayer, xmms, xmms-mad, xmms-tremor, dillo, links, links-x11
-Recipes: epdfview, kismet, sylpheed-claws, sylpheed, gqview, tightvnc
-Recipes: epdfview, gtk+_2.10.*
+Recipes: epdfview, sylpheed-claws, sylpheed, gqview, tightvnc
+Recipes: epdfview, gtk+_2.10.*
Person: Holger Hans Peter Freyther
Mail: zecke@selfish.org
@@ -158,6 +158,14 @@ Machines: poodle, c7x0, spitz, nokia770, qemuarm, qemux86, hx2xxx
Interests: Kernels, Bitbake, Core OE infrastructure, Zaurus 2.6
Recipes: linux-rp, udev, zaurusd, task-base
+Person: Rick Farina
+Mail: sidhayn@gmail.com
+Website: http://zerochaos.aircrack-ng.org
+Interests: wifi, packet injection, security
+Distros: Angstrom
+Machines: akita
+Recipes: aircrack-ng, kismet, mdk2, rfakeap, void11
+
Person: Rolf 'Laibsch' Leggewie
Mail: OE-recipes@rolf.leggewie.biz
Website: http://oz.leggewie.org
diff --git a/classes/image.bbclass b/classes/image.bbclass
index 69d7fb2e9b..5055b5b987 100644
--- a/classes/image.bbclass
+++ b/classes/image.bbclass
@@ -4,7 +4,7 @@ PACKAGES = ""
# We need to recursively follow RDEPENDS and RRECOMMENDS for images
BUILD_ALL_DEPS = "1"
-do_rootfs[recrdeptask] = "do_package_write do_deploy"
+do_rootfs[recrdeptask] = "do_package_write do_deploy do_populate_staging"
# Images are generally built explicitly, do not need to be part of world.
EXCLUDE_FROM_WORLD = "1"
@@ -91,6 +91,10 @@ fakeroot do_rootfs () {
else
bbimage -n "${IMAGE_NAME}" -t "$type" -e "${FILE}"
fi
+
+ cd ${DEPLOY_DIR_IMAGE}/
+ rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.*
+ ln -s ${IMAGE_NAME}.rootfs.$type ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.$type
done
${IMAGE_POSTPROCESS_COMMAND}
@@ -161,7 +165,14 @@ make_zimage_symlink_relative () {
fi
}
+# Make login manager(s) enable automatic login.
+# Useful for devices where we do not want to log in at all (e.g. phones)
+set_image_autologin () {
+ sed -i 's%^AUTOLOGIN=\"false"%AUTOLOGIN="true"%g' ${IMAGE_ROOTFS}/etc/sysconfig/gpelogin
+}
+
+
# export the zap_root_password, create_etc_timestamp and remote_init_link
-EXPORT_FUNCTIONS zap_root_password create_etc_timestamp remove_init_link do_rootfs make_zimage_symlink_relative
+EXPORT_FUNCTIONS zap_root_password create_etc_timestamp remove_init_link do_rootfs make_zimage_symlink_relative set_image_autologin
addtask rootfs before do_build after do_install
diff --git a/classes/seppuku.bbclass b/classes/seppuku.bbclass
new file mode 100644
index 0000000000..5757df7efb
--- /dev/null
+++ b/classes/seppuku.bbclass
@@ -0,0 +1,243 @@
+#
+# Small event handler to automatically open URLs and file
+# bug reports at a bugzilla of your choiche
+#
+# This class requires python2.4 because of the urllib2 usage
+#
+
+
+def seppuku_login(opener, login, user, password):
+ """
+ We need to post to query.cgi with the parameters
+ Bugzilla_login and Bugzilla_password and will scan
+ the resulting page then
+
+ @param opened = cookie enabled urllib2 opener
+ @param login = http://bugzilla.openmoko.org/cgi-bin/bugzilla/query.cgi?
+ @param user = Your username
+ @param password = Your password
+ """
+ import urllib
+ param = urllib.urlencode( {"GoAheadAndLogIn" : 1, "Bugzilla_login" : user, "Bugzilla_password" : password } )
+ result = opener.open(login + param)
+
+ if result.code != 200:
+ return False
+ txt = result.read()
+ if not '<a href="relogin.cgi">Log&nbsp;out</a>' in txt:
+ return False
+
+ return True
+
+def seppuku_find_bug_report_old():
+ from HTMLParser import HTMLParser
+
+ class BugQueryExtractor(HTMLParser):
+ STATE_NONE = 0
+ STATE_FOUND_TR = 1
+ STATE_FOUND_NUMBER = 2
+ STATE_FOUND_PRIO = 3
+ STATE_FOUND_PRIO2 = 4
+ STATE_FOUND_NAME = 5
+ STATE_FOUND_PLATFORM = 6
+ STATE_FOUND_STATUS = 7
+ STATE_FOUND_WHATEVER = 8 # I don't know this field
+ STATE_FOUND_DESCRIPTION =9
+
+ def __init__(self):
+ HTMLParser.__init__(self)
+ self.state = self.STATE_NONE
+ self.bugs = []
+
+ def handle_starttag(self, tag, attr):
+ if self.state == self.STATE_NONE and tag.lower() == "tr":
+ if len(attr) == 1 and attr[0] == ('class', 'bz_normal bz_P2 '):
+ self.state = self.STATE_FOUND_TR
+ elif self.state == self.STATE_FOUND_TR and tag.lower() == "td":
+ self.state += 1
+
+ def handle_endtag(self, tag):
+ if tag.lower() == "tr":
+ if self.state != self.STATE_NONE:
+ self.bugs.append( (self.bug,self.status) )
+ self.state = self.STATE_NONE
+ if self.state > 1 and tag.lower() == "td":
+ self.state += 1
+
+ def handle_data(self,data):
+ data = data.strip()
+
+ # skip garbage
+ if len(data) == 0:
+ return
+
+ if self.state == self.STATE_FOUND_NUMBER:
+ self.bug = data
+ elif self.state == self.STATE_FOUND_STATUS:
+ self.status = data
+
+ def result(self):
+ return self.bugs
+
+ return BugQueryExtractor()
+
+
+
+def seppuku_find_bug_report(opener, query, product, component, bugname):
+ """
+ Find a bug report with the sane name and return the bug id
+ and the status.
+
+ @param opener = urllib2 opener
+ @param query = e.g. https://bugzilla.openmoko.org/cgi-bin/bugzilla/query.cgi?
+ @param product = search for this product
+ @param component = search for this component
+ @param bugname = the bug to search for
+
+ https://bugzilla.openmoko.org/cgi-bin/bugzilla/buglist.cgi?short_desc_type=substring&short_desc=manual+test+bug&product=OpenMoko&emailreporter2=1&emailtype2=substring&email2=freyther%40yahoo.com
+ but it does not support ctype=csv...
+ """
+ result = opener.open("%(query)s?product=%(product)s&component=%(component)s&short_desc_type=substring&short_desc=%(bugname)s" % vars())
+ if result.code != 200:
+ raise "Can not query the bugzilla at all"
+ txt = result.read()
+ scanner = seppuku_find_bug_report_old()
+ scanner.feed(txt)
+ if len(scanner.result()) == 0:
+ return (False,None)
+ else: # silently pick the first result
+ (number,status) = scanner.result()[0]
+ return (not status in ["CLOS", "RESO", "VERI"],number)
+
+def seppuku_reopen_bug(opener, file, product, component, bug_number, bugname, text)