summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-01 18:09:11 (GMT)
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-01 18:09:57 (GMT)
commitd62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch)
treef36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta
parentcaab7fc509bf27706ff3248689f6afd04225cfda (diff)
downloadpoky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/libidl/libidl_0.8.12.bb16
-rw-r--r--meta/packages/librds/librds_0.0.1.bb11
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless-services/confighack.patch13
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless-services_git.bb14
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless/0001-Adds-initial-Gtk-clipboard-support-to-moz-headless.patch1478
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless/autoconffix.patch66
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless/buildfixhack.patch14
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless/configurefix-1a622cb7c384.patch764
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless/configurefix.patch774
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless/i386/jsautocfg.h21
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless/i486/jsautocfg.h21
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless/i586/jsautocfg.h21
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless/i686/jsautocfg.h21
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless/mozconfig23
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless/mozilla-jemalloc.patch24
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless/removebadrpath-1a622cb7c384.patch26
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless/removebadrpath.patch44
-rw-r--r--meta/packages/mozilla-headless/mozilla-headless_hg.bb99
-rw-r--r--meta/packages/mozilla/files/eabi-fix.patch66
-rw-r--r--meta/packages/mozilla/files/eabi-fix2.patch56
-rw-r--r--meta/packages/mozilla/files/eabi-fix3.patch15
-rw-r--r--meta/packages/mozilla/files/minimo.desktop9
-rw-r--r--meta/packages/mozilla/files/minimo.pngbin4323 -> 0 bytes
-rw-r--r--meta/packages/mozilla/minimo/bug-322806.diff13
-rw-r--r--meta/packages/mozilla/minimo/minimo4
-rw-r--r--meta/packages/mozilla/minimo/minimo.patch356
-rw-r--r--meta/packages/mozilla/minimo/minimo.pngbin4323 -> 0 bytes
-rw-r--r--meta/packages/mozilla/minimo/mozconfig36
-rw-r--r--meta/packages/mozilla/minimo_cvs.bb153
-rw-r--r--meta/packages/networkmanager/files/70NetworkManagerApplet.shbg4
-rw-r--r--meta/packages/networkmanager/files/99_networkmanager1
-rw-r--r--meta/packages/networkmanager/files/NetworkManager43
-rw-r--r--meta/packages/networkmanager/files/allow-disabling.patch45
-rw-r--r--meta/packages/networkmanager/files/applet-no-animation.patch234
-rw-r--r--meta/packages/networkmanager/files/applet-no-gnome.diff59
-rw-r--r--meta/packages/networkmanager/files/libnlfix.patch29
-rw-r--r--meta/packages/networkmanager/files/makefile-fix.patch17
-rw-r--r--meta/packages/networkmanager/files/nmutil-fix.patch12
-rw-r--r--meta/packages/networkmanager/files/no-restarts.diff21
-rw-r--r--meta/packages/networkmanager/files/no_vpn.patch13
-rw-r--r--meta/packages/networkmanager/networkmanager-applet_svn.bb33
-rw-r--r--meta/packages/networkmanager/networkmanager_svn.bb51
-rw-r--r--meta/packages/smart/smart_1.1.bb29
-rw-r--r--meta/packages/tar/tar-1.17/m4extensions.patch28
-rw-r--r--meta/packages/tar/tar.inc25
-rw-r--r--meta/packages/tar/tar_1.17.bb14
-rw-r--r--meta/packages/tar/tar_1.23.bb9
-rw-r--r--meta/recipes-bsp/apmd/apmd-3.2.2-14/apmd_proxy (renamed from meta/packages/apmd/apmd-3.2.2-14/apmd_proxy)0
-rw-r--r--meta/recipes-bsp/apmd/apmd-3.2.2-14/apmd_proxy.conf (renamed from meta/packages/apmd/apmd-3.2.2-14/apmd_proxy.conf)0
-rw-r--r--meta/recipes-bsp/apmd/apmd-3.2.2-14/default (renamed from meta/packages/apmd/apmd-3.2.2-14/default)0
-rwxr-xr-xmeta/recipes-bsp/apmd/apmd-3.2.2-14/init (renamed from meta/packages/apmd/apmd-3.2.2-14/init)0
-rw-r--r--meta/recipes-bsp/apmd/apmd-3.2.2-14/libtool.patch (renamed from meta/packages/apmd/apmd-3.2.2-14/libtool.patch)0
-rw-r--r--meta/recipes-bsp/apmd/apmd-3.2.2-14/unlinux.patch (renamed from meta/packages/apmd/apmd-3.2.2-14/unlinux.patch)0
-rw-r--r--meta/recipes-bsp/apmd/apmd-3.2.2-14/workaround.patch (renamed from meta/packages/apmd/apmd-3.2.2-14/workaround.patch)0
-rw-r--r--meta/recipes-bsp/apmd/apmd_3.2.2-14.bb (renamed from meta/packages/apmd/apmd_3.2.2-14.bb)0
-rw-r--r--meta/recipes-bsp/hostap/files/hostap-fw-load.patch (renamed from meta/packages/hostap/files/hostap-fw-load.patch)0
-rw-r--r--meta/recipes-bsp/hostap/files/hostap_cs.conf (renamed from meta/packages/hostap/files/hostap_cs.conf)0
-rw-r--r--meta/recipes-bsp/hostap/files/hostap_cs.conf-upstream (renamed from meta/packages/hostap/files/hostap_cs.conf-upstream)0
-rw-r--r--meta/recipes-bsp/hostap/files/hostap_cs.modalias (renamed from meta/packages/hostap/files/hostap_cs.modalias)0
-rw-r--r--meta/recipes-bsp/hostap/hostap-conf_1.0.bb (renamed from meta/packages/hostap/hostap-conf_1.0.bb)0
-rw-r--r--meta/recipes-bsp/hostap/hostap-utils.inc (renamed from meta/packages/hostap/hostap-utils.inc)0
-rw-r--r--meta/recipes-bsp/hostap/hostap-utils_0.4.7.bb (renamed from meta/packages/hostap/hostap-utils_0.4.7.bb)0
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools.patch (renamed from meta/packages/lrzsz/lrzsz-0.12.20/autotools.patch)0
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz-0.12.20/gettext.patch (renamed from meta/packages/lrzsz/lrzsz-0.12.20/gettext.patch)0
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz-0.12.20/makefile.patch (renamed from meta/packages/lrzsz/lrzsz-0.12.20/makefile.patch)0
-rw-r--r--meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb (renamed from meta/packages/lrzsz/lrzsz_0.12.20.bb)0
-rw-r--r--meta/recipes-bsp/pm-utils/pm-utils_1.3.0.bb (renamed from meta/packages/pm-utils/pm-utils_1.3.0.bb)0
-rw-r--r--meta/recipes-bsp/qemu-config/qemu-config.bb (renamed from meta/packages/oh/qemu-config.bb)0
-rw-r--r--meta/recipes-bsp/qemu-config/qemu-config/anjuta-remote-run (renamed from meta/packages/oh/qemu-config/anjuta-remote-run)0
-rw-r--r--meta/recipes-bsp/qemu-config/qemu-config/distcc.sh (renamed from meta/packages/oh/qemu-config/distcc.sh)0
-rw-r--r--meta/recipes-bsp/qemu-config/qemu-config/exports (renamed from meta/packages/oh/qemu-config/exports)0
-rwxr-xr-xmeta/recipes-bsp/qemu-config/qemu-config/qemu-autostart (renamed from meta/packages/oh/qemu-config/qemu-autostart)0
-rw-r--r--meta/recipes-bsp/qemu-config/qemu-config/qemuarm/shutdown.desktop (renamed from meta/packages/oh/qemu-config/qemuarm/shutdown.desktop)0
-rw-r--r--meta/recipes-bsp/qemu-config/qemu-config/shutdown.desktop (renamed from meta/packages/oh/qemu-config/shutdown.desktop)0
-rw-r--r--meta/recipes-bsp/setserial/setserial_2.17.bb (renamed from meta/packages/setserial/setserial_2.17.bb)0
-rw-r--r--meta/recipes-bsp/uboot/files/fix-arm920t-eabi.patch (renamed from meta/packages/uboot/files/fix-arm920t-eabi.patch)0
-rw-r--r--meta/recipes-bsp/uboot/u-boot-mkimage-native_1.3.2.bb (renamed from meta/packages/uboot/u-boot-mkimage-native_1.3.2.bb)0
-rw-r--r--meta/recipes-bsp/uboot/u-boot-mkimage_2009.08.bb (renamed from meta/packages/uboot/u-boot-mkimage_2009.08.bb)0
-rw-r--r--meta/recipes-bsp/uboot/u-boot-omap3-git/beagleboard/name.patch (renamed from meta/packages/uboot/u-boot-omap3-git/beagleboard/name.patch)0
-rw-r--r--meta/recipes-bsp/uboot/u-boot-omap3_git.bb (renamed from meta/packages/uboot/u-boot-omap3_git.bb)0
-rw-r--r--meta/recipes-bsp/uboot/u-boot.inc (renamed from meta/packages/uboot/u-boot.inc)0
-rw-r--r--meta/recipes-bsp/usbinit/usbinit.bb (renamed from meta/packages/oh/usbinit.bb)0
-rwxr-xr-xmeta/recipes-bsp/usbinit/usbinit/usb-gether (renamed from meta/packages/oh/usbinit/usb-gether)0
-rw-r--r--meta/recipes-bsp/usbutils/usbutils_0.86.bb (renamed from meta/packages/usbutils/usbutils_0.86.bb)0
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp-4.1.1-P1/dhcp-3.0.3-dhclient-dbus.patch (renamed from meta/packages/dhcp/dhcp-4.1.1-P1/dhcp-3.0.3-dhclient-dbus.patch)0
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp-4.1.1-P1/fix-client-path.patch (renamed from meta/packages/dhcp/dhcp-4.1.1-P1/fix-client-path.patch)0
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp-4.1.1-P1/fixincludes.patch (renamed from meta/packages/dhcp/dhcp-4.1.1-P1/fixincludes.patch)0
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp-4.1.1-P1/noattrmode.patch (renamed from meta/packages/dhcp/dhcp-4.1.1-P1/noattrmode.patch)0
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp-4.1.1-P1/site.h (renamed from meta/packages/dhcp/dhcp-4.1.1-P1/site.h)0
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp3.inc (renamed from meta/packages/dhcp/dhcp3.inc)0
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp4.inc (renamed from meta/packages/dhcp/dhcp4.inc)0
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp_4.1.1-P1.bb (renamed from meta/packages/dhcp/dhcp_4.1.1-P1.bb)0
-rw-r--r--meta/recipes-connectivity/dhcp/files/default-relay (renamed from meta/packages/dhcp/files/default-relay)0
-rw-r--r--meta/recipes-connectivity/dhcp/files/default-server (renamed from meta/packages/dhcp/files/default-server)0
-rw-r--r--meta/recipes-connectivity/dhcp/files/dhclient.conf (renamed from meta/packages/dhcp/files/dhclient.conf)0
-rw-r--r--meta/recipes-connectivity/dhcp/files/dhcpd.conf (renamed from meta/packages/dhcp/files/dhcpd.conf)0
-rw-r--r--meta/recipes-connectivity/dhcp/files/init-relay (renamed from meta/packages/dhcp/files/init-relay)0
-rw-r--r--meta/recipes-connectivity/dhcp/files/init-server (renamed from meta/packages/dhcp/files/init-server)0
-rw-r--r--meta/recipes-connectivity/farsight/farsight2_0.0.9.bb (renamed from meta/packages/farsight/farsight2_0.0.9.bb)0
-rw-r--r--meta/recipes-connectivity/farsight/libnice_0.0.6.bb (renamed from meta/packages/farsight/libnice_0.0.6.bb)0
-rw-r--r--meta/recipes-connectivity/gsm/files/0001-Introduce-ports.patch (renamed from meta/packages/gsm/files/0001-Introduce-ports.patch)0
-rw-r--r--meta/recipes-connectivity/gsm/files/0002-Flush-all-pending-commands-before-restarting-the-mod.patch (renamed from meta/packages/gsm/files/0002-Flush-all-pending-commands-before-restarting-the-mod.patch)0
-rw-r--r--meta/recipes-connectivity/gsm/files/0003-Correctly-segment-incoming-usock-data-into-packets.patch (renamed from meta/packages/gsm/files/0003-Correctly-segment-incoming-usock-data-into-packets.patch)0
-rw-r--r--meta/recipes-connectivity/gsm/files/0004-Handle-read-and-write-return-values.patch (renamed from meta/packages/gsm/files/0004-Handle-read-and-write-return-values.patch)0
-rw-r--r--meta/recipes-connectivity/gsm/files/0005-Add-ask-ds-option-forSMS.patch (renamed from meta/packages/gsm/files/0005-Add-ask-ds-option-forSMS.patch)0
-rw-r--r--meta/recipes-connectivity/gsm/files/024_sms-text-in-bracket.patch (renamed from meta/packages/gsm/files/024_sms-text-in-bracket.patch)0
-rw-r--r--meta/recipes-connectivity/gsm/files/025_sms-status-report.patch (renamed from meta/packages/gsm/files/025_sms-status-report.patch)0
-rw-r--r--meta/recipes-connectivity/gsm/files/027_phonebook-find-and-read-range-support.patch (renamed from meta/packages/gsm/files/027_phonebook-find-and-read-range-support.patch)0
-rw-r--r--meta/recipes-connectivity/gsm/files/028_shell-phonebook-find-and-read-range-support.patch (renamed from meta/packages/gsm/files/028_shell-phonebook-find-and-read-range-support.patch)0
-rw-r--r--meta/recipes-connectivity/gsm/files/default (renamed from meta/packages/gsm/files/default)0
-rw-r--r--meta/recipes-connectivity/gsm/files/fix_machine_init.patch (renamed from meta/packages/gsm/files/fix_machine_init.patch)0
-rw-r--r--meta/recipes-connectivity/gsm/files/gsmd (renamed from meta/packages/gsm/files/gsmd)0
-rw-r--r--meta/recipes-connectivity/gsm/files/install-ts-headers.patch (renamed from meta/packages/gsm/files/install-ts-headers.patch)0
-rw-r--r--meta/recipes-connectivity/gsm/files/lgsm_send_fix_return_value.patch (renamed from meta/packages/gsm/files/lgsm_send_fix_return_value.patch)0
-rw-r--r--meta/recipes-connectivity/gsm/gsmd.inc (renamed from meta/packages/gsm/gsmd.inc)0
-rw-r--r--meta/recipes-connectivity/gsm/libgsmd_svn.bb (renamed from meta/packages/gsm/libgsmd_svn.bb)0
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2-2.6.34/configure-cross.patch (renamed from meta/packages/iproute2/iproute2-2.6.34/configure-cross.patch)0
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2.inc (renamed from meta/packages/iproute2/iproute2.inc)0
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2_2.6.34.bb (renamed from meta/packages/iproute2/iproute2_2.6.34.bb)0
-rw-r--r--meta/recipes-connectivity/libetpan/files/cxx-is-here.patch (renamed from meta/packages/libetpan/files/cxx-is-here.patch)0
-rw-r--r--meta/recipes-connectivity/libetpan/libetpan_0.54.bb (renamed from meta/packages/libetpan/libetpan_0.54.bb)0
-rw-r--r--meta/recipes-connectivity/libnss-mdns/files/alignment-fix.patch (renamed from meta/packages/libnss-mdns/files/alignment-fix.patch)0
-rw-r--r--meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb (renamed from meta/packages/libnss-mdns/libnss-mdns_0.10.bb)0
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap-1.1.1/aclocal.patch (renamed from meta/packages/libpcap/libpcap-1.1.1/aclocal.patch)0
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch (renamed from meta/packages/libpcap/libpcap-1.1.1/ieee80215-arphrd.patch)0
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap.inc (renamed from meta/packages/libpcap/libpcap.inc)0
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap_1.1.1.bb (renamed from meta/packages/libpcap/libpcap_1.1.1.bb)0
-rw-r--r--meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts.bb (renamed from meta/packages/network-suspend-scripts/network-suspend-scripts.bb)0
-rw-r--r--meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/ifupdown (renamed from meta/packages/network-suspend-scripts/network-suspend-scripts/ifupdown)0
-rw-r--r--meta/recipes-connectivity/network-suspend-scripts/network-suspend-scripts/usbnet (renamed from meta/packages/network-suspend-scripts/network-suspend-scripts/usbnet)0
-rw-r--r--meta/recipes-connectivity/nfs-utils/libnfsidmap_0.23.bb (renamed from meta/packages/nfs-utils/libnfsidmap_0.23.bb)0
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch (renamed from meta/packages/nfs-utils/nfs-utils/nfs-utils-1.0.6-uclibc.patch)0
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils/nfsserver (renamed from meta/packages/nfs-utils/nfs-utils/nfsserver)0
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.2.bb (renamed from meta/packages/nfs-utils/nfs-utils_1.2.2.bb)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/configure-targets.patch (renamed from meta/packages/openssl/openssl-0.9.8o/configure-targets.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/ca.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/ca.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/config-hurd.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/config-hurd.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/debian-targets.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/debian-targets.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/engines-path.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/engines-path.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/kfreebsd-pipe.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/kfreebsd-pipe.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/make-targets.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/make-targets.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/man-dir.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/man-dir.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/man-section.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/man-section.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/no-rpath.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/no-rpath.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/no-symbolic.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/no-symbolic.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/perl-path.diff (renamed from meta/packages/openssl/openssl-0.9.8o/debian/perl-path.diff)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/pic.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/pic.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/pkg-config.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/pkg-config.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/rc4-amd64.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/rc4-amd64.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/rehash-crt.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/rehash-crt.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/rehash_pod.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/rehash_pod.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/series (renamed from meta/packages/openssl/openssl-0.9.8o/debian/series)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/shared-lib-ext.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/shared-lib-ext.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/stddef.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/stddef.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/valgrind.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/valgrind.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/debian/version-script.patch (renamed from meta/packages/openssl/openssl-0.9.8o/debian/version-script.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8o/shared-libs.patch (renamed from meta/packages/openssl/openssl-0.9.8o/shared-libs.patch)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl.inc (renamed from meta/packages/openssl/openssl.inc)0
-rw-r--r--meta/recipes-connectivity/openssl/openssl_0.9.8o.bb (renamed from meta/packages/openssl/openssl_0.9.8o.bb)0
-rw-r--r--meta/recipes-connectivity/openswan/openswan-2.4.7/installflags.patch (renamed from meta/packages/openswan/openswan-2.4.7/installflags.patch)0
-rw-r--r--meta/recipes-connectivity/openswan/openswan-2.4.7/ld-library-path-breakage.patch (renamed from meta/packages/openswan/openswan-2.4.7/ld-library-path-breakage.patch)0
-rw-r--r--meta/recipes-connectivity/openswan/openswan-2.4.7/openswan-2.4.7-gentoo.patch (renamed from meta/packages/openswan/openswan-2.4.7/openswan-2.4.7-gentoo.patch)0
-rw-r--r--meta/recipes-connectivity/openswan/openswan_2.4.7.bb (renamed from meta/packages/openswan/openswan_2.4.7.bb)0
-rw-r--r--meta/recipes-connectivity/opensync/libopensync-0.37/build-in-src.patch (renamed from meta/packages/opensync/libopensync-0.37/build-in-src.patch)0
-rw-r--r--meta/recipes-connectivity/opensync/libopensync-0.37/cmake.patch (renamed from meta/packages/opensync/libopensync-0.37/cmake.patch)0
-rw-r--r--meta/recipes-connectivity/opensync/libopensync-0.37/no-python-check.patch (renamed from meta/packages/opensync/libopensync-0.37/no-python-check.patch)0
-rw-r--r--meta/recipes-connectivity/opensync/libopensync-plugin-evolution2/0.37-fixes.patch (renamed from meta/packages/opensync/libopensync-plugin-evolution2/0.37-fixes.patch)0
-rw-r--r--meta/recipes-connectivity/opensync/libopensync-plugin-evolution2_0.36.bb (renamed from meta/packages/opensync/libopensync-plugin-evolution2_0.36.bb)0
-rw-r--r--meta/recipes-connectivity/opensync/libopensync-plugin-file_0.37.bb (renamed from meta/packages/opensync/libopensync-plugin-file_0.37.bb)0
-rw-r--r--meta/recipes-connectivity/opensync/libopensync-plugin-google-calendar_0.36.bb (renamed from meta/packages/opensync/libopensync-plugin-google-calendar_0.36.bb)0
-rw-r--r--meta/recipes-connectivity/opensync/libopensync-plugin-irmc_0.36.bb (renamed from meta/packages/opensync/libopensync-plugin-irmc_0.36.bb)0
-rw-r--r--meta/recipes-connectivity/opensync/libopensync-plugin-syncml/fixerror.patch (renamed from meta/packages/opensync/libopensync-plugin-syncml/fixerror.patch)0
-rw-r--r--meta/recipes-connectivity/opensync/libopensync-plugin-syncml_0.38.bb (renamed from meta/packages/opensync/libopensync-plugin-syncml_0.38.bb)0
-rw-r--r--meta/recipes-connectivity/opensync/libopensync-plugin-vformat_0.37.bb (renamed from meta/packages/opensync/libopensync-plugin-vformat_0.37.bb)0
-rw-r--r--meta/recipes-connectivity/opensync/libopensync-plugin_0.36.inc (renamed from meta/packages/opensync/libopensync-plugin_0.36.inc)0
-rw-r--r--meta/recipes-connectivity/opensync/libopensync_0.37.bb (renamed from meta/packages/opensync/libopensync_0.37.bb)0
-rw-r--r--meta/recipes-connectivity/opensync/libsync_svn.bb (renamed from meta/packages/sync/libsync_svn.bb)0
-rw-r--r--meta/recipes-connectivity/opensync/libsyncml/build-in-src.patch (renamed from meta/packages/opensync/libsyncml/build-in-src.patch)0
-rw-r--r--meta/recipes-connectivity/opensync/libsyncml_0.5.4.bb (renamed from meta/packages/opensync/libsyncml_0.5.4.bb)0
-rw-r--r--meta/recipes-connectivity/opensync/msynctool_0.37.bb (renamed from meta/packages/opensync/msynctool_0.37.bb)0
-rw-r--r--meta/recipes-connectivity/portmap/portmap-6.0/destdir-no-strip.patch (renamed from meta/packages/portmap/portmap-6.0/destdir-no-strip.patch)0
-rw-r--r--meta/recipes-connectivity/portmap/portmap-6.0/tcpd-config.patch (renamed from meta/packages/portmap/portmap-6.0/tcpd-config.patch)0
-rw-r--r--meta/recipes-connectivity/portmap/portmap.inc (renamed from meta/packages/portmap/portmap.inc)0
-rwxr-xr-xmeta/recipes-connectivity/portmap/portmap/portmap.init (renamed from meta/packages/portmap/portmap/portmap.init)0
-rw-r--r--meta/recipes-connectivity/portmap/portmap_6.0.bb (renamed from meta/packages/portmap/portmap_6.0.bb)0
-rw-r--r--meta/recipes-connectivity/ppp-dialin/files/host-peer (renamed from meta/packages/ppp-dialin/files/host-peer)0
-rw-r--r--meta/recipes-connectivity/ppp-dialin/files/ppp-dialin (renamed from meta/packages/ppp-dialin/files/ppp-dialin)0
-rw-r--r--meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb (renamed from meta/packages/ppp-dialin/ppp-dialin_0.1.bb)0
-rw-r--r--meta/recipes-connectivity/ppp/ppp-2.4.5/08setupdns (renamed from meta/packages/ppp/ppp-2.4.5/08setupdns)0
-rw-r--r--meta/recipes-connectivity/ppp/ppp-2.4.5/92removedns (renamed from meta/packages/ppp/ppp-2.4.5/92removedns)0
-rw-r--r--meta/recipes-connectivity/ppp/ppp-2.4.5/cifdefroute.patch (renamed from meta/packages/ppp/ppp-2.4.5/cifdefroute.patch)0
-rw-r--r--meta/recipes-connectivity/ppp/ppp-2.4.5/enable-ipv6.patch (renamed from meta/packages/ppp/ppp-2.4.5/enable-ipv6.patch)0
-rwxr-xr-xmeta/recipes-connectivity/ppp/ppp-2.4.5/init (renamed from meta/packages/ppp/ppp-2.4.5/init)0
-rwxr-xr-xmeta/recipes-connectivity/ppp/ppp-2.4.5/ip-down (renamed from meta/packages/ppp/ppp-2.4.5/ip-down)0
-rwxr-xr-xmeta/recipes-connectivity/ppp/ppp-2.4.5/ip-up (renamed from meta/packages/ppp/ppp-2.4.5/ip-up)0
-rw-r--r--meta/recipes-connectivity/ppp/ppp-2.4.5/makefile-remove-hard-usr-reference.patch (renamed from meta/packages/ppp/ppp-2.4.5/makefile-remove-hard-usr-reference.patch)0
-rw-r--r--meta/recipes-connectivity/ppp/ppp-2.4.5/makefile.patch (renamed from meta/packages/ppp/ppp-2.4.5/makefile.patch)0
-rw-r--r--meta/recipes-connectivity/ppp/ppp-2.4.5/poff (renamed from meta/packages/ppp/ppp-2.4.5/poff)0
-rw-r--r--meta/recipes-connectivity/ppp/ppp-2.4.5/pon (renamed from meta/packages/ppp/ppp-2.4.5/pon)0
-rw-r--r--meta/recipes-connectivity/ppp/ppp-2.4.5/pppd-resolv-varrun.patch (renamed from meta/packages/ppp/ppp-2.4.5/pppd-resolv-varrun.patch)0
-rw-r--r--meta/recipes-connectivity/ppp/ppp_2.4.5.bb (renamed from meta/packages/ppp/ppp_2.4.5.bb)0
-rw-r--r--meta/recipes-connectivity/resolvconf/resolvconf_1.43.bb (renamed from meta/packages/resolvconf/resolvconf_1.43.bb)0
-rw-r--r--meta/recipes-connectivity/wbxml/files/no-doc-install.patch (renamed from meta/packages/wbxml/files/no-doc-install.patch)0
-rw-r--r--meta/recipes-connectivity/wbxml/wbxml2_0.9.2.bb (renamed from meta/packages/wbxml/wbxml2_0.9.2.bb)0
-rw-r--r--meta/recipes-core/coreutils/coreutils-6.9/futimens.patch (renamed from meta/packages/coreutils/coreutils-6.9/futimens.patch)0
-rw-r--r--meta/recipes-core/coreutils/coreutils-6.9/gnulib_m4.patch (renamed from meta/packages/coreutils/coreutils-6.9/gnulib_m4.patch)0
-rw-r--r--meta/recipes-core/coreutils/coreutils-6.9/man-touch.patch (renamed from meta/packages/coreutils/coreutils-6.9/man-touch.patch)0
-rw-r--r--meta/recipes-core/coreutils/coreutils_6.9.bb (renamed from meta/packages/coreutils/coreutils_6.9.bb)0
-rw-r--r--meta/recipes-core/coreutils/coreutils_8.5.bb (renamed from meta/packages/coreutils/coreutils_8.5.bb)0
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc (renamed from meta/packages/ncurses/ncurses.inc)0
-rw-r--r--meta/recipes-core/ncurses/ncurses/makefile_tweak.patch (renamed from meta/packages/ncurses/ncurses/makefile_tweak.patch)0
-rw-r--r--meta/recipes-core/ncurses/ncurses/visibility.patch (renamed from meta/packages/ncurses/ncurses/visibility.patch)0
-rw-r--r--meta/recipes-core/ncurses/ncurses_5.4.bb (renamed from meta/packages/ncurses/ncurses_5.4.bb)0
-rw-r--r--meta/recipes-core/readline/files/acinclude.m4 (renamed from meta/packages/readline/files/acinclude.m4)0
-rw-r--r--meta/recipes-core/readline/files/configure-fix.patch (renamed from meta/packages/readline/files/configure-fix.patch)0
-rw-r--r--meta/recipes-core/readline/readline.inc (renamed from meta/packages/readline/readline.inc)0
-rw-r--r--meta/recipes-core/readline/readline_5.2.bb (renamed from meta/packages/readline/readline_5.2.bb)0
-rw-r--r--meta/recipes-core/readline/readline_6.1.bb (renamed from meta/packages/readline/readline_6.1.bb)0
-rw-r--r--meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb (renamed from meta/packages/sysfsutils/sysfsutils_2.1.0.bb)0
-rw-r--r--meta/recipes-core/util-linux/files/MCONFIG (renamed from meta/packages/util-linux/files/MCONFIG)0
-rw-r--r--meta/recipes-core/util-linux/files/debian-bug392236.patch (renamed from meta/packages/util-linux/files/debian-bug392236.patch)0
-rw-r--r--meta/recipes-core/util-linux/files/defines.h (renamed from meta/packages/util-linux/files/defines.h)0
-rw-r--r--meta/recipes-core/util-linux/files/fdiskbsdlabel_thumb.diff (renamed from meta/packages/util-linux/files/fdiskbsdlabel_thumb.diff)0
-rw-r--r--meta/recipes-core/util-linux/files/fix-make-c.patch (renamed from meta/packages/util-linux/files/fix-make-c.patch)0
-rw-r--r--meta/recipes-core/util-linux/files/gcc34.patch (renamed from meta/packages/util-linux/files/gcc34.patch)0
-rw-r--r--meta/recipes-core/util-linux/files/glibc-fix.patch (renamed from meta/packages/util-linux/files/glibc-fix.patch)0
-rw-r--r--meta/recipes-core/util-linux/files/make_include (renamed from meta/packages/util-linux/files/make_include)0
-rw-r--r--meta/recipes-core/util-linux/files/optional-uuid.patch (renamed from meta/packages/util-linux/files/optional-uuid.patch)0
-rw-r--r--meta/recipes-core/util-linux/files/swapargs.h (renamed from meta/packages/util-linux/files/swapargs.h)0
-rw-r--r--meta/recipes-core/util-linux/files/umount.diff (renamed from meta/packages/util-linux/files/umount.diff)0
-rw-r--r--meta/recipes-core/util-linux/files/uuid.patch (renamed from meta/packages/util-linux/files/uuid.patch)0
-rw-r--r--meta/recipes-core/util-linux/util-linux-2.17.2/tls.patch (renamed from meta/packages/util-linux/util-linux-2.17.2/tls.patch)0
-rw-r--r--meta/recipes-core/util-linux/util-linux-2.17.2/uclibc-compile.patch (renamed from meta/packages/util-linux/util-linux-2.17.2/uclibc-compile.patch)0
-rw-r--r--meta/recipes-core/util-linux/util-linux-2.17.2/util-linux-ng-replace-siginterrupt.patch (renamed from meta/packages/util-linux/util-linux-2.17.2/util-linux-ng-replace-siginterrupt.patch)0
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc (renamed from meta/packages/util-linux/util-linux.inc)0
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.17.2.bb (renamed from meta/packages/util-linux/util-linux_2.17.2.bb)0
-rw-r--r--meta/recipes-devtools/exmap-console/exmap-console.inc (renamed from meta/packages/exmap-console/exmap-console.inc)0
-rw-r--r--meta/recipes-devtools/exmap-console/exmap-console_0.4.1.bb (renamed from meta/packages/exmap-console/exmap-console_0.4.1.bb)0
-rw-r--r--meta/recipes-devtools/exmap-console/exmap-console_svn.bb (renamed from meta/packages/exmap-console/exmap-console_svn.bb)0
-rw-r--r--meta/recipes-devtools/insserv/files/40_segfault_virtprov.dpatch (renamed from meta/packages/insserv/files/40_segfault_virtprov.dpatch)0
-rw-r--r--meta/recipes-devtools/insserv/files/42_loopnochangemsg.dpatch (renamed from meta/packages/insserv/files/42_loopnochangemsg.dpatch)0
-rw-r--r--meta/recipes-devtools/insserv/files/crosscompile_fix.patch (renamed from meta/packages/insserv/files/crosscompile_fix.patch)0
-rw-r--r--meta/recipes-devtools/insserv/files/insserv.conf (renamed from meta/packages/insserv/files/insserv.conf)0
-rw-r--r--meta/recipes-devtools/insserv/files/make.patch (renamed from meta/packages/insserv/files/make.patch)0
-rw-r--r--meta/recipes-devtools/insserv/insserv_1.11.0.bb (renamed from meta/packages/insserv/insserv_1.11.0.bb)0
-rw-r--r--meta/recipes-devtools/intltool/intltool-0.40.6/intltool-nowarn-0.40.0.patch (renamed from meta/packages/intltool/intltool-0.40.6/intltool-nowarn-0.40.0.patch)0
-rw-r--r--meta/recipes-devtools/intltool/intltool.inc (renamed from meta/packages/intltool/intltool.inc)0
-rw-r--r--meta/recipes-devtools/intltool/intltool_0.40.6.bb (renamed from meta/packages/intltool/intltool_0.40.6.bb)0
-rw-r--r--meta/recipes-devtools/nasm/nasm_2.07.bb (renamed from meta/packages/nasm/nasm_2.07.bb)0
-rw-r--r--meta/recipes-devtools/rsync/rsync-2.6.9/rsyncd.conf (renamed from meta/packages/rsync/rsync-2.6.9/rsyncd.conf)0
-rw-r--r--meta/recipes-devtools/strace/strace_4.5.20.bb (renamed from meta/packages/strace/strace_4.5.20.bb)0
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch (renamed from meta/packages/tcf-agent/tcf-agent/fix_tcf-agent.init.patch)0
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent/terminals_agent.patch (renamed from meta/packages/tcf-agent/tcf-agent/terminals_agent.patch)0
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb (renamed from meta/packages/tcf-agent/tcf-agent_svn.bb)0
-rw-r--r--meta/recipes-devtools/ubootchart/files/sysvinit.patch (renamed from meta/packages/ubootchart/files/sysvinit.patch)0
-rw-r--r--meta/recipes-devtools/ubootchart/files/ubootchart-stop (renamed from meta/packages/ubootchart/files/ubootchart-stop)0
-rw-r--r--meta/recipes-devtools/ubootchart/files/ubootchart.desktop (renamed from meta/packages/ubootchart/files/ubootchart.desktop)0
-rw-r--r--meta/recipes-devtools/ubootchart/ubootchart_svn.bb (renamed from meta/packages/ubootchart/ubootchart_svn.bb)0
-rw-r--r--meta/recipes-devtools/yaffs2/files/mkyaffs2image.patch (renamed from meta/packages/yaffs2/files/mkyaffs2image.patch)0
-rw-r--r--meta/recipes-devtools/yaffs2/files/yaffs2-unioob.patch (renamed from meta/packages/yaffs2/files/yaffs2-unioob.patch)0
-rw-r--r--meta/recipes-devtools/yaffs2/yaffs2-utils.inc (renamed from meta/packages/yaffs2/yaffs2-utils.inc)0
-rw-r--r--meta/recipes-devtools/yaffs2/yaffs2-utils_cvs.bb (renamed from meta/packages/yaffs2/yaffs2-utils_cvs.bb)0
-rw-r--r--meta/recipes-extended/blktool/blktool_4-6.bb (renamed from meta/packages/blktool/blktool_4-6.bb)0
-rw-r--r--meta/recipes-extended/bzip2/bzip2-1.0.5/Makefile.am (renamed from meta/packages/bzip2/bzip2-1.0.5/Makefile.am)0
-rw-r--r--meta/recipes-extended/bzip2/bzip2-1.0.5/configure.ac (renamed from meta/packages/bzip2/bzip2-1.0.5/configure.ac)0
-rw-r--r--meta/recipes-extended/bzip2/bzip2_1.0.5.bb (renamed from meta/packages/bzip2/bzip2_1.0.5.bb)0
-rw-r--r--meta/recipes-extended/devicekit/devicekit-power_014.bb (renamed from meta/packages/devicekit/devicekit-power_014.bb)0
-rw-r--r--meta/recipes-extended/devicekit/devicekit/volatile (renamed from meta/packages/devicekit/devicekit/volatile)0
-rw-r--r--meta/recipes-extended/devicekit/devicekit_003.bb (renamed from meta/packages/devicekit/devicekit_003.bb)0
-rw-r--r--meta/recipes-extended/devicekit/devicekit_git.bb (renamed from meta/packages/devicekit/devicekit_git.bb)0
-rw-r--r--meta/recipes-extended/diffutils/diffutils_2.8.1.bb (renamed from meta/packages/diffutils/diffutils_2.8.1.bb)0
-rw-r--r--meta/recipes-extended/findutils/findutils-4.2.31/gnulib-extension.patch (renamed from meta/packages/findutils/findutils-4.2.31/gnulib-extension.patch)0
-rw-r--r--meta/recipes-extended/findutils/findutils-4.4.2/01-27017.patch (renamed from meta/packages/findutils/findutils-4.4.2/01-27017.patch)0
-rw-r--r--meta/recipes-extended/findutils/findutils-4.4.2/02-28824.patch (renamed from meta/packages/findutils/findutils-4.4.2/02-28824.patch)0
-rw-r--r--meta/recipes-extended/findutils/findutils-4.4.2/03-28872.patch (renamed from meta/packages/findutils/findutils-4.4.2/03-28872.patch)0
-rw-r--r--meta/recipes-extended/findutils/findutils.inc (renamed from meta/packages/findutils/findutils.inc)0
-rw-r--r--meta/recipes-extended/findutils/findutils_4.2.31.bb (renamed from meta/packages/findutils/findutils_4.2.31.bb)0
-rw-r--r--meta/recipes-extended/findutils/findutils_4.4.2.bb (renamed from meta/packages/findutils/findutils_4.4.2.bb)0
-rw-r--r--meta/recipes-extended/gperf/gperf.inc (renamed from meta/packages/gperf/gperf.inc)0
-rw-r--r--meta/recipes-extended/gperf/gperf_3.0.3.bb (renamed from meta/packages/gperf/gperf_3.0.3.bb)0
-rw-r--r--meta/recipes-extended/gperf/gperf_3.0.4.bb (renamed from meta/packages/gperf/gperf_3.0.4.bb)0
-rw-r--r--meta/recipes-extended/grep/grep-2.5.1a/uclibc-fix.patch (renamed from meta/packages/grep/grep-2.5.1a/uclibc-fix.patch)0
-rw-r--r--meta/recipes-extended/grep/grep_2.5.1a.bb (renamed from meta/packages/grep/grep_2.5.1a.bb)0
-rw-r--r--meta/recipes-extended/gzip/gzip-1.3.12/dup-def-fix.patch (renamed from meta/packages/gzip/gzip-1.3.12/dup-def-fix.patch)0
-rw-r--r--meta/recipes-extended/gzip/gzip-1.3.12/m4-extensions-fix.patch (renamed from meta/packages/gzip/gzip-1.3.12/m4-extensions-fix.patch)0
-rw-r--r--meta/recipes-extended/gzip/gzip.inc (renamed from meta/packages/gzip/gzip.inc)0
-rw-r--r--meta/recipes-extended/gzip/gzip_1.3.12.bb (renamed from meta/packages/gzip/gzip_1.3.12.bb)0
-rw-r--r--meta/recipes-extended/gzip/gzip_1.4.bb (renamed from meta/packages/gzip/gzip_1.4.bb)0
-rw-r--r--meta/recipes-extended/hdparm/hdparm-6.3/bswap.patch (renamed from meta/packages/hdparm/hdparm-6.3/bswap.patch)0
-rw-r--r--meta/recipes-extended/hdparm/hdparm-6.3/uclibc.patch (renamed from meta/packages/hdparm/hdparm-6.3/uclibc.patch)0
-rw-r--r--meta/recipes-extended/hdparm/hdparm_6.3.bb (renamed from meta/packages/hdparm/hdparm_6.3.bb)0
-rw-r--r--meta/recipes-extended/libidn/libidn_0.6.14.bb (renamed from meta/packages/libidn/libidn_0.6.14.bb)0
-rw-r--r--meta/recipes-extended/libidn/libidn_1.19.bb (renamed from meta/packages/libidn/libidn_1.19.bb)0
-rw-r--r--meta/recipes-extended/lsof/lsof_4.83.bb (renamed from meta/packages/lsof/lsof_4.83.bb)0
-rw-r--r--meta/recipes-extended/pam/libpam-1.1.1/99_pam (renamed from meta/packages/pam/libpam-1.1.1/99_pam)0
-rw-r--r--meta/recipes-extended/pam/libpam-1.1.1/disable_crossbinary.patch (renamed from meta/packages/pam/libpam-1.1.1/disable_crossbinary.patch)0
-rw-r--r--meta/recipes-extended/pam/libpam-1.1.1/pam.d/common-account (renamed from meta/packages/pam/libpam-1.1.1/pam.d/common-account)0
-rw-r--r--meta/recipes-extended/pam/libpam-1.1.1/pam.d/common-auth (renamed from meta/packages/pam/libpam-1.1.1/pam.d/common-auth)0
-rw-r--r--meta/recipes-extended/pam/libpam-1.1.1/pam.d/common-password (renamed from meta/packages/pam/libpam-1.1.1/pam.d/common-password)0
-rw-r--r--meta/recipes-extended/pam/libpam-1.1.1/pam.d/common-session (renamed from meta/packages/pam/libpam-1.1.1/pam.d/common-session)0
-rw-r--r--meta/recipes-extended/pam/libpam-1.1.1/pam.d/common-session-noninteractive (renamed from meta/packages/pam/libpam-1.1.1/pam.d/common-session-noninteractive)0
-rw-r--r--meta/recipes-extended/pam/libpam-1.1.1/pam.d/other (renamed from meta/packages/pam/libpam-1.1.1/pam.d/other)0
-rw-r--r--meta/recipes-extended/pam/libpam_1.1.1.bb (renamed from meta/packages/pam/libpam_1.1.1.bb)0
-rw-r--r--meta/recipes-extended/parted/parted-1.9.0/no_check.patch (renamed from meta/packages/parted/parted-1.9.0/no_check.patch)0
-rw-r--r--meta/recipes-extended/parted/parted-1.9.0/syscalls.patch (renamed from meta/packages/parted/parted-1.9.0/syscalls.patch)0
-rw-r--r--meta/recipes-extended/parted/parted_1.9.0.bb (renamed from meta/packages/parted/parted_1.9.0.bb)0
-rw-r--r--meta/recipes-extended/polkit/polkit-gnome_0.96.bb (renamed from meta/packages/polkit/polkit-gnome_0.96.bb)0
-rw-r--r--meta/recipes-extended/polkit/polkit_0.96.bb (renamed from meta/packages/polkit/polkit_0.96.bb)0
-rw-r--r--meta/recipes-extended/psmisc/files/libintl-link.patch (renamed from meta/packages/psmisc/files/libintl-link.patch)0
-rw-r--r--meta/recipes-extended/psmisc/psmisc.inc (renamed from meta/packages/psmisc/psmisc.inc)0
-rw-r--r--meta/recipes-extended/psmisc/psmisc_22.2.bb (renamed from meta/packages/psmisc/psmisc_22.2.bb)0
-rw-r--r--meta/recipes-extended/sed/sed-4.1.2/fix_return_type.patch (renamed from meta/packages/sed/sed-4.1.2/fix_return_type.patch)0
-rw-r--r--meta/recipes-extended/sed/sed_4.1.2.bb (renamed from meta/packages/sed/sed_4.1.2.bb)0
-rw-r--r--meta/recipes-extended/sudo/files/autofoo.patch (renamed from meta/packages/sudo/files/autofoo.patch)0
-rw-r--r--meta/recipes-extended/sudo/files/noexec-link.patch (renamed from meta/packages/sudo/files/noexec-link.patch)0
-rw-r--r--meta/recipes-extended/sudo/files/nostrip.patch (renamed from meta/packages/sudo/files/nostrip.patch)0
-rw-r--r--meta/recipes-extended/sudo/site/bit-32 (renamed from meta/packages/sudo/site/bit-32)0
-rw-r--r--meta/recipes-extended/sudo/site/bit-64 (renamed from meta/packages/sudo/site/bit-64)0
-rw-r--r--meta/recipes-extended/sudo/sudo.inc (renamed from meta/packages/sudo/sudo.inc)0
-rw-r--r--meta/recipes-extended/sudo/sudo_1.7.2p7.bb (renamed from meta/packages/sudo/sudo_1.7.2p7.bb)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/00_man_quoting.diff (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/00_man_quoting.diff)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/01_man_portability.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/01_man_portability.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/05_wildcard_matching.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/05_wildcard_matching.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/06_fix_gethostbyname.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/06_fix_gethostbyname.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/10_usagi-ipv6.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/10_usagi-ipv6.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/11_tcpd_blacklist.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/11_tcpd_blacklist.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/11_usagi_fix.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/11_usagi_fix.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/12_makefile_config.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/12_makefile_config.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/13_shlib_weaksym.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/13_shlib_weaksym.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/14_cidr_support.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/14_cidr_support.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/15_match_clarify.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/15_match_clarify.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/expand_remote_port.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/expand_remote_port.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/have_strerror.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/have_strerror.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/ldflags.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/ldflags.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/restore_sigalarm.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/restore_sigalarm.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/rfc931.diff (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/rfc931.diff)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/safe_finger.8 (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/safe_finger.8)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/safe_finger.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/safe_finger.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/sig_fix.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/sig_fix.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/siglongjmp.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/siglongjmp.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/size_t.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/size_t.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/tcpdchk_libwrapped.patch (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/tcpdchk_libwrapped.patch)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/try-from.8 (renamed from meta/packages/tcp-wrappers/tcp-wrappers-7.6/try-from.8)0
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb (renamed from meta/packages/tcp-wrappers/tcp-wrappers_7.6.bb)0
-rw-r--r--meta/recipes-extended/tzcode/tzcode-native_2009r.bb (renamed from meta/packages/tzcode/tzcode-native_2009r.bb)0
-rw-r--r--meta/recipes-extended/tzdata/tzdata_2010j.bb (renamed from meta/packages/tzdata/tzdata_2010j.bb)0
-rw-r--r--meta/recipes-extended/unzip/unzip_6.0.bb (renamed from meta/packages/unzip/unzip_6.0.bb)0
-rw-r--r--meta/recipes-extended/watchdog/watchdog_5.9.bb (renamed from meta/packages/watchdog/watchdog_5.9.bb)0
-rw-r--r--meta/recipes-extended/zile/files/for_build.patch (renamed from meta/packages/zile/files/for_build.patch)0
-rw-r--r--meta/recipes-extended/zile/zile_1.7+2.0beta6.bb (renamed from meta/packages/zile/zile_1.7+2.0beta6.bb)0
-rw-r--r--meta/recipes-extended/zip/zip.inc (renamed from meta/packages/zip/zip.inc)0
-rw-r--r--meta/recipes-extended/zip/zip_3.0.bb (renamed from meta/packages/zip/zip_3.0.bb)0
-rw-r--r--meta/recipes-gnome/libffi/libffi_3.0.8.bb (renamed from meta/packages/libffi/libffi_3.0.8.bb)0
-rw-r--r--meta/recipes-gnome/libgsf/libgsf_1.14.5.bb (renamed from meta/packages/libgsf/libgsf_1.14.5.bb)0
-rw-r--r--meta/recipes-gnome/libgtkstylus/files/gtkstylus.sh (renamed from meta/packages/libgtkstylus/files/gtkstylus.sh)0
-rw-r--r--meta/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb (renamed from meta/packages/libgtkstylus/libgtkstylus_0.5.bb)0
-rw-r--r--meta/recipes-gnome/librsvg/librsvg_2.18.2.bb (renamed from meta/packages/librsvg/librsvg_2.18.2.bb)0
-rw-r--r--meta/recipes-gnome/librsvg/librsvg_2.22.3.bb (renamed from meta/packages/librsvg/librsvg_2.22.3.bb)0
-rw-r--r--meta/recipes-gnome/librsvg/librsvg_2.26.3.bb (renamed from meta/packages/librsvg/librsvg_2.26.3.bb)0
-rw-r--r--meta/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch (renamed from meta/packages/wv/wv-1.2.0/pkgconfig.patch)0
-rw-r--r--meta/recipes-gnome/wv/wv_1.2.0.bb (renamed from meta/packages/wv/wv_1.2.0.bb)0
-rw-r--r--meta/recipes-graphics/clutter/clutter-helix.inc15
-rw-r--r--meta/recipes-graphics/clutter/clutter-helix_git.bb8
-rw-r--r--meta/recipes-graphics/clutter/clutter-mozembed.inc14
-rw-r--r--meta/recipes-graphics/clutter/clutter-mozembed_git.bb14
-rw-r--r--meta/recipes-graphics/fstests/fstests_svn.bb (renamed from meta/packages/fstests/fstests_svn.bb)0
-rw-r--r--meta/recipes-graphics/libsdl/files/acinclude.m4 (renamed from meta/packages/libsdl/files/acinclude.m4)0
-rw-r--r--meta/recipes-graphics/libsdl/files/configure_tweak.patch (renamed from meta/packages/libsdl/files/configure_tweak.patch)0
-rw-r--r--meta/recipes-graphics/libsdl/files/directfb_obsolete_calls.patch (renamed from meta/packages/libsdl/files/directfb_obsolete_calls.patch)0
-rw-r--r--meta/recipes-graphics/libsdl/files/extra-keys.patch (renamed from meta/packages/libsdl/files/extra-keys.patch)0
-rw-r--r--meta/recipes-graphics/libsdl/files/kernel-asm-page.patch (renamed from meta/packages/libsdl/files/kernel-asm-page.patch)0
-rw-r--r--meta/recipes-graphics/libsdl/libsdl-nativesdk_1.2.11.bb (renamed from meta/packages/libsdl/libsdl-nativesdk_1.2.11.bb)0
-rw-r--r--meta/recipes-graphics/pong-clock/pong-clock/pong-clock-no-flicker.c (renamed from meta/packages/pong-clock/pong-clock/pong-clock-no-flicker.c)0
-rw-r--r--meta/recipes-graphics/pong-clock/pong-clock_1.0.bb (renamed from meta/packages/pong-clock/pong-clock_1.0.bb)0
-rw-r--r--meta/recipes-graphics/x11vnc/x11vnc_0.9.3.bb (renamed from meta/packages/x11vnc/x11vnc_0.9.3.bb)0
-rw-r--r--meta/recipes-graphics/xrestop/xrestop_0.4.bb (renamed from meta/packages/xrestop/xrestop_0.4.bb)0
-rw-r--r--meta/recipes-graphics/xvideo-tests/xvideo-tests_svn.bb (renamed from meta/packages/xvideo-tests/xvideo-tests_svn.bb)0
-rw-r--r--meta/recipes-kernel/fuse/fuse-2.7.2/not-run-updaterc.d-on-host.patch (renamed from meta/packages/fuse/fuse-2.7.2/not-run-updaterc.d-on-host.patch)0
-rw-r--r--meta/recipes-kernel/fuse/fuse.inc (renamed from meta/packages/fuse/fuse.inc)0
-rw-r--r--meta/recipes-kernel/fuse/fuse_2.7.2.bb (renamed from meta/packages/fuse/fuse_2.7.2.bb)0
-rw-r--r--meta/recipes-multimedia/libomxil/libomxil_0.3.3.bb (renamed from meta/packages/libomxil/libomxil_0.3.3.bb)0
-rw-r--r--meta/recipes-multimedia/speex/speex_1.2rc1.bb (renamed from meta/packages/speex/speex_1.2rc1.bb)0
-rw-r--r--meta/recipes-qt/qmake/qmake2-cross/0001-fix-mkspecs.patch120
-rw-r--r--meta/recipes-qt/qmake/qmake2-cross/linux-oe-qmake.conf1
-rw-r--r--meta/recipes-qt/qmake/qmake2-cross/use-lflags-last.patch22
-rw-r--r--meta/recipes-qt/qmake/qmake2-cross_2.10a.bb74
-rw-r--r--meta/recipes-qt/uicmoc/uicmoc4-native.inc67
-rw-r--r--meta/recipes-qt/uicmoc/uicmoc4-native_4.3.2.bb1
-rw-r--r--meta/recipes-sato/claws-mail/claws-mail.inc (renamed from meta/packages/claws-mail/claws-mail.inc)0
-rw-r--r--meta/recipes-sato/claws-mail/claws-mail_2.9.1.bb (renamed from meta/packages/claws-mail/claws-mail_2.9.1.bb)0
-rw-r--r--meta/recipes-sato/claws-mail/claws-plugin-gtkhtml2-viewer_0.15.bb (renamed from meta/packages/claws-mail/claws-plugin-gtkhtml2-viewer_0.15.bb)0
-rw-r--r--meta/recipes-sato/claws-mail/claws-plugin-maildir_0.24.4.bb (renamed from meta/packages/claws-mail/claws-plugin-maildir_0.24.4.bb)0
-rw-r--r--meta/recipes-sato/claws-mail/claws-plugin-mailmbox_1.13.bb (renamed from meta/packages/claws-mail/claws-plugin-mailmbox_1.13.bb)0
-rw-r--r--meta/recipes-sato/claws-mail/claws-plugin-rssyl_0.13.bb (renamed from meta/packages/claws-mail/claws-plugin-rssyl_0.13.bb)0
-rw-r--r--meta/recipes-sato/claws-mail/files/desktop.patch (renamed from meta/packages/claws-mail/files/desktop.patch)0
-rw-r--r--meta/recipes-sato/claws-mail/files/fix-build.patch (renamed from meta/packages/claws-mail/files/fix-build.patch)0
-rw-r--r--meta/recipes-sato/claws-mail/files/owl-window-menu.patch (renamed from meta/packages/claws-mail/files/owl-window-menu.patch)0
-rw-r--r--meta/recipes-sato/claws-mail/files/streamline-ui.patch (renamed from meta/packages/claws-mail/files/streamline-ui.patch)0
-rw-r--r--meta/recipes-sato/libical/libical_0.44.bb (renamed from meta/packages/libical/libical_0.44.bb)0
-rw-r--r--meta/recipes-sato/rxvt-unicode/files/makefile.patch (renamed from meta/packages/rxvt-unicode/files/makefile.patch)0
-rw-r--r--meta/recipes-sato/rxvt-unicode/files/rxvt.desktop (renamed from meta/packages/rxvt-unicode/files/rxvt.desktop)0
-rw-r--r--meta/recipes-sato/rxvt-unicode/files/rxvt.png (renamed from meta/packages/rxvt-unicode/files/rxvt.png)bin2847 -> 2847 bytes
-rw-r--r--meta/recipes-sato/rxvt-unicode/files/signedchar.patch (renamed from meta/packages/rxvt-unicode/files/signedchar.patch)0
-rw-r--r--meta/recipes-sato/rxvt-unicode/files/xwc.patch (renamed from meta/packages/rxvt-unicode/files/xwc.patch)0
-rw-r--r--meta/recipes-sato/rxvt-unicode/rxvt-unicode-5.6/xwc.patch (renamed from meta/packages/rxvt-unicode/rxvt-unicode-5.6/xwc.patch)0
-rw-r--r--meta/recipes-sato/rxvt-unicode/rxvt-unicode_5.6.bb (renamed from meta/packages/rxvt-unicode/rxvt-unicode_5.6.bb)0
-rw-r--r--meta/recipes-sato/webkit/files/GNUmakefile.am (renamed from meta/packages/webkit/files/GNUmakefile.am)0
-rw-r--r--meta/recipes-sato/webkit/files/Makefile (renamed from meta/packages/webkit/files/Makefile)0
-rw-r--r--meta/recipes-sato/webkit/files/Makefile.shared (renamed from meta/packages/webkit/files/Makefile.shared)0
-rw-r--r--meta/recipes-sato/webkit/files/WebKit.pri (renamed from meta/packages/webkit/files/WebKit.pri)0
-rw-r--r--meta/recipes-sato/webkit/files/WebKit.pro (renamed from meta/packages/webkit/files/WebKit.pro)0
-rwxr-xr-xmeta/recipes-sato/webkit/files/autogen.sh (renamed from meta/packages/webkit/files/autogen.sh)0
-rw-r--r--meta/recipes-sato/webkit/files/configure.ac (renamed from meta/packages/webkit/files/configure.ac)0
-rw-r--r--meta/recipes-sato/webkit/files/fix_im.patch (renamed from meta/packages/webkit/files/fix_im.patch)0
-rw-r--r--meta/recipes-sato/webkit/files/gtk-doc.make (renamed from meta/packages/webkit/files/gtk-doc.make)0
-rw-r--r--meta/recipes-sato/webkit/webkit-gtk_svn.bb (renamed from meta/packages/webkit/webkit-gtk_svn.bb)0
-rw-r--r--meta/recipes-support/apr/apr-util/configfix.patch (renamed from meta/packages/apr/apr-util/configfix.patch)0
-rw-r--r--meta/recipes-support/apr/apr-util/configure_fixes.patch (renamed from meta/packages/apr/apr-util/configure_fixes.patch)0
-rw-r--r--meta/recipes-support/apr/apr-util/configure_fixes.patch.old (renamed from meta/packages/apr/apr-util/configure_fixes.patch.old)0
-rw-r--r--meta/recipes-support/apr/apr-util_1.3.4.bb (renamed from meta/packages/apr/apr-util_1.3.4.bb)0
-rw-r--r--meta/recipes-support/apr/apr/cleanup.patch (renamed from meta/packages/apr/apr/cleanup.patch)0
-rw-r--r--meta/recipes-support/apr/apr/configfix.patch (renamed from meta/packages/apr/apr/configfix.patch)0
-rw-r--r--meta/recipes-support/apr/apr/configure_fixes.patch (renamed from meta/packages/apr/apr/configure_fixes.patch)0
-rw-r--r--meta/recipes-support/apr/apr_1.3.3.bb (renamed from meta/packages/apr/apr_1.3.3.bb)0
-rw-r--r--meta/recipes-support/aspell/aspell_0.60.6.bb (renamed from meta/packages/aspell/aspell_0.60.6.bb)0
-rw-r--r--meta/recipes-support/atk/atk.inc (renamed from meta/packages/atk/atk.inc)0
-rw-r--r--meta/recipes-support/atk/atk_1.30.0.bb (renamed from meta/packages/atk/atk_1.30.0.bb)0
-rw-r--r--meta/recipes-support/attr/acl.inc (renamed from meta/packages/attr/acl.inc)0
-rw-r--r--meta/recipes-support/attr/acl_2.2.49.bb (renamed from meta/packages/attr/acl_2.2.49.bb)0
-rw-r--r--meta/recipes-support/attr/attr-2.4.44/double-free.patch (renamed from meta/packages/attr/attr-2.4.44/double-free.patch)0
-rw-r--r--meta/recipes-support/attr/attr-2.4.44/memory-leak-in-copy.patch (renamed from meta/packages/attr/attr-2.4.44/memory-leak-in-copy.patch)0
-rw-r--r--meta/recipes-support/attr/attr-2.4.44/memory-leak2.patch (renamed from meta/packages/attr/attr-2.4.44/memory-leak2.patch)0
-rw-r--r--meta/recipes-support/attr/attr-2.4.44/pull-in-string.h.patch (renamed from meta/packages/attr/attr-2.4.44/pull-in-string.h.patch)0
-rw-r--r--meta/recipes-support/attr/attr-2.4.44/thinko-in-restore.patch (renamed from meta/packages/attr/attr-2.4.44/thinko-in-restore.patch)0
-rw-r--r--meta/recipes-support/attr/attr.inc (renamed from meta/packages/attr/attr.inc)0
-rw-r--r--meta/recipes-support/attr/attr_2.4.44.bb (renamed from meta/packages/attr/attr_2.4.44.bb)0
-rw-r--r--meta/recipes-support/attr/ea-acl.inc (renamed from meta/packages/attr/ea-acl.inc)0
-rw-r--r--meta/recipes-support/attr/files/relative-libdir.patch (renamed from meta/packages/attr/files/relative-libdir.patch)0
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch (renamed from meta/packages/beecrypt/beecrypt/disable-icu-check.patch)0
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/fix-security.patch (renamed from meta/packages/beecrypt/beecrypt/fix-security.patch)0
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/x64fix.patch (renamed from meta/packages/beecrypt/beecrypt/x64fix.patch)0
-rw-r--r--meta/recipes-support/beecrypt/beecrypt_4.1.2.bb (renamed from meta/packages/beecrypt/beecrypt_4.1.2.bb)0
-rw-r--r--meta/recipes-support/boost/boost-36.inc (renamed from meta/packages/boost/boost-36.inc)0
-rw-r--r--meta/recipes-support/boost/boost-jam-native.inc (renamed from meta/packages/boost/boost-jam-native.inc)0
-rw-r--r--meta/recipes-support/boost/boost-jam-native_3.1.18.bb (renamed from meta/packages/boost/boost-jam-native_3.1.18.bb)0
-rw-r--r--meta/recipes-support/boost/boost_1.44.0.bb (renamed from meta/packages/boost/boost_1.44.0.bb)0
-rw-r--r--meta/recipes-support/boost/files/1.34.1-gcc43.patch (renamed from meta/packages/boost/files/1.34.1-gcc43.patch)0
-rw-r--r--meta/recipes-support/boost/files/arm-intrinsics.patch (renamed from meta/packages/boost/files/arm-intrinsics.patch)0
-rw-r--r--meta/recipes-support/boost/files/atomic_count_gcc_atomicity.patch (renamed from meta/packages/boost/files/atomic_count_gcc_atomicity.patch)0
-rw-r--r--meta/recipes-support/boost/files/gcc41.patch (renamed from meta/packages/boost/files/gcc41.patch)0
-rw-r--r--meta/recipes-support/boost/files/gcc43.patch (renamed from meta/packages/boost/files/gcc43.patch)0
-rw-r--r--meta/recipes-support/boost/files/linux-uclibc.patch (renamed from meta/packages/boost/files/linux-uclibc.patch)0
-rw-r--r--meta/recipes-support/boost/files/unit_test_log10f.patch (renamed from meta/packages/boost/files/unit_test_log10f.patch)0
-rw-r--r--meta/recipes-support/curl/curl/noldlibpath.patch (renamed from meta/packages/curl/curl/noldlibpath.patch)0
-rw-r--r--meta/recipes-support/curl/curl/pkgconfig_fix.patch (renamed from meta/packages/curl/curl/pkgconfig_fix.patch)0
-rw-r--r--meta/recipes-support/curl/curl_7.21.0.bb (renamed from meta/packages/curl/curl_7.21.0.bb)0
-rw-r--r--meta/recipes-support/db/db/arm-thumb-mutex.patch (renamed from meta/packages/db/db/arm-thumb-mutex.patch)0
-rw-r--r--meta/recipes-support/db/db/configure_fixes.patch (renamed from meta/packages/db/db/configure_fixes.patch)0
-rw-r--r--meta/recipes-support/db/db_4.2.52.bb (renamed from meta/packages/db/db_4.2.52.bb)0
-rw-r--r--meta/recipes-support/db/db_4.3.29.bb (renamed from meta/packages/db/db_4.3.29.bb)0
-rw-r--r--meta/recipes-support/enchant/enchant_1.6.0.bb (renamed from meta/packages/enchant/enchant_1.6.0.bb)0
-rw-r--r--meta/recipes-support/gdbm/gdbm-1.8.3/libtool-mode.patch (renamed from meta/packages/gdbm/gdbm-1.8.3/libtool-mode.patch)0
-rw-r--r--meta/recipes-support/gdbm/gdbm-1.8.3/makefile.patch (renamed from meta/packages/gdbm/gdbm-1.8.3/makefile.patch)0
-rw-r--r--meta/recipes-support/gdbm/gdbm_1.8.3.bb (renamed from meta/packages/gdbm/gdbm_1.8.3.bb)0
-rw-r--r--meta/recipes-support/gmp/gmp-4.2.1/disable-stdc.patch (renamed from meta/recipes-devtools/gmp/gmp-4.2.1/disable-stdc.patch)0
-rw-r--r--meta/recipes-support/gmp/gmp.inc (renamed from meta/recipes-devtools/gmp/gmp.inc)0
-rw-r--r--meta/recipes-support/gmp/gmp/amd64.patch (renamed from meta/recipes-devtools/gmp/gmp/amd64.patch)0
-rw-r--r--meta/recipes-support/gmp/gmp/configure.patch (renamed from meta/recipes-devtools/gmp/gmp/configure.patch)0
-rw-r--r--meta/recipes-support/gmp/gmp/sh4-asmfix.patch (renamed from meta/recipes-devtools/gmp/gmp/sh4-asmfix.patch)0
-rw-r--r--meta/recipes-support/gmp/gmp/use-includedir.patch (renamed from meta/recipes-devtools/gmp/gmp/use-includedir.patch)0
-rw-r--r--meta/recipes-support/gmp/gmp_4.2.1.bb (renamed from meta/recipes-devtools/gmp/gmp_4.2.1.bb)0
-rw-r--r--meta/recipes-support/gmp/gmp_5.0.1.bb (renamed from meta/recipes-devtools/gmp/gmp_5.0.1.bb)0
-rw-r--r--meta/recipes-support/gnutls/gnutls-2.8.6/configure-fix.patch (renamed from meta/packages/gnutls/gnutls-2.8.6/configure-fix.patch)0
-rw-r--r--meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-openssl.patch (renamed from meta/packages/gnutls/gnutls-2.8.6/gnutls-openssl.patch)0
-rw-r--r--meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-texinfo-euro.patch (renamed from meta/packages/gnutls/gnutls-2.8.6/gnutls-texinfo-euro.patch)0
-rw-r--r--meta/recipes-support/gnutls/gnutls.inc (renamed from meta/packages/gnutls/gnutls.inc)0
-rw-r--r--meta/recipes-support/gnutls/gnutls_2.8.6.bb (renamed from meta/packages/gnutls/gnutls_2.8.6.bb)0
-rw-r--r--meta/recipes-support/gnutls/libtasn1_2.7.bb (renamed from meta/packages/gnutls/libtasn1_2.7.bb)0
-rw-r--r--meta/recipes-support/gpgme/gpgme-1.3.0/disable_gpgconf_check.patch (renamed from meta/packages/gpgme/gpgme-1.3.0/disable_gpgconf_check.patch)0
-rw-r--r--meta/recipes-support/gpgme/gpgme_1.3.0.bb (renamed from meta/packages/gpgme/gpgme_1.3.0.bb)0
-rwxr-xr-xmeta/recipes-support/hal/files/20hal (renamed from meta/packages/hal/files/20hal)0
-rw-r--r--meta/recipes-support/hal/files/autoconf.diff (renamed from meta/packages/hal/files/autoconf.diff)0
-rw-r--r--meta/recipes-support/hal/files/hal-right-input-h.patch (renamed from meta/packages/hal/files/hal-right-input-h.patch)0
-rw-r--r--meta/recipes-support/hal/files/sg-inhibit.patch (renamed from meta/packages/hal/files/sg-inhibit.patch)0
-rw-r--r--meta/recipes-support/hal/hal-info.inc (renamed from meta/packages/hal/hal-info.inc)0
-rw-r--r--meta/recipes-support/hal/hal-info_20091130.bb (renamed from meta/packages/hal/hal-info_20091130.bb)0
-rw-r--r--meta/recipes-support/hal/hal-info_git.bb (renamed from meta/packages/hal/hal-info_git.bb)0
-rw-r--r--meta/recipes-support/hal/hal.inc (renamed from meta/packages/hal/hal.inc)0
-rw-r--r--meta/recipes-support/hal/hal/configure_fix.patch (renamed from meta/packages/hal/hal/configure_fix.patch)0
-rw-r--r--meta/recipes-support/hal/hal_0.5.14.bb (renamed from meta/packages/hal/hal_0.5.14.bb)0
-rw-r--r--meta/recipes-support/hal/hal_git.bb (renamed from meta/packages/hal/hal_git.bb)0
-rw-r--r--meta/recipes-support/icu/files/gccfix.patch (renamed from meta/packages/icu/files/gccfix.patch)0
-rw-r--r--meta/recipes-support/icu/files/noldlibpath.patch (renamed from meta/packages/icu/files/noldlibpath.patch)0
-rw-r--r--meta/recipes-support/icu/files/use-g++-for-linking.patch (renamed from meta/packages/icu/files/use-g++-for-linking.patch)0
-rw-r--r--meta/recipes-support/icu/icu-3.6.inc (renamed from meta/packages/icu/icu-3.6.inc)0
-rw-r--r--meta/recipes-support/icu/icu_3.6.bb (renamed from meta/packages/icu/icu_3.6.bb)0
-rw-r--r--meta/recipes-support/iso-codes/iso-codes_3.3.bb (renamed from meta/packages/iso-codes/iso-codes_3.3.bb)0
-rw-r--r--meta/recipes-support/js/files/buildcc.patch (renamed from meta/packages/js/files/buildcc.patch)0
-rw-r--r--meta/recipes-support/js/files/configure.ac (renamed from meta/packages/js/files/configure.ac)0
-rw-r--r--meta/recipes-support/js/files/jsautocfg.h (renamed from meta/packages/js/files/jsautocfg.h)0
-rw-r--r--meta/recipes-support/js/files/link_with_gcc.patch (renamed from meta/packages/js/files/link_with_gcc.patch)0
-rw-r--r--meta/recipes-support/js/files/usepic.patch (renamed from meta/packages/js/files/usepic.patch)0
-rw-r--r--meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb (renamed from meta/packages/js/js_1.7.0+1.8.0rc1.bb)0
-rw-r--r--meta/recipes-support/libassuan/libassuan_2.0.0.bb (renamed from meta/packages/libassuan/libassuan_2.0.0.bb)0
-rw-r--r--meta/recipes-support/libcap/libcap.inc (renamed from meta/packages/libcap/libcap.inc)0
-rw-r--r--meta/recipes-support/libcap/libcap_2.19.bb (renamed from meta/packages/libcap/libcap_2.19.bb)0
-rw-r--r--meta/recipes-support/libcheck/libcheck_0.9.8.bb (renamed from meta/packages/libcheck/libcheck_0.9.8.bb)0
-rw-r--r--meta/recipes-support/libcroco/files/croco.patch (renamed from meta/packages/libcroco/files/croco.patch)0
-rw-r--r--meta/recipes-support/libcroco/libcroco_0.6.2.bb (renamed from meta/packages/libcroco/libcroco_0.6.2.bb)0
-rw-r--r--meta/recipes-support/libdaemon/libdaemon_0.14.bb (renamed from meta/packages/libdaemon/libdaemon_0.14.bb)0
-rw-r--r--meta/recipes-support/libevent/libevent_1.4.14b.bb (renamed from meta/packages/libevent/libevent_1.4.14b.bb)0
-rw-r--r--meta/recipes-support/libfm/libfm_0.1.12.bb (renamed from meta/packages/libfm/libfm_0.1.12.bb)0
-rw-r--r--meta/recipes-support/libfribidi/files/libtool-update.patch (renamed from meta/packages/libfribidi/files/libtool-update.patch)0
-rw-r--r--meta/recipes-support/libfribidi/libfribidi_0.10.4.bb (renamed from meta/packages/libfribidi/libfribidi_0.10.4.bb)0
-rw-r--r--meta/recipes-support/libgcrypt/files/add-pkgconfig-support.patch (renamed from meta/packages/libgcrypt/files/add-pkgconfig-support.patch)0
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt.inc (renamed from meta/packages/libgcrypt/libgcrypt.inc)0
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt_1.4.6.bb (renamed from meta/packages/libgcrypt/libgcrypt_1.4.6.bb)0
-rw-r--r--meta/recipes-support/libgdbus/libgdbus_git.bb (renamed from meta/packages/libgdbus/libgdbus_git.bb)0
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch (renamed from meta/packages/libgpg-error/libgpg-error-1.8/pkgconfig.patch)0
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error_1.8.bb (renamed from meta/packages/libgpg-error/libgpg-error_1.8.bb)0
-rw-r--r--meta/recipes-support/libiconv/libiconv_1.9.2.bb (renamed from meta/packages/libiconv/libiconv_1.9.2.bb)0
-rw-r--r--meta/recipes-support/libmpc/libmpc.inc (renamed from meta/packages/libmpc/libmpc.inc)0
-rw-r--r--meta/recipes-support/libmpc/libmpc_0.8.2.bb (renamed from meta/packages/libmpc/libmpc_0.8.2.bb)0
-rw-r--r--meta/recipes-support/libnl/libnl/compilefix.patch (renamed from meta/packages/libnl/libnl/compilefix.patch)0
-rw-r--r--meta/recipes-support/libnl/libnl/local-includes.patch (renamed from meta/packages/libnl/libnl/local-includes.patch)0
-rw-r--r--meta/recipes-support/libnl/libnl_1.1.bb (renamed from meta/packages/libnl/libnl_1.1.bb)0
-rw-r--r--meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch (renamed from meta/packages/liboil/liboil-0.3.17/no-tests.patch)0
-rw-r--r--meta/recipes-support/liboil/liboil_0.3.17.bb (renamed from meta/packages/liboil/liboil_0.3.17.bb)0
-rw-r--r--meta/recipes-support/libpcre/files/pcre-cross.patch (renamed from meta/packages/libpcre/files/pcre-cross.patch)0
-rw-r--r--meta/recipes-support/libpcre/libpcre_8.10.bb (renamed from meta/packages/libpcre/libpcre_8.10.bb)0
-rw-r--r--meta/recipes-support/libproxy/libproxy_0.4.3.bb (renamed from meta/packages/libproxy/libproxy_0.4.3.bb)0
-rw-r--r--meta/recipes-support/libsoup/libsoup-2.4_2.31.2.bb (renamed from meta/packages/libsoup/libsoup-2.4_2.31.2.bb)0
-rw-r--r--meta/recipes-support/libsoup/libsoup-2.4_2.4.1.bb (renamed from meta/packages/libsoup/libsoup-2.4_2.4.1.bb)0
-rw-r--r--meta/recipes-support/libsoup/libsoup_2.2.100.bb (renamed from meta/packages/libsoup/libsoup_2.2.100.bb)0
-rw-r--r--meta/recipes-support/liburcu/liburcu_0.4.6.bb (renamed from meta/packages/liburcu/liburcu_0.4.6.bb)0
-rw-r--r--meta/recipes-support/libusb/libusb-compat-0.1.3/0.1.0-beta1-gcc3.4-fix.patch (renamed from meta/packages/libusb/libusb-compat-0.1.3/0.1.0-beta1-gcc3.4-fix.patch)0
-rw-r--r--meta/recipes-support/libusb/libusb-compat_0.1.3.bb (renamed from meta/packages/libusb/libusb-compat_0.1.3.bb)0
-rw-r--r--meta/recipes-support/libusb/libusb1_1.0.8.bb (renamed from meta/packages/libusb/libusb1_1.0.8.bb)0
-rw-r--r--meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch (renamed from meta/packages/libxslt/libxslt/pkgconfig_fix.patch)0
-rw-r--r--meta/recipes-support/libxslt/libxslt_1.1.26.bb (renamed from meta/packages/libxslt/libxslt_1.1.26.bb)0
-rw-r--r--meta/recipes-support/lzo/lzo-2.03/acinclude.m4 (renamed from meta/packages/lzo/lzo-2.03/acinclude.m4)0
-rw-r--r--meta/recipes-support/lzo/lzo-2.03/autofoo.patch (renamed from meta/packages/lzo/lzo-2.03/autofoo.patch)0
-rw-r--r--meta/recipes-support/lzo/lzo_2.03.bb (renamed from meta/packages/lzo/lzo_2.03.bb)0
-rw-r--r--meta/recipes-support/mpfr/mpfr.inc (renamed from meta/recipes-devtools/mpfr/mpfr.inc)0
-rw-r--r--meta/recipes-support/mpfr/mpfr_3.0.0.bb (renamed from meta/recipes-devtools/mpfr/mpfr_3.0.0.bb)0
-rw-r--r--meta/recipes-support/neon/neon-0.29.3/pkgconfig.patch (renamed from meta/packages/neon/neon-0.29.3/pkgconfig.patch)0
-rw-r--r--meta/recipes-support/neon/neon_0.29.3.bb (renamed from meta/packages/neon/neon_0.29.3.bb)0
-rw-r--r--meta/recipes-support/ohm/ohm/fix_configure.patch (renamed from meta/packages/ohm/ohm/fix_configure.patch)0
-rw-r--r--meta/recipes-support/ohm/ohm_git.bb (renamed from meta/packages/ohm/ohm_git.bb)0
-rw-r--r--meta/recipes-support/openobex/files/disable-cable-test.patch (renamed from meta/packages/openobex/files/disable-cable-test.patch)0
-rw-r--r--meta/recipes-support/openobex/files/libusb_crosscompile_check.patch (renamed from meta/packages/openobex/files/libusb_crosscompile_check.patch)0
-rw-r--r--meta/recipes-support/openobex/openobex_1.5.bb (renamed from meta/packages/openobex/openobex_1.5.bb)0
-rw-r--r--meta/recipes-support/popt/popt_1.16.bb (renamed from meta/packages/popt/popt_1.16.bb)0
-rw-r--r--meta/recipes-support/pth/pth_2.0.7.bb (renamed from meta/packages/pth/pth_2.0.7.bb)0
-rw-r--r--meta/recipes-support/shared-mime-info/shared-mime-info.inc (renamed from meta/packages/shared-mime-info/shared-mime-info.inc)0
-rw-r--r--meta/recipes-support/shared-mime-info/shared-mime-info_0.71.bb (renamed from meta/packages/shared-mime-info/shared-mime-info_0.71.bb)0
-rw-r--r--meta/recipes-support/sqlite/sqlite3.inc (renamed from meta/packages/sqlite/sqlite3.inc)0
-rw-r--r--meta/recipes-support/sqlite/sqlite3/libtool.patch (renamed from meta/packages/sqlite/sqlite3/libtool.patch)0
-rw-r--r--meta/recipes-support/sqlite/sqlite3_3.6.23.1.bb (renamed from meta/packages/sqlite/sqlite3_3.6.23.1.bb)0
-rw-r--r--meta/recipes-support/vte/vte.inc (renamed from meta/packages/vte/vte.inc)0
-rw-r--r--meta/recipes-support/vte/vte_0.24.3.bb (renamed from meta/packages/vte/vte_0.24.3.bb)0
-rw-r--r--meta/recipes-tbd/poppler/poppler-data_0.1.bb (renamed from meta/packages/poppler/poppler-data_0.1.bb)0
-rw-r--r--meta/recipes-tbd/poppler/poppler-fpu.inc (renamed from meta/packages/poppler/poppler-fpu.inc)0
-rw-r--r--meta/recipes-tbd/poppler/poppler.inc (renamed from meta/packages/poppler/poppler.inc)0
-rw-r--r--meta/recipes-tbd/poppler/poppler_0.9.2.bb (renamed from meta/packages/poppler/poppler_0.9.2.bb)0
-rw-r--r--meta/recipes-tbd/xournal/files/ldflags.patch (renamed from meta/packages/xournal/files/ldflags.patch)0
-rw-r--r--meta/recipes-tbd/xournal/files/no-printing.diff (renamed from meta/packages/xournal/files/no-printing.diff)0
-rw-r--r--meta/recipes-tbd/xournal/xournal_0.2.bb (renamed from meta/packages/xournal/xournal_0.2.bb)0
569 files changed, 0 insertions, 5161 deletions
diff --git a/meta/packages/libidl/libidl_0.8.12.bb b/meta/packages/libidl/libidl_0.8.12.bb
deleted file mode 100644
index 9cc9ea2..0000000
--- a/meta/packages/libidl/libidl_0.8.12.bb
+++ /dev/null
@@ -1,16 +0,0 @@
1LICENSE = "LGPL"
2DESCRIPTION = "Library for parsing CORBA IDL files"
3SECTION = "gnome/libs"
4DEPENDS = "glib-2.0 flex"
5PR = "r4"
6
7SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-${PV}.tar.bz2"
8S = "${WORKDIR}/libIDL-${PV}"
9
10BINCONFIG_GLOB = "*-config-2"
11inherit autotools pkgconfig binconfig
12
13FILES_${PN} = "${libdir}/*.so.*"
14FILES_${PN}-dev += " ${bindir}"
15
16BBCLASSEXTEND = "native"
diff --git a/meta/packages/librds/librds_0.0.1.bb b/meta/packages/librds/librds_0.0.1.bb
deleted file mode 100644
index 3c99ec1..0000000
--- a/meta/packages/librds/librds_0.0.1.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1DESCRIPTION = "A software library for accessing RDS data"
2HOMEPAGE = "http://rdsd.berlios.de/"
3SECTION = "libs"
4PROVIDES = "librds"
5LICENSE = "GPLv2"
6
7PR = "r1"
8
9SRC_URI = "http://download.berlios.de/rdsd/librds-${PV}.tar.gz"
10
11inherit autotools pkgconfig
diff --git a/meta/packages/mozilla-headless/mozilla-headless-services/confighack.patch b/meta/packages/mozilla-headless/mozilla-headless-services/confighack.patch
deleted file mode 100644
index dcfe11e..0000000
--- a/meta/packages/mozilla-headless/mozilla-headless-services/confighack.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1Index: places-glib/configure.ac
2===================================================================
3--- places-glib.orig/configure.ac 2009-04-17 10:29:15.000000000 +0100
4+++ places-glib/configure.ac 2009-04-17 10:29:44.000000000 +0100
5@@ -99,6 +99,8 @@
6 PKG_CHECK_MODULES(GLIB, [glib-2.0])
7 PKG_CHECK_MODULES(DBUS, [dbus-glib-1])
8
9+XUL_LIBS="$XUL_LIBS -lmozjs"
10+
11 MOZHOME=`${PKG_CONFIG} --variable=prefix mozilla-headless`"/lib/xulrunner-"`${PKG_CONFIG} --modversion mozilla-headless`
12 AC_SUBST([MOZHOME])
13
diff --git a/meta/packages/mozilla-headless/mozilla-headless-services_git.bb b/meta/packages/mozilla-headless/mozilla-headless-services_git.bb
deleted file mode 100644
index 14d64fa..0000000
--- a/meta/packages/mozilla-headless/mozilla-headless-services_git.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1SRC_URI = "git://git.moblin.org/mozilla-headless-services.git;protocol=git \
2 file://confighack.patch;patch=1"
3PV = "0.1+git${SRCPV}"
4PR = "r1"
5
6DEPENDS = "glib-2.0 dbus mozilla-headless json-glib"
7
8EXTRA_OECONF = "--enable-gnome-proxy"
9
10S = "${WORKDIR}/git"
11
12FILES_${PN} += "${datadir}/dbus-1/services"
13
14inherit autotools
diff --git a/meta/packages/mozilla-headless/mozilla-headless/0001-Adds-initial-Gtk-clipboard-support-to-moz-headless.patch b/meta/packages/mozilla-headless/mozilla-headless/0001-Adds-initial-Gtk-clipboard-support-to-moz-headless.patch
deleted file mode 100644
index db9e147..0000000
--- a/meta/packages/mozilla-headless/mozilla-headless/0001-Adds-initial-Gtk-clipboard-support-to-moz-headless.patch
+++ /dev/null
@@ -1,1478 +0,0 @@
1From fb41f028badb4dfddfc47fb2a1a68c1aa90dcef5 Mon Sep 17 00:00:00 2001
2From: Robert Bragg <robert@linux.intel.com>
3Date: Fri, 8 May 2009 13:57:22 +0100
4Subject: [PATCH] Adds initial Gtk clipboard support to moz-headless
5
6If build with MOZ_X11 enabled then this now builds the clipboard code taken
7from the gtk2 backend. This doesn't provide any embedding API yet to expose
8the clipboard.
9---
10 widget/src/headless/Makefile.in | 6 +
11 widget/src/headless/nsClipboard.cpp | 948 +++++++++++++++++++++++++++++++
12 widget/src/headless/nsClipboard.h | 93 +++
13 widget/src/headless/nsIImageToPixbuf.h | 62 ++
14 widget/src/headless/nsImageToPixbuf.cpp | 196 +++++++
15 widget/src/headless/nsImageToPixbuf.h | 71 +++
16 widget/src/headless/nsWidgetFactory.cpp | 18 +
17 7 files changed, 1394 insertions(+), 0 deletions(-)
18 create mode 100644 widget/src/headless/nsClipboard.cpp
19 create mode 100644 widget/src/headless/nsClipboard.h
20 create mode 100644 widget/src/headless/nsIImageToPixbuf.h
21 create mode 100644 widget/src/headless/nsImageToPixbuf.cpp
22 create mode 100644 widget/src/headless/nsImageToPixbuf.h
23
24Index: offscreen/widget/src/headless/Makefile.in
25===================================================================
26--- offscreen.orig/widget/src/headless/Makefile.in 2009-05-16 18:23:25.000000000 +0100
27+++ offscreen/widget/src/headless/Makefile.in 2009-06-12 14:14:05.000000000 +0100
28@@ -95,6 +95,12 @@
29 nsScreenManagerHeadless.cpp \
30 $(NULL)
31
32+ifdef MOZ_X11
33+CPPSRCS += nsClipboard.cpp \
34+ nsImageToPixbuf.cpp \
35+ $(NULL)
36+endif
37+
38 # build our subdirs, too
39 SHARED_LIBRARY_LIBS = ../xpwidgets/libxpwidgets_s.a
40
41Index: offscreen/widget/src/headless/nsClipboard.cpp
42===================================================================
43--- /dev/null 1970-01-01 00:00:00.000000000 +0000
44+++ offscreen/widget/src/headless/nsClipboard.cpp 2009-06-12 14:14:05.000000000 +0100
45@@ -0,0 +1,948 @@
46+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
47+/* vim:expandtab:shiftwidth=4:tabstop=4:
48+ */
49+/* ***** BEGIN LICENSE BLOCK *****
50+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
51+ *
52+ * The contents of this file are subject to the Mozilla Public License Version
53+ * 1.1 (the "License"); you may not use this file except in compliance with
54+ * the License. You may obtain a copy of the License at
55+ * http://www.mozilla.org/MPL/
56+ *
57+ * Software distributed under the License is distributed on an "AS IS" basis,
58+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
59+ * for the specific language governing rights and limitations under the
60+ * License.
61+ *
62+ * The Original Code is mozilla.org code.
63+ *
64+ * The Initial Developer of the Original Code is Christopher Blizzard
65+ * <blizzard@mozilla.org>. Portions created by the Initial Developer
66+ * are Copyright (C) 2001 the Initial Developer. All Rights Reserved.
67+ *
68+ * Contributor(s):
69+ *
70+ * Alternatively, the contents of this file may be used under the terms of
71+ * either the GNU General Public License Version 2 or later (the "GPL"), or
72+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
73+ * in which case the provisions of the GPL or the LGPL are applicable instead
74+ * of those above. If you wish to allow use of your version of this file only
75+ * under the terms of either the GPL or the LGPL, and not to allow others to
76+ * use your version of this file under the terms of the MPL, indicate your
77+ * decision by deleting the provisions above and replace them with the notice
78+ * and other provisions required by the GPL or the LGPL. If you do not delete
79+ * the provisions above, a recipient may use your version of this file under
80+ * the terms of any one of the MPL, the GPL or the LGPL.
81+ *
82+ * ***** END LICENSE BLOCK ***** */
83+
84+#include "nsClipboard.h"
85+#include "nsSupportsPrimitives.h"
86+#include "nsString.h"
87+#include "nsReadableUtils.h"
88+#include "nsXPIDLString.h"
89+#include "nsPrimitiveHelpers.h"
90+#include "nsICharsetConverterManager.h"
91+#include "nsIServiceManager.h"
92+#include "nsIImage.h"
93+#include "nsImageToPixbuf.h"
94+#include "nsStringStream.h"
95+
96+#include <gtk/gtk.h>
97+
98+// For manipulation of the X event queue
99+#include <X11/Xlib.h>
100+#include <gdk/gdkx.h>
101+#include <sys/time.h>
102+#include <sys/types.h>
103+#include <unistd.h>
104+
105+#ifdef POLL_WITH_XCONNECTIONNUMBER
106+#include <poll.h>
107+#endif
108+
109+// Callback when someone asks us for the selection
110+void
111+invisible_selection_get_cb (GtkWidget *aWidget,
112+ GtkSelectionData *aSelectionData,
113+ guint aTime,
114+ guint aInfo,
115+ nsClipboard *aClipboard);
116+
117+gboolean
118+selection_clear_event_cb (GtkWidget *aWidget,
119+ GdkEventSelection *aEvent,
120+ nsClipboard *aClipboard);
121+
122+static void
123+ConvertHTMLtoUCS2 (guchar *data,
124+ PRInt32 dataLength,
125+ PRUnichar **unicodeData,
126+ PRInt32 &outUnicodeLen);
127+
128+static void
129+GetHTMLCharset (guchar * data, PRInt32 dataLength, nsCString& str);
130+
131+
132+// Our own versions of gtk_clipboard_wait_for_contents and
133+// gtk_clipboard_wait_for_text, which don't run the event loop while
134+// waiting for the data. This prevents a lot of problems related to
135+// dispatching events at unexpected times.
136+
137+static GtkSelectionData *
138+wait_for_contents (GtkClipboard *clipboard, GdkAtom target);
139+
140+static gchar *
141+wait_for_text (GtkClipboard *clipboard);
142+
143+static Bool
144+checkEventProc(Display *display, XEvent *event, XPointer arg);
145+
146+struct retrieval_context
147+{
148+ PRBool completed;
149+ void *data;
150+
151+ retrieval_context() : completed(PR_FALSE), data(nsnull) { }
152+};
153+
154+static void
155+wait_for_retrieval(GtkClipboard *clipboard, retrieval_context *transferData);
156+
157+static void
158+clipboard_contents_received(GtkClipboard *clipboard,
159+ GtkSelectionData *selection_data,
160+ gpointer data);
161+
162+static void
163+clipboard_text_received(GtkClipboard *clipboard,
164+ const gchar *text,
165+ gpointer data);
166+
167+nsClipboard::nsClipboard()
168+{
169+ mWidget = nsnull;
170+}
171+
172+nsClipboard::~nsClipboard()
173+{
174+ if (mWidget)
175+ gtk_widget_destroy(mWidget);
176+}
177+
178+NS_IMPL_ISUPPORTS1(nsClipboard, nsIClipboard)
179+
180+nsresult
181+nsClipboard::Init(void)
182+{
183+ mWidget = gtk_invisible_new();
184+ if (!mWidget)
185+ return NS_ERROR_FAILURE;
186+
187+ g_signal_connect(G_OBJECT(mWidget), "selection_get",
188+ G_CALLBACK(invisible_selection_get_cb), this);
189+
190+ g_signal_connect(G_OBJECT(mWidget), "selection_clear_event",
191+ G_CALLBACK(selection_clear_event_cb), this);
192+
193+ // XXX make sure to set up the selection_clear event
194+
195+ return NS_OK;
196+}
197+
198+NS_IMETHODIMP
199+nsClipboard::SetData(nsITransferable *aTransferable,
200+ nsIClipboardOwner *aOwner, PRInt32 aWhichClipboard)
201+{
202+ // See if we can short cut
203+ if ((aWhichClipboard == kGlobalClipboard &&
204+ aTransferable == mGlobalTransferable.get() &&
205+ aOwner == mGlobalOwner.get()) ||
206+ (aWhichClipboard == kSelectionClipboard &&
207+ aTransferable == mSelectionTransferable.get() &&
208+ aOwner == mSelectionOwner.get())) {
209+ return NS_OK;
210+ }
211+
212+ nsresult rv;
213+ if (!mPrivacyHandler) {
214+ rv = NS_NewClipboardPrivacyHandler(getter_AddRefs(mPrivacyHandler));
215+ NS_ENSURE_SUCCESS(rv, rv);
216+ }
217+ rv = mPrivacyHandler->PrepareDataForClipboard(aTransferable);
218+ NS_ENSURE_SUCCESS(rv, rv);
219+
220+ // Clear out the clipboard in order to set the new data
221+ EmptyClipboard(aWhichClipboard);
222+
223+ if (aWhichClipboard == kSelectionClipboard) {
224+ mSelectionOwner = aOwner;
225+ mSelectionTransferable = aTransferable;
226+ }
227+ else {
228+ mGlobalOwner = aOwner;
229+ mGlobalTransferable = aTransferable;
230+ }
231+
232+ // Which selection are we about to claim, CLIPBOARD or PRIMARY?
233+ GdkAtom selectionAtom = GetSelectionAtom(aWhichClipboard);
234+
235+ // Make ourselves the owner. If we fail to, return.
236+ if (!gtk_selection_owner_set(mWidget, selectionAtom, GDK_CURRENT_TIME))
237+ return NS_ERROR_FAILURE;
238+
239+ // Clear the old selection target list.
240+ gtk_selection_clear_targets(mWidget, selectionAtom);
241+
242+ // Get the types of supported flavors
243+ nsCOMPtr<nsISupportsArray> flavors;
244+
245+ rv = aTransferable->FlavorsTransferableCanExport(getter_AddRefs(flavors));
246+ if (!flavors || NS_FAILED(rv))
247+ return NS_ERROR_FAILURE;
248+
249+ // Add all the flavors to this widget's supported type.
250+ PRUint32 count;
251+ flavors->Count(&count);
252+ for (PRUint32 i=0; i < count; i++) {
253+ nsCOMPtr<nsISupports> tastesLike;
254+ flavors->GetElementAt(i, getter_AddRefs(tastesLike));
255+ nsCOMPtr<nsISupportsCString> flavor = do_QueryInterface(tastesLike);
256+
257+ if (flavor) {
258+ nsXPIDLCString flavorStr;
259+ flavor->ToString(getter_Copies(flavorStr));
260+
261+ // special case text/unicode since we can handle all of
262+ // the string types
263+ if (!strcmp(flavorStr, kUnicodeMime)) {
264+ AddTarget(gdk_atom_intern("UTF8_STRING", FALSE),
265+ selectionAtom);
266+ AddTarget(gdk_atom_intern("COMPOUND_TEXT", FALSE),
267+ selectionAtom);
268+ AddTarget(gdk_atom_intern("TEXT", FALSE), selectionAtom);
269+ AddTarget(GDK_SELECTION_TYPE_STRING, selectionAtom);
270+ // next loop iteration
271+ continue;
272+ }
273+
274+ // very special case for this one. since our selection mechanism doesn't work for images,
275+ // we must use GTK's clipboard utility functions
276+ if (!strcmp(flavorStr, kNativeImageMime) || !strcmp(flavorStr, kPNGImageMime) ||
277+ !strcmp(flavorStr, kJPEGImageMime) || !strcmp(flavorStr, kGIFImageMime)) {
278+ nsCOMPtr<nsISupports> item;
279+ PRUint32 len;
280+ rv = aTransferable->GetTransferData(flavorStr, getter_AddRefs(item), &len);
281+ nsCOMPtr<nsISupportsInterfacePointer> ptrPrimitive(do_QueryInterface(item));
282+ if (!ptrPrimitive)
283+ continue;
284+
285+ nsCOMPtr<nsISupports> primitiveData;
286+ ptrPrimitive->GetData(getter_AddRefs(primitiveData));
287+ nsCOMPtr<nsIImage> image(do_QueryInterface(primitiveData));
288+ if (!image) // Not getting an image for an image mime type!?
289+ continue;
290+
291+ if (NS_FAILED(image->LockImagePixels(PR_FALSE)))
292+ continue;
293+ GdkPixbuf* pixbuf = nsImageToPixbuf::ImageToPixbuf(image);
294+ if (!pixbuf) {
295+ image->UnlockImagePixels(PR_FALSE);
296+ continue;
297+ }
298+
299+ GtkClipboard *aClipboard = gtk_clipboard_get(GetSelectionAtom(aWhichClipboard));
300+ gtk_clipboard_set_image(aClipboard, pixbuf);
301+ g_object_unref(pixbuf);
302+ image->UnlockImagePixels(PR_FALSE);
303+ continue;
304+ }
305+
306+ // Add this to our list of valid targets
307+ GdkAtom atom = gdk_atom_intern(flavorStr, FALSE);
308+ AddTarget(atom, selectionAtom);
309+ }
310+ }
311+
312+ return NS_OK;
313+}
314+
315+NS_IMETHODIMP
316+nsClipboard::GetData(nsITransferable *aTransferable, PRInt32 aWhichClipboard)
317+{
318+ if (!aTransferable)
319+ return NS_ERROR_FAILURE;
320+
321+ GtkClipboard *clipboard;
322+ clipboard = gtk_clipboard_get(GetSelectionAtom(aWhichClipboard));
323+
324+ guchar *data = NULL;
325+ gint length = 0;
326+ PRBool foundData = PR_FALSE;
327+ nsCAutoString foundFlavor;
328+
329+ // Get a list of flavors this transferable can import
330+ nsCOMPtr<nsISupportsArray> flavors;
331+ nsresult rv;
332+ rv = aTransferable->FlavorsTransferableCanImport(getter_AddRefs(flavors));
333+ if (!flavors || NS_FAILED(rv))
334+ return NS_ERROR_FAILURE;
335+
336+ PRUint32 count;
337+ flavors->Count(&count);
338+ for (PRUint32 i=0; i < count; i++) {
339+ nsCOMPtr<nsISupports> genericFlavor;
340+ flavors->GetElementAt(i, getter_AddRefs(genericFlavor));
341+
342+ nsCOMPtr<nsISupportsCString> currentFlavor;
343+ currentFlavor = do_QueryInterface(genericFlavor);
344+
345+ if (currentFlavor) {
346+ nsXPIDLCString flavorStr;
347+ currentFlavor->ToString(getter_Copies(flavorStr));
348+
349+ // Special case text/unicode since we can convert any
350+ // string into text/unicode
351+ if (!strcmp(flavorStr, kUnicodeMime)) {
352+ gchar* new_text = wait_for_text(clipboard);
353+ if (new_text) {
354+ // Convert utf-8 into our unicode format.
355+ NS_ConvertUTF8toUTF16 ucs2string(new_text);
356+ data = (guchar *)ToNewUnicode(ucs2string);
357+ length = ucs2string.Length() * 2;
358+ g_free(new_text);
359+ foundData = PR_TRUE;
360+ foundFlavor = kUnicodeMime;
361+ break;
362+ }
363+ // If the type was text/unicode and we couldn't get
364+ // text off the clipboard, run the next loop
365+ // iteration.
366+ continue;
367+ }
368+
369+ // For images, we must wrap the data in an nsIInputStream then return instead of break,
370+ // because that code below won't help us.
371+ if (!strcmp(flavorStr, kJPEGImageMime) || !strcmp(flavorStr, kPNGImageMime) || !strcmp(flavorStr, kGIFImageMime)) {
372+ GdkAtom atom;
373+ if (!strcmp(flavorStr, kJPEGImageMime)) // This is image/jpg, but X only understands image/jpeg
374+ atom = gdk_atom_intern("image/jpeg", FALSE);
375+ else
376+ atom = gdk_atom_intern(flavorStr, FALSE);
377+
378+ GtkSelectionData *selectionData = wait_for_contents(clipboard, atom);
379+ if (!selectionData)
380+ continue;
381+
382+ nsCOMPtr<nsIInputStream> byteStream;
383+ NS_NewByteInputStream(getter_AddRefs(byteStream), (const char*)selectionData->data,
384+ selectionData->length, NS_ASSIGNMENT_COPY);
385+ aTransferable->SetTransferData(flavorStr, byteStream, sizeof(nsIInputStream*));
386+ gtk_selection_data_free(selectionData);
387+ return NS_OK;
388+ }
389+
390+ // Get the atom for this type and try to request it off
391+ // the clipboard.
392+ GdkAtom atom = gdk_atom_intern(flavorStr, FALSE);
393+ GtkSelectionData *selectionData;
394+ selectionData = wait_for_contents(clipboard, atom);
395+ if (selectionData) {
396+ length = selectionData->length;
397+ // Special case text/html since we can convert into UCS2
398+ if (!strcmp(flavorStr, kHTMLMime)) {
399+ PRUnichar* htmlBody= nsnull;
400+ PRInt32 htmlBodyLen = 0;
401+ // Convert text/html into our unicode format
402+ ConvertHTMLtoUCS2((guchar *)selectionData->data, length,
403+ &htmlBody, htmlBodyLen);
404+ if (!htmlBodyLen)
405+ break;
406+ data = (guchar *)htmlBody;
407+ length = htmlBodyLen * 2;
408+ } else {
409+ data = (guchar *)nsMemory::Alloc(length);
410+ if (!data)
411+ break;
412+ memcpy(data, selectionData->data, length);
413+ }
414+ foundData = PR_TRUE;
415+ foundFlavor = flavorStr;
416+ break;
417+ }
418+ }
419+ }
420+
421+ if (foundData) {
422+ nsCOMPtr<nsISupports> wrapper;
423+ nsPrimitiveHelpers::CreatePrimitiveForData(foundFlavor.get(),
424+ data, length,
425+ getter_AddRefs(wrapper));
426+ aTransferable->SetTransferData(foundFlavor.get(),
427+ wrapper, length);
428+ }
429+
430+ if (data)
431+ nsMemory::Free(data);
432+
433+ return NS_OK;
434+}
435+
436+NS_IMETHODIMP
437+nsClipboard::EmptyClipboard(PRInt32 aWhichClipboard)
438+{
439+ if (aWhichClipboard == kSelectionClipboard) {
440+ if (mSelectionOwner) {
441+ mSelectionOwner->LosingOwnership(mSelectionTransferable);
442+ mSelectionOwner = nsnull;
443+ }
444+ mSelectionTransferable = nsnull;
445+ }
446+ else {
447+ if (mGlobalOwner) {
448+ mGlobalOwner->LosingOwnership(mGlobalTransferable);
449+ mGlobalOwner = nsnull;
450+ }
451+ mGlobalTransferable = nsnull;
452+ }
453+
454+ return NS_OK;
455+}
456+
457+NS_IMETHODIMP
458+nsClipboard::HasDataMatchingFlavors(const char** aFlavorList, PRUint32 aLength,
459+ PRInt32 aWhichClipboard, PRBool *_retval)
460+{
461+ if (!aFlavorList || !_retval)
462+ return NS_ERROR_NULL_POINTER;
463+
464+ *_retval = PR_FALSE;
465+
466+ GtkSelectionData *selection_data =
467+ GetTargets(GetSelectionAtom(aWhichClipboard));
468+ if (!selection_data)
469+ return NS_OK;
470+
471+ gint n_targets = 0;
472+ GdkAtom *targets = NULL;
473+
474+ if (!gtk_selection_data_get_targets(selection_data,
475+ &targets, &n_targets) ||
476+ !n_targets)
477+ return NS_OK;
478+
479+ // Walk through the provided types and try to match it to a
480+ // provided type.
481+ for (PRUint32 i = 0; i < aLength && !*_retval; i++) {
482+ // We special case text/unicode here.
483+ if (!strcmp(aFlavorList[i], kUnicodeMime) &&
484+ gtk_selection_data_targets_include_text(selection_data)) {
485+ *_retval = PR_TRUE;
486+ break;
487+ }
488+
489+ for (PRInt32 j = 0; j < n_targets; j++) {
490+ gchar *atom_name = gdk_atom_name(targets[j]);
491+ if (!strcmp(atom_name, aFlavorList[i]))
492+ *_retval = PR_TRUE;
493+
494+ // X clipboard wants image/jpeg, not image/jpg
495+ if (!strcmp(aFlavorList[i], kJPEGImageMime) && !strcmp(atom_name, "image/jpeg"))
496+ *_retval = PR_TRUE;
497+
498+ g_free(atom_name);
499+
500+ if (*_retval)
501+ break;
502+ }
503+ }
504+ gtk_selection_data_free(selection_data);
505+ g_free(targets);
506+
507+ return NS_OK;
508+}
509+
510+NS_IMETHODIMP
511+nsClipboard::SupportsSelectionClipboard(PRBool *_retval)
512+{
513+ *_retval = PR_TRUE; // yeah, unix supports the selection clipboard
514+ return NS_OK;
515+}
516+
517+/* static */
518+GdkAtom
519+nsClipboard::GetSelectionAtom(PRInt32 aWhichClipboard)
520+{
521+ if (aWhichClipboard == kGlobalClipboard)
522+ return GDK_SELECTION_CLIPBOARD;
523+
524+ return GDK_SELECTION_PRIMARY;
525+}
526+
527+/* static */
528+GtkSelectionData *
529+nsClipboard::GetTargets(GdkAtom aWhichClipboard)
530+{
531+ GtkClipboard *clipboard = gtk_clipboard_get(aWhichClipboard);
532+ return wait_for_contents(clipboard, gdk_atom_intern("TARGETS", FALSE));
533+}
534+
535+nsITransferable *
536+nsClipboard::GetTransferable(PRInt32 aWhichClipboard)
537+{
538+ nsITransferable *retval;
539+
540+ if (aWhichClipboard == kSelectionClipboard)
541+ retval = mSelectionTransferable.get();
542+ else
543+ retval = mGlobalTransferable.get();
544+
545+ return retval;
546+}
547+
548+void
549+nsClipboard::AddTarget(GdkAtom aName, GdkAtom aClipboard)
550+{
551+ gtk_selection_add_target(mWidget, aClipboard, aName, 0);
552+}
553+
554+void
555+nsClipboard::SelectionGetEvent (GtkWidget *aWidget,
556+ GtkSelectionData *aSelectionData,
557+ guint aTime)
558+{
559+ // Someone has asked us to hand them something. The first thing
560+ // that we want to do is see if that something includes text. If
561+ // it does, try to give it text/unicode after converting it to
562+ // utf-8.
563+
564+ PRInt32 whichClipboard;
565+
566+ // which clipboard?
567+ if (aSelectionData->selection == GDK_SELECTION_PRIMARY)
568+ whichClipboard = kSelectionClipboard;
569+ else if (aSelectionData->selection == GDK_SELECTION_CLIPBOARD)
570+ whichClipboard = kGlobalClipboard;
571+ else
572+ return; // THAT AIN'T NO CLIPBOARD I EVER HEARD OF
573+
574+ nsCOMPtr<nsITransferable> trans = GetTransferable(whichClipboard);
575+
576+ nsresult rv;
577+ nsCOMPtr<nsISupports> item;
578+ PRUint32 len;
579+
580+ // Check to see if the selection data includes any of the string
581+ // types that we support.
582+ if (aSelectionData->target == gdk_atom_intern ("STRING", FALSE) ||
583+ aSelectionData->target == gdk_atom_intern ("TEXT", FALSE) ||
584+ aSelectionData->target == gdk_atom_intern ("COMPOUND_TEXT", FALSE) ||
585+ aSelectionData->target == gdk_atom_intern ("UTF8_STRING", FALSE)) {
586+ // Try to convert our internal type into a text string. Get
587+ // the transferable for this clipboard and try to get the
588+ // text/unicode type for it.
589+ rv = trans->GetTransferData("text/unicode", getter_AddRefs(item),
590+ &len);
591+ if (!item || NS_FAILED(rv))
592+ return;
593+
594+ nsCOMPtr<nsISupportsString> wideString;
595+ wideString = do_QueryInterface(item);
596+ if (!wideString)
597+ return;
598+
599+ nsAutoString ucs2string;
600+ wideString->GetData(ucs2string);
601+ char *utf8string = ToNewUTF8String(ucs2string);
602+ if (!utf8string)
603+ return;
604+
605+ gtk_selection_data_set_text (aSelectionData, utf8string,
606+ strlen(utf8string));
607+
608+ nsMemory::Free(utf8string);
609+ return;
610+ }
611+
612+ // Try to match up the selection data target to something our
613+ // transferable provides.
614+ gchar *target_name = gdk_atom_name(aSelectionData->target);
615+ if (!target_name)
616+ return;
617+
618+ rv = trans->GetTransferData(target_name, getter_AddRefs(item), &len);
619+ // nothing found?
620+ if (!item || NS_FAILED(rv)) {
621+ g_free(target_name);
622+ return;
623+ }
624+
625+ void *primitive_data = nsnull;
626+ nsPrimitiveHelpers::CreateDataFromPrimitive(target_name, item,
627+ &primitive_data, len);
628+
629+ if (primitive_data) {
630+ // Check to see if the selection data is text/html
631+ if (aSelectionData->target == gdk_atom_intern (kHTMLMime, FALSE)) {
632+ /*
633+ * "text/html" can be encoded UCS2. It is recommended that
634+ * documents transmitted as UCS2 always begin with a ZERO-WIDTH
635+ * NON-BREAKING SPACE character (hexadecimal FEFF, also called
636+ * Byte Order Mark (BOM)). Adding BOM can help other app to
637+ * detect mozilla use UCS2 encoding when copy-paste.
638+ */
639+ guchar *buffer = (guchar *)
640+ nsMemory::Alloc((len * sizeof(guchar)) + sizeof(PRUnichar));
641+ if (!buffer)
642+ return;
643+ PRUnichar prefix = 0xFEFF;
644+ memcpy(buffer, &prefix, sizeof(prefix));
645+ memcpy(buffer + sizeof(prefix), primitive_data, len);
646+ nsMemory::Free((guchar *)primitive_data);
647+ primitive_data = (guchar *)buffer;
648+ len += sizeof(prefix);
649+ }
650+
651+ gtk_selection_data_set(aSelectionData, aSelectionData->target,
652+ 8, /* 8 bits in a unit */
653+ (const guchar *)primitive_data, len);
654+ nsMemory::Free(primitive_data);
655+ }
656+
657+ g_free(target_name);
658+
659+}
660+
661+void
662+nsClipboard::SelectionClearEvent (GtkWidget *aWidget,
663+ GdkEventSelection *aEvent)
664+{
665+ PRInt32 whichClipboard;
666+
667+ // which clipboard?
668+ if (aEvent->selection == GDK_SELECTION_PRIMARY)
669+ whichClipboard = kSelectionClipboard;
670+ else if (aEvent->selection == GDK_SELECTION_CLIPBOARD)
671+ whichClipboard = kGlobalClipboard;
672+ else
673+ return; // THAT AIN'T NO CLIPBOARD I EVER HEARD OF
674+
675+ EmptyClipboard(whichClipboard);
676+}
677+
678+void
679+invisible_selection_get_cb (GtkWidget *aWidget,
680+ GtkSelectionData *aSelectionData,
681+ guint aTime,
682+ guint aInfo,
683+ nsClipboard *aClipboard)
684+{
685+ aClipboard->SelectionGetEvent(aWidget, aSelectionData, aTime);
686+}
687+
688+gboolean
689+selection_clear_event_cb (GtkWidget *aWidget,
690+ GdkEventSelection *aEvent,
691+ nsClipboard *aClipboard)
692+{
693+ aClipboard->SelectionClearEvent(aWidget, aEvent);
694+ return TRUE;
695+}
696+
697+/*
698+ * when copy-paste, mozilla wants data encoded using UCS2,
699+ * other app such as StarOffice use "text/html"(RFC2854).
700+ * This function convert data(got from GTK clipboard)
701+ * to data mozilla wanted.
702+ *
703+ * data from GTK clipboard can be 3 forms:
704+ * 1. From current mozilla
705+ * "text/html", charset = utf-16
706+ * 2. From old version mozilla or mozilla-based app
707+ * content("body" only), charset = utf-16
708+ * 3. From other app who use "text/html" when copy-paste
709+ * "text/html", has "charset" info
710+ *
711+ * data : got from GTK clipboard
712+ * dataLength: got from GTK clipboard
713+ * body : pass to Mozilla
714+ * bodyLength: pass to Mozilla
715+ */
716+void ConvertHTMLtoUCS2(guchar * data, PRInt32 dataLength,
717+ PRUnichar** unicodeData, PRInt32& outUnicodeLen)
718+{
719+ nsCAutoString charset;
720+ GetHTMLCharset(data, dataLength, charset);// get charset of HTML
721+ if (charset.EqualsLiteral("UTF-16")) {//current mozilla
722+ outUnicodeLen = (dataLength / 2) - 1;
723+ *unicodeData = reinterpret_cast<PRUnichar*>
724+ (nsMemory::Alloc((outUnicodeLen + sizeof('\0')) *
725+ sizeof(PRUnichar)));
726+ if (*unicodeData) {
727+ memcpy(*unicodeData, data + sizeof(PRUnichar),
728+ outUnicodeLen * sizeof(PRUnichar));
729+ (*unicodeData)[outUnicodeLen] = '\0';
730+ }
731+ } else if (charset.EqualsLiteral("UNKNOWN")) {
732+ outUnicodeLen = 0;
733+ return;
734+ } else {
735+ // app which use "text/html" to copy&paste
736+ nsCOMPtr<nsIUnicodeDecoder> decoder;
737+ nsresult rv;
738+ // get the decoder
739+ nsCOMPtr<nsICharsetConverterManager> ccm =
740+ do_GetService(NS_CHARSETCONVERTERMANAGER_CONTRACTID, &rv);
741+ if (NS_FAILED(rv)) {
742+#ifdef DEBUG_CLIPBOARD
743+ g_print(" can't get CHARSET CONVERTER MANAGER service\n");
744+#endif
745+ outUnicodeLen = 0;
746+ return;
747+ }
748+ rv = ccm->GetUnicodeDecoder(charset.get(), getter_AddRefs(decoder));
749+ if (NS_FAILED(rv)) {
750+#ifdef DEBUG_CLIPBOARD
751+ g_print(" get unicode decoder error\n");
752+#endif
753+ outUnicodeLen = 0;
754+ return;
755+ }
756+ // converting
757+ decoder->GetMaxLength((const char *)data, dataLength, &outUnicodeLen);
758+ // |outUnicodeLen| is number of chars
759+ if (outUnicodeLen) {
760+ *unicodeData = reinterpret_cast<PRUnichar*>
761+ (nsMemory::Alloc((outUnicodeLen + sizeof('\0')) *
762+ sizeof(PRUnichar)));
763+ if (*unicodeData) {
764+ PRInt32 numberTmp = dataLength;
765+ decoder->Convert((const char *)data, &numberTmp,
766+ *unicodeData, &outUnicodeLen);
767+#ifdef DEBUG_CLIPBOARD
768+ if (numberTmp != dataLength)
769+ printf("didn't consume all the bytes\n");
770+#endif
771+ // null terminate. Convert() doesn't do it for us
772+ (*unicodeData)[outUnicodeLen] = '\0';
773+ }
774+ } // if valid length
775+ }
776+}
777+
778+/*
779+ * get "charset" information from clipboard data
780+ * return value can be:
781+ * 1. "UTF-16": mozilla or "text/html" with "charset=utf-16"
782+ * 2. "UNKNOWN": mozilla can't detect what encode it use
783+ * 3. other: "text/html" with other charset than utf-16
784+ */
785+void GetHTMLCharset(guchar * data, PRInt32 dataLength, nsCString& str)
786+{
787+ // if detect "FFFE" or "FEFF", assume UTF-16
788+ PRUnichar* beginChar = (PRUnichar*)data;
789+ if ((beginChar[0] == 0xFFFE) || (beginChar[0] == 0xFEFF)) {
790+ str.AssignLiteral("UTF-16");
791+ return;
792+ }
793+ // no "FFFE" and "FEFF", assume ASCII first to find "charset" info
794+ const nsDependentCString htmlStr((const char *)data, dataLength);
795+ nsACString::const_iterator start, end;
796+ htmlStr.BeginReading(start);
797+ htmlStr.EndReading(end);
798+ nsACString::const_iterator valueStart(start), valueEnd(start);
799+
800+ if (CaseInsensitiveFindInReadable(
801+ NS_LITERAL_CSTRING("CONTENT=\"text/html;"),
802+ start, end)) {
803+ start = end;
804+ htmlStr.EndReading(end);
805+
806+ if (CaseInsensitiveFindInReadable(
807+ NS_LITERAL_CSTRING("charset="),
808+ start, end)) {
809+ valueStart = end;
810+ start = end;
811+ htmlStr.EndReading(end);
812+
813+ if (FindCharInReadable('"', start, end))
814+ valueEnd = start;
815+ }
816+ }
817+ // find "charset" in HTML
818+ if (valueStart != valueEnd) {
819+ str = Substring(valueStart, valueEnd);
820+ ToUpperCase(str);
821+#ifdef DEBUG_CLIPBOARD
822+ printf("Charset of HTML = %s\n", charsetUpperStr.get());
823+#endif
824+ return;
825+ }
826+ str.AssignLiteral("UNKNOWN");
827+}
828+
829+static void
830+DispatchSelectionNotifyEvent(GtkWidget *widget, XEvent *xevent)
831+{
832+ GdkEvent event;
833+ event.selection.type = GDK_SELECTION_NOTIFY;
834+ event.selection.window = widget->window;
835+ event.selection.selection = gdk_x11_xatom_to_atom(xevent->xselection.selection);
836+ event.selection.target = gdk_x11_xatom_to_atom(xevent->xselection.target);
837+ event.selection.property = gdk_x11_xatom_to_atom(xevent->xselection.property);
838+ event.selection.time = xevent->xselection.time;
839+
840+ gtk_widget_event(widget, &event);
841+}
842+
843+static void
844+DispatchPropertyNotifyEvent(GtkWidget *widget, XEvent *xevent)
845+{
846+ if (((GdkWindowObject *) widget->window)->event_mask & GDK_PROPERTY_CHANGE_MASK) {
847+ GdkEvent event;
848+ event.property.type = GDK_PROPERTY_NOTIFY;
849+ event.property.window = widget->window;
850+ event.property.atom = gdk_x11_xatom_to_atom(xevent->xproperty.atom);
851+ event.property.time = xevent->xproperty.time;
852+ event.property.state = xevent->xproperty.state;
853+
854+ gtk_widget_event(widget, &event);
855+ }
856+}
857+
858+struct checkEventContext
859+{
860+ GtkWidget *cbWidget;
861+ Atom selAtom;
862+};
863+
864+static Bool
865+checkEventProc(Display *display, XEvent *event, XPointer arg)
866+{
867+ checkEventContext *context = (checkEventContext *) arg;
868+
869+ if (event->xany.type == SelectionNotify ||
870+ (event->xany.type == PropertyNotify &&
871+ event->xproperty.atom == context->selAtom)) {
872+
873+ GdkWindow *cbWindow = gdk_window_lookup(event->xany.window);
874+ if (cbWindow) {
875+ GtkWidget *cbWidget = NULL;
876+ gdk_window_get_user_data(cbWindow, (gpointer *)&cbWidget);
877+ if (cbWidget && GTK_IS_WIDGET(cbWidget)) {
878+ context->cbWidget = cbWidget;
879+ return True;
880+ }
881+ }
882+ }
883+
884+ return False;
885+}
886+
887+// Idle timeout for receiving selection and property notify events (microsec)
888+static const int kClipboardTimeout = 500000;
889+
890+static void
891+wait_for_retrieval(GtkClipboard *clipboard, retrieval_context *r_context)
892+{
893+ if (r_context->completed) // the request completed synchronously
894+ return;
895+
896+ Display *xDisplay = GDK_DISPLAY();
897+ checkEventContext context;
898+ context.cbWidget = NULL;
899+ context.selAtom = gdk_x11_atom_to_xatom(gdk_atom_intern("GDK_SELECTION",
900+ FALSE));
901+
902+ // Send X events which are relevant to the ongoing selection retrieval
903+ // to the clipboard widget. Wait until either the operation completes, or
904+ // we hit our timeout. All other X events remain queued.
905+
906+ int select_result;
907+
908+#ifdef POLL_WITH_XCONNECTIONNUMBER
909+ struct pollfd fds[1];
910+ fds[0].fd = XConnectionNumber(xDisplay);
911+ fds[0].events = POLLIN;
912+#else
913+ int cnumber = ConnectionNumber(xDisplay);
914+ fd_set select_set;
915+ FD_ZERO(&select_set);
916+ FD_SET(cnumber, &select_set);
917+ ++cnumber;
918+ struct timeval tv;
919+#endif
920+
921+ do {
922+ XEvent xevent;
923+
924+ while (XCheckIfEvent(xDisplay, &xevent, checkEventProc,
925+ (XPointer) &context)) {
926+
927+ if (xevent.xany.type == SelectionNotify)
928+ DispatchSelectionNotifyEvent(context.cbWidget, &xevent);
929+ else
930+ DispatchPropertyNotifyEvent(context.cbWidget, &xevent);
931+
932+ if (r_context->completed)
933+ return;
934+ }
935+
936+#ifdef POLL_WITH_XCONNECTIONNUMBER
937+ select_result = poll(fds, 1, kClipboardTimeout / 1000);
938+#else
939+ tv.tv_sec = 0;
940+ tv.tv_usec = kClipboardTimeout;
941+ select_result = select(cnumber, &select_set, NULL, NULL, &tv);
942+#endif
943+ } while (select_result == 1);
944+
945+#ifdef DEBUG_CLIPBOARD
946+ printf("exceeded clipboard timeout\n");
947+#endif
948+}
949+
950+static void
951+clipboard_contents_received(GtkClipboard *clipboard,
952+ GtkSelectionData *selection_data,
953+ gpointer data)
954+{
955+ retrieval_context *context = static_cast<retrieval_context *>(data);
956+ context->completed = PR_TRUE;
957+
958+ if (selection_data->length >= 0)
959+ context->data = gtk_selection_data_copy(selection_data);
960+}
961+
962+
963+static GtkSelectionData *
964+wait_for_contents(GtkClipboard *clipboard, GdkAtom target)
965+{
966+ retrieval_context context;
967+ gtk_clipboard_request_contents(clipboard, target,
968+ clipboard_contents_received,
969+ &context);
970+
971+ wait_for_retrieval(clipboard, &context);
972+ return static_cast<GtkSelectionData *>(context.data);
973+}
974+
975+static void
976+clipboard_text_received(GtkClipboard *clipboard,
977+ const gchar *text,
978+ gpointer data)
979+{
980+ retrieval_context *context = static_cast<retrieval_context *>(data);
981+ context->completed = PR_TRUE;
982+ context->data = g_strdup(text);
983+}
984+
985+static gchar *
986+wait_for_text(GtkClipboard *clipboard)
987+{
988+ retrieval_context context;
989+ gtk_clipboard_request_text(clipboard, clipboard_text_received, &context);
990+
991+ wait_for_retrieval(clipboard, &context);
992+ return static_cast<gchar *>(context.data);
993+}
994Index: offscreen/widget/src/headless/nsClipboard.h
995===================================================================
996--- /dev/null 1970-01-01 00:00:00.000000000 +0000
997+++ offscreen/widget/src/headless/nsClipboard.h 2009-06-12 14:14:05.000000000 +0100
998@@ -0,0 +1,93 @@
999+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
1000+/* vim:expandtab:shiftwidth=4:tabstop=4:
1001+ */
1002+/* ***** BEGIN LICENSE BLOCK *****
1003+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
1004+ *
1005+ * The contents of this file are subject to the Mozilla Public License Version
1006+ * 1.1 (the "License"); you may not use this file except in compliance with
1007+ * the License. You may obtain a copy of the License at
1008+ * http://www.mozilla.org/MPL/
1009+ *
1010+ * Software distributed under the License is distributed on an "AS IS" basis,
1011+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
1012+ * for the specific language governing rights and limitations under the
1013+ * License.
1014+ *
1015+ * The Original Code is mozilla.org code.
1016+ *
1017+ * The Initial Developer of the Original Code is Christopher Blizzard
1018+ * <blizzard@mozilla.org>. Portions created by the Initial Developer
1019+ * are Copyright (C) 2001 the Initial Developer. All Rights Reserved.
1020+ *
1021+ * Contributor(s):
1022+ *
1023+ * Alternatively, the contents of this file may be used under the terms of
1024+ * either the GNU General Public License Version 2 or later (the "GPL"), or
1025+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
1026+ * in which case the provisions of the GPL or the LGPL are applicable instead
1027+ * of those above. If you wish to allow use of your version of this file only
1028+ * under the terms of either the GPL or the LGPL, and not to allow others to
1029+ * use your version of this file under the terms of the MPL, indicate your
1030+ * decision by deleting the provisions above and replace them with the notice
1031+ * and other provisions required by the GPL or the LGPL. If you do not delete
1032+ * the provisions above, a recipient may use your version of this file under
1033+ * the terms of any one of the MPL, the GPL or the LGPL.
1034+ *
1035+ * ***** END LICENSE BLOCK ***** */
1036+
1037+#ifndef __nsClipboard_h_
1038+#define __nsClipboard_h_
1039+
1040+#include "nsIClipboard.h"
1041+#include "nsClipboardPrivacyHandler.h"
1042+#include "nsAutoPtr.h"
1043+#include <gtk/gtk.h>
1044+
1045+class nsClipboard : public nsIClipboard
1046+{
1047+public:
1048+ nsClipboard();
1049+ virtual ~nsClipboard();
1050+
1051+ NS_DECL_ISUPPORTS
1052+
1053+ NS_DECL_NSICLIPBOARD
1054+
1055+ // Make sure we are initialized, called from the factory
1056+ // constructor
1057+ nsresult Init (void);
1058+ // Someone requested the selection from the hidden widget
1059+ void SelectionGetEvent (GtkWidget *aWidget,
1060+ GtkSelectionData *aSelectionData,
1061+ guint aTime);
1062+ void SelectionClearEvent (GtkWidget *aWidget,
1063+ GdkEventSelection *aEvent);
1064+
1065+
1066+private:
1067+ // Utility methods
1068+ static GdkAtom GetSelectionAtom (PRInt32 aWhichClipboard);
1069+ static GtkSelectionData *GetTargets (GdkAtom aWhichClipboard);
1070+
1071+ // Get our hands on the correct transferable, given a specific
1072+ // clipboard
1073+ nsITransferable *GetTransferable (PRInt32 aWhichClipboard);
1074+
1075+ // Add a target type to the hidden widget
1076+ void AddTarget (GdkAtom aName,
1077+ GdkAtom aClipboard);
1078+
1079+ // The hidden widget where we do all of our operations
1080+ GtkWidget *mWidget;
1081+ // Hang on to our owners and transferables so we can transfer data
1082+ // when asked.
1083+ nsCOMPtr<nsIClipboardOwner> mSelectionOwner;
1084+ nsCOMPtr<nsIClipboardOwner> mGlobalOwner;
1085+ nsCOMPtr<nsITransferable> mSelectionTransferable;
1086+ nsCOMPtr<nsITransferable> mGlobalTransferable;
1087+ nsRefPtr<nsClipboardPrivacyHandler> mPrivacyHandler;
1088+
1089+};
1090+
1091+#endif /* __nsClipboard_h_ */
1092Index: offscreen/widget/src/headless/nsIImageToPixbuf.h
1093===================================================================
1094--- /dev/null 1970-01-01 00:00:00.000000000 +0000
1095+++ offscreen/widget/src/headless/nsIImageToPixbuf.h 2009-06-12 14:14:05.000000000 +0100
1096@@ -0,0 +1,62 @@
1097+/* ***** BEGIN LICENSE BLOCK *****
1098+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
1099+ *
1100+ * The contents of this file are subject to the Mozilla Public License Version
1101+ * 1.1 (the "License"); you may not use this file except in compliance with
1102+ * the License. You may obtain a copy of the License at
1103+ * http://www.mozilla.org/MPL/
1104+ *
1105+ * Software distributed under the License is distributed on an "AS IS" basis,
1106+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
1107+ * for the specific language governing rights and limitations under the
1108+ * License.
1109+ *
1110+ * The Original Code is mozilla.org widget code.
1111+ *
1112+ * The Initial Developer of the Original Code is
1113+ * Christian Biesinger <cbiesinger@web.de>.
1114+ * Portions created by the Initial Developer are Copyright (C) 2006
1115+ * the Initial Developer. All Rights Reserved.
1116+ *
1117+ * Contributor(s):
1118+ *
1119+ * Alternatively, the contents of this file may be used under the terms of
1120+ * either the GNU General Public License Version 2 or later (the "GPL"), or
1121+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
1122+ * in which case the provisions of the GPL or the LGPL are applicable instead
1123+ * of those above. If you wish to allow use of your version of this file only
1124+ * under the terms of either the GPL or the LGPL, and not to allow others to
1125+ * use your version of this file under the terms of the MPL, indicate your
1126+ * decision by deleting the provisions above and replace them with the notice
1127+ * and other provisions required by the GPL or the LGPL. If you do not delete
1128+ * the provisions above, a recipient may use your version of this file under
1129+ * the terms of any one of the MPL, the GPL or the LGPL.
1130+ *
1131+ * ***** END LICENSE BLOCK ***** */
1132+
1133+#ifndef NSIIMAGETOPIXBUF_H_
1134+#define NSIIMAGETOPIXBUF_H_
1135+
1136+#include "nsISupports.h"
1137+
1138+// dfa4ac93-83f2-4ab8-9b2a-0ff7022aebe2
1139+#define NSIIMAGETOPIXBUF_IID \
1140+{ 0xdfa4ac93, 0x83f2, 0x4ab8, \
1141+ { 0x9b, 0x2a, 0x0f, 0xf7, 0x02, 0x2a, 0xeb, 0xe2 } }
1142+
1143+class nsIImage;
1144+typedef struct _GdkPixbuf GdkPixbuf;
1145+
1146+/**
1147+ * An interface that allows converting an nsIImage to a GdkPixbuf*.
1148+ */
1149+class nsIImageToPixbuf : public nsISupports {
1150+ public:
1151+ NS_DECLARE_STATIC_IID_ACCESSOR(NSIIMAGETOPIXBUF_IID)
1152+
1153+ NS_IMETHOD_(GdkPixbuf*) ConvertImageToPixbuf(nsIImage* aImage) = 0;
1154+};
1155+
1156+NS_DEFINE_STATIC_IID_ACCESSOR(nsIImageToPixbuf, NSIIMAGETOPIXBUF_IID)
1157+
1158+#endif
1159Index: offscreen/widget/src/headless/nsImageToPixbuf.cpp
1160===================================================================
1161--- /dev/null 1970-01-01 00:00:00.000000000 +0000
1162+++ offscreen/widget/src/headless/nsImageToPixbuf.cpp 2009-06-12 14:14:05.000000000 +0100
1163@@ -0,0 +1,196 @@
1164+/* vim:set sw=4 sts=4 et cin: */
1165+/* ***** BEGIN LICENSE BLOCK *****
1166+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
1167+ *
1168+ * The contents of this file are subject to the Mozilla Public License Version
1169+ * 1.1 (the "License"); you may not use this file except in compliance with
1170+ * the License. You may obtain a copy of the License at
1171+ * http://www.mozilla.org/MPL/
1172+ *
1173+ * Software distributed under the License is distributed on an "AS IS" basis,
1174+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
1175+ * for the specific language governing rights and limitations under the
1176+ * License.
1177+ *
1178+ * The Original Code is mozilla.org widget code.
1179+ *
1180+ * The Initial Developer of the Original Code is
1181+ * Christian Biesinger <cbiesinger@web.de>.
1182+ * Portions created by the Initial Developer are Copyright (C) 2006
1183+ * the Initial Developer. All Rights Reserved.
1184+ *
1185+ * Contributor(s):
1186+ *
1187+ * Alternatively, the contents of this file may be used under the terms of
1188+ * either the GNU General Public License Version 2 or later (the "GPL"), or
1189+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
1190+ * in which case the provisions of the GPL or the LGPL are applicable instead
1191+ * of those above. If you wish to allow use of your version of this file only
1192+ * under the terms of either the GPL or the LGPL, and not to allow others to
1193+ * use your version of this file under the terms of the MPL, indicate your
1194+ * decision by deleting the provisions above and replace them with the notice
1195+ * and other provisions required by the GPL or the LGPL. If you do not delete
1196+ * the provisions above, a recipient may use your version of this file under
1197+ * the terms of any one of the MPL, the GPL or the LGPL.
1198+ *
1199+ * ***** END LICENSE BLOCK ***** */
1200+
1201+#include <gdk-pixbuf/gdk-pixbuf.h>
1202+
1203+#include "gfxASurface.h"
1204+#include "gfxImageSurface.h"
1205+#include "gfxContext.h"
1206+
1207+#include "nsIImage.h"
1208+
1209+#include "nsAutoPtr.h"
1210+
1211+#include "nsImageToPixbuf.h"
1212+
1213+NS_IMPL_ISUPPORTS1(nsImageToPixbuf, nsIImageToPixbuf)
1214+
1215+inline unsigned char
1216+unpremultiply (unsigned char color,
1217+ unsigned char alpha)
1218+{
1219+ if (alpha == 0)
1220+ return 0;
1221+ // plus alpha/2 to round instead of truncate
1222+ return (color * 255 + alpha / 2) / alpha;
1223+}
1224+
1225+NS_IMETHODIMP_(GdkPixbuf*)
1226+nsImageToPixbuf::ConvertImageToPixbuf(nsIImage* aImage)
1227+{
1228+ return ImageToPixbuf(aImage);
1229+}
1230+
1231+GdkPixbuf*
1232+nsImageToPixbuf::ImageToPixbuf(nsIImage* aImage)
1233+{
1234+ PRInt32 width = aImage->GetWidth(),
1235+ height = aImage->GetHeight();
1236+
1237+ nsRefPtr<gfxPattern> pattern;
1238+ aImage->GetPattern(getter_AddRefs(pattern));
1239+
1240+ return PatternToPixbuf(pattern, width, height);
1241+}
1242+
1243+GdkPixbuf*
1244+nsImageToPixbuf::ImgSurfaceToPixbuf(gfxImageSurface* aImgSurface, PRInt32 aWidth, PRInt32 aHeight)
1245+{
1246+ GdkPixbuf* pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, PR_TRUE, 8,
1247+ aWidth, aHeight);
1248+ if (!pixbuf)
1249+ return nsnull;
1250+
1251+ PRUint32 rowstride = gdk_pixbuf_get_rowstride (pixbuf);
1252+ guchar* pixels = gdk_pixbuf_get_pixels (pixbuf);
1253+
1254+ long cairoStride = aImgSurface->Stride();
1255+ unsigned char* cairoData = aImgSurface->Data();
1256+
1257+ gfxASurface::gfxImageFormat format = aImgSurface->Format();
1258+
1259+ for (PRInt32 row = 0; row < aHeight; ++row) {
1260+ for (PRInt32 col = 0; col < aWidth; ++col) {
1261+ guchar* pixel = pixels + row * rowstride + 4 * col;
1262+
1263+ PRUint32* cairoPixel = reinterpret_cast<PRUint32*>
1264+ ((cairoData + row * cairoStride + 4 * col));
1265+
1266+ if (format == gfxASurface::ImageFormatARGB32) {
1267+ const PRUint8 a = (*cairoPixel >> 24) & 0xFF;
1268+ const PRUint8 r = unpremultiply((*cairoPixel >> 16) & 0xFF, a);
1269+ const PRUint8 g = unpremultiply((*cairoPixel >> 8) & 0xFF, a);
1270+ const PRUint8 b = unpremultiply((*cairoPixel >> 0) & 0xFF, a);
1271+
1272+ *pixel++ = r;
1273+ *pixel++ = g;
1274+ *pixel++ = b;
1275+ *pixel++ = a;
1276+ } else {
1277+ NS_ASSERTION(format == gfxASurface::ImageFormatRGB24,
1278+ "unexpected format");
1279+ const PRUint8 r = (*cairoPixel >> 16) & 0xFF;
1280+ const PRUint8 g = (*cairoPixel >> 8) & 0xFF;
1281+ const PRUint8 b = (*cairoPixel >> 0) & 0xFF;
1282+
1283+ *pixel++ = r;
1284+ *pixel++ = g;
1285+ *pixel++ = b;
1286+ *pixel++ = 0xFF; // A
1287+ }
1288+ }
1289+ }
1290+
1291+ return pixbuf;
1292+}
1293+
1294+GdkPixbuf*
1295+nsImageToPixbuf::SurfaceToPixbuf(gfxASurface* aSurface, PRInt32 aWidth, PRInt32 aHeight)
1296+{
1297+ if (aSurface->CairoStatus()) {
1298+ NS_ERROR("invalid surface");
1299+ return nsnull;
1300+ }
1301+
1302+ nsRefPtr<gfxImageSurface> imgSurface;
1303+ if (aSurface->GetType() == gfxASurface::SurfaceTypeImage) {
1304+ imgSurface = static_cast<gfxImageSurface*>
1305+ (static_cast<gfxASurface*>(aSurface));
1306+ } else {
1307+ imgSurface = new gfxImageSurface(gfxIntSize(aWidth, aHeight),
1308+ gfxImageSurface::ImageFormatARGB32);
1309+
1310+ if (!imgSurface)
1311+ return nsnull;
1312+
1313+ nsRefPtr<gfxContext> context = new gfxContext(imgSurface);
1314+ if (!context)
1315+ return nsnull;
1316+
1317+ context->SetOperator(gfxContext::OPERATOR_SOURCE);
1318+ context->SetSource(aSurface);
1319+ context->Paint();
1320+ }
1321+
1322+ return ImgSurfaceToPixbuf(imgSurface, aWidth, aHeight);
1323+}
1324+
1325+GdkPixbuf*
1326+nsImageToPixbuf::PatternToPixbuf(gfxPattern* aPattern, PRInt32 aWidth, PRInt32 aHeight)
1327+{
1328+ if (aPattern->CairoStatus()) {
1329+ NS_ERROR("invalid pattern");
1330+ return nsnull;
1331+ }
1332+
1333+ nsRefPtr<gfxImageSurface> imgSurface;
1334+ if (aPattern->GetType() == gfxPattern::PATTERN_SURFACE) {
1335+ nsRefPtr<gfxASurface> surface = aPattern->GetSurface();
1336+ if (surface->GetType() == gfxASurface::SurfaceTypeImage) {
1337+ imgSurface = static_cast<gfxImageSurface*>
1338+ (static_cast<gfxASurface*>(surface.get()));
1339+ }
1340+ }
1341+
1342+ if (!imgSurface) {
1343+ imgSurface = new gfxImageSurface(gfxIntSize(aWidth, aHeight),
1344+ gfxImageSurface::ImageFormatARGB32);
1345+
1346+ if (!imgSurface)
1347+ return nsnull;
1348+
1349+ nsRefPtr<gfxContext> context = new gfxContext(imgSurface);
1350+ if (!context)
1351+ return nsnull;
1352+
1353+ context->SetOperator(gfxContext::OPERATOR_SOURCE);
1354+ context->SetPattern(aPattern);
1355+ context->Paint();
1356+ }
1357+
1358+ return ImgSurfaceToPixbuf(imgSurface, aWidth, aHeight);
1359+}
1360Index: offscreen/widget/src/headless/nsImageToPixbuf.h
1361===================================================================
1362--- /dev/null 1970-01-01 00:00:00.000000000 +0000
1363+++ offscreen/widget/src/headless/nsImageToPixbuf.h 2009-06-12 14:14:05.000000000 +0100
1364@@ -0,0 +1,71 @@
1365+/* vim:set sw=4 sts=4 et cin: */
1366+/* ***** BEGIN LICENSE BLOCK *****
1367+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
1368+ *
1369+ * The contents of this file are subject to the Mozilla Public License Version
1370+ * 1.1 (the "License"); you may not use this file except in compliance with
1371+ * the License. You may obtain a copy of the License at
1372+ * http://www.mozilla.org/MPL/
1373+ *
1374+ * Software distributed under the License is distributed on an "AS IS" basis,
1375+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
1376+ * for the specific language governing rights and limitations under the
1377+ * License.
1378+ *
1379+ * The Original Code is mozilla.org widget code.
1380+ *
1381+ * The Initial Developer of the Original Code is
1382+ * Christian Biesinger <cbiesinger@web.de>.
1383+ * Portions created by the Initial Developer are Copyright (C) 2006
1384+ * the Initial Developer. All Rights Reserved.
1385+ *
1386+ * Contributor(s):
1387+ *
1388+ * Alternatively, the contents of this file may be used under the terms of
1389+ * either the GNU General Public License Version 2 or later (the "GPL"), or
1390+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
1391+ * in which case the provisions of the GPL or the LGPL are applicable instead
1392+ * of those above. If you wish to allow use of your version of this file only
1393+ * under the terms of either the GPL or the LGPL, and not to allow others to
1394+ * use your version of this file under the terms of the MPL, indicate your
1395+ * decision by deleting the provisions above and replace them with the notice
1396+ * and other provisions required by the GPL or the LGPL. If you do not delete
1397+ * the provisions above, a recipient may use your version of this file under
1398+ * the terms of any one of the MPL, the GPL or the LGPL.
1399+ *
1400+ * ***** END LICENSE BLOCK ***** */
1401+
1402+#ifndef NSIMAGETOPIXBUF_H_
1403+#define NSIMAGETOPIXBUF_H_
1404+
1405+#include "nsIImageToPixbuf.h"
1406+
1407+class gfxASurface;
1408+class gfxPattern;
1409+class gfxImageSurface;
1410+
1411+class nsImageToPixbuf : public nsIImageToPixbuf {
1412+ public:
1413+ NS_DECL_ISUPPORTS
1414+ NS_IMETHOD_(GdkPixbuf*) ConvertImageToPixbuf(nsIImage* aImage);
1415+
1416+ // Friendlier version of ConvertImageToPixbuf for callers inside of
1417+ // widget
1418+ static GdkPixbuf* ImageToPixbuf(nsIImage* aImage);
1419+ static GdkPixbuf* SurfaceToPixbuf(gfxASurface* aSurface,
1420+ PRInt32 aWidth, PRInt32 aHeight);
1421+ static GdkPixbuf* PatternToPixbuf(gfxPattern* aPattern,
1422+ PRInt32 aWidth, PRInt32 aHeight);
1423+ private:
1424+ static GdkPixbuf* ImgSurfaceToPixbuf(gfxImageSurface* aImgSurface,
1425+ PRInt32 aWidth, PRInt32 aHeight);
1426+ ~nsImageToPixbuf() {}
1427+};
1428+
1429+
1430+// fc2389b8-c650-4093-9e42-b05e5f0685b7
1431+#define NS_IMAGE_TO_PIXBUF_CID \
1432+{ 0xfc2389b8, 0xc650, 0x4093, \
1433+ { 0x9e, 0x42, 0xb0, 0x5e, 0x5f, 0x06, 0x85, 0xb7 } }
1434+
1435+#endif
1436Index: offscreen/widget/src/headless/nsWidgetFactory.cpp
1437===================================================================
1438--- offscreen.orig/widget/src/headless/nsWidgetFactory.cpp 2009-06-12 14:08:56.000000000 +0100
1439+++ offscreen/widget/src/headless/nsWidgetFactory.cpp 2009-06-12 14:15:24.000000000 +0100
1440@@ -46,6 +46,10 @@
1441 #include "nsWindow.h"
1442 #include "nsTransferable.h"
1443 #include "nsHTMLFormatConverter.h"
1444+#ifdef MOZ_X11
1445+#include "nsClipboardHelper.h"
1446+#include "nsClipboard.h"
1447+#endif
1448 #include "nsSound.h"
1449 #include "nsBidiKeyboard.h"
1450 #include "nsScreenManagerHeadless.h"
1451@@ -66,6 +70,10 @@
1452 NS_GENERIC_FACTORY_CONSTRUCTOR(nsTransferable)
1453 NS_GENERIC_FACTORY_CONSTRUCTOR(nsBidiKeyboard)
1454 NS_GENERIC_FACTORY_CONSTRUCTOR(nsHTMLFormatConverter)
1455+#ifdef MOZ_X11
1456+NS_GENERIC_FACTORY_CONSTRUCTOR(nsClipboardHelper)
1457+NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsClipboard, Init)
1458+#endif
1459 NS_GENERIC_FACTORY_CONSTRUCTOR(nsSound)
1460 NS_GENERIC_FACTORY_CONSTRUCTOR(nsScreenManagerHeadless)
1461 //NS_GENERIC_FACTORY_CONSTRUCTOR(nsImageToPixbuf)
1462@@ -142,6 +150,16 @@
1463 NS_TRANSFERABLE_CID,
1464 "@mozilla.org/widget/transferable;1",
1465 nsTransferableConstructor },
1466+#ifdef MOZ_X11
1467+ { "Gtk Clipboard",
1468+ NS_CLIPBOARD_CID,
1469+ "@mozilla.org/widget/clipboard;1",
1470+ nsClipboardConstructor },
1471+ { "Clipboard Helper",
1472+ NS_CLIPBOARDHELPER_CID,
1473+ "@mozilla.org/widget/clipboardhelper;1",
1474+ nsClipboardHelperConstructor },
1475+#endif
1476 { "HTML Format Converter",
1477 NS_HTMLFORMATCONVERTER_CID,
1478 "@mozilla.org/widget/htmlformatconverter;1",
diff --git a/meta/packages/mozilla-headless/mozilla-headless/autoconffix.patch b/meta/packages/mozilla-headless/mozilla-headless/autoconffix.patch
deleted file mode 100644
index 2874b0d..0000000
--- a/meta/packages/mozilla-headless/mozilla-headless/autoconffix.patch
+++ /dev/null
@@ -1,66 +0,0 @@
1Fixes to enable building with latest autoconf and automake
2
3RP 2/2/10
4
5Index: offscreen/js/ctypes/libffi/configure.ac
6===================================================================
7--- offscreen.orig/js/ctypes/libffi/configure.ac 2010-02-02 19:53:16.753906134 +0000
8+++ offscreen/js/ctypes/libffi/configure.ac 2010-02-02 19:53:21.895155509 +0000
9@@ -17,10 +17,10 @@
10 # the wrong, non-multilib-adjusted value will be used in multilibs.
11 # As a side effect, we have to subst CFLAGS ourselves.
12
13-m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS])
14+m4_rename_force([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS])
15 m4_define([_AC_ARG_VAR_PRECIOUS],[])
16 AC_PROG_CC
17-m4_rename([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS])
18+m4_rename_force([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS])
19
20 AC_SUBST(CFLAGS)
21
22Index: offscreen/modules/libpr0n/build/Makefile.in
23===================================================================
24--- offscreen.orig/modules/libpr0n/build/Makefile.in 2010-02-02 19:53:16.783906873 +0000
25+++ offscreen/modules/libpr0n/build/Makefile.in 2010-02-02 19:53:21.895155509 +0000
26@@ -92,6 +92,7 @@
27
28 export::
29 @{ \
30+ \
31 $(foreach d,$(filter-out icon,$(MOZ_IMG_DECODERS)), \
32 echo "#define IMG_BUILD_DECODER_${d}";) \
33 $(foreach d,$(MOZ_IMG_ENCODERS), \
34Index: offscreen/configure.in
35===================================================================
36--- offscreen.orig/configure.in 2010-02-02 19:53:28.493904163 +0000
37+++ offscreen/configure.in 2010-02-02 16:33:09.000000000 +0000
38@@ -3250,11 +3250,7 @@
39 dnl ========================================================
40 AC_CHECK_LIB(Xext, XShmCreateImage, _HAVE_XSHM_XEXT=1,,
41 $XLIBS $XEXT_LIBS)
42- AC_CHECK_HEADER(X11/extensions/XShm.h)
43- if test "$ac_cv_header_X11_extensions_XShm_h" = "yes" &&
44- test -n "$_HAVE_XSHM_XEXT"; then
45- AC_DEFINE(HAVE_XSHM)
46- fi
47+ AC_DEFINE(HAVE_XSHM)
48
49 dnl ========================================================
50 dnl = Check for XIE
51@@ -8120,15 +8116,7 @@
52 fi # COMPILE_ENVIRONMENT
53
54 if test "$USE_FC_FREETYPE"; then
55- if test "$COMPILE_ENVIRONMENT"; then
56- _SAVE_CPPFLAGS="$CPPFLAGS"
57- CPPFLAGS="$CPPFLAGS $FT2_CFLAGS"
58- AC_CHECK_HEADERS(fontconfig/fcfreetype.h, ,
59- [AC_MSG_ERROR(Can't find header fontconfig/fcfreetype.h.)])
60- CPPFLAGS="$_SAVE_CPPFLAGS"
61- else
62 AC_DEFINE(HAVE_FONTCONFIG_FCFREETYPE_H)
63- fi
64 fi
65
66 dnl Set various defines and substitutions
diff --git a/meta/packages/mozilla-headless/mozilla-headless/buildfixhack.patch b/meta/packages/mozilla-headless/mozilla-headless/buildfixhack.patch
deleted file mode 100644
index 31fc40f..0000000
--- a/meta/packages/mozilla-headless/mozilla-headless/buildfixhack.patch
+++ /dev/null
@@ -1,14 +0,0 @@
1diff -r ad8be5166ccd layout/generic/nsFrame.h
2--- a/layout/generic/nsFrame.h Tue Nov 17 19:24:56 2009 +0000
3+++ b/layout/generic/nsFrame.h Thu Nov 19 12:33:38 2009 +0000
4@@ -151,7 +151,7 @@
5 // Left undefined; nsFrame objects are never allocated from the heap.
6 void* operator new(size_t sz) CPP_THROW_NEW;
7
8-protected:
9+public:
10 // Overridden to prevent the global delete from being called, since
11 // the memory came out of an arena instead of the heap.
12 //
13
14
diff --git a/meta/packages/mozilla-headless/mozilla-headless/configurefix-1a622cb7c384.patch b/meta/packages/mozilla-headless/mozilla-headless/configurefix-1a622cb7c384.patch
deleted file mode 100644
index d31f91a..0000000
--- a/meta/packages/mozilla-headless/mozilla-headless/configurefix-1a622cb7c384.patch
+++ /dev/null
@@ -1,764 +0,0 @@
1Index: offscreen/configure.in
2===================================================================
3--- offscreen.orig/configure.in 2009-06-12 14:15:55.000000000 +0100
4+++ offscreen/configure.in 2009-06-12 14:15:55.000000000 +0100
5@@ -62,7 +62,6 @@
6
7 AC_PREREQ(2.13)
8 AC_INIT(config/config.mk)
9-AC_CONFIG_AUX_DIR(${srcdir}/build/autoconf)
10 AC_CANONICAL_SYSTEM
11 TARGET_CPU="${target_cpu}"
12 TARGET_VENDOR="${target_vendor}"
13@@ -103,7 +102,6 @@
14 _SUBDIR_HOST_CFLAGS="$HOST_CFLAGS"
15 _SUBDIR_HOST_CXXFLAGS="$HOST_CXXFLAGS"
16 _SUBDIR_HOST_LDFLAGS="$HOST_LDFLAGS"
17-_SUBDIR_CONFIG_ARGS="$ac_configure_args"
18
19 dnl Set the version number of the libs included with mozilla
20 dnl ========================================================
21@@ -135,6 +133,9 @@
22
23 MSMANIFEST_TOOL=
24
25+ac_cv_have_usable_wchar_v2=no
26+ac_cv_have_usable_wchar_option_v2=no
27+
28 dnl Set various checks
29 dnl ========================================================
30 MISSING_X=
31@@ -285,7 +286,7 @@
32 ;;
33 esac
34
35-if test -n "$CROSS_COMPILE" && test "$target" != "$host"; then
36+
37 echo "cross compiling from $host to $target"
38 cross_compiling=yes
39
40@@ -323,7 +324,7 @@
41
42 AC_MSG_CHECKING([whether the host c compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works])
43 AC_TRY_COMPILE([], [return(0);],
44- [ac_cv_prog_hostcc_works=1 AC_MSG_RESULT([yes])],
45+ [ac_cv_prog_hostcc_works=1; AC_MSG_RESULT([yes])],
46 AC_MSG_ERROR([installation or configuration problem: host compiler $HOST_CC cannot create executables.]) )
47
48 CC="$HOST_CXX"
49@@ -331,7 +332,7 @@
50
51 AC_MSG_CHECKING([whether the host c++ compiler ($HOST_CXX $HOST_CXXFLAGS $HOST_LDFLAGS) works])
52 AC_TRY_COMPILE([], [return(0);],
53- [ac_cv_prog_hostcxx_works=1 AC_MSG_RESULT([yes])],
54+ [ac_cv_prog_hostcxx_works=1; AC_MSG_RESULT([yes])],
55 AC_MSG_ERROR([installation or configuration problem: host compiler $HOST_CXX cannot create executables.]) )
56
57 CC=$_SAVE_CC
58@@ -352,7 +353,7 @@
59 ;;
60 esac
61
62- AC_CHECK_PROGS(CC, $CC "${target_alias}-gcc" "${target}-gcc", :)
63+ CC="${target_alias}-gcc"
64 unset ac_cv_prog_CC
65 AC_PROG_CC
66 AC_CHECK_PROGS(CXX, $CXX "${target_alias}-g++" "${target}-g++", :)
67@@ -376,37 +377,6 @@
68 AC_CHECK_PROGS(STRIP, $STRIP "${target_alias}-strip" "${target}-strip", :)
69 AC_CHECK_PROGS(WINDRES, $WINDRES "${target_alias}-windres" "${target}-windres", :)
70 AC_DEFINE(CROSS_COMPILE)
71-else
72- AC_PROG_CC
73- AC_PROG_CXX
74- AC_PROG_RANLIB
75- MOZ_PATH_PROGS(AS, $AS as, $CC)
76- AC_CHECK_PROGS(AR, ar, :)
77- AC_CHECK_PROGS(LD, ld, :)
78- AC_CHECK_PROGS(STRIP, strip, :)
79- AC_CHECK_PROGS(WINDRES, windres, :)
80- if test -z "$HOST_CC"; then
81- HOST_CC="$CC"
82- fi
83- if test -z "$HOST_CFLAGS"; then
84- HOST_CFLAGS="$CFLAGS"
85- fi
86- if test -z "$HOST_CXX"; then
87- HOST_CXX="$CXX"
88- fi
89- if test -z "$HOST_CXXFLAGS"; then
90- HOST_CXXFLAGS="$CXXFLAGS"
91- fi
92- if test -z "$HOST_LDFLAGS"; then
93- HOST_LDFLAGS="$LDFLAGS"
94- fi
95- if test -z "$HOST_RANLIB"; then
96- HOST_RANLIB="$RANLIB"
97- fi
98- if test -z "$HOST_AR"; then
99- HOST_AR="$AR"
100- fi
101-fi
102
103 GNU_AS=
104 GNU_LD=
105@@ -1606,6 +1576,7 @@
106 '
107
108 dnl test that the macros actually work:
109+ac_cv_static_assertion_macros_work="yes"
110 AC_MSG_CHECKING(that static assertion macros used in autoconf tests work)
111 AC_CACHE_VAL(ac_cv_static_assertion_macros_work,
112 [AC_LANG_SAVE
113@@ -2767,9 +2738,13 @@
114 AC_LANG_C
115 AC_HEADER_STDC
116 AC_C_CONST
117+ac_cv_type_mode_t=yes
118 AC_TYPE_MODE_T
119+ac_cv_type_off_t=yes
120 AC_TYPE_OFF_T
121+ac_cv_type_pid_t=yes
122 AC_TYPE_PID_T
123+ac_cv_type_size_t=yes
124 AC_TYPE_SIZE_T
125 AC_STRUCT_ST_BLKSIZE
126 AC_MSG_CHECKING(for siginfo_t)
127@@ -3152,19 +3127,9 @@
128 dnl We don't want to link against libm or libpthread on Darwin since
129 dnl they both are just symlinks to libSystem and explicitly linking
130 dnl against libSystem causes issues when debugging (see bug 299601).
131-case $target in
132-*-darwin*)
133- ;;
134-*-beos*)
135- ;;
136-*)
137 AC_CHECK_LIB(m, atan)
138 AC_CHECK_LIB(dl, dlopen,
139- AC_CHECK_HEADER(dlfcn.h,
140- LIBS="-ldl $LIBS"
141- AC_DEFINE(HAVE_LIBDL)))
142- ;;
143-esac
144+ AC_DEFINE(HAVE_LIBDL))
145
146 _SAVE_CFLAGS="$CFLAGS"
147 CFLAGS="$CFLAGS -D_GNU_SOURCE"
148@@ -7007,18 +6972,13 @@
149
150 # Demangle only for debug or trace-malloc builds
151 MOZ_DEMANGLE_SYMBOLS=
152-if test "$HAVE_DEMANGLE" -a "$HAVE_GCC3_ABI" && test "$MOZ_DEBUG" -o "$NS_TRACE_MALLOC"; then
153- MOZ_DEMANGLE_SYMBOLS=1
154- AC_DEFINE(MOZ_DEMANGLE_SYMBOLS)
155-fi
156+
157 AC_SUBST(MOZ_DEMANGLE_SYMBOLS)
158
159 dnl ========================================================
160 dnl = Support for gcc stack unwinding (from gcc 3.3)
161 dnl ========================================================
162-if test "$HAVE_GCC3_ABI" && test -z "$SKIP_LIBRARY_CHECKS"; then
163- AC_CHECK_HEADER(unwind.h, AC_CHECK_FUNCS(_Unwind_Backtrace))
164-fi
165+
166
167 dnl ========================================================
168 dnl =
169@@ -7530,10 +7490,7 @@
170 dnl if no gtk/libIDL1 or gtk2/libIDL2 combination was found, fall back
171 dnl to either libIDL1 or libIDL2.
172 if test -z "$_LIBIDL_FOUND"; then
173- AM_PATH_LIBIDL($LIBIDL_VERSION,_LIBIDL_FOUND=1)
174- if test -z "$_LIBIDL_FOUND"; then
175 PKG_CHECK_MODULES(LIBIDL, libIDL-2.0 >= 0.8.0,_LIBIDL_FOUND=1)
176- fi
177 fi
178 dnl
179 dnl If we don't have a libIDL config program & not cross-compiling,
180@@ -7605,13 +7562,7 @@
181 fi
182
183 if test -z "$SKIP_PATH_CHECKS"; then
184-if test -z "${GLIB_CFLAGS}" || test -z "${GLIB_LIBS}" ; then
185- if test "$MOZ_ENABLE_GTK2" || test "$USE_ELF_DYNSTR_GC" || test "$MOZ_ENABLE_HEADLESS"; then
186 PKG_CHECK_MODULES(GLIB, glib-2.0 >= 1.3.7 gobject-2.0)
187- else
188- AM_PATH_GLIB(${GLIB_VERSION})
189- fi
190-fi
191 fi
192
193 if test -z "${GLIB_GMODULE_LIBS}" -a -n "${GLIB_CONFIG}"; then
194@@ -8457,10 +8408,7 @@
195 HAVE_WCRTOMB
196 "
197
198-AC_CONFIG_HEADER(
199-netwerk/necko-config.h
200-xpcom/xpcom-config.h
201-xpcom/xpcom-private.h
202+AC_CONFIG_HEADER(netwerk/necko-config.h xpcom/xpcom-config.h xpcom/xpcom-private.h
203 )
204
205 # Save the defines header file before autoconf removes it.
206@@ -8519,31 +8467,11 @@
207 dnl To add new Makefiles, edit allmakefiles.sh.
208 dnl allmakefiles.sh sets the variable, MAKEFILES.
209 . ${srcdir}/allmakefiles.sh
210-dnl
211-dnl Run a perl script to quickly create the makefiles.
212-dnl If it succeeds, it outputs a shell command to set CONFIG_FILES
213-dnl for the files it cannot handle correctly. This way, config.status
214-dnl will handle these files.
215-dnl If it fails, nothing is set and config.status will run as usual.
216-dnl
217-dnl This does not change the $MAKEFILES variable.
218-dnl
219-dnl OpenVMS gets a line overflow on the long eval command, so use a temp file.
220-dnl
221-if test -z "${AS_PERL}"; then
222-echo $MAKEFILES | ${PERL} $srcdir/build/autoconf/acoutput-fast.pl > conftest.sh
223-else
224-echo $MAKEFILES | ${PERL} $srcdir/build/autoconf/acoutput-fast.pl -nowrap --cygwin-srcdir=$srcdir > conftest.sh
225-fi
226-. ./conftest.sh
227-rm conftest.sh
228
229 echo $MAKEFILES > unallmakefiles
230
231 mv -f config/autoconf.mk config/autoconf.mk.orig 2> /dev/null
232
233-AC_OUTPUT($MAKEFILES)
234-
235 dnl Prevent the regeneration of cairo-features.h forcing rebuilds of gfx stuff
236 if test "$CAIRO_FEATURES_H"; then
237 if cmp -s $CAIRO_FEATURES_H "$CAIRO_FEATURES_H".orig; then
238@@ -8569,14 +8497,14 @@
239 HOST_LDFLAGS="$_SUBDIR_HOST_LDFLAGS"
240 RC=
241
242-unset MAKEFILES
243-unset CONFIG_FILES
244+#unset MAKEFILES
245+#unset CONFIG_FILES
246
247 # No need to run subconfigures when building with LIBXUL_SDK_DIR
248 if test "$COMPILE_ENVIRONMENT" -a -z "$LIBXUL_SDK_DIR"; then
249
250 if test -z "$MOZ_NATIVE_NSPR"; then
251- ac_configure_args="$_SUBDIR_CONFIG_ARGS --with-dist-prefix=$MOZ_BUILD_ROOT/dist --with-mozilla"
252+ ac_configure_args="$ac_configure_args --with-dist-prefix=$MOZ_BUILD_ROOT/dist --with-mozilla"
253 if test -z "$MOZ_DEBUG"; then
254 ac_configure_args="$ac_configure_args --disable-debug"
255 fi
256@@ -8592,8 +8520,7 @@
257 if test -n "$USE_ARM_KUSER"; then
258 ac_configure_args="$ac_configure_args --with-arm-kuser"
259 fi
260- AC_OUTPUT_SUBDIRS(nsprpub)
261- ac_configure_args="$_SUBDIR_CONFIG_ARGS"
262+ AC_CONFIG_SUBDIRS(nsprpub)
263 fi
264
265 if test -z "$MOZ_NATIVE_NSPR"; then
266@@ -8610,7 +8537,6 @@
267
268 # Run the SpiderMonkey 'configure' script.
269 dist=$MOZ_BUILD_ROOT/dist
270-ac_configure_args="$_SUBDIR_CONFIG_ARGS"
271 ac_configure_args="$ac_configure_args --enable-threadsafe"
272 if test -z "$MOZ_NATIVE_NSPR"; then
273 ac_configure_args="$ac_configure_args --with-nspr-cflags='$NSPR_CFLAGS'"
274@@ -8627,11 +8553,14 @@
275 export MOZ_MEMORY_LDFLAGS
276 fi
277 fi
278-AC_OUTPUT_SUBDIRS(js/src)
279-ac_configure_args="$_SUBDIR_CONFIG_ARGS"
280+AC_CONFIG_SUBDIRS(js/src)
281
282 fi # COMPILE_ENVIRONMENT && !LIBXUL_SDK_DIR
283
284+m4_pattern_allow(AS_BIN)
285+
286+AC_OUTPUT($MAKEFILES)
287+
288 dnl Prevent the regeneration of autoconf.mk forcing rebuilds of the world
289 dnl Needs to be at the end to respect possible changes from NSPR configure
290 if cmp -s config/autoconf.mk config/autoconf.mk.orig; then
291Index: offscreen/js/src/configure.in
292===================================================================
293--- offscreen.orig/js/src/configure.in 2009-06-12 14:15:55.000000000 +0100
294+++ offscreen/js/src/configure.in 2009-06-12 14:15:55.000000000 +0100
295@@ -62,7 +62,6 @@
296
297 AC_PREREQ(2.13)
298 AC_INIT(jsapi.h)
299-AC_CONFIG_AUX_DIR(${srcdir}/build/autoconf)
300 AC_CONFIG_HEADER(js-config.h)
301 AC_CANONICAL_SYSTEM
302 TARGET_CPU="${target_cpu}"
303@@ -101,6 +100,9 @@
304 _SUBDIR_HOST_LDFLAGS="$HOST_LDFLAGS"
305 _SUBDIR_CONFIG_ARGS="$ac_configure_args"
306
307+ac_cv_have_usable_wchar_v2=no
308+ac_cv_have_usable_wchar_option_v2=no
309+
310 dnl Set the version number of the libs included with mozilla
311 dnl ========================================================
312 NSPR_VERSION=4
313@@ -113,6 +115,8 @@
314
315 MSMANIFEST_TOOL=
316
317+m4_pattern_allow(AS_BIN)
318+
319 dnl Set various checks
320 dnl ========================================================
321 MISSING_X=
322@@ -198,7 +202,7 @@
323
324 if test "$COMPILE_ENVIRONMENT"; then
325
326-if test "$target" != "$host"; then
327+
328 echo "cross compiling from $host to $target"
329
330 _SAVE_CC="$CC"
331@@ -235,7 +239,7 @@
332
333 AC_MSG_CHECKING([whether the host c compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works])
334 AC_TRY_COMPILE([], [return(0);],
335- [ac_cv_prog_hostcc_works=1 AC_MSG_RESULT([yes])],
336+ [ac_cv_prog_hostcc_works=1; AC_MSG_RESULT([yes])],
337 AC_MSG_ERROR([installation or configuration problem: host compiler $HOST_CC cannot create executables.]) )
338
339 CC="$HOST_CXX"
340@@ -243,7 +247,7 @@
341
342 AC_MSG_CHECKING([whether the host c++ compiler ($HOST_CXX $HOST_CXXFLAGS $HOST_LDFLAGS) works])
343 AC_TRY_COMPILE([], [return(0);],
344- [ac_cv_prog_hostcxx_works=1 AC_MSG_RESULT([yes])],
345+ [ac_cv_prog_hostcxx_works=1; AC_MSG_RESULT([yes])],
346 AC_MSG_ERROR([installation or configuration problem: host compiler $HOST_CXX cannot create executables.]) )
347
348 CC=$_SAVE_CC
349@@ -298,7 +302,7 @@
350 ;;
351 esac
352
353- AC_CHECK_PROGS(CC, $CC "${target_alias}-gcc" "${target}-gcc", :)
354+ CC="${target_alias}-gcc"
355 unset ac_cv_prog_CC
356 AC_PROG_CC
357 AC_CHECK_PROGS(CXX, $CXX "${target_alias}-g++" "${target}-g++", :)
358@@ -328,37 +332,6 @@
359 dnl able to run ppc code in a translated environment, making a cross
360 dnl compiler appear native. So we override that here.
361 cross_compiling=yes
362-else
363- AC_PROG_CC
364- AC_PROG_CXX
365- AC_PROG_RANLIB
366- MOZ_PATH_PROGS(AS, $AS as, $CC)
367- AC_CHECK_PROGS(AR, ar, :)
368- AC_CHECK_PROGS(LD, ld, :)
369- AC_CHECK_PROGS(STRIP, strip, :)
370- AC_CHECK_PROGS(WINDRES, windres, :)
371- if test -z "$HOST_CC"; then
372- HOST_CC="$CC"
373- fi
374- if test -z "$HOST_CFLAGS"; then
375- HOST_CFLAGS="$CFLAGS"
376- fi
377- if test -z "$HOST_CXX"; then
378- HOST_CXX="$CXX"
379- fi
380- if test -z "$HOST_CXXFLAGS"; then
381- HOST_CXXFLAGS="$CXXFLAGS"
382- fi
383- if test -z "$HOST_LDFLAGS"; then
384- HOST_LDFLAGS="$LDFLAGS"
385- fi
386- if test -z "$HOST_RANLIB"; then
387- HOST_RANLIB="$RANLIB"
388- fi
389- if test -z "$HOST_AR"; then
390- HOST_AR="$AR"
391- fi
392-fi
393
394 GNU_AS=
395 GNU_LD=
396@@ -1424,6 +1397,8 @@
397 fi # GNU_CC
398 fi # COMPILE_ENVIRONMENT
399
400+ac_cv_static_assertion_macros_work=yes
401+
402 dnl =================================================================
403 dnl Set up and test static assertion macros used to avoid AC_TRY_RUN,
404 dnl which is bad when cross compiling.
405@@ -2579,9 +2554,13 @@
406 AC_LANG_C
407 AC_HEADER_STDC
408 AC_C_CONST
409+ac_cv_type_mode_t=yes
410 AC_TYPE_MODE_T
411+ac_cv_type_off_t=yes
412 AC_TYPE_OFF_T
413+ac_cv_type_pid_t=yes
414 AC_TYPE_PID_T
415+ac_cv_type_size_t=yes
416 AC_TYPE_SIZE_T
417 AC_STRUCT_ST_BLKSIZE
418 AC_MSG_CHECKING(for siginfo_t)
419@@ -2606,7 +2585,8 @@
420
421 AC_CHECK_HEADER(stdint.h)
422 if test "$ac_cv_header_stdint_h" = yes; then
423- AC_DEFINE(JS_HAVE_STDINT_H)
424+ AC_DEFINE(JS_HAVE_STDINT_H, 1, [have stdint.h])
425+ AC_DEFINE(HAVE_STDINT_H)
426 else
427 dnl We'll figure them out for ourselves. List more likely types
428 dnl earlier. If we ever really encounter a size for which none of
429@@ -3004,10 +2984,7 @@
430 ;;
431 *)
432 AC_CHECK_LIB(m, atan)
433- AC_CHECK_LIB(dl, dlopen,
434- AC_CHECK_HEADER(dlfcn.h,
435- LIBS="-ldl $LIBS"
436- AC_DEFINE(HAVE_LIBDL)))
437+ AC_CHECK_LIB(dl, dlopen, AC_DEFINE(HAVE_LIBDL))
438 ;;
439 esac
440
441@@ -3903,6 +3880,7 @@
442 [ --with-nspr-libs=LIBS Pass LIBS to LD when linking code that uses NSPR.
443 See --with-nspr-cflags for more details.],
444 NSPR_LIBS=$withval)
445+$NSPR_LIBS="$NSPR_LIBS -L$(LIBXUL_DIST)/sdk/lib"
446 AC_SUBST(NSPR_CFLAGS)
447 AC_SUBST(NSPR_LIBS)
448
449@@ -4512,18 +4490,11 @@
450
451 # Demangle only for debug or trace-malloc builds
452 MOZ_DEMANGLE_SYMBOLS=
453-if test "$HAVE_DEMANGLE" -a "$HAVE_GCC3_ABI" && test "$MOZ_DEBUG" -o "$NS_TRACE_MALLOC"; then
454- MOZ_DEMANGLE_SYMBOLS=1
455- AC_DEFINE(MOZ_DEMANGLE_SYMBOLS)
456-fi
457 AC_SUBST(MOZ_DEMANGLE_SYMBOLS)
458
459 dnl ========================================================
460 dnl = Support for gcc stack unwinding (from gcc 3.3)
461 dnl ========================================================
462-if test "$HAVE_GCC3_ABI" && test -z "$SKIP_LIBRARY_CHECKS"; then
463- AC_CHECK_HEADER(unwind.h, AC_CHECK_FUNCS(_Unwind_Backtrace))
464-fi
465
466 dnl ========================================================
467 dnl =
468@@ -5231,6 +5202,8 @@
469 done
470 AC_SUBST(LIBS_PATH)
471
472+
473+
474 dnl ========================================================
475 dnl JavaScript shell
476 dnl ========================================================
477@@ -5371,3 +5344,4 @@
478 # 'js-config' in Makefile.in.
479 AC_MSG_RESULT(invoking make to create js-config script)
480 $MAKE js-config
481+
482Index: offscreen/nsprpub/configure.in
483===================================================================
484--- offscreen.orig/nsprpub/configure.in 2009-06-12 14:15:55.000000000 +0100
485+++ offscreen/nsprpub/configure.in 2009-06-12 14:15:55.000000000 +0100
486@@ -42,7 +42,6 @@
487 AC_PREREQ(2.12)
488 AC_INIT(config/libc_r.h)
489
490-AC_CONFIG_AUX_DIR(${srcdir}/build/autoconf)
491 AC_CANONICAL_SYSTEM
492
493 dnl ========================================================
494@@ -396,7 +395,7 @@
495 dnl ========================================================
496 dnl Checks for compilers.
497 dnl ========================================================